{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4402","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4402/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4402/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4402","id":106988614,"number":4402,"title":"minor tweaks to miq_host_provision_request","user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars.githubusercontent.com/u/1930?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrock","html_url":"https://github.com/kbrock","followers_url":"https://api.github.com/users/kbrock/followers","following_url":"https://api.github.com/users/kbrock/following{/other_user}","gists_url":"https://api.github.com/users/kbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrock/subscriptions","organizations_url":"https://api.github.com/users/kbrock/orgs","repos_url":"https://api.github.com/users/kbrock/repos","events_url":"https://api.github.com/users/kbrock/events{/privacy}","received_events_url":"https://api.github.com/users/kbrock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/provisioning","name":"provisioning","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/technical%20debt","name":"technical debt","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T13:45:57Z","updated_at":"2015-09-22T14:59:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4402","html_url":"https://github.com/ManageIQ/manageiq/pull/4402","diff_url":"https://github.com/ManageIQ/manageiq/pull/4402.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4402.patch"},"body":"Just a few small tweaks\r\n\r\nI dislike guard clauses, especially when they can be avoided all together\r\n\r\n/cc @gmcculloug "},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/142314076","html_url":"https://github.com/ManageIQ/manageiq/pull/4402#issuecomment-142314076","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4402","id":142314076,"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-09-22T14:59:40Z","updated_at":"2015-09-22T14:59:40Z","body":"<rubocop />Checked commit https://github.com/kbrock/manageiq/commit/f0449cc8f06b8f6b78757f77549fd2cc3dd75046 with ruby 1.9.3, rubocop 0.33.0, and haml-lint 0.13.0\n2 files checked, 5 offenses detected\n\n**spec/models/miq_host_provision_request_spec.rb**\n- [ ] :red_circle: **Warn** - [Line 102](https://github.com/kbrock/manageiq/blob/f0449cc8f06b8f6b78757f77549fd2cc3dd75046/spec/models/miq_host_provision_request_spec.rb#L102), Col 31 - [Lint/UnusedBlockArgument](http://rubydoc.info/gems/rubocop/0.33.0/RuboCop/Cop/Lint/UnusedBlockArgument) - Unused block argument - `classification`. If it's necessary, use `_` or `_classification` as an argument name to indicate that it won't be used.\n- [ ] :large_orange_diamond: - [Line 49](https://github.com/kbrock/manageiq/blob/f0449cc8f06b8f6b78757f77549fd2cc3dd75046/spec/models/miq_host_provision_request_spec.rb#L49), Col 30 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.33.0/RuboCop/Cop/Style/SpaceAroundOperators) - Operator `==` should be surrounded with a single space.\n- [ ] :large_orange_diamond: - [Line 52](https://github.com/kbrock/manageiq/blob/f0449cc8f06b8f6b78757f77549fd2cc3dd75046/spec/models/miq_host_provision_request_spec.rb#L52), Col 30 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.33.0/RuboCop/Cop/Style/SpaceAroundOperators) - Operator `==` should be surrounded with a single space.\n- [ ] :large_orange_diamond: - [Line 53](https://github.com/kbrock/manageiq/blob/f0449cc8f06b8f6b78757f77549fd2cc3dd75046/spec/models/miq_host_provision_request_spec.rb#L53), Col 30 - [Style/SpaceAroundOperators](http://rubydoc.info/gems/rubocop/0.33.0/RuboCop/Cop/Style/SpaceAroundOperators) - Operator `==` should be surrounded with a single space.\n- [ ] :small_blue_diamond: - [Line 5](https://github.com/kbrock/manageiq/blob/f0449cc8f06b8f6b78757f77549fd2cc3dd75046/spec/models/miq_host_provision_request_spec.rb#L5), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.33.0/RuboCop/Cop/Metrics/LineLength) - Line is too long. [127/120]\n"}}