{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2221","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2221/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2221/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2221/events","html_url":"https://github.com/ManageIQ/manageiq/pull/2221","id":62540077,"number":2221,"title":"be more direct when assigning to @button_group","user":{"login":"tenderlove","id":3124,"avatar_url":"https://avatars.githubusercontent.com/u/3124?v=3","gravatar_id":"","url":"https://api.github.com/users/tenderlove","html_url":"https://github.com/tenderlove","followers_url":"https://api.github.com/users/tenderlove/followers","following_url":"https://api.github.com/users/tenderlove/following{/other_user}","gists_url":"https://api.github.com/users/tenderlove/gists{/gist_id}","starred_url":"https://api.github.com/users/tenderlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenderlove/subscriptions","organizations_url":"https://api.github.com/users/tenderlove/orgs","repos_url":"https://api.github.com/users/tenderlove/repos","events_url":"https://api.github.com/users/tenderlove/events{/privacy}","received_events_url":"https://api.github.com/users/tenderlove/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/refactoring","name":"refactoring","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T23:15:59Z","updated_at":"2015-03-17T23:22:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2221","html_url":"https://github.com/ManageIQ/manageiq/pull/2221","diff_url":"https://github.com/ManageIQ/manageiq/pull/2221.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/2221.patch"},"body":"many of these places don't need string interpolation, and the results of\r\n`underscore` are known (we've hard coded the class name test, so may as\r\nwell hard code the results of `underscore` since we know what it is)."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/82637079","html_url":"https://github.com/ManageIQ/manageiq/pull/2221#issuecomment-82637079","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2221","id":82637079,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T23:22:13Z","updated_at":"2015-03-17T23:22:13Z","body":"<rubocop />Checked commit https://github.com/tenderlove/manageiq/commit/7bd99f451c0ac2f0e13fa391dc0855af735cf543 with rubocop 0.27.1\n2 files checked, 8 offenses detected\n\n**vmdb/app/controllers/vm_common.rb**\n- [ ] :large_orange_diamond: - [Line 307](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L307), Col 27 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceAroundOperators) - Surrounding space missing for operator '=>'.\n- [ ] :large_orange_diamond: - [Line 307](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L307), Col 53 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceAroundOperators) - Surrounding space missing for operator '=>'.\n- [ ] :large_orange_diamond: - [Line 308](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L308), Col 21 - [Style/SpaceInsideParens](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceInsideParens) - Space inside parentheses detected.\n- [ ] :large_orange_diamond: - [Line 308](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L308), Col 22 - [Style/BracesAroundHashParameters](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/BracesAroundHashParameters) - Redundant curly braces around a hash parameter.\n- [ ] :large_orange_diamond: - [Line 308](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L308), Col 28 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceAroundOperators) - Surrounding space missing for operator '=>'.\n- [ ] :large_orange_diamond: - [Line 308](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L308), Col 63 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceAroundOperators) - Surrounding space missing for operator '=>'.\n- [ ] :large_orange_diamond: - [Line 308](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L308), Col 104 - [Style/SpaceInsideParens](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/SpaceInsideParens) - Space inside parentheses detected.\n- [ ] :small_blue_diamond: - [Line 307](https://github.com/tenderlove/manageiq/blob/7bd99f451c0ac2f0e13fa391dc0855af735cf543/vmdb/app/controllers/vm_common.rb#L307), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [123/120]\n"}}