{"action":"closed","number":1715,"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715","id":31196992,"html_url":"https://github.com/bbatsov/rubocop/pull/1715","diff_url":"https://github.com/bbatsov/rubocop/pull/1715.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/1715.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1715","number":1715,"state":"closed","locked":false,"title":"Improve perfomance/detect code","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":"Code improvements for #1704","created_at":"2015-03-15T08:04:40Z","updated_at":"2015-03-15T09:31:54Z","closed_at":"2015-03-15T09:31:54Z","merged_at":"2015-03-15T09:31:54Z","merge_commit_sha":"aa525f1dbc22c7e89cc89f35587b1b2af13c7487","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1715/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/abc359c31496ecad493c7eb98c7c7598b6684eef","head":{"label":"palkan:upd-perf-detect","ref":"upd-perf-detect","sha":"abc359c31496ecad493c7eb98c7c7598b6684eef","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-03-10T20:14:11Z","pushed_at":"2015-03-15T08:02:52Z","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":8496,"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":"f52bc7e2ec4b5a765bd905884613030d1f984277","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-03-15T09:15:50Z","pushed_at":"2015-03-15T09:31:54Z","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":18585,"stargazers_count":4149,"watchers_count":4149,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":414,"mirror_url":null,"open_issues_count":95,"forks":414,"open_issues":95,"watchers":4149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/1715"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/1715"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/1715/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/1715/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/abc359c31496ecad493c7eb98c7c7598b6684eef"}},"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":1,"review_comments":0,"commits":1,"additions":4,"deletions":22,"changed_files":1}}