{"action":"created","comment":{"url":"https://api.github.com/repos/Timothyl/team_stats/pulls/comments/42284407","id":42284407,"diff_hunk":"@@ -111,7 +111,9 @@ def self.get_info team\n         final_gold = (roster.total_gold / roster.total_number_of_games)\n         final_cs = (roster.total_cs / roster.total_number_of_games)\n         final_jungle_cs = (roster.total_jungle_cs / roster.total_number_of_games)\n-        final_cs_diff = (roster.total_cs_diff / (roster.total_number_of_games - game_no_cs_diff))\n+        unless roster.total_number_of_games == game_no_cs_diff\n+          final_cs_diff = (roster.total_cs_diff / (roster.total_number_of_games - game_no_cs_diff))","path":"app/models/match.rb","position":6,"original_position":6,"commit_id":"529edffe52158d2723f4d6f0bb29fab1af5bfb57","original_commit_id":"529edffe52158d2723f4d6f0bb29fab1af5bfb57","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. [99/80]","created_at":"2015-10-16T20:08:16Z","updated_at":"2015-10-16T20:08:16Z","html_url":"https://github.com/Timothyl/team_stats/pull/22#discussion_r42284407","pull_request_url":"https://api.github.com/repos/Timothyl/team_stats/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/comments/42284407"},"html":{"href":"https://github.com/Timothyl/team_stats/pull/22#discussion_r42284407"},"pull_request":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Timothyl/team_stats/pulls/22","id":47954238,"html_url":"https://github.com/Timothyl/team_stats/pull/22","diff_url":"https://github.com/Timothyl/team_stats/pull/22.diff","patch_url":"https://github.com/Timothyl/team_stats/pull/22.patch","issue_url":"https://api.github.com/repos/Timothyl/team_stats/issues/22","number":22,"state":"open","locked":false,"title":"final touches","user":{"login":"Timothyl","id":6969255,"avatar_url":"https://avatars.githubusercontent.com/u/6969255?v=3","gravatar_id":"","url":"https://api.github.com/users/Timothyl","html_url":"https://github.com/Timothyl","followers_url":"https://api.github.com/users/Timothyl/followers","following_url":"https://api.github.com/users/Timothyl/following{/other_user}","gists_url":"https://api.github.com/users/Timothyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyl/subscriptions","organizations_url":"https://api.github.com/users/Timothyl/orgs","repos_url":"https://api.github.com/users/Timothyl/repos","events_url":"https://api.github.com/users/Timothyl/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyl/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-16T20:08:12Z","updated_at":"2015-10-16T20:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"861f55fd5d8a9eaeb8e322c3210249b8d359512b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Timothyl/team_stats/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Timothyl/team_stats/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Timothyl/team_stats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Timothyl/team_stats/issues/22/comments","statuses_url":"https://api.github.com/repos/Timothyl/team_stats/statuses/529edffe52158d2723f4d6f0bb29fab1af5bfb57","head":{"label":"Timothyl:final2","ref":"final2","sha":"529edffe52158d2723f4d6f0bb29fab1af5bfb57","user":{"login":"Timothyl","id":6969255,"avatar_url":"https://avatars.githubusercontent.com/u/6969255?v=3","gravatar_id":"","url":"https://api.github.com/users/Timothyl","html_url":"https://github.com/Timothyl","followers_url":"https://api.github.com/users/Timothyl/followers","following_url":"https://api.github.com/users/Timothyl/following{/other_user}","gists_url":"https://api.github.com/users/Timothyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyl/subscriptions","organizations_url":"https://api.github.com/users/Timothyl/orgs","repos_url":"https://api.github.com/users/Timothyl/repos","events_url":"https://api.github.com/users/Timothyl/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyl/received_events","type":"User","site_admin":false},"repo":{"id":42676036,"name":"team_stats","full_name":"Timothyl/team_stats","owner":{"login":"Timothyl","id":6969255,"avatar_url":"https://avatars.githubusercontent.com/u/6969255?v=3","gravatar_id":"","url":"https://api.github.com/users/Timothyl","html_url":"https://github.com/Timothyl","followers_url":"https://api.github.com/users/Timothyl/followers","following_url":"https://api.github.com/users/Timothyl/following{/other_user}","gists_url":"https://api.github.com/users/Timothyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyl/subscriptions","organizations_url":"https://api.github.com/users/Timothyl/orgs","repos_url":"https://api.github.com/users/Timothyl/repos","events_url":"https://api.github.com/users/Timothyl/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Timothyl/team_stats","description":"Creation of a website to analyze LoL team data","fork":false,"url":"https://api.github.com/repos/Timothyl/team_stats","forks_url":"https://api.github.com/repos/Timothyl/team_stats/forks","keys_url":"https://api.github.com/repos/Timothyl/team_stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Timothyl/team_stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Timothyl/team_stats/teams","hooks_url":"https://api.github.com/repos/Timothyl/team_stats/hooks","issue_events_url":"https://api.github.com/repos/Timothyl/team_stats/issues/events{/number}","events_url":"https://api.github.com/repos/Timothyl/team_stats/events","assignees_url":"https://api.github.com/repos/Timothyl/team_stats/assignees{/user}","branches_url":"https://api.github.com/repos/Timothyl/team_stats/branches{/branch}","tags_url":"https://api.github.com/repos/Timothyl/team_stats/tags","blobs_url":"https://api.github.com/repos/Timothyl/team_stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Timothyl/team_stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Timothyl/team_stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/Timothyl/team_stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Timothyl/team_stats/statuses/{sha}","languages_url":"https://api.github.com/repos/Timothyl/team_stats/languages","stargazers_url":"https://api.github.com/repos/Timothyl/team_stats/stargazers","contributors_url":"https://api.github.com/repos/Timothyl/team_stats/contributors","subscribers_url":"https://api.github.com/repos/Timothyl/team_stats/subscribers","subscription_url":"https://api.github.com/repos/Timothyl/team_stats/subscription","commits_url":"https://api.github.com/repos/Timothyl/team_stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/Timothyl/team_stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/Timothyl/team_stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/Timothyl/team_stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/Timothyl/team_stats/contents/{+path}","compare_url":"https://api.github.com/repos/Timothyl/team_stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Timothyl/team_stats/merges","archive_url":"https://api.github.com/repos/Timothyl/team_stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Timothyl/team_stats/downloads","issues_url":"https://api.github.com/repos/Timothyl/team_stats/issues{/number}","pulls_url":"https://api.github.com/repos/Timothyl/team_stats/pulls{/number}","milestones_url":"https://api.github.com/repos/Timothyl/team_stats/milestones{/number}","notifications_url":"https://api.github.com/repos/Timothyl/team_stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Timothyl/team_stats/labels{/name}","releases_url":"https://api.github.com/repos/Timothyl/team_stats/releases{/id}","created_at":"2015-09-17T19:05:53Z","updated_at":"2015-10-15T19:44:05Z","pushed_at":"2015-10-16T20:08:13Z","git_url":"git://github.com/Timothyl/team_stats.git","ssh_url":"git@github.com:Timothyl/team_stats.git","clone_url":"https://github.com/Timothyl/team_stats.git","svn_url":"https://github.com/Timothyl/team_stats","homepage":"","size":1504,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"base":{"label":"Timothyl:master","ref":"master","sha":"07ada794a2aff49277a0a7634fd2dc5daa6e1c2c","user":{"login":"Timothyl","id":6969255,"avatar_url":"https://avatars.githubusercontent.com/u/6969255?v=3","gravatar_id":"","url":"https://api.github.com/users/Timothyl","html_url":"https://github.com/Timothyl","followers_url":"https://api.github.com/users/Timothyl/followers","following_url":"https://api.github.com/users/Timothyl/following{/other_user}","gists_url":"https://api.github.com/users/Timothyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyl/subscriptions","organizations_url":"https://api.github.com/users/Timothyl/orgs","repos_url":"https://api.github.com/users/Timothyl/repos","events_url":"https://api.github.com/users/Timothyl/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyl/received_events","type":"User","site_admin":false},"repo":{"id":42676036,"name":"team_stats","full_name":"Timothyl/team_stats","owner":{"login":"Timothyl","id":6969255,"avatar_url":"https://avatars.githubusercontent.com/u/6969255?v=3","gravatar_id":"","url":"https://api.github.com/users/Timothyl","html_url":"https://github.com/Timothyl","followers_url":"https://api.github.com/users/Timothyl/followers","following_url":"https://api.github.com/users/Timothyl/following{/other_user}","gists_url":"https://api.github.com/users/Timothyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyl/subscriptions","organizations_url":"https://api.github.com/users/Timothyl/orgs","repos_url":"https://api.github.com/users/Timothyl/repos","events_url":"https://api.github.com/users/Timothyl/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Timothyl/team_stats","description":"Creation of a website to analyze LoL team data","fork":false,"url":"https://api.github.com/repos/Timothyl/team_stats","forks_url":"https://api.github.com/repos/Timothyl/team_stats/forks","keys_url":"https://api.github.com/repos/Timothyl/team_stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Timothyl/team_stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Timothyl/team_stats/teams","hooks_url":"https://api.github.com/repos/Timothyl/team_stats/hooks","issue_events_url":"https://api.github.com/repos/Timothyl/team_stats/issues/events{/number}","events_url":"https://api.github.com/repos/Timothyl/team_stats/events","assignees_url":"https://api.github.com/repos/Timothyl/team_stats/assignees{/user}","branches_url":"https://api.github.com/repos/Timothyl/team_stats/branches{/branch}","tags_url":"https://api.github.com/repos/Timothyl/team_stats/tags","blobs_url":"https://api.github.com/repos/Timothyl/team_stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Timothyl/team_stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Timothyl/team_stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/Timothyl/team_stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Timothyl/team_stats/statuses/{sha}","languages_url":"https://api.github.com/repos/Timothyl/team_stats/languages","stargazers_url":"https://api.github.com/repos/Timothyl/team_stats/stargazers","contributors_url":"https://api.github.com/repos/Timothyl/team_stats/contributors","subscribers_url":"https://api.github.com/repos/Timothyl/team_stats/subscribers","subscription_url":"https://api.github.com/repos/Timothyl/team_stats/subscription","commits_url":"https://api.github.com/repos/Timothyl/team_stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/Timothyl/team_stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/Timothyl/team_stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/Timothyl/team_stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/Timothyl/team_stats/contents/{+path}","compare_url":"https://api.github.com/repos/Timothyl/team_stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Timothyl/team_stats/merges","archive_url":"https://api.github.com/repos/Timothyl/team_stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Timothyl/team_stats/downloads","issues_url":"https://api.github.com/repos/Timothyl/team_stats/issues{/number}","pulls_url":"https://api.github.com/repos/Timothyl/team_stats/pulls{/number}","milestones_url":"https://api.github.com/repos/Timothyl/team_stats/milestones{/number}","notifications_url":"https://api.github.com/repos/Timothyl/team_stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Timothyl/team_stats/labels{/name}","releases_url":"https://api.github.com/repos/Timothyl/team_stats/releases{/id}","created_at":"2015-09-17T19:05:53Z","updated_at":"2015-10-15T19:44:05Z","pushed_at":"2015-10-16T20:08:13Z","git_url":"git://github.com/Timothyl/team_stats.git","ssh_url":"git@github.com:Timothyl/team_stats.git","clone_url":"https://github.com/Timothyl/team_stats.git","svn_url":"https://github.com/Timothyl/team_stats","homepage":"","size":1504,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/22"},"html":{"href":"https://github.com/Timothyl/team_stats/pull/22"},"issue":{"href":"https://api.github.com/repos/Timothyl/team_stats/issues/22"},"comments":{"href":"https://api.github.com/repos/Timothyl/team_stats/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Timothyl/team_stats/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Timothyl/team_stats/statuses/529edffe52158d2723f4d6f0bb29fab1af5bfb57"}}}}