GitHub PullRequestReviewCommentEvent at 2014-06-27 06:46:35
Repository: new_game
Actor: yratanov
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/yratanov/new_game/pulls/comments/14281261","id":14281261,"diff_hunk":"@@ -20,31 +24,29 @@ def explode_images\n     end\n \n     def touch_right(object)\n-      touch\n+      touch(object) if not touched?\n     end\n \n     def touch_left(object)\n-      touch\n+      touch(object) if not touched?\n     end\n \n     def touch_top(object)\n-      touch\n+      touch(object) if not touched?\n     end\n \n     def touch_bottom(object)\n-      touch\n+      touch(object) if not touched?\n     end\n \n-    def touch\n+    def touch(object)\n+      object.damage(@damage)","path":"lib/level_object/bomb.rb","position":54,"original_position":54,"commit_id":"8390d26472e3f5c99a6d74c5647d7907b7ec006e","original_commit_id":"8390d26472e3f5c99a6d74c5647d7907b7ec006e","user":{"login":"yratanov","id":1536262,"avatar_url":"https://avatars.githubusercontent.com/u/1536262?","gravatar_id":"00a0d5945ec58e2bca69d3ca71cb7f2a","url":"https://api.github.com/users/yratanov","html_url":"https://github.com/yratanov","followers_url":"https://api.github.com/users/yratanov/followers","following_url":"https://api.github.com/users/yratanov/following{/other_user}","gists_url":"https://api.github.com/users/yratanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yratanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yratanov/subscriptions","organizations_url":"https://api.github.com/users/yratanov/orgs","repos_url":"https://api.github.com/users/yratanov/repos","events_url":"https://api.github.com/users/yratanov/events{/privacy}","received_events_url":"https://api.github.com/users/yratanov/received_events","type":"User","site_admin":false},"body":"вместо проверки в каждом","created_at":"2014-06-27T06:46:35Z","updated_at":"2014-06-27T06:46:35Z","html_url":"https://github.com/yratanov/new_game/pull/6#discussion_r14281261","pull_request_url":"https://api.github.com/repos/yratanov/new_game/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/comments/14281261"},"html":{"href":"https://github.com/yratanov/new_game/pull/6#discussion_r14281261"},"pull_request":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/yratanov/new_game/pulls/6","id":17470588,"html_url":"https://github.com/yratanov/new_game/pull/6","diff_url":"https://github.com/yratanov/new_game/pull/6.diff","patch_url":"https://github.com/yratanov/new_game/pull/6.patch","issue_url":"https://api.github.com/repos/yratanov/new_game/issues/6","number":6,"state":"open","title":"add health images. damage is not applied yet","user":{"login":"varg90","id":2902480,"avatar_url":"https://avatars.githubusercontent.com/u/2902480?","gravatar_id":"d52c272293db371cad6f36bcf84269bd","url":"https://api.github.com/users/varg90","html_url":"https://github.com/varg90","followers_url":"https://api.github.com/users/varg90/followers","following_url":"https://api.github.com/users/varg90/following{/other_user}","gists_url":"https://api.github.com/users/varg90/gists{/gist_id}","starred_url":"https://api.github.com/users/varg90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varg90/subscriptions","organizations_url":"https://api.github.com/users/varg90/orgs","repos_url":"https://api.github.com/users/varg90/repos","events_url":"https://api.github.com/users/varg90/events{/privacy}","received_events_url":"https://api.github.com/users/varg90/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-23T12:21:06Z","updated_at":"2014-06-27T06:46:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d645729ba3fa5c127e8f9e016078d48ced3deac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yratanov/new_game/pulls/6/commits","review_comments_url":"https://api.github.com/repos/yratanov/new_game/pulls/6/comments","review_comment_url":"https://api.github.com/repos/yratanov/new_game/pulls/comments/{number}","comments_url":"https://api.github.com/repos/yratanov/new_game/issues/6/comments","statuses_url":"https://api.github.com/repos/yratanov/new_game/statuses/8390d26472e3f5c99a6d74c5647d7907b7ec006e","head":{"label":"yratanov:health","ref":"health","sha":"8390d26472e3f5c99a6d74c5647d7907b7ec006e","user":{"login":"yratanov","id":1536262,"avatar_url":"https://avatars.githubusercontent.com/u/1536262?","gravatar_id":"00a0d5945ec58e2bca69d3ca71cb7f2a","url":"https://api.github.com/users/yratanov","html_url":"https://github.com/yratanov","followers_url":"https://api.github.com/users/yratanov/followers","following_url":"https://api.github.com/users/yratanov/following{/other_user}","gists_url":"https://api.github.com/users/yratanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yratanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yratanov/subscriptions","organizations_url":"https://api.github.com/users/yratanov/orgs","repos_url":"https://api.github.com/users/yratanov/repos","events_url":"https://api.github.com/users/yratanov/events{/privacy}","received_events_url":"https://api.github.com/users/yratanov/received_events","type":"User","site_admin":false},"repo":{"id":12915564,"name":"new_game","full_name":"yratanov/new_game","owner":{"login":"yratanov","id":1536262,"avatar_url":"https://avatars.githubusercontent.com/u/1536262?","gravatar_id":"00a0d5945ec58e2bca69d3ca71cb7f2a","url":"https://api.github.com/users/yratanov","html_url":"https://github.com/yratanov","followers_url":"https://api.github.com/users/yratanov/followers","following_url":"https://api.github.com/users/yratanov/following{/other_user}","gists_url":"https://api.github.com/users/yratanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yratanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yratanov/subscriptions","organizations_url":"https://api.github.com/users/yratanov/orgs","repos_url":"https://api.github.com/users/yratanov/repos","events_url":"https://api.github.com/users/yratanov/events{/privacy}","received_events_url":"https://api.github.com/users/yratanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yratanov/new_game","description":"Trying Gosu","fork":false,"url":"https://api.github.com/repos/yratanov/new_game","forks_url":"https://api.github.com/repos/yratanov/new_game/forks","keys_url":"https://api.github.com/repos/yratanov/new_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yratanov/new_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yratanov/new_game/teams","hooks_url":"https://api.github.com/repos/yratanov/new_game/hooks","issue_events_url":"https://api.github.com/repos/yratanov/new_game/issues/events{/number}","events_url":"https://api.github.com/repos/yratanov/new_game/events","assignees_url":"https://api.github.com/repos/yratanov/new_game/assignees{/user}","branches_url":"https://api.github.com/repos/yratanov/new_game/branches{/branch}","tags_url":"https://api.github.com/repos/yratanov/new_game/tags","blobs_url":"https://api.github.com/repos/yratanov/new_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yratanov/new_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yratanov/new_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/yratanov/new_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yratanov/new_game/statuses/{sha}","languages_url":"https://api.github.com/repos/yratanov/new_game/languages","stargazers_url":"https://api.github.com/repos/yratanov/new_game/stargazers","contributors_url":"https://api.github.com/repos/yratanov/new_game/contributors","subscribers_url":"https://api.github.com/repos/yratanov/new_game/subscribers","subscription_url":"https://api.github.com/repos/yratanov/new_game/subscription","commits_url":"https://api.github.com/repos/yratanov/new_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/yratanov/new_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/yratanov/new_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/yratanov/new_game/issues/comments/{number}","contents_url":"https://api.github.com/repos/yratanov/new_game/contents/{+path}","compare_url":"https://api.github.com/repos/yratanov/new_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yratanov/new_game/merges","archive_url":"https://api.github.com/repos/yratanov/new_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yratanov/new_game/downloads","issues_url":"https://api.github.com/repos/yratanov/new_game/issues{/number}","pulls_url":"https://api.github.com/repos/yratanov/new_game/pulls{/number}","milestones_url":"https://api.github.com/repos/yratanov/new_game/milestones{/number}","notifications_url":"https://api.github.com/repos/yratanov/new_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yratanov/new_game/labels{/name}","releases_url":"https://api.github.com/repos/yratanov/new_game/releases{/id}","created_at":"2013-09-18T06:16:23Z","updated_at":"2014-06-24T14:22:47Z","pushed_at":"2014-06-27T06:42:19Z","git_url":"git://github.com/yratanov/new_game.git","ssh_url":"git@github.com:yratanov/new_game.git","clone_url":"https://github.com/yratanov/new_game.git","svn_url":"https://github.com/yratanov/new_game","homepage":null,"size":860,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"yratanov:master","ref":"master","sha":"ba0f1206a26264b7e7ae74eae5bbe39b24c6847a","user":{"login":"yratanov","id":1536262,"avatar_url":"https://avatars.githubusercontent.com/u/1536262?","gravatar_id":"00a0d5945ec58e2bca69d3ca71cb7f2a","url":"https://api.github.com/users/yratanov","html_url":"https://github.com/yratanov","followers_url":"https://api.github.com/users/yratanov/followers","following_url":"https://api.github.com/users/yratanov/following{/other_user}","gists_url":"https://api.github.com/users/yratanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yratanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yratanov/subscriptions","organizations_url":"https://api.github.com/users/yratanov/orgs","repos_url":"https://api.github.com/users/yratanov/repos","events_url":"https://api.github.com/users/yratanov/events{/privacy}","received_events_url":"https://api.github.com/users/yratanov/received_events","type":"User","site_admin":false},"repo":{"id":12915564,"name":"new_game","full_name":"yratanov/new_game","owner":{"login":"yratanov","id":1536262,"avatar_url":"https://avatars.githubusercontent.com/u/1536262?","gravatar_id":"00a0d5945ec58e2bca69d3ca71cb7f2a","url":"https://api.github.com/users/yratanov","html_url":"https://github.com/yratanov","followers_url":"https://api.github.com/users/yratanov/followers","following_url":"https://api.github.com/users/yratanov/following{/other_user}","gists_url":"https://api.github.com/users/yratanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yratanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yratanov/subscriptions","organizations_url":"https://api.github.com/users/yratanov/orgs","repos_url":"https://api.github.com/users/yratanov/repos","events_url":"https://api.github.com/users/yratanov/events{/privacy}","received_events_url":"https://api.github.com/users/yratanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yratanov/new_game","description":"Trying Gosu","fork":false,"url":"https://api.github.com/repos/yratanov/new_game","forks_url":"https://api.github.com/repos/yratanov/new_game/forks","keys_url":"https://api.github.com/repos/yratanov/new_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yratanov/new_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yratanov/new_game/teams","hooks_url":"https://api.github.com/repos/yratanov/new_game/hooks","issue_events_url":"https://api.github.com/repos/yratanov/new_game/issues/events{/number}","events_url":"https://api.github.com/repos/yratanov/new_game/events","assignees_url":"https://api.github.com/repos/yratanov/new_game/assignees{/user}","branches_url":"https://api.github.com/repos/yratanov/new_game/branches{/branch}","tags_url":"https://api.github.com/repos/yratanov/new_game/tags","blobs_url":"https://api.github.com/repos/yratanov/new_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yratanov/new_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yratanov/new_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/yratanov/new_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yratanov/new_game/statuses/{sha}","languages_url":"https://api.github.com/repos/yratanov/new_game/languages","stargazers_url":"https://api.github.com/repos/yratanov/new_game/stargazers","contributors_url":"https://api.github.com/repos/yratanov/new_game/contributors","subscribers_url":"https://api.github.com/repos/yratanov/new_game/subscribers","subscription_url":"https://api.github.com/repos/yratanov/new_game/subscription","commits_url":"https://api.github.com/repos/yratanov/new_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/yratanov/new_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/yratanov/new_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/yratanov/new_game/issues/comments/{number}","contents_url":"https://api.github.com/repos/yratanov/new_game/contents/{+path}","compare_url":"https://api.github.com/repos/yratanov/new_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yratanov/new_game/merges","archive_url":"https://api.github.com/repos/yratanov/new_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yratanov/new_game/downloads","issues_url":"https://api.github.com/repos/yratanov/new_game/issues{/number}","pulls_url":"https://api.github.com/repos/yratanov/new_game/pulls{/number}","milestones_url":"https://api.github.com/repos/yratanov/new_game/milestones{/number}","notifications_url":"https://api.github.com/repos/yratanov/new_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yratanov/new_game/labels{/name}","releases_url":"https://api.github.com/repos/yratanov/new_game/releases{/id}","created_at":"2013-09-18T06:16:23Z","updated_at":"2014-06-24T14:22:47Z","pushed_at":"2014-06-27T06:42:19Z","git_url":"git://github.com/yratanov/new_game.git","ssh_url":"git@github.com:yratanov/new_game.git","clone_url":"https://github.com/yratanov/new_game.git","svn_url":"https://github.com/yratanov/new_game","homepage":null,"size":860,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/6"},"html":{"href":"https://github.com/yratanov/new_game/pull/6"},"issue":{"href":"https://api.github.com/repos/yratanov/new_game/issues/6"},"comments":{"href":"https://api.github.com/repos/yratanov/new_game/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/yratanov/new_game/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/yratanov/new_game/statuses/8390d26472e3f5c99a6d74c5647d7907b7ec006e"}}}}