{"action":"created","comment":{"url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/comments/31953725","id":31953725,"diff_hunk":"@@ -1,41 +1,31 @@\n class HomeController < ApplicationController\n   def index\n-    # Get the top 10 posts on the front page in the format of {title: upvotes}\n-    @subscriber = Subscriber.hashify(Subscriber.top_ten)\n+    @subscribers = Subscriber.hashify(Subscriber.top_ten)\n     # Timeframes allowed in current dropdown list\n-    @timeframe = { '5 minutes' => 5,\n+    @timeframe = { '5 minutes'  => 5,\n                    '30 minutes' => 30,\n-                   '1 hour' => 60,\n-                   '6 hours' => 360,\n-                   '12 hours' => 720,\n-                   '24 hours' => 1440 }\n+                   '1 hour'     => 60,\n+                   '6 hours'    => 360,","path":"app/controllers/home_controller.rb","position":15,"original_position":15,"commit_id":"0e61b09d986198875ab4646787e5bf1b0cd0a140","original_commit_id":"0e61b09d986198875ab4646787e5bf1b0cd0a140","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>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-08T20:08:43Z","updated_at":"2015-06-08T20:08:43Z","html_url":"https://github.com/slashrocket/redditgraphed/pull/6#discussion_r31953725","pull_request_url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/comments/31953725"},"html":{"href":"https://github.com/slashrocket/redditgraphed/pull/6#discussion_r31953725"},"pull_request":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6","id":37190620,"html_url":"https://github.com/slashrocket/redditgraphed/pull/6","diff_url":"https://github.com/slashrocket/redditgraphed/pull/6.diff","patch_url":"https://github.com/slashrocket/redditgraphed/pull/6.patch","issue_url":"https://api.github.com/repos/slashrocket/redditgraphed/issues/6","number":6,"state":"open","locked":false,"title":"Add home controller tests and refactor.","user":{"login":"kirkokada","id":1548627,"avatar_url":"https://avatars.githubusercontent.com/u/1548627?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkokada","html_url":"https://github.com/kirkokada","followers_url":"https://api.github.com/users/kirkokada/followers","following_url":"https://api.github.com/users/kirkokada/following{/other_user}","gists_url":"https://api.github.com/users/kirkokada/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkokada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkokada/subscriptions","organizations_url":"https://api.github.com/users/kirkokada/orgs","repos_url":"https://api.github.com/users/kirkokada/repos","events_url":"https://api.github.com/users/kirkokada/events{/privacy}","received_events_url":"https://api.github.com/users/kirkokada/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-08T20:08:36Z","updated_at":"2015-06-08T20:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bb0e3e2bf9e589b17cb555543782d1d0713cc0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6/commits","review_comments_url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6/comments","review_comment_url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slashrocket/redditgraphed/issues/6/comments","statuses_url":"https://api.github.com/repos/slashrocket/redditgraphed/statuses/0e61b09d986198875ab4646787e5bf1b0cd0a140","head":{"label":"kirkokada:master","ref":"master","sha":"0e61b09d986198875ab4646787e5bf1b0cd0a140","user":{"login":"kirkokada","id":1548627,"avatar_url":"https://avatars.githubusercontent.com/u/1548627?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkokada","html_url":"https://github.com/kirkokada","followers_url":"https://api.github.com/users/kirkokada/followers","following_url":"https://api.github.com/users/kirkokada/following{/other_user}","gists_url":"https://api.github.com/users/kirkokada/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkokada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkokada/subscriptions","organizations_url":"https://api.github.com/users/kirkokada/orgs","repos_url":"https://api.github.com/users/kirkokada/repos","events_url":"https://api.github.com/users/kirkokada/events{/privacy}","received_events_url":"https://api.github.com/users/kirkokada/received_events","type":"User","site_admin":false},"repo":{"id":36685296,"name":"redditgraphed","full_name":"kirkokada/redditgraphed","owner":{"login":"kirkokada","id":1548627,"avatar_url":"https://avatars.githubusercontent.com/u/1548627?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkokada","html_url":"https://github.com/kirkokada","followers_url":"https://api.github.com/users/kirkokada/followers","following_url":"https://api.github.com/users/kirkokada/following{/other_user}","gists_url":"https://api.github.com/users/kirkokada/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkokada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkokada/subscriptions","organizations_url":"https://api.github.com/users/kirkokada/orgs","repos_url":"https://api.github.com/users/kirkokada/repos","events_url":"https://api.github.com/users/kirkokada/events{/privacy}","received_events_url":"https://api.github.com/users/kirkokada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirkokada/redditgraphed","description":"Analyzing and graphing the top ten posts on reddit","fork":true,"url":"https://api.github.com/repos/kirkokada/redditgraphed","forks_url":"https://api.github.com/repos/kirkokada/redditgraphed/forks","keys_url":"https://api.github.com/repos/kirkokada/redditgraphed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirkokada/redditgraphed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirkokada/redditgraphed/teams","hooks_url":"https://api.github.com/repos/kirkokada/redditgraphed/hooks","issue_events_url":"https://api.github.com/repos/kirkokada/redditgraphed/issues/events{/number}","events_url":"https://api.github.com/repos/kirkokada/redditgraphed/events","assignees_url":"https://api.github.com/repos/kirkokada/redditgraphed/assignees{/user}","branches_url":"https://api.github.com/repos/kirkokada/redditgraphed/branches{/branch}","tags_url":"https://api.github.com/repos/kirkokada/redditgraphed/tags","blobs_url":"https://api.github.com/repos/kirkokada/redditgraphed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirkokada/redditgraphed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirkokada/redditgraphed/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirkokada/redditgraphed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirkokada/redditgraphed/statuses/{sha}","languages_url":"https://api.github.com/repos/kirkokada/redditgraphed/languages","stargazers_url":"https://api.github.com/repos/kirkokada/redditgraphed/stargazers","contributors_url":"https://api.github.com/repos/kirkokada/redditgraphed/contributors","subscribers_url":"https://api.github.com/repos/kirkokada/redditgraphed/subscribers","subscription_url":"https://api.github.com/repos/kirkokada/redditgraphed/subscription","commits_url":"https://api.github.com/repos/kirkokada/redditgraphed/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirkokada/redditgraphed/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirkokada/redditgraphed/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirkokada/redditgraphed/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirkokada/redditgraphed/contents/{+path}","compare_url":"https://api.github.com/repos/kirkokada/redditgraphed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirkokada/redditgraphed/merges","archive_url":"https://api.github.com/repos/kirkokada/redditgraphed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirkokada/redditgraphed/downloads","issues_url":"https://api.github.com/repos/kirkokada/redditgraphed/issues{/number}","pulls_url":"https://api.github.com/repos/kirkokada/redditgraphed/pulls{/number}","milestones_url":"https://api.github.com/repos/kirkokada/redditgraphed/milestones{/number}","notifications_url":"https://api.github.com/repos/kirkokada/redditgraphed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirkokada/redditgraphed/labels{/name}","releases_url":"https://api.github.com/repos/kirkokada/redditgraphed/releases{/id}","created_at":"2015-06-01T20:00:31Z","updated_at":"2015-06-01T20:00:31Z","pushed_at":"2015-06-07T10:45:43Z","git_url":"git://github.com/kirkokada/redditgraphed.git","ssh_url":"git@github.com:kirkokada/redditgraphed.git","clone_url":"https://github.com/kirkokada/redditgraphed.git","svn_url":"https://github.com/kirkokada/redditgraphed","homepage":"http://redditgraphed.com","size":2266,"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":"slashrocket:master","ref":"master","sha":"263c608feb5330e39f1dee72c7da0a5078a46494","user":{"login":"slashrocket","id":10340500,"avatar_url":"https://avatars.githubusercontent.com/u/10340500?v=3","gravatar_id":"","url":"https://api.github.com/users/slashrocket","html_url":"https://github.com/slashrocket","followers_url":"https://api.github.com/users/slashrocket/followers","following_url":"https://api.github.com/users/slashrocket/following{/other_user}","gists_url":"https://api.github.com/users/slashrocket/gists{/gist_id}","starred_url":"https://api.github.com/users/slashrocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashrocket/subscriptions","organizations_url":"https://api.github.com/users/slashrocket/orgs","repos_url":"https://api.github.com/users/slashrocket/repos","events_url":"https://api.github.com/users/slashrocket/events{/privacy}","received_events_url":"https://api.github.com/users/slashrocket/received_events","type":"Organization","site_admin":false},"repo":{"id":29204541,"name":"redditgraphed","full_name":"slashrocket/redditgraphed","owner":{"login":"slashrocket","id":10340500,"avatar_url":"https://avatars.githubusercontent.com/u/10340500?v=3","gravatar_id":"","url":"https://api.github.com/users/slashrocket","html_url":"https://github.com/slashrocket","followers_url":"https://api.github.com/users/slashrocket/followers","following_url":"https://api.github.com/users/slashrocket/following{/other_user}","gists_url":"https://api.github.com/users/slashrocket/gists{/gist_id}","starred_url":"https://api.github.com/users/slashrocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashrocket/subscriptions","organizations_url":"https://api.github.com/users/slashrocket/orgs","repos_url":"https://api.github.com/users/slashrocket/repos","events_url":"https://api.github.com/users/slashrocket/events{/privacy}","received_events_url":"https://api.github.com/users/slashrocket/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slashrocket/redditgraphed","description":"Analyzing and graphing the top ten posts on reddit","fork":false,"url":"https://api.github.com/repos/slashrocket/redditgraphed","forks_url":"https://api.github.com/repos/slashrocket/redditgraphed/forks","keys_url":"https://api.github.com/repos/slashrocket/redditgraphed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slashrocket/redditgraphed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slashrocket/redditgraphed/teams","hooks_url":"https://api.github.com/repos/slashrocket/redditgraphed/hooks","issue_events_url":"https://api.github.com/repos/slashrocket/redditgraphed/issues/events{/number}","events_url":"https://api.github.com/repos/slashrocket/redditgraphed/events","assignees_url":"https://api.github.com/repos/slashrocket/redditgraphed/assignees{/user}","branches_url":"https://api.github.com/repos/slashrocket/redditgraphed/branches{/branch}","tags_url":"https://api.github.com/repos/slashrocket/redditgraphed/tags","blobs_url":"https://api.github.com/repos/slashrocket/redditgraphed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slashrocket/redditgraphed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slashrocket/redditgraphed/git/refs{/sha}","trees_url":"https://api.github.com/repos/slashrocket/redditgraphed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slashrocket/redditgraphed/statuses/{sha}","languages_url":"https://api.github.com/repos/slashrocket/redditgraphed/languages","stargazers_url":"https://api.github.com/repos/slashrocket/redditgraphed/stargazers","contributors_url":"https://api.github.com/repos/slashrocket/redditgraphed/contributors","subscribers_url":"https://api.github.com/repos/slashrocket/redditgraphed/subscribers","subscription_url":"https://api.github.com/repos/slashrocket/redditgraphed/subscription","commits_url":"https://api.github.com/repos/slashrocket/redditgraphed/commits{/sha}","git_commits_url":"https://api.github.com/repos/slashrocket/redditgraphed/git/commits{/sha}","comments_url":"https://api.github.com/repos/slashrocket/redditgraphed/comments{/number}","issue_comment_url":"https://api.github.com/repos/slashrocket/redditgraphed/issues/comments{/number}","contents_url":"https://api.github.com/repos/slashrocket/redditgraphed/contents/{+path}","compare_url":"https://api.github.com/repos/slashrocket/redditgraphed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slashrocket/redditgraphed/merges","archive_url":"https://api.github.com/repos/slashrocket/redditgraphed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slashrocket/redditgraphed/downloads","issues_url":"https://api.github.com/repos/slashrocket/redditgraphed/issues{/number}","pulls_url":"https://api.github.com/repos/slashrocket/redditgraphed/pulls{/number}","milestones_url":"https://api.github.com/repos/slashrocket/redditgraphed/milestones{/number}","notifications_url":"https://api.github.com/repos/slashrocket/redditgraphed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slashrocket/redditgraphed/labels{/name}","releases_url":"https://api.github.com/repos/slashrocket/redditgraphed/releases{/id}","created_at":"2015-01-13T18:34:30Z","updated_at":"2015-06-06T05:30:08Z","pushed_at":"2015-06-08T20:08:37Z","git_url":"git://github.com/slashrocket/redditgraphed.git","ssh_url":"git@github.com:slashrocket/redditgraphed.git","clone_url":"https://github.com/slashrocket/redditgraphed.git","svn_url":"https://github.com/slashrocket/redditgraphed","homepage":"http://redditgraphed.com","size":3478,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6"},"html":{"href":"https://github.com/slashrocket/redditgraphed/pull/6"},"issue":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/issues/6"},"comments":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/slashrocket/redditgraphed/statuses/0e61b09d986198875ab4646787e5bf1b0cd0a140"}}}}