{"action":"created","comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/28711030","id":28711030,"diff_hunk":"@@ -15,6 +15,7 @@\n * [#1765](https://github.com/bbatsov/rubocop/pull/1765): Update 1.9 hash to stop triggering when the symbol is not valid in the 1.9 hash syntax. ([@crimsonknave][])\n * [#1806](https://github.com/bbatsov/rubocop/issues/1806): Require a newer version of `parser` and use its corrected solution for comment association in `Style/Documentation`. ([@jonas054][])\n * [#1792](https://github.com/bbatsov/rubocop/issues/1792): Fix bugs in `Sample` that did not account for array selectors with a range and passing random to shuffle. ([@rrosenblum][])\n+* [#1767](https://github.com/bbatsov/rubocop/pull/1767): Add more acceptable methods to `Rails/TimeZone` (`utc`, `localtime`, `to_i`, `iso8601` etc). ([@palkan][])","path":"CHANGELOG.md","position":4,"original_position":4,"commit_id":"d8803d19757f33be618bbc53d1655ecc05d4b635","original_commit_id":"d8803d19757f33be618bbc53d1655ecc05d4b635","user":{"login":"mattmenefee","id":1178524,"avatar_url":"https://avatars.githubusercontent.com/u/1178524?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmenefee","html_url":"https://github.com/mattmenefee","followers_url":"https://api.github.com/users/mattmenefee/followers","following_url":"https://api.github.com/users/mattmenefee/following{/other_user}","gists_url":"https://api.github.com/users/mattmenefee/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmenefee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmenefee/subscriptions","organizations_url":"https://api.github.com/users/mattmenefee/orgs","repos_url":"https://api.github.com/users/mattmenefee/repos","events_url":"https://api.github.com/users/mattmenefee/events{/privacy}","received_events_url":"https://api.github.com/users/mattmenefee/received_events","type":"User","site_admin":false},"body":"This should reference `1770` instead of `1767`.","created_at":"2015-04-20T17:43:45Z","updated_at":"2015-04-20T17:43:45Z","html_url":"https://github.com/bbatsov/rubocop/pull/1787#discussion_r28711030","pull_request_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787","_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/28711030"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/1787#discussion_r28711030"},"pull_request":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787"}}},"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787","id":33118269,"html_url":"https://github.com/bbatsov/rubocop/pull/1787","diff_url":"https://github.com/bbatsov/rubocop/pull/1787.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/1787.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1787","number":1787,"state":"closed","locked":false,"title":"[Fix #1770] Add utc/localtime support to Rails/TimeZone","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-12T10:56:03Z","updated_at":"2015-04-20T17:43:46Z","closed_at":"2015-04-20T17:03:58Z","merged_at":"2015-04-20T17:03:58Z","merge_commit_sha":"35f226abf0a15bbb83a49c58ea3124b8987e8157","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1787/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/d8803d19757f33be618bbc53d1655ecc05d4b635","head":{"label":"palkan:add-utc-timezone","ref":"add-utc-timezone","sha":"d8803d19757f33be618bbc53d1655ecc05d4b635","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"repo":{"id":31037327,"name":"rubocop","full_name":"palkan/rubocop","owner":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/palkan/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":true,"url":"https://api.github.com/repos/palkan/rubocop","forks_url":"https://api.github.com/repos/palkan/rubocop/forks","keys_url":"https://api.github.com/repos/palkan/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palkan/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palkan/rubocop/teams","hooks_url":"https://api.github.com/repos/palkan/rubocop/hooks","issue_events_url":"https://api.github.com/repos/palkan/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/palkan/rubocop/events","assignees_url":"https://api.github.com/repos/palkan/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/palkan/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/palkan/rubocop/tags","blobs_url":"https://api.github.com/repos/palkan/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palkan/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palkan/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/palkan/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palkan/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/palkan/rubocop/languages","stargazers_url":"https://api.github.com/repos/palkan/rubocop/stargazers","contributors_url":"https://api.github.com/repos/palkan/rubocop/contributors","subscribers_url":"https://api.github.com/repos/palkan/rubocop/subscribers","subscription_url":"https://api.github.com/repos/palkan/rubocop/subscription","commits_url":"https://api.github.com/repos/palkan/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/palkan/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/palkan/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/palkan/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/palkan/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/palkan/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palkan/rubocop/merges","archive_url":"https://api.github.com/repos/palkan/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palkan/rubocop/downloads","issues_url":"https://api.github.com/repos/palkan/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/palkan/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/palkan/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/palkan/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palkan/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/palkan/rubocop/releases{/id}","created_at":"2015-02-19T21:16:02Z","updated_at":"2015-04-20T06:54:19Z","pushed_at":"2015-04-20T08:13:47Z","git_url":"git://github.com/palkan/rubocop.git","ssh_url":"git@github.com:palkan/rubocop.git","clone_url":"https://github.com/palkan/rubocop.git","svn_url":"https://github.com/palkan/rubocop","homepage":"","size":8897,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bbatsov:master","ref":"master","sha":"8f3cfc6f3654294dd9be1643c7c75a2ff6cacfb2","user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"repo":{"id":4095287,"name":"rubocop","full_name":"bbatsov/rubocop","owner":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bbatsov/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":false,"url":"https://api.github.com/repos/bbatsov/rubocop","forks_url":"https://api.github.com/repos/bbatsov/rubocop/forks","keys_url":"https://api.github.com/repos/bbatsov/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbatsov/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbatsov/rubocop/teams","hooks_url":"https://api.github.com/repos/bbatsov/rubocop/hooks","issue_events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/bbatsov/rubocop/events","assignees_url":"https://api.github.com/repos/bbatsov/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/bbatsov/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/bbatsov/rubocop/tags","blobs_url":"https://api.github.com/repos/bbatsov/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbatsov/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbatsov/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbatsov/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/bbatsov/rubocop/languages","stargazers_url":"https://api.github.com/repos/bbatsov/rubocop/stargazers","contributors_url":"https://api.github.com/repos/bbatsov/rubocop/contributors","subscribers_url":"https://api.github.com/repos/bbatsov/rubocop/subscribers","subscription_url":"https://api.github.com/repos/bbatsov/rubocop/subscription","commits_url":"https://api.github.com/repos/bbatsov/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbatsov/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbatsov/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/bbatsov/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbatsov/rubocop/merges","archive_url":"https://api.github.com/repos/bbatsov/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbatsov/rubocop/downloads","issues_url":"https://api.github.com/repos/bbatsov/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/bbatsov/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/bbatsov/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/bbatsov/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbatsov/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/bbatsov/rubocop/releases{/id}","created_at":"2012-04-21T10:09:58Z","updated_at":"2015-04-20T17:03:59Z","pushed_at":"2015-04-20T17:03:59Z","git_url":"git://github.com/bbatsov/rubocop.git","ssh_url":"git@github.com:bbatsov/rubocop.git","clone_url":"https://github.com/bbatsov/rubocop.git","svn_url":"https://github.com/bbatsov/rubocop","homepage":"","size":19728,"stargazers_count":4365,"watchers_count":4365,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":450,"mirror_url":null,"open_issues_count":90,"forks":450,"open_issues":90,"watchers":4365,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/1787"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/1787"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/1787/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1787/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/d8803d19757f33be618bbc53d1655ecc05d4b635"}}}}