{"action":"created","comment":{"url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/comments/34158076","id":34158076,"diff_hunk":"@@ -0,0 +1,17 @@\n+class CreateAverageCaches < ActiveRecord::Migration\n+\n+  def self.up\n+    create_table :average_caches do |t|\n+      t.belongs_to :rater\n+      t.belongs_to :rateable, :polymorphic => true\n+      t.float :avg, :null => false\n+      t.timestamps\n+    end\n+  end\n+\n+  def self.down\n+    drop_table :average_caches\n+  end\n+\n+end\n+","path":"db/migrate/20150708145137_create_average_caches.rb","position":17,"original_position":17,"commit_id":"1274dfc01e54d65125afce0a18f2798d9e7ffbb6","original_commit_id":"1274dfc01e54d65125afce0a18f2798d9e7ffbb6","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":"1 trailing blank lines detected.","created_at":"2015-07-08T15:06:02Z","updated_at":"2015-07-08T15:06:02Z","html_url":"https://github.com/sammcgrail/gemhunter/pull/30#discussion_r34158076","pull_request_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/comments/34158076"},"html":{"href":"https://github.com/sammcgrail/gemhunter/pull/30#discussion_r34158076"},"pull_request":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30","id":39397647,"html_url":"https://github.com/sammcgrail/gemhunter/pull/30","diff_url":"https://github.com/sammcgrail/gemhunter/pull/30.diff","patch_url":"https://github.com/sammcgrail/gemhunter/pull/30.patch","issue_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/30","number":30,"state":"open","locked":false,"title":"RFR - footer change, about page content, styles on show pages and landing/index pages","user":{"login":"sammcgrail","id":6109568,"avatar_url":"https://avatars.githubusercontent.com/u/6109568?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcgrail","html_url":"https://github.com/sammcgrail","followers_url":"https://api.github.com/users/sammcgrail/followers","following_url":"https://api.github.com/users/sammcgrail/following{/other_user}","gists_url":"https://api.github.com/users/sammcgrail/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcgrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcgrail/subscriptions","organizations_url":"https://api.github.com/users/sammcgrail/orgs","repos_url":"https://api.github.com/users/sammcgrail/repos","events_url":"https://api.github.com/users/sammcgrail/events{/privacy}","received_events_url":"https://api.github.com/users/sammcgrail/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-07T17:51:02Z","updated_at":"2015-07-08T15:06:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5014a6051d397fd7dfd93e7388436000c9210874","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30/commits","review_comments_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30/comments","review_comment_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/30/comments","statuses_url":"https://api.github.com/repos/sammcgrail/gemhunter/statuses/1274dfc01e54d65125afce0a18f2798d9e7ffbb6","head":{"label":"sammcgrail:sm_footer_and_styles","ref":"sm_footer_and_styles","sha":"1274dfc01e54d65125afce0a18f2798d9e7ffbb6","user":{"login":"sammcgrail","id":6109568,"avatar_url":"https://avatars.githubusercontent.com/u/6109568?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcgrail","html_url":"https://github.com/sammcgrail","followers_url":"https://api.github.com/users/sammcgrail/followers","following_url":"https://api.github.com/users/sammcgrail/following{/other_user}","gists_url":"https://api.github.com/users/sammcgrail/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcgrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcgrail/subscriptions","organizations_url":"https://api.github.com/users/sammcgrail/orgs","repos_url":"https://api.github.com/users/sammcgrail/repos","events_url":"https://api.github.com/users/sammcgrail/events{/privacy}","received_events_url":"https://api.github.com/users/sammcgrail/received_events","type":"User","site_admin":false},"repo":{"id":38254016,"name":"gemhunter","full_name":"sammcgrail/gemhunter","owner":{"login":"sammcgrail","id":6109568,"avatar_url":"https://avatars.githubusercontent.com/u/6109568?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcgrail","html_url":"https://github.com/sammcgrail","followers_url":"https://api.github.com/users/sammcgrail/followers","following_url":"https://api.github.com/users/sammcgrail/following{/other_user}","gists_url":"https://api.github.com/users/sammcgrail/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcgrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcgrail/subscriptions","organizations_url":"https://api.github.com/users/sammcgrail/orgs","repos_url":"https://api.github.com/users/sammcgrail/repos","events_url":"https://api.github.com/users/sammcgrail/events{/privacy}","received_events_url":"https://api.github.com/users/sammcgrail/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sammcgrail/gemhunter","description":null,"fork":false,"url":"https://api.github.com/repos/sammcgrail/gemhunter","forks_url":"https://api.github.com/repos/sammcgrail/gemhunter/forks","keys_url":"https://api.github.com/repos/sammcgrail/gemhunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sammcgrail/gemhunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sammcgrail/gemhunter/teams","hooks_url":"https://api.github.com/repos/sammcgrail/gemhunter/hooks","issue_events_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/events{/number}","events_url":"https://api.github.com/repos/sammcgrail/gemhunter/events","assignees_url":"https://api.github.com/repos/sammcgrail/gemhunter/assignees{/user}","branches_url":"https://api.github.com/repos/sammcgrail/gemhunter/branches{/branch}","tags_url":"https://api.github.com/repos/sammcgrail/gemhunter/tags","blobs_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sammcgrail/gemhunter/statuses/{sha}","languages_url":"https://api.github.com/repos/sammcgrail/gemhunter/languages","stargazers_url":"https://api.github.com/repos/sammcgrail/gemhunter/stargazers","contributors_url":"https://api.github.com/repos/sammcgrail/gemhunter/contributors","subscribers_url":"https://api.github.com/repos/sammcgrail/gemhunter/subscribers","subscription_url":"https://api.github.com/repos/sammcgrail/gemhunter/subscription","commits_url":"https://api.github.com/repos/sammcgrail/gemhunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/sammcgrail/gemhunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/sammcgrail/gemhunter/contents/{+path}","compare_url":"https://api.github.com/repos/sammcgrail/gemhunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sammcgrail/gemhunter/merges","archive_url":"https://api.github.com/repos/sammcgrail/gemhunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sammcgrail/gemhunter/downloads","issues_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues{/number}","pulls_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls{/number}","milestones_url":"https://api.github.com/repos/sammcgrail/gemhunter/milestones{/number}","notifications_url":"https://api.github.com/repos/sammcgrail/gemhunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sammcgrail/gemhunter/labels{/name}","releases_url":"https://api.github.com/repos/sammcgrail/gemhunter/releases{/id}","created_at":"2015-06-29T15:07:49Z","updated_at":"2015-06-30T21:22:51Z","pushed_at":"2015-07-08T15:05:45Z","git_url":"git://github.com/sammcgrail/gemhunter.git","ssh_url":"git@github.com:sammcgrail/gemhunter.git","clone_url":"https://github.com/sammcgrail/gemhunter.git","svn_url":"https://github.com/sammcgrail/gemhunter","homepage":null,"size":1140,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"sammcgrail:master","ref":"master","sha":"e801da465430a33da1f07a99b59a21ed7c2ac345","user":{"login":"sammcgrail","id":6109568,"avatar_url":"https://avatars.githubusercontent.com/u/6109568?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcgrail","html_url":"https://github.com/sammcgrail","followers_url":"https://api.github.com/users/sammcgrail/followers","following_url":"https://api.github.com/users/sammcgrail/following{/other_user}","gists_url":"https://api.github.com/users/sammcgrail/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcgrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcgrail/subscriptions","organizations_url":"https://api.github.com/users/sammcgrail/orgs","repos_url":"https://api.github.com/users/sammcgrail/repos","events_url":"https://api.github.com/users/sammcgrail/events{/privacy}","received_events_url":"https://api.github.com/users/sammcgrail/received_events","type":"User","site_admin":false},"repo":{"id":38254016,"name":"gemhunter","full_name":"sammcgrail/gemhunter","owner":{"login":"sammcgrail","id":6109568,"avatar_url":"https://avatars.githubusercontent.com/u/6109568?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcgrail","html_url":"https://github.com/sammcgrail","followers_url":"https://api.github.com/users/sammcgrail/followers","following_url":"https://api.github.com/users/sammcgrail/following{/other_user}","gists_url":"https://api.github.com/users/sammcgrail/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcgrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcgrail/subscriptions","organizations_url":"https://api.github.com/users/sammcgrail/orgs","repos_url":"https://api.github.com/users/sammcgrail/repos","events_url":"https://api.github.com/users/sammcgrail/events{/privacy}","received_events_url":"https://api.github.com/users/sammcgrail/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sammcgrail/gemhunter","description":null,"fork":false,"url":"https://api.github.com/repos/sammcgrail/gemhunter","forks_url":"https://api.github.com/repos/sammcgrail/gemhunter/forks","keys_url":"https://api.github.com/repos/sammcgrail/gemhunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sammcgrail/gemhunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sammcgrail/gemhunter/teams","hooks_url":"https://api.github.com/repos/sammcgrail/gemhunter/hooks","issue_events_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/events{/number}","events_url":"https://api.github.com/repos/sammcgrail/gemhunter/events","assignees_url":"https://api.github.com/repos/sammcgrail/gemhunter/assignees{/user}","branches_url":"https://api.github.com/repos/sammcgrail/gemhunter/branches{/branch}","tags_url":"https://api.github.com/repos/sammcgrail/gemhunter/tags","blobs_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sammcgrail/gemhunter/statuses/{sha}","languages_url":"https://api.github.com/repos/sammcgrail/gemhunter/languages","stargazers_url":"https://api.github.com/repos/sammcgrail/gemhunter/stargazers","contributors_url":"https://api.github.com/repos/sammcgrail/gemhunter/contributors","subscribers_url":"https://api.github.com/repos/sammcgrail/gemhunter/subscribers","subscription_url":"https://api.github.com/repos/sammcgrail/gemhunter/subscription","commits_url":"https://api.github.com/repos/sammcgrail/gemhunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/sammcgrail/gemhunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/sammcgrail/gemhunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/sammcgrail/gemhunter/contents/{+path}","compare_url":"https://api.github.com/repos/sammcgrail/gemhunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sammcgrail/gemhunter/merges","archive_url":"https://api.github.com/repos/sammcgrail/gemhunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sammcgrail/gemhunter/downloads","issues_url":"https://api.github.com/repos/sammcgrail/gemhunter/issues{/number}","pulls_url":"https://api.github.com/repos/sammcgrail/gemhunter/pulls{/number}","milestones_url":"https://api.github.com/repos/sammcgrail/gemhunter/milestones{/number}","notifications_url":"https://api.github.com/repos/sammcgrail/gemhunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sammcgrail/gemhunter/labels{/name}","releases_url":"https://api.github.com/repos/sammcgrail/gemhunter/releases{/id}","created_at":"2015-06-29T15:07:49Z","updated_at":"2015-06-30T21:22:51Z","pushed_at":"2015-07-08T15:05:45Z","git_url":"git://github.com/sammcgrail/gemhunter.git","ssh_url":"git@github.com:sammcgrail/gemhunter.git","clone_url":"https://github.com/sammcgrail/gemhunter.git","svn_url":"https://github.com/sammcgrail/gemhunter","homepage":null,"size":1140,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30"},"html":{"href":"https://github.com/sammcgrail/gemhunter/pull/30"},"issue":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/issues/30"},"comments":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/sammcgrail/gemhunter/statuses/1274dfc01e54d65125afce0a18f2798d9e7ffbb6"}}}}