{"action":"created","comment":{"url":"https://api.github.com/repos/sprky/sprky_chess/pulls/comments/26231978","id":26231978,"diff_hunk":"@@ -1,3 +1,10 @@\n class Bishop < Piece\r\n-\r\n+\tdef initialize(args)\r\n+\t\tsuper\r\n+\t\tif args[:color] == 1\r","path":"app/models/bishop.rb","position":5,"original_position":5,"commit_id":"85cea86b407716d4a39553c9bac1cd885e4f80a9","original_commit_id":"85cea86b407716d4a39553c9bac1cd885e4f80a9","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":"Tab detected.","created_at":"2015-03-11T17:03:21Z","updated_at":"2015-03-11T17:03:21Z","html_url":"https://github.com/sprky/sprky_chess/pull/21#discussion_r26231978","pull_request_url":"https://api.github.com/repos/sprky/sprky_chess/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/comments/26231978"},"html":{"href":"https://github.com/sprky/sprky_chess/pull/21#discussion_r26231978"},"pull_request":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/sprky/sprky_chess/pulls/21","id":30963384,"html_url":"https://github.com/sprky/sprky_chess/pull/21","diff_url":"https://github.com/sprky/sprky_chess/pull/21.diff","patch_url":"https://github.com/sprky/sprky_chess/pull/21.patch","issue_url":"https://api.github.com/repos/sprky/sprky_chess/issues/21","number":21,"state":"open","locked":false,"title":"Viewable pieces","user":{"login":"hsinkoff","id":10408711,"avatar_url":"https://avatars.githubusercontent.com/u/10408711?v=3","gravatar_id":"","url":"https://api.github.com/users/hsinkoff","html_url":"https://github.com/hsinkoff","followers_url":"https://api.github.com/users/hsinkoff/followers","following_url":"https://api.github.com/users/hsinkoff/following{/other_user}","gists_url":"https://api.github.com/users/hsinkoff/gists{/gist_id}","starred_url":"https://api.github.com/users/hsinkoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsinkoff/subscriptions","organizations_url":"https://api.github.com/users/hsinkoff/orgs","repos_url":"https://api.github.com/users/hsinkoff/repos","events_url":"https://api.github.com/users/hsinkoff/events{/privacy}","received_events_url":"https://api.github.com/users/hsinkoff/received_events","type":"User","site_admin":false},"body":"This makes it so that when a board renders the piece symbols are on their starting squares.","created_at":"2015-03-11T17:03:16Z","updated_at":"2015-03-11T17:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78a98f8f497971b39f26977e37db1e6cdd21c005","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sprky/sprky_chess/pulls/21/commits","review_comments_url":"https://api.github.com/repos/sprky/sprky_chess/pulls/21/comments","review_comment_url":"https://api.github.com/repos/sprky/sprky_chess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sprky/sprky_chess/issues/21/comments","statuses_url":"https://api.github.com/repos/sprky/sprky_chess/statuses/85cea86b407716d4a39553c9bac1cd885e4f80a9","head":{"label":"sprky:viewable_pieces","ref":"viewable_pieces","sha":"85cea86b407716d4a39553c9bac1cd885e4f80a9","user":{"login":"sprky","id":11095994,"avatar_url":"https://avatars.githubusercontent.com/u/11095994?v=3","gravatar_id":"","url":"https://api.github.com/users/sprky","html_url":"https://github.com/sprky","followers_url":"https://api.github.com/users/sprky/followers","following_url":"https://api.github.com/users/sprky/following{/other_user}","gists_url":"https://api.github.com/users/sprky/gists{/gist_id}","starred_url":"https://api.github.com/users/sprky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprky/subscriptions","organizations_url":"https://api.github.com/users/sprky/orgs","repos_url":"https://api.github.com/users/sprky/repos","events_url":"https://api.github.com/users/sprky/events{/privacy}","received_events_url":"https://api.github.com/users/sprky/received_events","type":"Organization","site_admin":false},"repo":{"id":31082633,"name":"sprky_chess","full_name":"sprky/sprky_chess","owner":{"login":"sprky","id":11095994,"avatar_url":"https://avatars.githubusercontent.com/u/11095994?v=3","gravatar_id":"","url":"https://api.github.com/users/sprky","html_url":"https://github.com/sprky","followers_url":"https://api.github.com/users/sprky/followers","following_url":"https://api.github.com/users/sprky/following{/other_user}","gists_url":"https://api.github.com/users/sprky/gists{/gist_id}","starred_url":"https://api.github.com/users/sprky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprky/subscriptions","organizations_url":"https://api.github.com/users/sprky/orgs","repos_url":"https://api.github.com/users/sprky/repos","events_url":"https://api.github.com/users/sprky/events{/privacy}","received_events_url":"https://api.github.com/users/sprky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprky/sprky_chess","description":"Sparky Chess app for Firehose group project","fork":false,"url":"https://api.github.com/repos/sprky/sprky_chess","forks_url":"https://api.github.com/repos/sprky/sprky_chess/forks","keys_url":"https://api.github.com/repos/sprky/sprky_chess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprky/sprky_chess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprky/sprky_chess/teams","hooks_url":"https://api.github.com/repos/sprky/sprky_chess/hooks","issue_events_url":"https://api.github.com/repos/sprky/sprky_chess/issues/events{/number}","events_url":"https://api.github.com/repos/sprky/sprky_chess/events","assignees_url":"https://api.github.com/repos/sprky/sprky_chess/assignees{/user}","branches_url":"https://api.github.com/repos/sprky/sprky_chess/branches{/branch}","tags_url":"https://api.github.com/repos/sprky/sprky_chess/tags","blobs_url":"https://api.github.com/repos/sprky/sprky_chess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprky/sprky_chess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprky/sprky_chess/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprky/sprky_chess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprky/sprky_chess/statuses/{sha}","languages_url":"https://api.github.com/repos/sprky/sprky_chess/languages","stargazers_url":"https://api.github.com/repos/sprky/sprky_chess/stargazers","contributors_url":"https://api.github.com/repos/sprky/sprky_chess/contributors","subscribers_url":"https://api.github.com/repos/sprky/sprky_chess/subscribers","subscription_url":"https://api.github.com/repos/sprky/sprky_chess/subscription","commits_url":"https://api.github.com/repos/sprky/sprky_chess/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprky/sprky_chess/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprky/sprky_chess/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprky/sprky_chess/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprky/sprky_chess/contents/{+path}","compare_url":"https://api.github.com/repos/sprky/sprky_chess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprky/sprky_chess/merges","archive_url":"https://api.github.com/repos/sprky/sprky_chess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprky/sprky_chess/downloads","issues_url":"https://api.github.com/repos/sprky/sprky_chess/issues{/number}","pulls_url":"https://api.github.com/repos/sprky/sprky_chess/pulls{/number}","milestones_url":"https://api.github.com/repos/sprky/sprky_chess/milestones{/number}","notifications_url":"https://api.github.com/repos/sprky/sprky_chess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprky/sprky_chess/labels{/name}","releases_url":"https://api.github.com/repos/sprky/sprky_chess/releases{/id}","created_at":"2015-02-20T20:01:15Z","updated_at":"2015-03-09T23:44:48Z","pushed_at":"2015-03-11T17:02:08Z","git_url":"git://github.com/sprky/sprky_chess.git","ssh_url":"git@github.com:sprky/sprky_chess.git","clone_url":"https://github.com/sprky/sprky_chess.git","svn_url":"https://github.com/sprky/sprky_chess","homepage":null,"size":324,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"sprky:master","ref":"master","sha":"1937c08c69083f915c211861a2b63eceedb66a1e","user":{"login":"sprky","id":11095994,"avatar_url":"https://avatars.githubusercontent.com/u/11095994?v=3","gravatar_id":"","url":"https://api.github.com/users/sprky","html_url":"https://github.com/sprky","followers_url":"https://api.github.com/users/sprky/followers","following_url":"https://api.github.com/users/sprky/following{/other_user}","gists_url":"https://api.github.com/users/sprky/gists{/gist_id}","starred_url":"https://api.github.com/users/sprky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprky/subscriptions","organizations_url":"https://api.github.com/users/sprky/orgs","repos_url":"https://api.github.com/users/sprky/repos","events_url":"https://api.github.com/users/sprky/events{/privacy}","received_events_url":"https://api.github.com/users/sprky/received_events","type":"Organization","site_admin":false},"repo":{"id":31082633,"name":"sprky_chess","full_name":"sprky/sprky_chess","owner":{"login":"sprky","id":11095994,"avatar_url":"https://avatars.githubusercontent.com/u/11095994?v=3","gravatar_id":"","url":"https://api.github.com/users/sprky","html_url":"https://github.com/sprky","followers_url":"https://api.github.com/users/sprky/followers","following_url":"https://api.github.com/users/sprky/following{/other_user}","gists_url":"https://api.github.com/users/sprky/gists{/gist_id}","starred_url":"https://api.github.com/users/sprky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprky/subscriptions","organizations_url":"https://api.github.com/users/sprky/orgs","repos_url":"https://api.github.com/users/sprky/repos","events_url":"https://api.github.com/users/sprky/events{/privacy}","received_events_url":"https://api.github.com/users/sprky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprky/sprky_chess","description":"Sparky Chess app for Firehose group project","fork":false,"url":"https://api.github.com/repos/sprky/sprky_chess","forks_url":"https://api.github.com/repos/sprky/sprky_chess/forks","keys_url":"https://api.github.com/repos/sprky/sprky_chess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprky/sprky_chess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprky/sprky_chess/teams","hooks_url":"https://api.github.com/repos/sprky/sprky_chess/hooks","issue_events_url":"https://api.github.com/repos/sprky/sprky_chess/issues/events{/number}","events_url":"https://api.github.com/repos/sprky/sprky_chess/events","assignees_url":"https://api.github.com/repos/sprky/sprky_chess/assignees{/user}","branches_url":"https://api.github.com/repos/sprky/sprky_chess/branches{/branch}","tags_url":"https://api.github.com/repos/sprky/sprky_chess/tags","blobs_url":"https://api.github.com/repos/sprky/sprky_chess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprky/sprky_chess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprky/sprky_chess/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprky/sprky_chess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprky/sprky_chess/statuses/{sha}","languages_url":"https://api.github.com/repos/sprky/sprky_chess/languages","stargazers_url":"https://api.github.com/repos/sprky/sprky_chess/stargazers","contributors_url":"https://api.github.com/repos/sprky/sprky_chess/contributors","subscribers_url":"https://api.github.com/repos/sprky/sprky_chess/subscribers","subscription_url":"https://api.github.com/repos/sprky/sprky_chess/subscription","commits_url":"https://api.github.com/repos/sprky/sprky_chess/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprky/sprky_chess/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprky/sprky_chess/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprky/sprky_chess/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprky/sprky_chess/contents/{+path}","compare_url":"https://api.github.com/repos/sprky/sprky_chess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprky/sprky_chess/merges","archive_url":"https://api.github.com/repos/sprky/sprky_chess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprky/sprky_chess/downloads","issues_url":"https://api.github.com/repos/sprky/sprky_chess/issues{/number}","pulls_url":"https://api.github.com/repos/sprky/sprky_chess/pulls{/number}","milestones_url":"https://api.github.com/repos/sprky/sprky_chess/milestones{/number}","notifications_url":"https://api.github.com/repos/sprky/sprky_chess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprky/sprky_chess/labels{/name}","releases_url":"https://api.github.com/repos/sprky/sprky_chess/releases{/id}","created_at":"2015-02-20T20:01:15Z","updated_at":"2015-03-09T23:44:48Z","pushed_at":"2015-03-11T17:02:08Z","git_url":"git://github.com/sprky/sprky_chess.git","ssh_url":"git@github.com:sprky/sprky_chess.git","clone_url":"https://github.com/sprky/sprky_chess.git","svn_url":"https://github.com/sprky/sprky_chess","homepage":null,"size":324,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/21"},"html":{"href":"https://github.com/sprky/sprky_chess/pull/21"},"issue":{"href":"https://api.github.com/repos/sprky/sprky_chess/issues/21"},"comments":{"href":"https://api.github.com/repos/sprky/sprky_chess/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sprky/sprky_chess/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/sprky/sprky_chess/statuses/85cea86b407716d4a39553c9bac1cd885e4f80a9"}}}}