{"action":"opened","number":2377,"pull_request":{"url":"https://api.github.com/repos/exercism/exercism.io/pulls/2377","id":34490372,"html_url":"https://github.com/exercism/exercism.io/pull/2377","diff_url":"https://github.com/exercism/exercism.io/pull/2377.diff","patch_url":"https://github.com/exercism/exercism.io/pull/2377.patch","issue_url":"https://api.github.com/repos/exercism/exercism.io/issues/2377","number":2377,"state":"open","locked":false,"title":"Code quality","user":{"login":"mrfoto","id":986645,"avatar_url":"https://avatars.githubusercontent.com/u/986645?v=3","gravatar_id":"","url":"https://api.github.com/users/mrfoto","html_url":"https://github.com/mrfoto","followers_url":"https://api.github.com/users/mrfoto/followers","following_url":"https://api.github.com/users/mrfoto/following{/other_user}","gists_url":"https://api.github.com/users/mrfoto/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfoto/subscriptions","organizations_url":"https://api.github.com/users/mrfoto/orgs","repos_url":"https://api.github.com/users/mrfoto/repos","events_url":"https://api.github.com/users/mrfoto/events{/privacy}","received_events_url":"https://api.github.com/users/mrfoto/received_events","type":"User","site_admin":false},"body":"I've added rubocop and started work on making the code \"pretty\". Feel free to comment/guide me what kind of style you'd like to follow.\r\n\r\nBTW The first 3 commits could be cherry-picked and applied if you don't want to add rubocop, since they're sorta unrelated. I first wanted to fix Codeclimate's score but the Fs seem impossible to fix :grin:","created_at":"2015-04-30T19:00:32Z","updated_at":"2015-04-30T19:00:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/exercism/exercism.io/pulls/2377/commits","review_comments_url":"https://api.github.com/repos/exercism/exercism.io/pulls/2377/comments","review_comment_url":"https://api.github.com/repos/exercism/exercism.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/exercism.io/issues/2377/comments","statuses_url":"https://api.github.com/repos/exercism/exercism.io/statuses/b0a2e266c19cb1e2749de476c7d04249248ebfbf","head":{"label":"mrfoto:code-quality","ref":"code-quality","sha":"b0a2e266c19cb1e2749de476c7d04249248ebfbf","user":{"login":"mrfoto","id":986645,"avatar_url":"https://avatars.githubusercontent.com/u/986645?v=3","gravatar_id":"","url":"https://api.github.com/users/mrfoto","html_url":"https://github.com/mrfoto","followers_url":"https://api.github.com/users/mrfoto/followers","following_url":"https://api.github.com/users/mrfoto/following{/other_user}","gists_url":"https://api.github.com/users/mrfoto/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfoto/subscriptions","organizations_url":"https://api.github.com/users/mrfoto/orgs","repos_url":"https://api.github.com/users/mrfoto/repos","events_url":"https://api.github.com/users/mrfoto/events{/privacy}","received_events_url":"https://api.github.com/users/mrfoto/received_events","type":"User","site_admin":false},"repo":{"id":34568396,"name":"exercism.io","full_name":"mrfoto/exercism.io","owner":{"login":"mrfoto","id":986645,"avatar_url":"https://avatars.githubusercontent.com/u/986645?v=3","gravatar_id":"","url":"https://api.github.com/users/mrfoto","html_url":"https://github.com/mrfoto","followers_url":"https://api.github.com/users/mrfoto/followers","following_url":"https://api.github.com/users/mrfoto/following{/other_user}","gists_url":"https://api.github.com/users/mrfoto/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfoto/subscriptions","organizations_url":"https://api.github.com/users/mrfoto/orgs","repos_url":"https://api.github.com/users/mrfoto/repos","events_url":"https://api.github.com/users/mrfoto/events{/privacy}","received_events_url":"https://api.github.com/users/mrfoto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrfoto/exercism.io","description":"Crowd-sourced mentorship.","fork":true,"url":"https://api.github.com/repos/mrfoto/exercism.io","forks_url":"https://api.github.com/repos/mrfoto/exercism.io/forks","keys_url":"https://api.github.com/repos/mrfoto/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrfoto/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrfoto/exercism.io/teams","hooks_url":"https://api.github.com/repos/mrfoto/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/mrfoto/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/mrfoto/exercism.io/events","assignees_url":"https://api.github.com/repos/mrfoto/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/mrfoto/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/mrfoto/exercism.io/tags","blobs_url":"https://api.github.com/repos/mrfoto/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrfoto/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrfoto/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrfoto/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrfoto/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/mrfoto/exercism.io/languages","stargazers_url":"https://api.github.com/repos/mrfoto/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/mrfoto/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/mrfoto/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/mrfoto/exercism.io/subscription","commits_url":"https://api.github.com/repos/mrfoto/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrfoto/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrfoto/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrfoto/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrfoto/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/mrfoto/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrfoto/exercism.io/merges","archive_url":"https://api.github.com/repos/mrfoto/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrfoto/exercism.io/downloads","issues_url":"https://api.github.com/repos/mrfoto/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/mrfoto/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/mrfoto/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/mrfoto/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrfoto/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/mrfoto/exercism.io/releases{/id}","created_at":"2015-04-25T12:53:05Z","updated_at":"2015-04-27T08:53:58Z","pushed_at":"2015-04-30T18:56:27Z","git_url":"git://github.com/mrfoto/exercism.io.git","ssh_url":"git@github.com:mrfoto/exercism.io.git","clone_url":"https://github.com/mrfoto/exercism.io.git","svn_url":"https://github.com/mrfoto/exercism.io","homepage":"http://exercism.io","size":11879,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"exercism:master","ref":"master","sha":"43ad0e7f6900e7cbd272579a1584c1c1420b8b80","user":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"repo":{"id":10395188,"name":"exercism.io","full_name":"exercism/exercism.io","owner":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exercism/exercism.io","description":"Crowd-sourced mentorship.","fork":false,"url":"https://api.github.com/repos/exercism/exercism.io","forks_url":"https://api.github.com/repos/exercism/exercism.io/forks","keys_url":"https://api.github.com/repos/exercism/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/exercism.io/teams","hooks_url":"https://api.github.com/repos/exercism/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/exercism/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/exercism.io/events","assignees_url":"https://api.github.com/repos/exercism/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/exercism.io/tags","blobs_url":"https://api.github.com/repos/exercism/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/exercism.io/languages","stargazers_url":"https://api.github.com/repos/exercism/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/exercism/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/exercism/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/exercism/exercism.io/subscription","commits_url":"https://api.github.com/repos/exercism/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/exercism.io/merges","archive_url":"https://api.github.com/repos/exercism/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/exercism.io/downloads","issues_url":"https://api.github.com/repos/exercism/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/exercism/exercism.io/releases{/id}","created_at":"2013-05-31T00:53:50Z","updated_at":"2015-04-30T16:17:34Z","pushed_at":"2015-04-30T16:17:33Z","git_url":"git://github.com/exercism/exercism.io.git","ssh_url":"git@github.com:exercism/exercism.io.git","clone_url":"https://github.com/exercism/exercism.io.git","svn_url":"https://github.com/exercism/exercism.io","homepage":"http://exercism.io","size":29688,"stargazers_count":1575,"watchers_count":1575,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":514,"mirror_url":null,"open_issues_count":127,"forks":514,"open_issues":127,"watchers":1575,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2377"},"html":{"href":"https://github.com/exercism/exercism.io/pull/2377"},"issue":{"href":"https://api.github.com/repos/exercism/exercism.io/issues/2377"},"comments":{"href":"https://api.github.com/repos/exercism/exercism.io/issues/2377/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2377/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2377/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/exercism.io/statuses/b0a2e266c19cb1e2749de476c7d04249248ebfbf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":749,"deletions":748,"changed_files":171}}