{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2186","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2186/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2186/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2186/events","html_url":"https://github.com/ManageIQ/manageiq/pull/2186","id":62237151,"number":2186,"title":"pass utc to to_time","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/rails%204","name":"rails 4","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T23:32:16Z","updated_at":"2015-03-17T00:47:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2186","html_url":"https://github.com/ManageIQ/manageiq/pull/2186","diff_url":"https://github.com/ManageIQ/manageiq/pull/2186.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/2186.patch"},"body":"we need to pass the conversion value to to_time since newer versions of\r\nto_time assume the conversion is `local` rather than `utc`"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/82006968","html_url":"https://github.com/ManageIQ/manageiq/pull/2186#issuecomment-82006968","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2186","id":82006968,"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-17T00:47:45Z","updated_at":"2015-03-17T00:47:45Z","body":"<rubocop />Checked commit https://github.com/tenderlove/manageiq/commit/7070355d311361bffd2c0e604c1d0fe8e0098593 with rubocop 0.27.1\n5 files checked, 23 offenses detected\n\n**vmdb/app/models/miq_schedule.rb**\n- [ ] :large_orange_diamond: - [Line 48](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/app/models/miq_schedule.rb#L48), Col 7 - [Style/IfUnlessModifier](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/IfUnlessModifier) - Favor modifier `if` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`.\n- [ ] :large_orange_diamond: - [Line 48](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/app/models/miq_schedule.rb#L48), Col 23 - [Style/CaseEquality](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Style/CaseEquality) - Avoid the use of the case equality operator `===`.\n\n**vmdb/spec/models/miq_expression/miq_expression_spec.rb**\n- [ ] :small_blue_diamond: - [Line 499](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L499), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [159/120]\n- [ ] :small_blue_diamond: - [Line 502](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L502), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [159/120]\n- [ ] :small_blue_diamond: - [Line 508](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L508), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 517](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L517), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 520](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L520), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 545](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L545), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [163/120]\n- [ ] :small_blue_diamond: - [Line 548](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L548), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [163/120]\n- [ ] :small_blue_diamond: - [Line 557](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L557), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 560](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L560), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 748](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L748), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [159/120]\n- [ ] :small_blue_diamond: - [Line 754](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L754), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [159/120]\n- [ ] :small_blue_diamond: - [Line 757](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L757), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 763](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L763), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 766](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L766), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 769](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L769), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 781](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L781), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [215/120]\n- [ ] :small_blue_diamond: - [Line 788](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L788), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 794](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L794), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 797](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L797), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 800](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L800), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n- [ ] :small_blue_diamond: - [Line 812](https://github.com/tenderlove/manageiq/blob/7070355d311361bffd2c0e604c1d0fe8e0098593/vmdb/spec/models/miq_expression/miq_expression_spec.rb#L812), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.27.1/RuboCop/Cop/Metrics/LineLength) - Line is too long. [219/120]\n"}}