{"action":"created","comment":{"url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/comments/86671556","pull_request_review_id":7320157,"id":86671556,"diff_hunk":"@@ -0,0 +1,29 @@\n+class User::OpponentsCalculator","path":"app/services/user/opponents_calculator.rb","position":1,"original_position":1,"commit_id":"22496e613da8f2cb306f3fcf2cd258b3a11c9963","original_commit_id":"22496e613da8f2cb306f3fcf2cd258b3a11c9963","user":{"login":"mscoutermarsh","id":155044,"avatar_url":"https://avatars.githubusercontent.com/u/155044?v=3","gravatar_id":"","url":"https://api.github.com/users/mscoutermarsh","html_url":"https://github.com/mscoutermarsh","followers_url":"https://api.github.com/users/mscoutermarsh/followers","following_url":"https://api.github.com/users/mscoutermarsh/following{/other_user}","gists_url":"https://api.github.com/users/mscoutermarsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mscoutermarsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscoutermarsh/subscriptions","organizations_url":"https://api.github.com/users/mscoutermarsh/orgs","repos_url":"https://api.github.com/users/mscoutermarsh/repos","events_url":"https://api.github.com/users/mscoutermarsh/events{/privacy}","received_events_url":"https://api.github.com/users/mscoutermarsh/received_events","type":"User","site_admin":false},"body":"b e a u t i f u l","created_at":"2016-11-05T19:13:01Z","updated_at":"2016-11-05T19:13:01Z","html_url":"https://github.com/TheFullStack5/chess-app/pull/52#discussion_r86671556","pull_request_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/comments/86671556"},"html":{"href":"https://github.com/TheFullStack5/chess-app/pull/52#discussion_r86671556"},"pull_request":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52","id":92260299,"html_url":"https://github.com/TheFullStack5/chess-app/pull/52","diff_url":"https://github.com/TheFullStack5/chess-app/pull/52.diff","patch_url":"https://github.com/TheFullStack5/chess-app/pull/52.patch","issue_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/52","number":52,"state":"open","locked":false,"title":"Add user dashboard","user":{"login":"hughesbm","id":20194487,"avatar_url":"https://avatars.githubusercontent.com/u/20194487?v=3","gravatar_id":"","url":"https://api.github.com/users/hughesbm","html_url":"https://github.com/hughesbm","followers_url":"https://api.github.com/users/hughesbm/followers","following_url":"https://api.github.com/users/hughesbm/following{/other_user}","gists_url":"https://api.github.com/users/hughesbm/gists{/gist_id}","starred_url":"https://api.github.com/users/hughesbm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughesbm/subscriptions","organizations_url":"https://api.github.com/users/hughesbm/orgs","repos_url":"https://api.github.com/users/hughesbm/repos","events_url":"https://api.github.com/users/hughesbm/events{/privacy}","received_events_url":"https://api.github.com/users/hughesbm/received_events","type":"User","site_admin":false},"body":"The user dashboard displays user statistics. Works as-is, but consider it in-progress while I build out additional features.\r\n\r\n- [x] Basic stats\r\n- [x] Show number of draws\r\n- [ ] More interesting stats\r\n- [ ] Data visualizations\r\n- [x] Add links to dashboards (to own dashboard in navbar, to others' dashboards in various places where email is displayed)\r\n- [ ] Performance improvements (I haven't checked how many unnecessary queries this makes yet)","created_at":"2016-11-03T23:31:45Z","updated_at":"2016-11-05T19:13:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"521ac7af976df76cbceb42bca445caf9b9fe8b51","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52/commits","review_comments_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52/comments","review_comment_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/52/comments","statuses_url":"https://api.github.com/repos/TheFullStack5/chess-app/statuses/22496e613da8f2cb306f3fcf2cd258b3a11c9963","head":{"label":"TheFullStack5:user-dashboard","ref":"user-dashboard","sha":"22496e613da8f2cb306f3fcf2cd258b3a11c9963","user":{"login":"TheFullStack5","id":22420658,"avatar_url":"https://avatars.githubusercontent.com/u/22420658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFullStack5","html_url":"https://github.com/TheFullStack5","followers_url":"https://api.github.com/users/TheFullStack5/followers","following_url":"https://api.github.com/users/TheFullStack5/following{/other_user}","gists_url":"https://api.github.com/users/TheFullStack5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFullStack5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFullStack5/subscriptions","organizations_url":"https://api.github.com/users/TheFullStack5/orgs","repos_url":"https://api.github.com/users/TheFullStack5/repos","events_url":"https://api.github.com/users/TheFullStack5/events{/privacy}","received_events_url":"https://api.github.com/users/TheFullStack5/received_events","type":"Organization","site_admin":false},"repo":{"id":69131606,"name":"chess-app","full_name":"TheFullStack5/chess-app","owner":{"login":"TheFullStack5","id":22420658,"avatar_url":"https://avatars.githubusercontent.com/u/22420658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFullStack5","html_url":"https://github.com/TheFullStack5","followers_url":"https://api.github.com/users/TheFullStack5/followers","following_url":"https://api.github.com/users/TheFullStack5/following{/other_user}","gists_url":"https://api.github.com/users/TheFullStack5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFullStack5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFullStack5/subscriptions","organizations_url":"https://api.github.com/users/TheFullStack5/orgs","repos_url":"https://api.github.com/users/TheFullStack5/repos","events_url":"https://api.github.com/users/TheFullStack5/events{/privacy}","received_events_url":"https://api.github.com/users/TheFullStack5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheFullStack5/chess-app","description":"Chess application - group project","fork":false,"url":"https://api.github.com/repos/TheFullStack5/chess-app","forks_url":"https://api.github.com/repos/TheFullStack5/chess-app/forks","keys_url":"https://api.github.com/repos/TheFullStack5/chess-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheFullStack5/chess-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheFullStack5/chess-app/teams","hooks_url":"https://api.github.com/repos/TheFullStack5/chess-app/hooks","issue_events_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/events{/number}","events_url":"https://api.github.com/repos/TheFullStack5/chess-app/events","assignees_url":"https://api.github.com/repos/TheFullStack5/chess-app/assignees{/user}","branches_url":"https://api.github.com/repos/TheFullStack5/chess-app/branches{/branch}","tags_url":"https://api.github.com/repos/TheFullStack5/chess-app/tags","blobs_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheFullStack5/chess-app/statuses/{sha}","languages_url":"https://api.github.com/repos/TheFullStack5/chess-app/languages","stargazers_url":"https://api.github.com/repos/TheFullStack5/chess-app/stargazers","contributors_url":"https://api.github.com/repos/TheFullStack5/chess-app/contributors","subscribers_url":"https://api.github.com/repos/TheFullStack5/chess-app/subscribers","subscription_url":"https://api.github.com/repos/TheFullStack5/chess-app/subscription","commits_url":"https://api.github.com/repos/TheFullStack5/chess-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheFullStack5/chess-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheFullStack5/chess-app/contents/{+path}","compare_url":"https://api.github.com/repos/TheFullStack5/chess-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheFullStack5/chess-app/merges","archive_url":"https://api.github.com/repos/TheFullStack5/chess-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheFullStack5/chess-app/downloads","issues_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues{/number}","pulls_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls{/number}","milestones_url":"https://api.github.com/repos/TheFullStack5/chess-app/milestones{/number}","notifications_url":"https://api.github.com/repos/TheFullStack5/chess-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheFullStack5/chess-app/labels{/name}","releases_url":"https://api.github.com/repos/TheFullStack5/chess-app/releases{/id}","deployments_url":"https://api.github.com/repos/TheFullStack5/chess-app/deployments","created_at":"2016-09-24T22:48:38Z","updated_at":"2016-10-22T12:40:55Z","pushed_at":"2016-11-05T19:08:58Z","git_url":"git://github.com/TheFullStack5/chess-app.git","ssh_url":"git@github.com:TheFullStack5/chess-app.git","clone_url":"https://github.com/TheFullStack5/chess-app.git","svn_url":"https://github.com/TheFullStack5/chess-app","homepage":null,"size":710,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"TheFullStack5:master","ref":"master","sha":"1d3059203c9891b1df2d413e7148928a4666b4e1","user":{"login":"TheFullStack5","id":22420658,"avatar_url":"https://avatars.githubusercontent.com/u/22420658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFullStack5","html_url":"https://github.com/TheFullStack5","followers_url":"https://api.github.com/users/TheFullStack5/followers","following_url":"https://api.github.com/users/TheFullStack5/following{/other_user}","gists_url":"https://api.github.com/users/TheFullStack5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFullStack5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFullStack5/subscriptions","organizations_url":"https://api.github.com/users/TheFullStack5/orgs","repos_url":"https://api.github.com/users/TheFullStack5/repos","events_url":"https://api.github.com/users/TheFullStack5/events{/privacy}","received_events_url":"https://api.github.com/users/TheFullStack5/received_events","type":"Organization","site_admin":false},"repo":{"id":69131606,"name":"chess-app","full_name":"TheFullStack5/chess-app","owner":{"login":"TheFullStack5","id":22420658,"avatar_url":"https://avatars.githubusercontent.com/u/22420658?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFullStack5","html_url":"https://github.com/TheFullStack5","followers_url":"https://api.github.com/users/TheFullStack5/followers","following_url":"https://api.github.com/users/TheFullStack5/following{/other_user}","gists_url":"https://api.github.com/users/TheFullStack5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFullStack5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFullStack5/subscriptions","organizations_url":"https://api.github.com/users/TheFullStack5/orgs","repos_url":"https://api.github.com/users/TheFullStack5/repos","events_url":"https://api.github.com/users/TheFullStack5/events{/privacy}","received_events_url":"https://api.github.com/users/TheFullStack5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheFullStack5/chess-app","description":"Chess application - group project","fork":false,"url":"https://api.github.com/repos/TheFullStack5/chess-app","forks_url":"https://api.github.com/repos/TheFullStack5/chess-app/forks","keys_url":"https://api.github.com/repos/TheFullStack5/chess-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheFullStack5/chess-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheFullStack5/chess-app/teams","hooks_url":"https://api.github.com/repos/TheFullStack5/chess-app/hooks","issue_events_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/events{/number}","events_url":"https://api.github.com/repos/TheFullStack5/chess-app/events","assignees_url":"https://api.github.com/repos/TheFullStack5/chess-app/assignees{/user}","branches_url":"https://api.github.com/repos/TheFullStack5/chess-app/branches{/branch}","tags_url":"https://api.github.com/repos/TheFullStack5/chess-app/tags","blobs_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheFullStack5/chess-app/statuses/{sha}","languages_url":"https://api.github.com/repos/TheFullStack5/chess-app/languages","stargazers_url":"https://api.github.com/repos/TheFullStack5/chess-app/stargazers","contributors_url":"https://api.github.com/repos/TheFullStack5/chess-app/contributors","subscribers_url":"https://api.github.com/repos/TheFullStack5/chess-app/subscribers","subscription_url":"https://api.github.com/repos/TheFullStack5/chess-app/subscription","commits_url":"https://api.github.com/repos/TheFullStack5/chess-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheFullStack5/chess-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheFullStack5/chess-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheFullStack5/chess-app/contents/{+path}","compare_url":"https://api.github.com/repos/TheFullStack5/chess-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheFullStack5/chess-app/merges","archive_url":"https://api.github.com/repos/TheFullStack5/chess-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheFullStack5/chess-app/downloads","issues_url":"https://api.github.com/repos/TheFullStack5/chess-app/issues{/number}","pulls_url":"https://api.github.com/repos/TheFullStack5/chess-app/pulls{/number}","milestones_url":"https://api.github.com/repos/TheFullStack5/chess-app/milestones{/number}","notifications_url":"https://api.github.com/repos/TheFullStack5/chess-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheFullStack5/chess-app/labels{/name}","releases_url":"https://api.github.com/repos/TheFullStack5/chess-app/releases{/id}","deployments_url":"https://api.github.com/repos/TheFullStack5/chess-app/deployments","created_at":"2016-09-24T22:48:38Z","updated_at":"2016-10-22T12:40:55Z","pushed_at":"2016-11-05T19:08:58Z","git_url":"git://github.com/TheFullStack5/chess-app.git","ssh_url":"git@github.com:TheFullStack5/chess-app.git","clone_url":"https://github.com/TheFullStack5/chess-app.git","svn_url":"https://github.com/TheFullStack5/chess-app","homepage":null,"size":710,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52"},"html":{"href":"https://github.com/TheFullStack5/chess-app/pull/52"},"issue":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/issues/52"},"comments":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/TheFullStack5/chess-app/statuses/22496e613da8f2cb306f3fcf2cd258b3a11c9963"}}}}
{"actor":{"display_login":"mscoutermarsh"}}