{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/45786","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/45786/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/45786/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/45786/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/45786","id":313010182,"number":45786,"title":"Hbc::DSL#license is deprecated!","user":{"login":"tknikolov","id":25615485,"avatar_url":"https://avatars3.githubusercontent.com/u/25615485?v=4","gravatar_id":"","url":"https://api.github.com/users/tknikolov","html_url":"https://github.com/tknikolov","followers_url":"https://api.github.com/users/tknikolov/followers","following_url":"https://api.github.com/users/tknikolov/following{/other_user}","gists_url":"https://api.github.com/users/tknikolov/gists{/gist_id}","starred_url":"https://api.github.com/users/tknikolov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknikolov/subscriptions","organizations_url":"https://api.github.com/users/tknikolov/orgs","repos_url":"https://api.github.com/users/tknikolov/repos","events_url":"https://api.github.com/users/tknikolov/events{/privacy}","received_events_url":"https://api.github.com/users/tknikolov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T17:01:04Z","updated_at":"2018-04-10T17:10:49Z","closed_at":"2018-04-10T17:10:49Z","author_association":"NONE","body":"#### General troubleshooting steps\r\n\r\n- [x] I have retried my command with `--force` and the issue is still present.\r\n- [x] I have checked the instructions for [reporting bugs](https://github.com/caskroom/homebrew-cask#reporting-bugs) (or [making requests](https://github.com/caskroom/homebrew-cask#requests)) before opening the issue.\r\n  - [x] None of the templates was appropriate for my issue, or I’m not sure.\r\n- [x] I ran `brew update-reset && brew update` and retried my command.\r\n- [x] I ran `brew doctor`, fixed as many issues as possible and retried my command.\r\n- [x] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/caskroom/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md).\r\n\r\n#### Description of issue\r\n\r\nCannot install - Hbc::DSL#license is deprecated!\r\n\r\n#### Output of your command with `--verbose --debug`\r\n\r\n$ brew cask install --force --verbose --debug wch-ch34x-usb-serial-driver\r\nWarning: Calling Hbc::DSL#license is deprecated!\r\nThere is no replacement.\r\n/usr/local/Homebrew/Library/Taps/mengbo/homebrew-ch340g-ch34g-ch34x-mac-os-x-driver/Casks/wch-ch34x-usb-serial-driver.rb:9:in `block in load'\r\nPlease report this to the mengbo/ch340g-ch34g-ch34x-mac-os-x-driver tap!\r\n\r\nError: Calling <<-EOS.undent is disabled!\r\nUse <<~EOS instead.\r\n/usr/local/Homebrew/Library/Taps/mengbo/homebrew-ch340g-ch34g-ch34x-mac-os-x-driver/Casks/wch-ch34x-usb-serial-driver.rb:23:in `block in load'\r\nPlease report this to the mengbo/ch340g-ch34g-ch34x-mac-os-x-driver tap!\r\nOr, even better, submit a PR to fix it!\r\nFollow the instructions here:\r\n  https://github.com/caskroom/homebrew-cask#reporting-bugs\r\n/usr/local/Homebrew/Library/Homebrew/utils.rb:113:in `odeprecated'\r\n/usr/local/Homebrew/Library/Homebrew/utils.rb:121:in `odisabled'\r\n/usr/local/Homebrew/Library/Homebrew/compat/extend/string.rb:3:in `undent'\r\n/usr/local/Homebrew/Library/Taps/mengbo/homebrew-ch340g-ch34g-ch34x-mac-os-x-driver/Casks/wch-ch34x-usb-serial-driver.rb:23:in `block in load'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask.rb:23:in `instance_eval'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask.rb:23:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:31:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:31:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:67:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/compat/hbc/cask_loader.rb:10:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:113:in `cask'\r\n/usr/local/Homebrew/Library/Taps/mengbo/homebrew-ch340g-ch34g-ch34x-mac-os-x-driver/Casks/wch-ch34x-usb-serial-driver.rb:1:in `load'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:57:in `instance_eval'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:57:in `load'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:170:in `load'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:50:in `block in casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:50:in `map'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:50:in `casks'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:14:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'\r\n$ \r\n```\r\n\r\n#### Output of `brew cask doctor`\r\n\r\n```\r\n$ brew cask doctor\r\n==> Homebrew-Cask Version\r\nHomebrew-Cask 1.6.0-2-g4682108\r\ncaskroom/homebrew-cask (git revision 14f44; last commit 2018-04-10)\r\n==> macOS\r\n10.13.4\r\n==> SIP\r\nEnabled\r\n==> Java\r\nN/A\r\n==> Homebrew-Cask Install Location\r\n<NONE>\r\n==> Homebrew-Cask Staging Location\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads\r\n~/Library/Caches/Homebrew/Cask\r\n==> Homebrew-Cask Taps:\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3956 casks)\r\n/usr/local/Homebrew/Library/Taps/mengbo/homebrew-ch340g-ch34g-ch34x-mac-os-x-driver (1 cask)\r\n==> Contents of $LOAD_PATH\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew\r\n/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib\r\n/Library/Ruby/Site/2.3.0\r\n/Library/Ruby/Site/2.3.0/x86_64-darwin17\r\n/Library/Ruby/Site/2.3.0/universal-darwin17\r\n/Library/Ruby/Site\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17\r\n==> Environment Variables\r\nLC_ALL=\"en_US.UTF-8\"\r\nPATH=\"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\"\r\nSHELL=\"/bin/bash\"\r\n```\r\n\r\n#### Output of `brew tap`\r\n\r\n```\r\n$ brew tap\r\ncaskroom/cask\r\nhomebrew/core\r\nmengbo/ch340g-ch34g-ch34x-mac-os-x-driver\r\n$ \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/380177462","html_url":"https://github.com/caskroom/homebrew-cask/issues/45786#issuecomment-380177462","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/45786","id":380177462,"user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars1.githubusercontent.com/u/1699443?v=4","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T17:10:49Z","updated_at":"2018-04-10T17:10:49Z","author_association":"OWNER","body":"Please always use [fenced code blocks](https://help.github.com/articles/creating-and-highlighting-code-blocks/#fenced-code-blocks) as they were. Removing them makes the issue difficult to read.\r\n\r\nThe issue is in `mengbo/ch340g-ch34g-ch34x-mac-os-x-driver`, not here. They need to remove [the `license` line](https://github.com/mengbo/ch340g-ch34g-ch34x-mac-os-x-driver/blob/a0248c74df23c4bb6c22f74ccf9e7e2b5105c7ed/Casks/wch-ch34x-usb-serial-driver.rb#L9)."}}
{"actor":{"display_login":"vitorgalvao"}}