{"action":"closed","number":2863,"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863","id":59811248,"html_url":"https://github.com/bbatsov/rubocop/pull/2863","diff_url":"https://github.com/bbatsov/rubocop/pull/2863.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2863.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2863","number":2863,"state":"closed","locked":false,"title":"Fix false positive in Rails/Date when to_time is chained with safe method","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":"Fix #2860 ","created_at":"2016-02-18T15:05:17Z","updated_at":"2016-02-24T09:32:25Z","closed_at":"2016-02-24T09:32:25Z","merged_at":"2016-02-24T09:32:25Z","merge_commit_sha":"a600a828d59dfbab2c5d6b3db396425e4d5b556a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2863/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/077c45e7ab1c3afb3e10cdd4cc405b0e849368d1","head":{"label":"palkan:fix-date-safe-methods","ref":"fix-date-safe-methods","sha":"077c45e7ab1c3afb3e10cdd4cc405b0e849368d1","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}","deployments_url":"https://api.github.com/repos/palkan/rubocop/deployments","created_at":"2015-02-19T21:16:02Z","updated_at":"2015-04-20T06:54:19Z","pushed_at":"2016-02-24T06:55:00Z","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":11380,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"705a9e271b4284eeb3f5f2c986a55d5e238dd4c4","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}","deployments_url":"https://api.github.com/repos/bbatsov/rubocop/deployments","created_at":"2012-04-21T10:09:58Z","updated_at":"2016-02-24T08:41:31Z","pushed_at":"2016-02-24T09:32:25Z","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":14757,"stargazers_count":5908,"watchers_count":5908,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":757,"mirror_url":null,"open_issues_count":75,"forks":757,"open_issues":75,"watchers":5908,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/2863"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/2863"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/2863/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2863/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/077c45e7ab1c3afb3e10cdd4cc405b0e849368d1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":4,"review_comments":0,"commits":1,"additions":27,"deletions":0,"changed_files":3}}