{"action":"created","comment":{"url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/comments/212485825","pull_request_review_id":149132091,"id":212485825,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQ4NTgyNQ==","diff_hunk":"@@ -1,80 +1,117 @@\n-def show\n-  for num in 0..4 do\n-    if num%2 == 0 then\n-      for num2 in 0..2 do\n-        case $board[num/2][num2]\n-          when 0 then\n-            ox = \"  \"\n-          when 1 then\n-            ox = \"〇\"\n-          when 2 then\n-            ox = \"✕\"\n-        end\n-        print(ox,\" | \")\n-      end\n-      print(\"\\n\")\n+def draw(board,locate)\n+  (0..2).each do |locate2 |","path":"OX_game.rb","position":17,"original_position":17,"commit_id":"e2fa87bb651ec5af360464af6c45738f8e7e040c","original_commit_id":"e2fa87bb651ec5af360464af6c45738f8e7e040c","user":{"login":"shogo-mitomo","id":11454525,"node_id":"MDQ6VXNlcjExNDU0NTI1","avatar_url":"https://avatars0.githubusercontent.com/u/11454525?v=4","gravatar_id":"","url":"https://api.github.com/users/shogo-mitomo","html_url":"https://github.com/shogo-mitomo","followers_url":"https://api.github.com/users/shogo-mitomo/followers","following_url":"https://api.github.com/users/shogo-mitomo/following{/other_user}","gists_url":"https://api.github.com/users/shogo-mitomo/gists{/gist_id}","starred_url":"https://api.github.com/users/shogo-mitomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogo-mitomo/subscriptions","organizations_url":"https://api.github.com/users/shogo-mitomo/orgs","repos_url":"https://api.github.com/users/shogo-mitomo/repos","events_url":"https://api.github.com/users/shogo-mitomo/events{/privacy}","received_events_url":"https://api.github.com/users/shogo-mitomo/received_events","type":"User","site_admin":false},"body":"- 余計なスペースが 💦 ","created_at":"2018-08-23T23:26:18Z","updated_at":"2018-08-23T23:33:55Z","html_url":"https://github.com/takenagaasuna/OX_game/pull/2#discussion_r212485825","pull_request_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/comments/212485825"},"html":{"href":"https://github.com/takenagaasuna/OX_game/pull/2#discussion_r212485825"},"pull_request":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2","id":210356929,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzU2OTI5","html_url":"https://github.com/takenagaasuna/OX_game/pull/2","diff_url":"https://github.com/takenagaasuna/OX_game/pull/2.diff","patch_url":"https://github.com/takenagaasuna/OX_game/pull/2.patch","issue_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/2","number":2,"state":"open","locked":false,"title":"プログラム修正","user":{"login":"takenagaasuna","id":42531968,"node_id":"MDQ6VXNlcjQyNTMxOTY4","avatar_url":"https://avatars2.githubusercontent.com/u/42531968?v=4","gravatar_id":"","url":"https://api.github.com/users/takenagaasuna","html_url":"https://github.com/takenagaasuna","followers_url":"https://api.github.com/users/takenagaasuna/followers","following_url":"https://api.github.com/users/takenagaasuna/following{/other_user}","gists_url":"https://api.github.com/users/takenagaasuna/gists{/gist_id}","starred_url":"https://api.github.com/users/takenagaasuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takenagaasuna/subscriptions","organizations_url":"https://api.github.com/users/takenagaasuna/orgs","repos_url":"https://api.github.com/users/takenagaasuna/repos","events_url":"https://api.github.com/users/takenagaasuna/events{/privacy}","received_events_url":"https://api.github.com/users/takenagaasuna/received_events","type":"User","site_admin":false},"body":"・board変数をローカル変数に変更\r\n・showメソッド中の処理を一部メソッド化(draw)\r\n・winメソッド中の処理を一部メソッド化(row_line, column_line, diagonal_left, diagonal_right)\r\n・省略できる文字の削除","created_at":"2018-08-23T07:38:28Z","updated_at":"2018-08-23T23:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"137dc6ab435e2c04324a98c8be0539177cb47b46","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2/commits","review_comments_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2/comments","review_comment_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/2/comments","statuses_url":"https://api.github.com/repos/takenagaasuna/OX_game/statuses/e2fa87bb651ec5af360464af6c45738f8e7e040c","head":{"label":"takenagaasuna:update","ref":"update","sha":"e2fa87bb651ec5af360464af6c45738f8e7e040c","user":{"login":"takenagaasuna","id":42531968,"node_id":"MDQ6VXNlcjQyNTMxOTY4","avatar_url":"https://avatars2.githubusercontent.com/u/42531968?v=4","gravatar_id":"","url":"https://api.github.com/users/takenagaasuna","html_url":"https://github.com/takenagaasuna","followers_url":"https://api.github.com/users/takenagaasuna/followers","following_url":"https://api.github.com/users/takenagaasuna/following{/other_user}","gists_url":"https://api.github.com/users/takenagaasuna/gists{/gist_id}","starred_url":"https://api.github.com/users/takenagaasuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takenagaasuna/subscriptions","organizations_url":"https://api.github.com/users/takenagaasuna/orgs","repos_url":"https://api.github.com/users/takenagaasuna/repos","events_url":"https://api.github.com/users/takenagaasuna/events{/privacy}","received_events_url":"https://api.github.com/users/takenagaasuna/received_events","type":"User","site_admin":false},"repo":{"id":145661157,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2NjExNTc=","name":"OX_game","full_name":"takenagaasuna/OX_game","owner":{"login":"takenagaasuna","id":42531968,"node_id":"MDQ6VXNlcjQyNTMxOTY4","avatar_url":"https://avatars2.githubusercontent.com/u/42531968?v=4","gravatar_id":"","url":"https://api.github.com/users/takenagaasuna","html_url":"https://github.com/takenagaasuna","followers_url":"https://api.github.com/users/takenagaasuna/followers","following_url":"https://api.github.com/users/takenagaasuna/following{/other_user}","gists_url":"https://api.github.com/users/takenagaasuna/gists{/gist_id}","starred_url":"https://api.github.com/users/takenagaasuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takenagaasuna/subscriptions","organizations_url":"https://api.github.com/users/takenagaasuna/orgs","repos_url":"https://api.github.com/users/takenagaasuna/repos","events_url":"https://api.github.com/users/takenagaasuna/events{/privacy}","received_events_url":"https://api.github.com/users/takenagaasuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takenagaasuna/OX_game","description":null,"fork":false,"url":"https://api.github.com/repos/takenagaasuna/OX_game","forks_url":"https://api.github.com/repos/takenagaasuna/OX_game/forks","keys_url":"https://api.github.com/repos/takenagaasuna/OX_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takenagaasuna/OX_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takenagaasuna/OX_game/teams","hooks_url":"https://api.github.com/repos/takenagaasuna/OX_game/hooks","issue_events_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/events{/number}","events_url":"https://api.github.com/repos/takenagaasuna/OX_game/events","assignees_url":"https://api.github.com/repos/takenagaasuna/OX_game/assignees{/user}","branches_url":"https://api.github.com/repos/takenagaasuna/OX_game/branches{/branch}","tags_url":"https://api.github.com/repos/takenagaasuna/OX_game/tags","blobs_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takenagaasuna/OX_game/statuses/{sha}","languages_url":"https://api.github.com/repos/takenagaasuna/OX_game/languages","stargazers_url":"https://api.github.com/repos/takenagaasuna/OX_game/stargazers","contributors_url":"https://api.github.com/repos/takenagaasuna/OX_game/contributors","subscribers_url":"https://api.github.com/repos/takenagaasuna/OX_game/subscribers","subscription_url":"https://api.github.com/repos/takenagaasuna/OX_game/subscription","commits_url":"https://api.github.com/repos/takenagaasuna/OX_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/takenagaasuna/OX_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/comments{/number}","contents_url":"https://api.github.com/repos/takenagaasuna/OX_game/contents/{+path}","compare_url":"https://api.github.com/repos/takenagaasuna/OX_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takenagaasuna/OX_game/merges","archive_url":"https://api.github.com/repos/takenagaasuna/OX_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takenagaasuna/OX_game/downloads","issues_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues{/number}","pulls_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls{/number}","milestones_url":"https://api.github.com/repos/takenagaasuna/OX_game/milestones{/number}","notifications_url":"https://api.github.com/repos/takenagaasuna/OX_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takenagaasuna/OX_game/labels{/name}","releases_url":"https://api.github.com/repos/takenagaasuna/OX_game/releases{/id}","deployments_url":"https://api.github.com/repos/takenagaasuna/OX_game/deployments","created_at":"2018-08-22T05:38:03Z","updated_at":"2018-08-23T03:31:30Z","pushed_at":"2018-08-23T08:47:41Z","git_url":"git://github.com/takenagaasuna/OX_game.git","ssh_url":"git@github.com:takenagaasuna/OX_game.git","clone_url":"https://github.com/takenagaasuna/OX_game.git","svn_url":"https://github.com/takenagaasuna/OX_game","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"takenagaasuna:master","ref":"master","sha":"9ce96eeadaf2218a204014a185579bd968655688","user":{"login":"takenagaasuna","id":42531968,"node_id":"MDQ6VXNlcjQyNTMxOTY4","avatar_url":"https://avatars2.githubusercontent.com/u/42531968?v=4","gravatar_id":"","url":"https://api.github.com/users/takenagaasuna","html_url":"https://github.com/takenagaasuna","followers_url":"https://api.github.com/users/takenagaasuna/followers","following_url":"https://api.github.com/users/takenagaasuna/following{/other_user}","gists_url":"https://api.github.com/users/takenagaasuna/gists{/gist_id}","starred_url":"https://api.github.com/users/takenagaasuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takenagaasuna/subscriptions","organizations_url":"https://api.github.com/users/takenagaasuna/orgs","repos_url":"https://api.github.com/users/takenagaasuna/repos","events_url":"https://api.github.com/users/takenagaasuna/events{/privacy}","received_events_url":"https://api.github.com/users/takenagaasuna/received_events","type":"User","site_admin":false},"repo":{"id":145661157,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2NjExNTc=","name":"OX_game","full_name":"takenagaasuna/OX_game","owner":{"login":"takenagaasuna","id":42531968,"node_id":"MDQ6VXNlcjQyNTMxOTY4","avatar_url":"https://avatars2.githubusercontent.com/u/42531968?v=4","gravatar_id":"","url":"https://api.github.com/users/takenagaasuna","html_url":"https://github.com/takenagaasuna","followers_url":"https://api.github.com/users/takenagaasuna/followers","following_url":"https://api.github.com/users/takenagaasuna/following{/other_user}","gists_url":"https://api.github.com/users/takenagaasuna/gists{/gist_id}","starred_url":"https://api.github.com/users/takenagaasuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takenagaasuna/subscriptions","organizations_url":"https://api.github.com/users/takenagaasuna/orgs","repos_url":"https://api.github.com/users/takenagaasuna/repos","events_url":"https://api.github.com/users/takenagaasuna/events{/privacy}","received_events_url":"https://api.github.com/users/takenagaasuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takenagaasuna/OX_game","description":null,"fork":false,"url":"https://api.github.com/repos/takenagaasuna/OX_game","forks_url":"https://api.github.com/repos/takenagaasuna/OX_game/forks","keys_url":"https://api.github.com/repos/takenagaasuna/OX_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takenagaasuna/OX_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takenagaasuna/OX_game/teams","hooks_url":"https://api.github.com/repos/takenagaasuna/OX_game/hooks","issue_events_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/events{/number}","events_url":"https://api.github.com/repos/takenagaasuna/OX_game/events","assignees_url":"https://api.github.com/repos/takenagaasuna/OX_game/assignees{/user}","branches_url":"https://api.github.com/repos/takenagaasuna/OX_game/branches{/branch}","tags_url":"https://api.github.com/repos/takenagaasuna/OX_game/tags","blobs_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takenagaasuna/OX_game/statuses/{sha}","languages_url":"https://api.github.com/repos/takenagaasuna/OX_game/languages","stargazers_url":"https://api.github.com/repos/takenagaasuna/OX_game/stargazers","contributors_url":"https://api.github.com/repos/takenagaasuna/OX_game/contributors","subscribers_url":"https://api.github.com/repos/takenagaasuna/OX_game/subscribers","subscription_url":"https://api.github.com/repos/takenagaasuna/OX_game/subscription","commits_url":"https://api.github.com/repos/takenagaasuna/OX_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/takenagaasuna/OX_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/takenagaasuna/OX_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues/comments{/number}","contents_url":"https://api.github.com/repos/takenagaasuna/OX_game/contents/{+path}","compare_url":"https://api.github.com/repos/takenagaasuna/OX_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takenagaasuna/OX_game/merges","archive_url":"https://api.github.com/repos/takenagaasuna/OX_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takenagaasuna/OX_game/downloads","issues_url":"https://api.github.com/repos/takenagaasuna/OX_game/issues{/number}","pulls_url":"https://api.github.com/repos/takenagaasuna/OX_game/pulls{/number}","milestones_url":"https://api.github.com/repos/takenagaasuna/OX_game/milestones{/number}","notifications_url":"https://api.github.com/repos/takenagaasuna/OX_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takenagaasuna/OX_game/labels{/name}","releases_url":"https://api.github.com/repos/takenagaasuna/OX_game/releases{/id}","deployments_url":"https://api.github.com/repos/takenagaasuna/OX_game/deployments","created_at":"2018-08-22T05:38:03Z","updated_at":"2018-08-23T03:31:30Z","pushed_at":"2018-08-23T08:47:41Z","git_url":"git://github.com/takenagaasuna/OX_game.git","ssh_url":"git@github.com:takenagaasuna/OX_game.git","clone_url":"https://github.com/takenagaasuna/OX_game.git","svn_url":"https://github.com/takenagaasuna/OX_game","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2"},"html":{"href":"https://github.com/takenagaasuna/OX_game/pull/2"},"issue":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/issues/2"},"comments":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/takenagaasuna/OX_game/statuses/e2fa87bb651ec5af360464af6c45738f8e7e040c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"shogo-mitomo"}}