{"action":"created","comment":{"url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/comments/47446038","id":47446038,"diff_hunk":"@@ -2,23 +2,26 @@\n #\n # Table name: activities\n #\n-#  id               :integer          not null, primary key\n-#  type_id          :integer\n-#  user_id          :integer\n-#  notice_id        :integer\n-#  reply_id         :integer\n-#  created_at       :datetime\n-#  updated_at       :datetime\n-#  advertisement_id :integer\n+#  id                       :integer          not null, primary key\n+#  type_id                  :integer\n+#  user_id                  :integer\n+#  notice_id                :integer\n+#  reply_id                 :integer\n+#  created_at               :datetime\n+#  updated_at               :datetime\n+#  advertisement_id         :integer\n+#  activity_recordable_id   :integer\n+#  activity_recordable_type :string\n #\n # Indexes\n #\n-#  index_activities_on_created_at  (created_at)\n-#  index_activities_on_notice_id   (notice_id)\n-#  index_activities_on_reply_id    (reply_id)\n-#  index_activities_on_type_id     (type_id)\n-#  index_activities_on_user_id     (user_id)\n-#  index_activities_unique_key     (type_id,user_id,notice_id,reply_id) UNIQUE\n+#  index_activities_on_activity_recordable_reference  (activity_recordable_type,activity_recordable_id)","path":"test/models/activity_test.rb","position":31,"original_position":31,"commit_id":"e90da456e77719d2b171920a2d3ed25d9b153efa","original_commit_id":"e90da456e77719d2b171920a2d3ed25d9b153efa","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":"Line is too long. [103/80]","created_at":"2015-12-13T15:33:58Z","updated_at":"2015-12-13T15:33:58Z","html_url":"https://github.com/ken1flan/everyones_notice/pull/227#discussion_r47446038","pull_request_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227","_links":{"self":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/comments/47446038"},"html":{"href":"https://github.com/ken1flan/everyones_notice/pull/227#discussion_r47446038"},"pull_request":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227"}}},"pull_request":{"url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227","id":53502299,"html_url":"https://github.com/ken1flan/everyones_notice/pull/227","diff_url":"https://github.com/ken1flan/everyones_notice/pull/227.diff","patch_url":"https://github.com/ken1flan/everyones_notice/pull/227.patch","issue_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/227","number":227,"state":"open","locked":false,"title":"Update gem","user":{"login":"ken1flan","id":2942348,"avatar_url":"https://avatars.githubusercontent.com/u/2942348?v=3","gravatar_id":"","url":"https://api.github.com/users/ken1flan","html_url":"https://github.com/ken1flan","followers_url":"https://api.github.com/users/ken1flan/followers","following_url":"https://api.github.com/users/ken1flan/following{/other_user}","gists_url":"https://api.github.com/users/ken1flan/gists{/gist_id}","starred_url":"https://api.github.com/users/ken1flan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken1flan/subscriptions","organizations_url":"https://api.github.com/users/ken1flan/orgs","repos_url":"https://api.github.com/users/ken1flan/repos","events_url":"https://api.github.com/users/ken1flan/events{/privacy}","received_events_url":"https://api.github.com/users/ken1flan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-13T15:33:54Z","updated_at":"2015-12-13T15:33:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3c248b5c796f28b5f164afdeb68d39a3e595c43","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227/commits","review_comments_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227/comments","review_comment_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/227/comments","statuses_url":"https://api.github.com/repos/ken1flan/everyones_notice/statuses/e90da456e77719d2b171920a2d3ed25d9b153efa","head":{"label":"ken1flan:update_gem","ref":"update_gem","sha":"e90da456e77719d2b171920a2d3ed25d9b153efa","user":{"login":"ken1flan","id":2942348,"avatar_url":"https://avatars.githubusercontent.com/u/2942348?v=3","gravatar_id":"","url":"https://api.github.com/users/ken1flan","html_url":"https://github.com/ken1flan","followers_url":"https://api.github.com/users/ken1flan/followers","following_url":"https://api.github.com/users/ken1flan/following{/other_user}","gists_url":"https://api.github.com/users/ken1flan/gists{/gist_id}","starred_url":"https://api.github.com/users/ken1flan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken1flan/subscriptions","organizations_url":"https://api.github.com/users/ken1flan/orgs","repos_url":"https://api.github.com/users/ken1flan/repos","events_url":"https://api.github.com/users/ken1flan/events{/privacy}","received_events_url":"https://api.github.com/users/ken1flan/received_events","type":"User","site_admin":false},"repo":{"id":25445366,"name":"everyones_notice","full_name":"ken1flan/everyones_notice","owner":{"login":"ken1flan","id":2942348,"avatar_url":"https://avatars.githubusercontent.com/u/2942348?v=3","gravatar_id":"","url":"https://api.github.com/users/ken1flan","html_url":"https://github.com/ken1flan","followers_url":"https://api.github.com/users/ken1flan/followers","following_url":"https://api.github.com/users/ken1flan/following{/other_user}","gists_url":"https://api.github.com/users/ken1flan/gists{/gist_id}","starred_url":"https://api.github.com/users/ken1flan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken1flan/subscriptions","organizations_url":"https://api.github.com/users/ken1flan/orgs","repos_url":"https://api.github.com/users/ken1flan/repos","events_url":"https://api.github.com/users/ken1flan/events{/privacy}","received_events_url":"https://api.github.com/users/ken1flan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ken1flan/everyones_notice","description":"Write your notices, read your friend's notices, enjoy everyone's notices.","fork":false,"url":"https://api.github.com/repos/ken1flan/everyones_notice","forks_url":"https://api.github.com/repos/ken1flan/everyones_notice/forks","keys_url":"https://api.github.com/repos/ken1flan/everyones_notice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ken1flan/everyones_notice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ken1flan/everyones_notice/teams","hooks_url":"https://api.github.com/repos/ken1flan/everyones_notice/hooks","issue_events_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/events{/number}","events_url":"https://api.github.com/repos/ken1flan/everyones_notice/events","assignees_url":"https://api.github.com/repos/ken1flan/everyones_notice/assignees{/user}","branches_url":"https://api.github.com/repos/ken1flan/everyones_notice/branches{/branch}","tags_url":"https://api.github.com/repos/ken1flan/everyones_notice/tags","blobs_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/refs{/sha}","trees_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ken1flan/everyones_notice/statuses/{sha}","languages_url":"https://api.github.com/repos/ken1flan/everyones_notice/languages","stargazers_url":"https://api.github.com/repos/ken1flan/everyones_notice/stargazers","contributors_url":"https://api.github.com/repos/ken1flan/everyones_notice/contributors","subscribers_url":"https://api.github.com/repos/ken1flan/everyones_notice/subscribers","subscription_url":"https://api.github.com/repos/ken1flan/everyones_notice/subscription","commits_url":"https://api.github.com/repos/ken1flan/everyones_notice/commits{/sha}","git_commits_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/commits{/sha}","comments_url":"https://api.github.com/repos/ken1flan/everyones_notice/comments{/number}","issue_comment_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/comments{/number}","contents_url":"https://api.github.com/repos/ken1flan/everyones_notice/contents/{+path}","compare_url":"https://api.github.com/repos/ken1flan/everyones_notice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ken1flan/everyones_notice/merges","archive_url":"https://api.github.com/repos/ken1flan/everyones_notice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ken1flan/everyones_notice/downloads","issues_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues{/number}","pulls_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls{/number}","milestones_url":"https://api.github.com/repos/ken1flan/everyones_notice/milestones{/number}","notifications_url":"https://api.github.com/repos/ken1flan/everyones_notice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ken1flan/everyones_notice/labels{/name}","releases_url":"https://api.github.com/repos/ken1flan/everyones_notice/releases{/id}","created_at":"2014-10-20T01:08:04Z","updated_at":"2015-05-05T11:12:35Z","pushed_at":"2015-12-13T15:33:54Z","git_url":"git://github.com/ken1flan/everyones_notice.git","ssh_url":"git@github.com:ken1flan/everyones_notice.git","clone_url":"https://github.com/ken1flan/everyones_notice.git","svn_url":"https://github.com/ken1flan/everyones_notice","homepage":"","size":5550,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":23,"forks":5,"open_issues":23,"watchers":2,"default_branch":"develop"}},"base":{"label":"ken1flan:develop","ref":"develop","sha":"78d1f96f3268d8bba109b0a85009609708afeca7","user":{"login":"ken1flan","id":2942348,"avatar_url":"https://avatars.githubusercontent.com/u/2942348?v=3","gravatar_id":"","url":"https://api.github.com/users/ken1flan","html_url":"https://github.com/ken1flan","followers_url":"https://api.github.com/users/ken1flan/followers","following_url":"https://api.github.com/users/ken1flan/following{/other_user}","gists_url":"https://api.github.com/users/ken1flan/gists{/gist_id}","starred_url":"https://api.github.com/users/ken1flan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken1flan/subscriptions","organizations_url":"https://api.github.com/users/ken1flan/orgs","repos_url":"https://api.github.com/users/ken1flan/repos","events_url":"https://api.github.com/users/ken1flan/events{/privacy}","received_events_url":"https://api.github.com/users/ken1flan/received_events","type":"User","site_admin":false},"repo":{"id":25445366,"name":"everyones_notice","full_name":"ken1flan/everyones_notice","owner":{"login":"ken1flan","id":2942348,"avatar_url":"https://avatars.githubusercontent.com/u/2942348?v=3","gravatar_id":"","url":"https://api.github.com/users/ken1flan","html_url":"https://github.com/ken1flan","followers_url":"https://api.github.com/users/ken1flan/followers","following_url":"https://api.github.com/users/ken1flan/following{/other_user}","gists_url":"https://api.github.com/users/ken1flan/gists{/gist_id}","starred_url":"https://api.github.com/users/ken1flan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken1flan/subscriptions","organizations_url":"https://api.github.com/users/ken1flan/orgs","repos_url":"https://api.github.com/users/ken1flan/repos","events_url":"https://api.github.com/users/ken1flan/events{/privacy}","received_events_url":"https://api.github.com/users/ken1flan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ken1flan/everyones_notice","description":"Write your notices, read your friend's notices, enjoy everyone's notices.","fork":false,"url":"https://api.github.com/repos/ken1flan/everyones_notice","forks_url":"https://api.github.com/repos/ken1flan/everyones_notice/forks","keys_url":"https://api.github.com/repos/ken1flan/everyones_notice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ken1flan/everyones_notice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ken1flan/everyones_notice/teams","hooks_url":"https://api.github.com/repos/ken1flan/everyones_notice/hooks","issue_events_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/events{/number}","events_url":"https://api.github.com/repos/ken1flan/everyones_notice/events","assignees_url":"https://api.github.com/repos/ken1flan/everyones_notice/assignees{/user}","branches_url":"https://api.github.com/repos/ken1flan/everyones_notice/branches{/branch}","tags_url":"https://api.github.com/repos/ken1flan/everyones_notice/tags","blobs_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/refs{/sha}","trees_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ken1flan/everyones_notice/statuses/{sha}","languages_url":"https://api.github.com/repos/ken1flan/everyones_notice/languages","stargazers_url":"https://api.github.com/repos/ken1flan/everyones_notice/stargazers","contributors_url":"https://api.github.com/repos/ken1flan/everyones_notice/contributors","subscribers_url":"https://api.github.com/repos/ken1flan/everyones_notice/subscribers","subscription_url":"https://api.github.com/repos/ken1flan/everyones_notice/subscription","commits_url":"https://api.github.com/repos/ken1flan/everyones_notice/commits{/sha}","git_commits_url":"https://api.github.com/repos/ken1flan/everyones_notice/git/commits{/sha}","comments_url":"https://api.github.com/repos/ken1flan/everyones_notice/comments{/number}","issue_comment_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues/comments{/number}","contents_url":"https://api.github.com/repos/ken1flan/everyones_notice/contents/{+path}","compare_url":"https://api.github.com/repos/ken1flan/everyones_notice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ken1flan/everyones_notice/merges","archive_url":"https://api.github.com/repos/ken1flan/everyones_notice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ken1flan/everyones_notice/downloads","issues_url":"https://api.github.com/repos/ken1flan/everyones_notice/issues{/number}","pulls_url":"https://api.github.com/repos/ken1flan/everyones_notice/pulls{/number}","milestones_url":"https://api.github.com/repos/ken1flan/everyones_notice/milestones{/number}","notifications_url":"https://api.github.com/repos/ken1flan/everyones_notice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ken1flan/everyones_notice/labels{/name}","releases_url":"https://api.github.com/repos/ken1flan/everyones_notice/releases{/id}","created_at":"2014-10-20T01:08:04Z","updated_at":"2015-05-05T11:12:35Z","pushed_at":"2015-12-13T15:33:54Z","git_url":"git://github.com/ken1flan/everyones_notice.git","ssh_url":"git@github.com:ken1flan/everyones_notice.git","clone_url":"https://github.com/ken1flan/everyones_notice.git","svn_url":"https://github.com/ken1flan/everyones_notice","homepage":"","size":5550,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":23,"forks":5,"open_issues":23,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227"},"html":{"href":"https://github.com/ken1flan/everyones_notice/pull/227"},"issue":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/issues/227"},"comments":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/issues/227/comments"},"review_comments":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227/comments"},"review_comment":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/pulls/227/commits"},"statuses":{"href":"https://api.github.com/repos/ken1flan/everyones_notice/statuses/e90da456e77719d2b171920a2d3ed25d9b153efa"}}}}