{"action":"created","comment":{"url":"https://api.github.com/repos/csnedecor/photoz/pulls/comments/23134432","id":23134432,"diff_hunk":"@@ -0,0 +1,9 @@\n+class CreateHits < ActiveRecord::Migration\n+  def change\n+    create_table :hits do |t|\n+      t.belongs_to :album, null: false, index: true\n+      ","path":"db/migrate/20150118152450_create_hits.rb","position":5,"original_position":5,"commit_id":"ee6aad6bf95bfc8e02d11dc29530a5ae335f2b81","original_commit_id":"ee6aad6bf95bfc8e02d11dc29530a5ae335f2b81","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":"Trailing whitespace detected.","created_at":"2015-01-18T16:27:45Z","updated_at":"2015-01-18T16:27:45Z","html_url":"https://github.com/csnedecor/photoz/pull/17#discussion_r23134432","pull_request_url":"https://api.github.com/repos/csnedecor/photoz/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/comments/23134432"},"html":{"href":"https://github.com/csnedecor/photoz/pull/17#discussion_r23134432"},"pull_request":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/csnedecor/photoz/pulls/17","id":27479509,"html_url":"https://github.com/csnedecor/photoz/pull/17","diff_url":"https://github.com/csnedecor/photoz/pull/17.diff","patch_url":"https://github.com/csnedecor/photoz/pull/17.patch","issue_url":"https://api.github.com/repos/csnedecor/photoz/issues/17","number":17,"state":"open","locked":false,"title":"Analytics","user":{"login":"csnedecor","id":5759190,"avatar_url":"https://avatars.githubusercontent.com/u/5759190?v=3","gravatar_id":"","url":"https://api.github.com/users/csnedecor","html_url":"https://github.com/csnedecor","followers_url":"https://api.github.com/users/csnedecor/followers","following_url":"https://api.github.com/users/csnedecor/following{/other_user}","gists_url":"https://api.github.com/users/csnedecor/gists{/gist_id}","starred_url":"https://api.github.com/users/csnedecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csnedecor/subscriptions","organizations_url":"https://api.github.com/users/csnedecor/orgs","repos_url":"https://api.github.com/users/csnedecor/repos","events_url":"https://api.github.com/users/csnedecor/events{/privacy}","received_events_url":"https://api.github.com/users/csnedecor/received_events","type":"User","site_admin":false},"body":"Adds ability to view pageviews on analytics page.","created_at":"2015-01-16T02:07:23Z","updated_at":"2015-01-18T16:27:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff4adb3a57bcb375dee506a09dba69303712d768","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/csnedecor/photoz/pulls/17/commits","review_comments_url":"https://api.github.com/repos/csnedecor/photoz/pulls/17/comments","review_comment_url":"https://api.github.com/repos/csnedecor/photoz/pulls/comments/{number}","comments_url":"https://api.github.com/repos/csnedecor/photoz/issues/17/comments","statuses_url":"https://api.github.com/repos/csnedecor/photoz/statuses/ee6aad6bf95bfc8e02d11dc29530a5ae335f2b81","head":{"label":"csnedecor:analytics","ref":"analytics","sha":"ee6aad6bf95bfc8e02d11dc29530a5ae335f2b81","user":{"login":"csnedecor","id":5759190,"avatar_url":"https://avatars.githubusercontent.com/u/5759190?v=3","gravatar_id":"","url":"https://api.github.com/users/csnedecor","html_url":"https://github.com/csnedecor","followers_url":"https://api.github.com/users/csnedecor/followers","following_url":"https://api.github.com/users/csnedecor/following{/other_user}","gists_url":"https://api.github.com/users/csnedecor/gists{/gist_id}","starred_url":"https://api.github.com/users/csnedecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csnedecor/subscriptions","organizations_url":"https://api.github.com/users/csnedecor/orgs","repos_url":"https://api.github.com/users/csnedecor/repos","events_url":"https://api.github.com/users/csnedecor/events{/privacy}","received_events_url":"https://api.github.com/users/csnedecor/received_events","type":"User","site_admin":false},"repo":{"id":28367658,"name":"photoz","full_name":"csnedecor/photoz","owner":{"login":"csnedecor","id":5759190,"avatar_url":"https://avatars.githubusercontent.com/u/5759190?v=3","gravatar_id":"","url":"https://api.github.com/users/csnedecor","html_url":"https://github.com/csnedecor","followers_url":"https://api.github.com/users/csnedecor/followers","following_url":"https://api.github.com/users/csnedecor/following{/other_user}","gists_url":"https://api.github.com/users/csnedecor/gists{/gist_id}","starred_url":"https://api.github.com/users/csnedecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csnedecor/subscriptions","organizations_url":"https://api.github.com/users/csnedecor/orgs","repos_url":"https://api.github.com/users/csnedecor/repos","events_url":"https://api.github.com/users/csnedecor/events{/privacy}","received_events_url":"https://api.github.com/users/csnedecor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/csnedecor/photoz","description":"","fork":false,"url":"https://api.github.com/repos/csnedecor/photoz","forks_url":"https://api.github.com/repos/csnedecor/photoz/forks","keys_url":"https://api.github.com/repos/csnedecor/photoz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/csnedecor/photoz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/csnedecor/photoz/teams","hooks_url":"https://api.github.com/repos/csnedecor/photoz/hooks","issue_events_url":"https://api.github.com/repos/csnedecor/photoz/issues/events{/number}","events_url":"https://api.github.com/repos/csnedecor/photoz/events","assignees_url":"https://api.github.com/repos/csnedecor/photoz/assignees{/user}","branches_url":"https://api.github.com/repos/csnedecor/photoz/branches{/branch}","tags_url":"https://api.github.com/repos/csnedecor/photoz/tags","blobs_url":"https://api.github.com/repos/csnedecor/photoz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/csnedecor/photoz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/csnedecor/photoz/git/refs{/sha}","trees_url":"https://api.github.com/repos/csnedecor/photoz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/csnedecor/photoz/statuses/{sha}","languages_url":"https://api.github.com/repos/csnedecor/photoz/languages","stargazers_url":"https://api.github.com/repos/csnedecor/photoz/stargazers","contributors_url":"https://api.github.com/repos/csnedecor/photoz/contributors","subscribers_url":"https://api.github.com/repos/csnedecor/photoz/subscribers","subscription_url":"https://api.github.com/repos/csnedecor/photoz/subscription","commits_url":"https://api.github.com/repos/csnedecor/photoz/commits{/sha}","git_commits_url":"https://api.github.com/repos/csnedecor/photoz/git/commits{/sha}","comments_url":"https://api.github.com/repos/csnedecor/photoz/comments{/number}","issue_comment_url":"https://api.github.com/repos/csnedecor/photoz/issues/comments/{number}","contents_url":"https://api.github.com/repos/csnedecor/photoz/contents/{+path}","compare_url":"https://api.github.com/repos/csnedecor/photoz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/csnedecor/photoz/merges","archive_url":"https://api.github.com/repos/csnedecor/photoz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/csnedecor/photoz/downloads","issues_url":"https://api.github.com/repos/csnedecor/photoz/issues{/number}","pulls_url":"https://api.github.com/repos/csnedecor/photoz/pulls{/number}","milestones_url":"https://api.github.com/repos/csnedecor/photoz/milestones{/number}","notifications_url":"https://api.github.com/repos/csnedecor/photoz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/csnedecor/photoz/labels{/name}","releases_url":"https://api.github.com/repos/csnedecor/photoz/releases{/id}","created_at":"2014-12-23T00:33:02Z","updated_at":"2015-01-14T22:47:18Z","pushed_at":"2015-01-18T16:27:40Z","git_url":"git://github.com/csnedecor/photoz.git","ssh_url":"git@github.com:csnedecor/photoz.git","clone_url":"https://github.com/csnedecor/photoz.git","svn_url":"https://github.com/csnedecor/photoz","homepage":null,"size":25696,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"csnedecor:master","ref":"master","sha":"99ade96fdf70c8e3dd26274837bac5f3e0492e57","user":{"login":"csnedecor","id":5759190,"avatar_url":"https://avatars.githubusercontent.com/u/5759190?v=3","gravatar_id":"","url":"https://api.github.com/users/csnedecor","html_url":"https://github.com/csnedecor","followers_url":"https://api.github.com/users/csnedecor/followers","following_url":"https://api.github.com/users/csnedecor/following{/other_user}","gists_url":"https://api.github.com/users/csnedecor/gists{/gist_id}","starred_url":"https://api.github.com/users/csnedecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csnedecor/subscriptions","organizations_url":"https://api.github.com/users/csnedecor/orgs","repos_url":"https://api.github.com/users/csnedecor/repos","events_url":"https://api.github.com/users/csnedecor/events{/privacy}","received_events_url":"https://api.github.com/users/csnedecor/received_events","type":"User","site_admin":false},"repo":{"id":28367658,"name":"photoz","full_name":"csnedecor/photoz","owner":{"login":"csnedecor","id":5759190,"avatar_url":"https://avatars.githubusercontent.com/u/5759190?v=3","gravatar_id":"","url":"https://api.github.com/users/csnedecor","html_url":"https://github.com/csnedecor","followers_url":"https://api.github.com/users/csnedecor/followers","following_url":"https://api.github.com/users/csnedecor/following{/other_user}","gists_url":"https://api.github.com/users/csnedecor/gists{/gist_id}","starred_url":"https://api.github.com/users/csnedecor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csnedecor/subscriptions","organizations_url":"https://api.github.com/users/csnedecor/orgs","repos_url":"https://api.github.com/users/csnedecor/repos","events_url":"https://api.github.com/users/csnedecor/events{/privacy}","received_events_url":"https://api.github.com/users/csnedecor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/csnedecor/photoz","description":"","fork":false,"url":"https://api.github.com/repos/csnedecor/photoz","forks_url":"https://api.github.com/repos/csnedecor/photoz/forks","keys_url":"https://api.github.com/repos/csnedecor/photoz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/csnedecor/photoz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/csnedecor/photoz/teams","hooks_url":"https://api.github.com/repos/csnedecor/photoz/hooks","issue_events_url":"https://api.github.com/repos/csnedecor/photoz/issues/events{/number}","events_url":"https://api.github.com/repos/csnedecor/photoz/events","assignees_url":"https://api.github.com/repos/csnedecor/photoz/assignees{/user}","branches_url":"https://api.github.com/repos/csnedecor/photoz/branches{/branch}","tags_url":"https://api.github.com/repos/csnedecor/photoz/tags","blobs_url":"https://api.github.com/repos/csnedecor/photoz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/csnedecor/photoz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/csnedecor/photoz/git/refs{/sha}","trees_url":"https://api.github.com/repos/csnedecor/photoz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/csnedecor/photoz/statuses/{sha}","languages_url":"https://api.github.com/repos/csnedecor/photoz/languages","stargazers_url":"https://api.github.com/repos/csnedecor/photoz/stargazers","contributors_url":"https://api.github.com/repos/csnedecor/photoz/contributors","subscribers_url":"https://api.github.com/repos/csnedecor/photoz/subscribers","subscription_url":"https://api.github.com/repos/csnedecor/photoz/subscription","commits_url":"https://api.github.com/repos/csnedecor/photoz/commits{/sha}","git_commits_url":"https://api.github.com/repos/csnedecor/photoz/git/commits{/sha}","comments_url":"https://api.github.com/repos/csnedecor/photoz/comments{/number}","issue_comment_url":"https://api.github.com/repos/csnedecor/photoz/issues/comments/{number}","contents_url":"https://api.github.com/repos/csnedecor/photoz/contents/{+path}","compare_url":"https://api.github.com/repos/csnedecor/photoz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/csnedecor/photoz/merges","archive_url":"https://api.github.com/repos/csnedecor/photoz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/csnedecor/photoz/downloads","issues_url":"https://api.github.com/repos/csnedecor/photoz/issues{/number}","pulls_url":"https://api.github.com/repos/csnedecor/photoz/pulls{/number}","milestones_url":"https://api.github.com/repos/csnedecor/photoz/milestones{/number}","notifications_url":"https://api.github.com/repos/csnedecor/photoz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/csnedecor/photoz/labels{/name}","releases_url":"https://api.github.com/repos/csnedecor/photoz/releases{/id}","created_at":"2014-12-23T00:33:02Z","updated_at":"2015-01-14T22:47:18Z","pushed_at":"2015-01-18T16:27:40Z","git_url":"git://github.com/csnedecor/photoz.git","ssh_url":"git@github.com:csnedecor/photoz.git","clone_url":"https://github.com/csnedecor/photoz.git","svn_url":"https://github.com/csnedecor/photoz","homepage":null,"size":25696,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/17"},"html":{"href":"https://github.com/csnedecor/photoz/pull/17"},"issue":{"href":"https://api.github.com/repos/csnedecor/photoz/issues/17"},"comments":{"href":"https://api.github.com/repos/csnedecor/photoz/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/csnedecor/photoz/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/csnedecor/photoz/statuses/ee6aad6bf95bfc8e02d11dc29530a5ae335f2b81"}}}}