{"action":"created","comment":{"url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/comments/41093617","id":41093617,"diff_hunk":"@@ -1,42 +1,37 @@\n-class Stats\n-\n-  def self.fetch(*opts)\n-    Stats.new(opts)\n+module Statistics\n+ \n+  def all\n+    {\n+      :two_plus_two =>     Proc.new { 2 + 2 },","path":"lib/stats.rb","position":9,"original_position":9,"commit_id":"715017bf4c67264908248df6e052c78d5a94973a","original_commit_id":"715017bf4c67264908248df6e052c78d5a94973a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Unnecessary spacing detected.<br>Use the new Ruby 1.9 hash syntax.","created_at":"2015-10-04T02:12:31Z","updated_at":"2015-10-04T02:12:31Z","html_url":"https://github.com/ahoglund/code_challenges/pull/2#discussion_r41093617","pull_request_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/comments/41093617"},"html":{"href":"https://github.com/ahoglund/code_challenges/pull/2#discussion_r41093617"},"pull_request":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2","id":46717542,"html_url":"https://github.com/ahoglund/code_challenges/pull/2","diff_url":"https://github.com/ahoglund/code_challenges/pull/2.diff","patch_url":"https://github.com/ahoglund/code_challenges/pull/2.patch","issue_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/2","number":2,"state":"open","locked":false,"title":"Feature/redesign","user":{"login":"ahoglund","id":3407303,"avatar_url":"https://avatars.githubusercontent.com/u/3407303?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoglund","html_url":"https://github.com/ahoglund","followers_url":"https://api.github.com/users/ahoglund/followers","following_url":"https://api.github.com/users/ahoglund/following{/other_user}","gists_url":"https://api.github.com/users/ahoglund/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoglund/subscriptions","organizations_url":"https://api.github.com/users/ahoglund/orgs","repos_url":"https://api.github.com/users/ahoglund/repos","events_url":"https://api.github.com/users/ahoglund/events{/privacy}","received_events_url":"https://api.github.com/users/ahoglund/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-04T02:12:24Z","updated_at":"2015-10-04T02:12:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86a19f127142a459e2649a8765a7ff799caa69ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/2/comments","statuses_url":"https://api.github.com/repos/ahoglund/code_challenges/statuses/715017bf4c67264908248df6e052c78d5a94973a","head":{"label":"ahoglund:feature/redesign","ref":"feature/redesign","sha":"715017bf4c67264908248df6e052c78d5a94973a","user":{"login":"ahoglund","id":3407303,"avatar_url":"https://avatars.githubusercontent.com/u/3407303?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoglund","html_url":"https://github.com/ahoglund","followers_url":"https://api.github.com/users/ahoglund/followers","following_url":"https://api.github.com/users/ahoglund/following{/other_user}","gists_url":"https://api.github.com/users/ahoglund/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoglund/subscriptions","organizations_url":"https://api.github.com/users/ahoglund/orgs","repos_url":"https://api.github.com/users/ahoglund/repos","events_url":"https://api.github.com/users/ahoglund/events{/privacy}","received_events_url":"https://api.github.com/users/ahoglund/received_events","type":"User","site_admin":false},"repo":{"id":41946436,"name":"code_challenges","full_name":"ahoglund/code_challenges","owner":{"login":"ahoglund","id":3407303,"avatar_url":"https://avatars.githubusercontent.com/u/3407303?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoglund","html_url":"https://github.com/ahoglund","followers_url":"https://api.github.com/users/ahoglund/followers","following_url":"https://api.github.com/users/ahoglund/following{/other_user}","gists_url":"https://api.github.com/users/ahoglund/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoglund/subscriptions","organizations_url":"https://api.github.com/users/ahoglund/orgs","repos_url":"https://api.github.com/users/ahoglund/repos","events_url":"https://api.github.com/users/ahoglund/events{/privacy}","received_events_url":"https://api.github.com/users/ahoglund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahoglund/code_challenges","description":"Place to put my solutions to coding challenges I've solved.  (I promise all these solutions were though up by me, no matter how good or bad).","fork":false,"url":"https://api.github.com/repos/ahoglund/code_challenges","forks_url":"https://api.github.com/repos/ahoglund/code_challenges/forks","keys_url":"https://api.github.com/repos/ahoglund/code_challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahoglund/code_challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahoglund/code_challenges/teams","hooks_url":"https://api.github.com/repos/ahoglund/code_challenges/hooks","issue_events_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/events{/number}","events_url":"https://api.github.com/repos/ahoglund/code_challenges/events","assignees_url":"https://api.github.com/repos/ahoglund/code_challenges/assignees{/user}","branches_url":"https://api.github.com/repos/ahoglund/code_challenges/branches{/branch}","tags_url":"https://api.github.com/repos/ahoglund/code_challenges/tags","blobs_url":"https://api.github.com/repos/ahoglund/code_challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahoglund/code_challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahoglund/code_challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahoglund/code_challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahoglund/code_challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/ahoglund/code_challenges/languages","stargazers_url":"https://api.github.com/repos/ahoglund/code_challenges/stargazers","contributors_url":"https://api.github.com/repos/ahoglund/code_challenges/contributors","subscribers_url":"https://api.github.com/repos/ahoglund/code_challenges/subscribers","subscription_url":"https://api.github.com/repos/ahoglund/code_challenges/subscription","commits_url":"https://api.github.com/repos/ahoglund/code_challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahoglund/code_challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahoglund/code_challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahoglund/code_challenges/contents/{+path}","compare_url":"https://api.github.com/repos/ahoglund/code_challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahoglund/code_challenges/merges","archive_url":"https://api.github.com/repos/ahoglund/code_challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahoglund/code_challenges/downloads","issues_url":"https://api.github.com/repos/ahoglund/code_challenges/issues{/number}","pulls_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/ahoglund/code_challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/ahoglund/code_challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahoglund/code_challenges/labels{/name}","releases_url":"https://api.github.com/repos/ahoglund/code_challenges/releases{/id}","created_at":"2015-09-05T02:41:45Z","updated_at":"2015-09-05T02:48:05Z","pushed_at":"2015-10-04T02:12:24Z","git_url":"git://github.com/ahoglund/code_challenges.git","ssh_url":"git@github.com:ahoglund/code_challenges.git","clone_url":"https://github.com/ahoglund/code_challenges.git","svn_url":"https://github.com/ahoglund/code_challenges","homepage":null,"size":252,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ahoglund:master","ref":"master","sha":"4a99d1bc7178a185f542f028d643398ce9639b6a","user":{"login":"ahoglund","id":3407303,"avatar_url":"https://avatars.githubusercontent.com/u/3407303?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoglund","html_url":"https://github.com/ahoglund","followers_url":"https://api.github.com/users/ahoglund/followers","following_url":"https://api.github.com/users/ahoglund/following{/other_user}","gists_url":"https://api.github.com/users/ahoglund/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoglund/subscriptions","organizations_url":"https://api.github.com/users/ahoglund/orgs","repos_url":"https://api.github.com/users/ahoglund/repos","events_url":"https://api.github.com/users/ahoglund/events{/privacy}","received_events_url":"https://api.github.com/users/ahoglund/received_events","type":"User","site_admin":false},"repo":{"id":41946436,"name":"code_challenges","full_name":"ahoglund/code_challenges","owner":{"login":"ahoglund","id":3407303,"avatar_url":"https://avatars.githubusercontent.com/u/3407303?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoglund","html_url":"https://github.com/ahoglund","followers_url":"https://api.github.com/users/ahoglund/followers","following_url":"https://api.github.com/users/ahoglund/following{/other_user}","gists_url":"https://api.github.com/users/ahoglund/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoglund/subscriptions","organizations_url":"https://api.github.com/users/ahoglund/orgs","repos_url":"https://api.github.com/users/ahoglund/repos","events_url":"https://api.github.com/users/ahoglund/events{/privacy}","received_events_url":"https://api.github.com/users/ahoglund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahoglund/code_challenges","description":"Place to put my solutions to coding challenges I've solved.  (I promise all these solutions were though up by me, no matter how good or bad).","fork":false,"url":"https://api.github.com/repos/ahoglund/code_challenges","forks_url":"https://api.github.com/repos/ahoglund/code_challenges/forks","keys_url":"https://api.github.com/repos/ahoglund/code_challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahoglund/code_challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahoglund/code_challenges/teams","hooks_url":"https://api.github.com/repos/ahoglund/code_challenges/hooks","issue_events_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/events{/number}","events_url":"https://api.github.com/repos/ahoglund/code_challenges/events","assignees_url":"https://api.github.com/repos/ahoglund/code_challenges/assignees{/user}","branches_url":"https://api.github.com/repos/ahoglund/code_challenges/branches{/branch}","tags_url":"https://api.github.com/repos/ahoglund/code_challenges/tags","blobs_url":"https://api.github.com/repos/ahoglund/code_challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahoglund/code_challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahoglund/code_challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahoglund/code_challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahoglund/code_challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/ahoglund/code_challenges/languages","stargazers_url":"https://api.github.com/repos/ahoglund/code_challenges/stargazers","contributors_url":"https://api.github.com/repos/ahoglund/code_challenges/contributors","subscribers_url":"https://api.github.com/repos/ahoglund/code_challenges/subscribers","subscription_url":"https://api.github.com/repos/ahoglund/code_challenges/subscription","commits_url":"https://api.github.com/repos/ahoglund/code_challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahoglund/code_challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahoglund/code_challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahoglund/code_challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahoglund/code_challenges/contents/{+path}","compare_url":"https://api.github.com/repos/ahoglund/code_challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahoglund/code_challenges/merges","archive_url":"https://api.github.com/repos/ahoglund/code_challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahoglund/code_challenges/downloads","issues_url":"https://api.github.com/repos/ahoglund/code_challenges/issues{/number}","pulls_url":"https://api.github.com/repos/ahoglund/code_challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/ahoglund/code_challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/ahoglund/code_challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahoglund/code_challenges/labels{/name}","releases_url":"https://api.github.com/repos/ahoglund/code_challenges/releases{/id}","created_at":"2015-09-05T02:41:45Z","updated_at":"2015-09-05T02:48:05Z","pushed_at":"2015-10-04T02:12:24Z","git_url":"git://github.com/ahoglund/code_challenges.git","ssh_url":"git@github.com:ahoglund/code_challenges.git","clone_url":"https://github.com/ahoglund/code_challenges.git","svn_url":"https://github.com/ahoglund/code_challenges","homepage":null,"size":252,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2"},"html":{"href":"https://github.com/ahoglund/code_challenges/pull/2"},"issue":{"href":"https://api.github.com/repos/ahoglund/code_challenges/issues/2"},"comments":{"href":"https://api.github.com/repos/ahoglund/code_challenges/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ahoglund/code_challenges/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ahoglund/code_challenges/statuses/715017bf4c67264908248df6e052c78d5a94973a"}}}}