{"action":"created","comment":{"url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/comments/46579926","id":46579926,"diff_hunk":"@@ -25,4 +25,151 @@\n       expect(king.valid_move?(Coordinates.new(0, 4))).to eq false\n     end\n   end\n+\n+  describe '#can_castle' do\n+    let(:game)           { create(:game) }\n+    let(:black_king)     { game.chess_pieces.find_by(position_x: 5, position_y: 8) }\n+    let(:white_king)     { game.chess_pieces.find_by(position_x: 5, position_y: 1) }\n+    let(:black_kingside_rook)  { game.chess_pieces.find_by(position_x: 8, position_y: 8) }\n+    let(:black_queenside_rook) { game.chess_pieces.find_by(position_x: 1, position_y: 8) }\n+    let(:white_kingside_rook)  { game.chess_pieces.find_by(position_x: 8, position_y: 1) }\n+    let(:white_queenside_rook) { game.chess_pieces.find_by(position_x: 1, position_y: 1) }\n+\n+    it 'returns false if the black kingside rook has previously moved' do\n+      remove_everything_but_rook_and_king!('black')\n+      black_kingside_rook.move_to!(Coordinates.new(8, 4))\n+\n+      expect(black_king.can_castle?(black_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the black queenside rook has previously moved' do\n+      remove_everything_but_rook_and_king!('black')\n+      black_queenside_rook.move_to!(Coordinates.new(1, 4))\n+\n+      expect(black_king.can_castle?(black_queenside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the black king has previously moved' do\n+      remove_everything_but_rook_and_king!('black')\n+      black_king.move_to!(Coordinates.new(5, 7))\n+\n+      expect(black_king.can_castle?(black_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if there is an obstruction on black kingside' do\n+      expect(black_king.can_castle?(black_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if there is an obstruction on black queenside' do\n+      expect(black_king.can_castle?(black_queenside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the white kingside rook has previously moved' do\n+      remove_everything_but_rook_and_king!('white')\n+      white_kingside_rook.move_to!(Coordinates.new(8, 4))\n+\n+      expect(white_king.can_castle?(white_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the white queenside rook has previously moved' do\n+      remove_everything_but_rook_and_king!('white')\n+      white_queenside_rook.move_to!(Coordinates.new(1, 5))\n+\n+      expect(white_king.can_castle?(white_queenside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the white king has previously moved' do\n+      remove_everything_but_rook_and_king!('white')\n+      white_king.move_to!(Coordinates.new(5, 7))\n+\n+      expect(white_king.can_castle?(white_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if there is an obstruction on white kingside' do\n+      expect(white_king.can_castle?(white_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns false if there is an obstruction on white queenside' do\n+      expect(white_king.can_castle?(white_queenside_rook)).to eq false\n+    end\n+\n+    it 'returns false if the king crosses any square that would put the game in check' do\n+      remove_everything_but_rook_and_king!('black')\n+      Rook.create(position_x: 6, position_y: 6, color: 'white', game: game)\n+\n+      expect(black_king.can_castle?(black_kingside_rook)).to eq false\n+    end\n+\n+    it 'returns true otherwise' do\n+      remove_everything_but_rook_and_king!('black')\n+\n+      expect(black_king.can_castle?(black_kingside_rook)).to eq true\n+    end\n+  end\n+\n+  describe '#castle!' do\n+    let(:game)                 { create(:game) }\n+    let(:black_king)           { game.chess_pieces.find_by(position_x: 5, position_y: 8) }\n+    let(:white_king)           { game.chess_pieces.find_by(position_x: 5, position_y: 1) }\n+    let(:black_kingside_rook)  { game.chess_pieces.find_by(position_x: 8, position_y: 8) }\n+    let(:black_queenside_rook) { game.chess_pieces.find_by(position_x: 1, position_y: 8) }\n+    let(:white_kingside_rook)  { game.chess_pieces.find_by(position_x: 8, position_y: 1) }\n+    let(:white_queenside_rook) { game.chess_pieces.find_by(position_x: 1, position_y: 1) }\n+\n+    it 'updates the x coordinates of the black king when castling kingside'do\n+      remove_everything_but_rook_and_king!('black')\n+      black_king.castle!(black_kingside_rook)\n+      expect(black_king.reload.position_x).to eq 7\n+    end\n+\n+    it 'updates the x coordinates of the black king when castling queenside'do","path":"spec/models/king_spec.rb","position":101,"original_position":101,"commit_id":"446df610150fbf9e59b10b1200264f7c67495deb","original_commit_id":"cf71d47e16444295cc4b8519d98bbb5a417ccc64","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":"For these, I'd use a context block to try it up a bit.\r\n\r\n```Ruby\r\ncontext 'black' do\r\n  before(:each) do\r\n    remove_everything_but_rook_and_king!('black')\r\n  end\r\n  # etc etc\r\nend\r\n```\r\n","created_at":"2015-12-03T17:07:57Z","updated_at":"2015-12-03T17:07:57Z","html_url":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66#discussion_r46579926","pull_request_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/comments/46579926"},"html":{"href":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66#discussion_r46579926"},"pull_request":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66","id":52159935,"html_url":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66","diff_url":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66.diff","patch_url":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66.patch","issue_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/66","number":66,"state":"open","locked":false,"title":"Create initial set of specs for #can_castle?","user":{"login":"radiofreemattd","id":10587273,"avatar_url":"https://avatars.githubusercontent.com/u/10587273?v=3","gravatar_id":"","url":"https://api.github.com/users/radiofreemattd","html_url":"https://github.com/radiofreemattd","followers_url":"https://api.github.com/users/radiofreemattd/followers","following_url":"https://api.github.com/users/radiofreemattd/following{/other_user}","gists_url":"https://api.github.com/users/radiofreemattd/gists{/gist_id}","starred_url":"https://api.github.com/users/radiofreemattd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radiofreemattd/subscriptions","organizations_url":"https://api.github.com/users/radiofreemattd/orgs","repos_url":"https://api.github.com/users/radiofreemattd/repos","events_url":"https://api.github.com/users/radiofreemattd/events{/privacy}","received_events_url":"https://api.github.com/users/radiofreemattd/received_events","type":"User","site_admin":false},"body":":warning:  :construction: :construction: :construction: :warning:\r\n# UNDER CONSTRUCTION - WIP\r\n\r\n## Task Overview\r\n- [x] Verify with team that this represents a complete set of specs for the concept of `game` 's   `#can_castle?`\r\n- [x] Solve issue in `king_spec` in which movement of the `king` generates an `ArgumentError` (*see* below for a further description of this problem).\r\n- [x] Implement remainder of `#can_castle?` (requiring a check to see if any traversed space would result in the `king` being in check.\r\n- [x] Write complete set of specs for `#castle!`","created_at":"2015-11-30T18:20:36Z","updated_at":"2015-12-03T17:07:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d32212989855a058a95d4caaf956817aa729c405","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66/commits","review_comments_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66/comments","review_comment_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/66/comments","statuses_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/statuses/446df610150fbf9e59b10b1200264f7c67495deb","head":{"label":"KnightsOfTheRemoteTable:add_castling_model_support","ref":"add_castling_model_support","sha":"446df610150fbf9e59b10b1200264f7c67495deb","user":{"login":"KnightsOfTheRemoteTable","id":15571644,"avatar_url":"https://avatars.githubusercontent.com/u/15571644?v=3","gravatar_id":"","url":"https://api.github.com/users/KnightsOfTheRemoteTable","html_url":"https://github.com/KnightsOfTheRemoteTable","followers_url":"https://api.github.com/users/KnightsOfTheRemoteTable/followers","following_url":"https://api.github.com/users/KnightsOfTheRemoteTable/following{/other_user}","gists_url":"https://api.github.com/users/KnightsOfTheRemoteTable/gists{/gist_id}","starred_url":"https://api.github.com/users/KnightsOfTheRemoteTable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnightsOfTheRemoteTable/subscriptions","organizations_url":"https://api.github.com/users/KnightsOfTheRemoteTable/orgs","repos_url":"https://api.github.com/users/KnightsOfTheRemoteTable/repos","events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/events{/privacy}","received_events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/received_events","type":"Organization","site_admin":false},"repo":{"id":45347594,"name":"chess_app","full_name":"KnightsOfTheRemoteTable/chess_app","owner":{"login":"KnightsOfTheRemoteTable","id":15571644,"avatar_url":"https://avatars.githubusercontent.com/u/15571644?v=3","gravatar_id":"","url":"https://api.github.com/users/KnightsOfTheRemoteTable","html_url":"https://github.com/KnightsOfTheRemoteTable","followers_url":"https://api.github.com/users/KnightsOfTheRemoteTable/followers","following_url":"https://api.github.com/users/KnightsOfTheRemoteTable/following{/other_user}","gists_url":"https://api.github.com/users/KnightsOfTheRemoteTable/gists{/gist_id}","starred_url":"https://api.github.com/users/KnightsOfTheRemoteTable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnightsOfTheRemoteTable/subscriptions","organizations_url":"https://api.github.com/users/KnightsOfTheRemoteTable/orgs","repos_url":"https://api.github.com/users/KnightsOfTheRemoteTable/repos","events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/events{/privacy}","received_events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KnightsOfTheRemoteTable/chess_app","description":"Knights of the Remote Table Awesome Chess Application","fork":false,"url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app","forks_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/forks","keys_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/teams","hooks_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/hooks","issue_events_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/events{/number}","events_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/events","assignees_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/assignees{/user}","branches_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/branches{/branch}","tags_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/tags","blobs_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/statuses/{sha}","languages_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/languages","stargazers_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/stargazers","contributors_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/contributors","subscribers_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/subscribers","subscription_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/subscription","commits_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/contents/{+path}","compare_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/merges","archive_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/downloads","issues_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues{/number}","pulls_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls{/number}","milestones_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/milestones{/number}","notifications_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/labels{/name}","releases_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/releases{/id}","created_at":"2015-11-01T16:17:34Z","updated_at":"2015-11-01T16:18:00Z","pushed_at":"2015-12-03T16:21:40Z","git_url":"git://github.com/KnightsOfTheRemoteTable/chess_app.git","ssh_url":"git@github.com:KnightsOfTheRemoteTable/chess_app.git","clone_url":"https://github.com/KnightsOfTheRemoteTable/chess_app.git","svn_url":"https://github.com/KnightsOfTheRemoteTable/chess_app","homepage":null,"size":429,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"KnightsOfTheRemoteTable:master","ref":"master","sha":"d47695cfbb5ce060778d08bf36326ed25c52bc0e","user":{"login":"KnightsOfTheRemoteTable","id":15571644,"avatar_url":"https://avatars.githubusercontent.com/u/15571644?v=3","gravatar_id":"","url":"https://api.github.com/users/KnightsOfTheRemoteTable","html_url":"https://github.com/KnightsOfTheRemoteTable","followers_url":"https://api.github.com/users/KnightsOfTheRemoteTable/followers","following_url":"https://api.github.com/users/KnightsOfTheRemoteTable/following{/other_user}","gists_url":"https://api.github.com/users/KnightsOfTheRemoteTable/gists{/gist_id}","starred_url":"https://api.github.com/users/KnightsOfTheRemoteTable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnightsOfTheRemoteTable/subscriptions","organizations_url":"https://api.github.com/users/KnightsOfTheRemoteTable/orgs","repos_url":"https://api.github.com/users/KnightsOfTheRemoteTable/repos","events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/events{/privacy}","received_events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/received_events","type":"Organization","site_admin":false},"repo":{"id":45347594,"name":"chess_app","full_name":"KnightsOfTheRemoteTable/chess_app","owner":{"login":"KnightsOfTheRemoteTable","id":15571644,"avatar_url":"https://avatars.githubusercontent.com/u/15571644?v=3","gravatar_id":"","url":"https://api.github.com/users/KnightsOfTheRemoteTable","html_url":"https://github.com/KnightsOfTheRemoteTable","followers_url":"https://api.github.com/users/KnightsOfTheRemoteTable/followers","following_url":"https://api.github.com/users/KnightsOfTheRemoteTable/following{/other_user}","gists_url":"https://api.github.com/users/KnightsOfTheRemoteTable/gists{/gist_id}","starred_url":"https://api.github.com/users/KnightsOfTheRemoteTable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnightsOfTheRemoteTable/subscriptions","organizations_url":"https://api.github.com/users/KnightsOfTheRemoteTable/orgs","repos_url":"https://api.github.com/users/KnightsOfTheRemoteTable/repos","events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/events{/privacy}","received_events_url":"https://api.github.com/users/KnightsOfTheRemoteTable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KnightsOfTheRemoteTable/chess_app","description":"Knights of the Remote Table Awesome Chess Application","fork":false,"url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app","forks_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/forks","keys_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/teams","hooks_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/hooks","issue_events_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/events{/number}","events_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/events","assignees_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/assignees{/user}","branches_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/branches{/branch}","tags_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/tags","blobs_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/statuses/{sha}","languages_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/languages","stargazers_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/stargazers","contributors_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/contributors","subscribers_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/subscribers","subscription_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/subscription","commits_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/contents/{+path}","compare_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/merges","archive_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/downloads","issues_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues{/number}","pulls_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls{/number}","milestones_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/milestones{/number}","notifications_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/labels{/name}","releases_url":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/releases{/id}","created_at":"2015-11-01T16:17:34Z","updated_at":"2015-11-01T16:18:00Z","pushed_at":"2015-12-03T16:21:40Z","git_url":"git://github.com/KnightsOfTheRemoteTable/chess_app.git","ssh_url":"git@github.com:KnightsOfTheRemoteTable/chess_app.git","clone_url":"https://github.com/KnightsOfTheRemoteTable/chess_app.git","svn_url":"https://github.com/KnightsOfTheRemoteTable/chess_app","homepage":null,"size":429,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66"},"html":{"href":"https://github.com/KnightsOfTheRemoteTable/chess_app/pull/66"},"issue":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/66"},"comments":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/KnightsOfTheRemoteTable/chess_app/statuses/446df610150fbf9e59b10b1200264f7c67495deb"}}}}