{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37","id":66047585,"html_url":"https://github.com/EndgameFP/Chess-app/pull/37","diff_url":"https://github.com/EndgameFP/Chess-app/pull/37.diff","patch_url":"https://github.com/EndgameFP/Chess-app/pull/37.patch","issue_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/37","number":37,"state":"closed","locked":false,"title":"add castling move for King","user":{"login":"Shawydu","id":8697004,"avatar_url":"https://avatars.githubusercontent.com/u/8697004?v=3","gravatar_id":"","url":"https://api.github.com/users/Shawydu","html_url":"https://github.com/Shawydu","followers_url":"https://api.github.com/users/Shawydu/followers","following_url":"https://api.github.com/users/Shawydu/following{/other_user}","gists_url":"https://api.github.com/users/Shawydu/gists{/gist_id}","starred_url":"https://api.github.com/users/Shawydu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shawydu/subscriptions","organizations_url":"https://api.github.com/users/Shawydu/orgs","repos_url":"https://api.github.com/users/Shawydu/repos","events_url":"https://api.github.com/users/Shawydu/events{/privacy}","received_events_url":"https://api.github.com/users/Shawydu/received_events","type":"User","site_admin":false},"body":"When King moves 2 squares horizontally, and no piece lies between King and Rook, then castling condition apply. \r\nIn this commit, I separate is_obstructed method into is_between method to detect whether any piece lies between any two pieces. ","created_at":"2016-04-11T19:21:57Z","updated_at":"2016-04-13T19:04:18Z","closed_at":"2016-04-13T19:04:18Z","merged_at":"2016-04-13T19:04:18Z","merge_commit_sha":"31ffe6b93c2d3ff0440e00921afcf68d60f087d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37/commits","review_comments_url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37/comments","review_comment_url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/37/comments","statuses_url":"https://api.github.com/repos/EndgameFP/Chess-app/statuses/a9fbd5c8fd89300f3b8db041ae7394c6a5a18c71","head":{"label":"EndgameFP:castling","ref":"castling","sha":"a9fbd5c8fd89300f3b8db041ae7394c6a5a18c71","user":{"login":"EndgameFP","id":17398138,"avatar_url":"https://avatars.githubusercontent.com/u/17398138?v=3","gravatar_id":"","url":"https://api.github.com/users/EndgameFP","html_url":"https://github.com/EndgameFP","followers_url":"https://api.github.com/users/EndgameFP/followers","following_url":"https://api.github.com/users/EndgameFP/following{/other_user}","gists_url":"https://api.github.com/users/EndgameFP/gists{/gist_id}","starred_url":"https://api.github.com/users/EndgameFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndgameFP/subscriptions","organizations_url":"https://api.github.com/users/EndgameFP/orgs","repos_url":"https://api.github.com/users/EndgameFP/repos","events_url":"https://api.github.com/users/EndgameFP/events{/privacy}","received_events_url":"https://api.github.com/users/EndgameFP/received_events","type":"Organization","site_admin":false},"repo":{"id":52301526,"name":"Chess-app","full_name":"EndgameFP/Chess-app","owner":{"login":"EndgameFP","id":17398138,"avatar_url":"https://avatars.githubusercontent.com/u/17398138?v=3","gravatar_id":"","url":"https://api.github.com/users/EndgameFP","html_url":"https://github.com/EndgameFP","followers_url":"https://api.github.com/users/EndgameFP/followers","following_url":"https://api.github.com/users/EndgameFP/following{/other_user}","gists_url":"https://api.github.com/users/EndgameFP/gists{/gist_id}","starred_url":"https://api.github.com/users/EndgameFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndgameFP/subscriptions","organizations_url":"https://api.github.com/users/EndgameFP/orgs","repos_url":"https://api.github.com/users/EndgameFP/repos","events_url":"https://api.github.com/users/EndgameFP/events{/privacy}","received_events_url":"https://api.github.com/users/EndgameFP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EndgameFP/Chess-app","description":"A chess playing app","fork":false,"url":"https://api.github.com/repos/EndgameFP/Chess-app","forks_url":"https://api.github.com/repos/EndgameFP/Chess-app/forks","keys_url":"https://api.github.com/repos/EndgameFP/Chess-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EndgameFP/Chess-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EndgameFP/Chess-app/teams","hooks_url":"https://api.github.com/repos/EndgameFP/Chess-app/hooks","issue_events_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/events{/number}","events_url":"https://api.github.com/repos/EndgameFP/Chess-app/events","assignees_url":"https://api.github.com/repos/EndgameFP/Chess-app/assignees{/user}","branches_url":"https://api.github.com/repos/EndgameFP/Chess-app/branches{/branch}","tags_url":"https://api.github.com/repos/EndgameFP/Chess-app/tags","blobs_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EndgameFP/Chess-app/statuses/{sha}","languages_url":"https://api.github.com/repos/EndgameFP/Chess-app/languages","stargazers_url":"https://api.github.com/repos/EndgameFP/Chess-app/stargazers","contributors_url":"https://api.github.com/repos/EndgameFP/Chess-app/contributors","subscribers_url":"https://api.github.com/repos/EndgameFP/Chess-app/subscribers","subscription_url":"https://api.github.com/repos/EndgameFP/Chess-app/subscription","commits_url":"https://api.github.com/repos/EndgameFP/Chess-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/EndgameFP/Chess-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/EndgameFP/Chess-app/contents/{+path}","compare_url":"https://api.github.com/repos/EndgameFP/Chess-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EndgameFP/Chess-app/merges","archive_url":"https://api.github.com/repos/EndgameFP/Chess-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EndgameFP/Chess-app/downloads","issues_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues{/number}","pulls_url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls{/number}","milestones_url":"https://api.github.com/repos/EndgameFP/Chess-app/milestones{/number}","notifications_url":"https://api.github.com/repos/EndgameFP/Chess-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EndgameFP/Chess-app/labels{/name}","releases_url":"https://api.github.com/repos/EndgameFP/Chess-app/releases{/id}","deployments_url":"https://api.github.com/repos/EndgameFP/Chess-app/deployments","created_at":"2016-02-22T20:00:12Z","updated_at":"2016-02-22T20:23:36Z","pushed_at":"2016-04-13T19:04:18Z","git_url":"git://github.com/EndgameFP/Chess-app.git","ssh_url":"git@github.com:EndgameFP/Chess-app.git","clone_url":"https://github.com/EndgameFP/Chess-app.git","svn_url":"https://github.com/EndgameFP/Chess-app","homepage":null,"size":664,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"EndgameFP:master","ref":"master","sha":"422a5ffb9700728941cbc7aba9c41877ce1e6a93","user":{"login":"EndgameFP","id":17398138,"avatar_url":"https://avatars.githubusercontent.com/u/17398138?v=3","gravatar_id":"","url":"https://api.github.com/users/EndgameFP","html_url":"https://github.com/EndgameFP","followers_url":"https://api.github.com/users/EndgameFP/followers","following_url":"https://api.github.com/users/EndgameFP/following{/other_user}","gists_url":"https://api.github.com/users/EndgameFP/gists{/gist_id}","starred_url":"https://api.github.com/users/EndgameFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndgameFP/subscriptions","organizations_url":"https://api.github.com/users/EndgameFP/orgs","repos_url":"https://api.github.com/users/EndgameFP/repos","events_url":"https://api.github.com/users/EndgameFP/events{/privacy}","received_events_url":"https://api.github.com/users/EndgameFP/received_events","type":"Organization","site_admin":false},"repo":{"id":52301526,"name":"Chess-app","full_name":"EndgameFP/Chess-app","owner":{"login":"EndgameFP","id":17398138,"avatar_url":"https://avatars.githubusercontent.com/u/17398138?v=3","gravatar_id":"","url":"https://api.github.com/users/EndgameFP","html_url":"https://github.com/EndgameFP","followers_url":"https://api.github.com/users/EndgameFP/followers","following_url":"https://api.github.com/users/EndgameFP/following{/other_user}","gists_url":"https://api.github.com/users/EndgameFP/gists{/gist_id}","starred_url":"https://api.github.com/users/EndgameFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndgameFP/subscriptions","organizations_url":"https://api.github.com/users/EndgameFP/orgs","repos_url":"https://api.github.com/users/EndgameFP/repos","events_url":"https://api.github.com/users/EndgameFP/events{/privacy}","received_events_url":"https://api.github.com/users/EndgameFP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EndgameFP/Chess-app","description":"A chess playing app","fork":false,"url":"https://api.github.com/repos/EndgameFP/Chess-app","forks_url":"https://api.github.com/repos/EndgameFP/Chess-app/forks","keys_url":"https://api.github.com/repos/EndgameFP/Chess-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EndgameFP/Chess-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EndgameFP/Chess-app/teams","hooks_url":"https://api.github.com/repos/EndgameFP/Chess-app/hooks","issue_events_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/events{/number}","events_url":"https://api.github.com/repos/EndgameFP/Chess-app/events","assignees_url":"https://api.github.com/repos/EndgameFP/Chess-app/assignees{/user}","branches_url":"https://api.github.com/repos/EndgameFP/Chess-app/branches{/branch}","tags_url":"https://api.github.com/repos/EndgameFP/Chess-app/tags","blobs_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EndgameFP/Chess-app/statuses/{sha}","languages_url":"https://api.github.com/repos/EndgameFP/Chess-app/languages","stargazers_url":"https://api.github.com/repos/EndgameFP/Chess-app/stargazers","contributors_url":"https://api.github.com/repos/EndgameFP/Chess-app/contributors","subscribers_url":"https://api.github.com/repos/EndgameFP/Chess-app/subscribers","subscription_url":"https://api.github.com/repos/EndgameFP/Chess-app/subscription","commits_url":"https://api.github.com/repos/EndgameFP/Chess-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/EndgameFP/Chess-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/EndgameFP/Chess-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/EndgameFP/Chess-app/contents/{+path}","compare_url":"https://api.github.com/repos/EndgameFP/Chess-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EndgameFP/Chess-app/merges","archive_url":"https://api.github.com/repos/EndgameFP/Chess-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EndgameFP/Chess-app/downloads","issues_url":"https://api.github.com/repos/EndgameFP/Chess-app/issues{/number}","pulls_url":"https://api.github.com/repos/EndgameFP/Chess-app/pulls{/number}","milestones_url":"https://api.github.com/repos/EndgameFP/Chess-app/milestones{/number}","notifications_url":"https://api.github.com/repos/EndgameFP/Chess-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EndgameFP/Chess-app/labels{/name}","releases_url":"https://api.github.com/repos/EndgameFP/Chess-app/releases{/id}","deployments_url":"https://api.github.com/repos/EndgameFP/Chess-app/deployments","created_at":"2016-02-22T20:00:12Z","updated_at":"2016-02-22T20:23:36Z","pushed_at":"2016-04-13T19:04:18Z","git_url":"git://github.com/EndgameFP/Chess-app.git","ssh_url":"git@github.com:EndgameFP/Chess-app.git","clone_url":"https://github.com/EndgameFP/Chess-app.git","svn_url":"https://github.com/EndgameFP/Chess-app","homepage":null,"size":664,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37"},"html":{"href":"https://github.com/EndgameFP/Chess-app/pull/37"},"issue":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/issues/37"},"comments":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/EndgameFP/Chess-app/statuses/a9fbd5c8fd89300f3b8db041ae7394c6a5a18c71"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"emilymay42","id":16469320,"avatar_url":"https://avatars.githubusercontent.com/u/16469320?v=3","gravatar_id":"","url":"https://api.github.com/users/emilymay42","html_url":"https://github.com/emilymay42","followers_url":"https://api.github.com/users/emilymay42/followers","following_url":"https://api.github.com/users/emilymay42/following{/other_user}","gists_url":"https://api.github.com/users/emilymay42/gists{/gist_id}","starred_url":"https://api.github.com/users/emilymay42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilymay42/subscriptions","organizations_url":"https://api.github.com/users/emilymay42/orgs","repos_url":"https://api.github.com/users/emilymay42/repos","events_url":"https://api.github.com/users/emilymay42/events{/privacy}","received_events_url":"https://api.github.com/users/emilymay42/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":46,"deletions":39,"changed_files":4}}