{"action":"created","comment":{"url":"https://api.github.com/repos/showwin/FC2-Play/pulls/comments/25563142","id":25563142,"diff_hunk":"@@ -84,8 +84,8 @@ def report\n     else\n       toast :error, \"報告に失敗しました。もう一度試してみてください。\"\n     end\n-    MonthlyRank.find_by_video_id(video.id).delete\n-    WeeklyRank.find_by_video_id(video.id).delete\n+    MonthlyRank.find_by_video_id(video.id).delete if MonthlyRank.find_by_video_id(video.id)\n+    WeeklyRank.find_by_video_id(video.id).delete if MonthlyRank.find_by_video_id(video.id)","path":"app/controllers/home_controller.rb","position":19,"original_position":19,"commit_id":"59aa8ea3c215077cfcd94c99f0b5e4dd184a5f9b","original_commit_id":"59aa8ea3c215077cfcd94c99f0b5e4dd184a5f9b","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. [90/80]","created_at":"2015-03-01T01:39:22Z","updated_at":"2015-03-01T01:39:22Z","html_url":"https://github.com/showwin/FC2-Play/pull/12#discussion_r25563142","pull_request_url":"https://api.github.com/repos/showwin/FC2-Play/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/comments/25563142"},"html":{"href":"https://github.com/showwin/FC2-Play/pull/12#discussion_r25563142"},"pull_request":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/showwin/FC2-Play/pulls/12","id":30234901,"html_url":"https://github.com/showwin/FC2-Play/pull/12","diff_url":"https://github.com/showwin/FC2-Play/pull/12.diff","patch_url":"https://github.com/showwin/FC2-Play/pull/12.patch","issue_url":"https://api.github.com/repos/showwin/FC2-Play/issues/12","number":12,"state":"open","locked":false,"title":"bugfix: play deleted videos","user":{"login":"showwin","id":1732016,"avatar_url":"https://avatars.githubusercontent.com/u/1732016?v=3","gravatar_id":"","url":"https://api.github.com/users/showwin","html_url":"https://github.com/showwin","followers_url":"https://api.github.com/users/showwin/followers","following_url":"https://api.github.com/users/showwin/following{/other_user}","gists_url":"https://api.github.com/users/showwin/gists{/gist_id}","starred_url":"https://api.github.com/users/showwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showwin/subscriptions","organizations_url":"https://api.github.com/users/showwin/orgs","repos_url":"https://api.github.com/users/showwin/repos","events_url":"https://api.github.com/users/showwin/events{/privacy}","received_events_url":"https://api.github.com/users/showwin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-01T01:39:18Z","updated_at":"2015-03-01T01:39:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c0ed8385c826af5aa7c06e73843ee2dda00316b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/showwin/FC2-Play/pulls/12/commits","review_comments_url":"https://api.github.com/repos/showwin/FC2-Play/pulls/12/comments","review_comment_url":"https://api.github.com/repos/showwin/FC2-Play/pulls/comments{/number}","comments_url":"https://api.github.com/repos/showwin/FC2-Play/issues/12/comments","statuses_url":"https://api.github.com/repos/showwin/FC2-Play/statuses/59aa8ea3c215077cfcd94c99f0b5e4dd184a5f9b","head":{"label":"showwin:faster_ranking","ref":"faster_ranking","sha":"59aa8ea3c215077cfcd94c99f0b5e4dd184a5f9b","user":{"login":"showwin","id":1732016,"avatar_url":"https://avatars.githubusercontent.com/u/1732016?v=3","gravatar_id":"","url":"https://api.github.com/users/showwin","html_url":"https://github.com/showwin","followers_url":"https://api.github.com/users/showwin/followers","following_url":"https://api.github.com/users/showwin/following{/other_user}","gists_url":"https://api.github.com/users/showwin/gists{/gist_id}","starred_url":"https://api.github.com/users/showwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showwin/subscriptions","organizations_url":"https://api.github.com/users/showwin/orgs","repos_url":"https://api.github.com/users/showwin/repos","events_url":"https://api.github.com/users/showwin/events{/privacy}","received_events_url":"https://api.github.com/users/showwin/received_events","type":"User","site_admin":false},"repo":{"id":25676569,"name":"FC2-Play","full_name":"showwin/FC2-Play","owner":{"login":"showwin","id":1732016,"avatar_url":"https://avatars.githubusercontent.com/u/1732016?v=3","gravatar_id":"","url":"https://api.github.com/users/showwin","html_url":"https://github.com/showwin","followers_url":"https://api.github.com/users/showwin/followers","following_url":"https://api.github.com/users/showwin/following{/other_user}","gists_url":"https://api.github.com/users/showwin/gists{/gist_id}","starred_url":"https://api.github.com/users/showwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showwin/subscriptions","organizations_url":"https://api.github.com/users/showwin/orgs","repos_url":"https://api.github.com/users/showwin/repos","events_url":"https://api.github.com/users/showwin/events{/privacy}","received_events_url":"https://api.github.com/users/showwin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/showwin/FC2-Play","description":"This is a unlimited video player of FC2 Video.","fork":false,"url":"https://api.github.com/repos/showwin/FC2-Play","forks_url":"https://api.github.com/repos/showwin/FC2-Play/forks","keys_url":"https://api.github.com/repos/showwin/FC2-Play/keys{/key_id}","collaborators_url":"https://api.github.com/repos/showwin/FC2-Play/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/showwin/FC2-Play/teams","hooks_url":"https://api.github.com/repos/showwin/FC2-Play/hooks","issue_events_url":"https://api.github.com/repos/showwin/FC2-Play/issues/events{/number}","events_url":"https://api.github.com/repos/showwin/FC2-Play/events","assignees_url":"https://api.github.com/repos/showwin/FC2-Play/assignees{/user}","branches_url":"https://api.github.com/repos/showwin/FC2-Play/branches{/branch}","tags_url":"https://api.github.com/repos/showwin/FC2-Play/tags","blobs_url":"https://api.github.com/repos/showwin/FC2-Play/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/showwin/FC2-Play/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/showwin/FC2-Play/git/refs{/sha}","trees_url":"https://api.github.com/repos/showwin/FC2-Play/git/trees{/sha}","statuses_url":"https://api.github.com/repos/showwin/FC2-Play/statuses/{sha}","languages_url":"https://api.github.com/repos/showwin/FC2-Play/languages","stargazers_url":"https://api.github.com/repos/showwin/FC2-Play/stargazers","contributors_url":"https://api.github.com/repos/showwin/FC2-Play/contributors","subscribers_url":"https://api.github.com/repos/showwin/FC2-Play/subscribers","subscription_url":"https://api.github.com/repos/showwin/FC2-Play/subscription","commits_url":"https://api.github.com/repos/showwin/FC2-Play/commits{/sha}","git_commits_url":"https://api.github.com/repos/showwin/FC2-Play/git/commits{/sha}","comments_url":"https://api.github.com/repos/showwin/FC2-Play/comments{/number}","issue_comment_url":"https://api.github.com/repos/showwin/FC2-Play/issues/comments{/number}","contents_url":"https://api.github.com/repos/showwin/FC2-Play/contents/{+path}","compare_url":"https://api.github.com/repos/showwin/FC2-Play/compare/{base}...{head}","merges_url":"https://api.github.com/repos/showwin/FC2-Play/merges","archive_url":"https://api.github.com/repos/showwin/FC2-Play/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/showwin/FC2-Play/downloads","issues_url":"https://api.github.com/repos/showwin/FC2-Play/issues{/number}","pulls_url":"https://api.github.com/repos/showwin/FC2-Play/pulls{/number}","milestones_url":"https://api.github.com/repos/showwin/FC2-Play/milestones{/number}","notifications_url":"https://api.github.com/repos/showwin/FC2-Play/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/showwin/FC2-Play/labels{/name}","releases_url":"https://api.github.com/repos/showwin/FC2-Play/releases{/id}","created_at":"2014-10-24T07:24:39Z","updated_at":"2015-03-01T01:23:51Z","pushed_at":"2015-03-01T01:38:46Z","git_url":"git://github.com/showwin/FC2-Play.git","ssh_url":"git@github.com:showwin/FC2-Play.git","clone_url":"https://github.com/showwin/FC2-Play.git","svn_url":"https://github.com/showwin/FC2-Play","homepage":"http://fc2play.com","size":1548,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"showwin:master","ref":"master","sha":"fddf99318f4488d3fc759fe86b83702ceead6b11","user":{"login":"showwin","id":1732016,"avatar_url":"https://avatars.githubusercontent.com/u/1732016?v=3","gravatar_id":"","url":"https://api.github.com/users/showwin","html_url":"https://github.com/showwin","followers_url":"https://api.github.com/users/showwin/followers","following_url":"https://api.github.com/users/showwin/following{/other_user}","gists_url":"https://api.github.com/users/showwin/gists{/gist_id}","starred_url":"https://api.github.com/users/showwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showwin/subscriptions","organizations_url":"https://api.github.com/users/showwin/orgs","repos_url":"https://api.github.com/users/showwin/repos","events_url":"https://api.github.com/users/showwin/events{/privacy}","received_events_url":"https://api.github.com/users/showwin/received_events","type":"User","site_admin":false},"repo":{"id":25676569,"name":"FC2-Play","full_name":"showwin/FC2-Play","owner":{"login":"showwin","id":1732016,"avatar_url":"https://avatars.githubusercontent.com/u/1732016?v=3","gravatar_id":"","url":"https://api.github.com/users/showwin","html_url":"https://github.com/showwin","followers_url":"https://api.github.com/users/showwin/followers","following_url":"https://api.github.com/users/showwin/following{/other_user}","gists_url":"https://api.github.com/users/showwin/gists{/gist_id}","starred_url":"https://api.github.com/users/showwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showwin/subscriptions","organizations_url":"https://api.github.com/users/showwin/orgs","repos_url":"https://api.github.com/users/showwin/repos","events_url":"https://api.github.com/users/showwin/events{/privacy}","received_events_url":"https://api.github.com/users/showwin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/showwin/FC2-Play","description":"This is a unlimited video player of FC2 Video.","fork":false,"url":"https://api.github.com/repos/showwin/FC2-Play","forks_url":"https://api.github.com/repos/showwin/FC2-Play/forks","keys_url":"https://api.github.com/repos/showwin/FC2-Play/keys{/key_id}","collaborators_url":"https://api.github.com/repos/showwin/FC2-Play/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/showwin/FC2-Play/teams","hooks_url":"https://api.github.com/repos/showwin/FC2-Play/hooks","issue_events_url":"https://api.github.com/repos/showwin/FC2-Play/issues/events{/number}","events_url":"https://api.github.com/repos/showwin/FC2-Play/events","assignees_url":"https://api.github.com/repos/showwin/FC2-Play/assignees{/user}","branches_url":"https://api.github.com/repos/showwin/FC2-Play/branches{/branch}","tags_url":"https://api.github.com/repos/showwin/FC2-Play/tags","blobs_url":"https://api.github.com/repos/showwin/FC2-Play/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/showwin/FC2-Play/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/showwin/FC2-Play/git/refs{/sha}","trees_url":"https://api.github.com/repos/showwin/FC2-Play/git/trees{/sha}","statuses_url":"https://api.github.com/repos/showwin/FC2-Play/statuses/{sha}","languages_url":"https://api.github.com/repos/showwin/FC2-Play/languages","stargazers_url":"https://api.github.com/repos/showwin/FC2-Play/stargazers","contributors_url":"https://api.github.com/repos/showwin/FC2-Play/contributors","subscribers_url":"https://api.github.com/repos/showwin/FC2-Play/subscribers","subscription_url":"https://api.github.com/repos/showwin/FC2-Play/subscription","commits_url":"https://api.github.com/repos/showwin/FC2-Play/commits{/sha}","git_commits_url":"https://api.github.com/repos/showwin/FC2-Play/git/commits{/sha}","comments_url":"https://api.github.com/repos/showwin/FC2-Play/comments{/number}","issue_comment_url":"https://api.github.com/repos/showwin/FC2-Play/issues/comments{/number}","contents_url":"https://api.github.com/repos/showwin/FC2-Play/contents/{+path}","compare_url":"https://api.github.com/repos/showwin/FC2-Play/compare/{base}...{head}","merges_url":"https://api.github.com/repos/showwin/FC2-Play/merges","archive_url":"https://api.github.com/repos/showwin/FC2-Play/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/showwin/FC2-Play/downloads","issues_url":"https://api.github.com/repos/showwin/FC2-Play/issues{/number}","pulls_url":"https://api.github.com/repos/showwin/FC2-Play/pulls{/number}","milestones_url":"https://api.github.com/repos/showwin/FC2-Play/milestones{/number}","notifications_url":"https://api.github.com/repos/showwin/FC2-Play/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/showwin/FC2-Play/labels{/name}","releases_url":"https://api.github.com/repos/showwin/FC2-Play/releases{/id}","created_at":"2014-10-24T07:24:39Z","updated_at":"2015-03-01T01:23:51Z","pushed_at":"2015-03-01T01:38:46Z","git_url":"git://github.com/showwin/FC2-Play.git","ssh_url":"git@github.com:showwin/FC2-Play.git","clone_url":"https://github.com/showwin/FC2-Play.git","svn_url":"https://github.com/showwin/FC2-Play","homepage":"http://fc2play.com","size":1548,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/12"},"html":{"href":"https://github.com/showwin/FC2-Play/pull/12"},"issue":{"href":"https://api.github.com/repos/showwin/FC2-Play/issues/12"},"comments":{"href":"https://api.github.com/repos/showwin/FC2-Play/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/showwin/FC2-Play/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/showwin/FC2-Play/statuses/59aa8ea3c215077cfcd94c99f0b5e4dd184a5f9b"}}}}