{"action":"closed","number":3153,"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153","id":70955033,"html_url":"https://github.com/bbatsov/rubocop/pull/3153","diff_url":"https://github.com/bbatsov/rubocop/pull/3153.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/3153.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3153","number":3153,"state":"closed","locked":false,"title":"Reduce Metrics/AbcSize Max to 25","user":{"login":"lumeet","id":7588782,"avatar_url":"https://avatars.githubusercontent.com/u/7588782?v=3","gravatar_id":"","url":"https://api.github.com/users/lumeet","html_url":"https://github.com/lumeet","followers_url":"https://api.github.com/users/lumeet/followers","following_url":"https://api.github.com/users/lumeet/following{/other_user}","gists_url":"https://api.github.com/users/lumeet/gists{/gist_id}","starred_url":"https://api.github.com/users/lumeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumeet/subscriptions","organizations_url":"https://api.github.com/users/lumeet/orgs","repos_url":"https://api.github.com/users/lumeet/repos","events_url":"https://api.github.com/users/lumeet/events{/privacy}","received_events_url":"https://api.github.com/users/lumeet/received_events","type":"User","site_admin":false},"body":"Mostly method extractions to get max AbcSize down.\r\n-----------------\r\n\r\nBefore submitting the PR make sure the following are checked:\r\n\r\n* [x] Wrote [good commit messages][1].\r\n* [x] Used the same coding conventions as the rest of the project.\r\n* [x] Feature branch is up-to-date with `master` (if not - rebase it)\r\n* [x] Squashed related commits together.\r\n* [x] Added an entry to the [Changelog](../blob/master/CHANGELOG.md) if the new code introduces user-observable changes. See [changelog entry format](../blob/master/CONTRIBUTING.md#changelog-entry-format).\r\n* [x] All tests are passing.\r\n* [x] The new code doesn't generate RuboCop offenses.\r\n* [x] The PR relates to *only* one subject with a clear title\r\n  and description in grammatically correct, complete sentences.\r\n\r\n[1]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html\r\n","created_at":"2016-05-21T17:18:29Z","updated_at":"2016-05-21T18:00:41Z","closed_at":"2016-05-21T18:00:41Z","merged_at":"2016-05-21T18:00:41Z","merge_commit_sha":"584326962d721d630c15219c0f99f040d6c27b57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3153/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/0117895f7353cc07fc7e2650af74fa68851c05e3","head":{"label":"lumeet:abc_25","ref":"abc_25","sha":"0117895f7353cc07fc7e2650af74fa68851c05e3","user":{"login":"lumeet","id":7588782,"avatar_url":"https://avatars.githubusercontent.com/u/7588782?v=3","gravatar_id":"","url":"https://api.github.com/users/lumeet","html_url":"https://github.com/lumeet","followers_url":"https://api.github.com/users/lumeet/followers","following_url":"https://api.github.com/users/lumeet/following{/other_user}","gists_url":"https://api.github.com/users/lumeet/gists{/gist_id}","starred_url":"https://api.github.com/users/lumeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumeet/subscriptions","organizations_url":"https://api.github.com/users/lumeet/orgs","repos_url":"https://api.github.com/users/lumeet/repos","events_url":"https://api.github.com/users/lumeet/events{/privacy}","received_events_url":"https://api.github.com/users/lumeet/received_events","type":"User","site_admin":false},"repo":{"id":28781397,"name":"rubocop","full_name":"lumeet/rubocop","owner":{"login":"lumeet","id":7588782,"avatar_url":"https://avatars.githubusercontent.com/u/7588782?v=3","gravatar_id":"","url":"https://api.github.com/users/lumeet","html_url":"https://github.com/lumeet","followers_url":"https://api.github.com/users/lumeet/followers","following_url":"https://api.github.com/users/lumeet/following{/other_user}","gists_url":"https://api.github.com/users/lumeet/gists{/gist_id}","starred_url":"https://api.github.com/users/lumeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumeet/subscriptions","organizations_url":"https://api.github.com/users/lumeet/orgs","repos_url":"https://api.github.com/users/lumeet/repos","events_url":"https://api.github.com/users/lumeet/events{/privacy}","received_events_url":"https://api.github.com/users/lumeet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lumeet/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":true,"url":"https://api.github.com/repos/lumeet/rubocop","forks_url":"https://api.github.com/repos/lumeet/rubocop/forks","keys_url":"https://api.github.com/repos/lumeet/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lumeet/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lumeet/rubocop/teams","hooks_url":"https://api.github.com/repos/lumeet/rubocop/hooks","issue_events_url":"https://api.github.com/repos/lumeet/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/lumeet/rubocop/events","assignees_url":"https://api.github.com/repos/lumeet/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/lumeet/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/lumeet/rubocop/tags","blobs_url":"https://api.github.com/repos/lumeet/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lumeet/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lumeet/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/lumeet/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lumeet/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/lumeet/rubocop/languages","stargazers_url":"https://api.github.com/repos/lumeet/rubocop/stargazers","contributors_url":"https://api.github.com/repos/lumeet/rubocop/contributors","subscribers_url":"https://api.github.com/repos/lumeet/rubocop/subscribers","subscription_url":"https://api.github.com/repos/lumeet/rubocop/subscription","commits_url":"https://api.github.com/repos/lumeet/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/lumeet/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/lumeet/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/lumeet/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/lumeet/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/lumeet/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lumeet/rubocop/merges","archive_url":"https://api.github.com/repos/lumeet/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lumeet/rubocop/downloads","issues_url":"https://api.github.com/repos/lumeet/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/lumeet/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/lumeet/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/lumeet/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lumeet/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/lumeet/rubocop/releases{/id}","deployments_url":"https://api.github.com/repos/lumeet/rubocop/deployments","created_at":"2015-01-04T17:53:39Z","updated_at":"2016-01-15T16:44:21Z","pushed_at":"2016-05-21T17:34:47Z","git_url":"git://github.com/lumeet/rubocop.git","ssh_url":"git@github.com:lumeet/rubocop.git","clone_url":"https://github.com/lumeet/rubocop.git","svn_url":"https://github.com/lumeet/rubocop","homepage":"","size":12036,"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":"6a6204d95ec155d92658faf033a8d27ecc9a26e0","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-05-21T12:42:56Z","pushed_at":"2016-05-21T18:00:41Z","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":15599,"stargazers_count":6302,"watchers_count":6302,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":852,"mirror_url":null,"open_issues_count":124,"forks":852,"open_issues":124,"watchers":6302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/3153"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/3153"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/3153/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3153/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/0117895f7353cc07fc7e2650af74fa68851c05e3"}},"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":0,"review_comments":0,"commits":7,"additions":161,"deletions":92,"changed_files":8}}
{"actor":{"display_login":"bbatsov"}}