GitHub PullRequestReviewCommentEvent at 2014-09-10 09:35:33
Repository: Achiever
Actor: k41n
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/reshetov/Achiever/pulls/comments/17351344","id":17351344,"diff_hunk":"@@ -0,0 +1,10 @@\n+require 'singleton'","path":"app/models/commander.rb","position":1,"original_position":1,"commit_id":"5ec88e1f16cf49896b21374f633d6317eaf0a1c1","original_commit_id":"5ec88e1f16cf49896b21374f633d6317eaf0a1c1","user":{"login":"k41n","id":895649,"avatar_url":"https://avatars.githubusercontent.com/u/895649?v=2","gravatar_id":"7ac92971f6575a53920c354996a0c2e1","url":"https://api.github.com/users/k41n","html_url":"https://github.com/k41n","followers_url":"https://api.github.com/users/k41n/followers","following_url":"https://api.github.com/users/k41n/following{/other_user}","gists_url":"https://api.github.com/users/k41n/gists{/gist_id}","starred_url":"https://api.github.com/users/k41n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k41n/subscriptions","organizations_url":"https://api.github.com/users/k41n/orgs","repos_url":"https://api.github.com/users/k41n/repos","events_url":"https://api.github.com/users/k41n/events{/privacy}","received_events_url":"https://api.github.com/users/k41n/received_events","type":"User","site_admin":false},"body":"Это зачем? Сделай все методы статическими. Так еще проще будет.","created_at":"2014-09-10T09:35:33Z","updated_at":"2014-09-10T09:35:33Z","html_url":"https://github.com/reshetov/Achiever/pull/4#discussion_r17351344","pull_request_url":"https://api.github.com/repos/reshetov/Achiever/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/comments/17351344"},"html":{"href":"https://github.com/reshetov/Achiever/pull/4#discussion_r17351344"},"pull_request":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/reshetov/Achiever/pulls/4","id":20888018,"html_url":"https://github.com/reshetov/Achiever/pull/4","diff_url":"https://github.com/reshetov/Achiever/pull/4.diff","patch_url":"https://github.com/reshetov/Achiever/pull/4.patch","issue_url":"https://api.github.com/repos/reshetov/Achiever/issues/4","number":4,"state":"open","locked":false,"title":"Api controller","user":{"login":"reshetov","id":1003798,"avatar_url":"https://avatars.githubusercontent.com/u/1003798?v=2","gravatar_id":"d6281af189990c527c2cea6b4b8f1244","url":"https://api.github.com/users/reshetov","html_url":"https://github.com/reshetov","followers_url":"https://api.github.com/users/reshetov/followers","following_url":"https://api.github.com/users/reshetov/following{/other_user}","gists_url":"https://api.github.com/users/reshetov/gists{/gist_id}","starred_url":"https://api.github.com/users/reshetov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reshetov/subscriptions","organizations_url":"https://api.github.com/users/reshetov/orgs","repos_url":"https://api.github.com/users/reshetov/repos","events_url":"https://api.github.com/users/reshetov/events{/privacy}","received_events_url":"https://api.github.com/users/reshetov/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-08T13:10:05Z","updated_at":"2014-09-10T09:35:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3c72aae1eb5d2f46d71016d3c4d4cc6bacaa9fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reshetov/Achiever/pulls/4/commits","review_comments_url":"https://api.github.com/repos/reshetov/Achiever/pulls/4/comments","review_comment_url":"https://api.github.com/repos/reshetov/Achiever/pulls/comments/{number}","comments_url":"https://api.github.com/repos/reshetov/Achiever/issues/4/comments","statuses_url":"https://api.github.com/repos/reshetov/Achiever/statuses/5ec88e1f16cf49896b21374f633d6317eaf0a1c1","head":{"label":"reshetov:api_controller","ref":"api_controller","sha":"5ec88e1f16cf49896b21374f633d6317eaf0a1c1","user":{"login":"reshetov","id":1003798,"avatar_url":"https://avatars.githubusercontent.com/u/1003798?v=2","gravatar_id":"d6281af189990c527c2cea6b4b8f1244","url":"https://api.github.com/users/reshetov","html_url":"https://github.com/reshetov","followers_url":"https://api.github.com/users/reshetov/followers","following_url":"https://api.github.com/users/reshetov/following{/other_user}","gists_url":"https://api.github.com/users/reshetov/gists{/gist_id}","starred_url":"https://api.github.com/users/reshetov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reshetov/subscriptions","organizations_url":"https://api.github.com/users/reshetov/orgs","repos_url":"https://api.github.com/users/reshetov/repos","events_url":"https://api.github.com/users/reshetov/events{/privacy}","received_events_url":"https://api.github.com/users/reshetov/received_events","type":"User","site_admin":false},"repo":{"id":22337468,"name":"Achiever","full_name":"reshetov/Achiever","owner":{"login":"reshetov","id":1003798,"avatar_url":"https://avatars.githubusercontent.com/u/1003798?v=2","gravatar_id":"d6281af189990c527c2cea6b4b8f1244","url":"https://api.github.com/users/reshetov","html_url":"https://github.com/reshetov","followers_url":"https://api.github.com/users/reshetov/followers","following_url":"https://api.github.com/users/reshetov/following{/other_user}","gists_url":"https://api.github.com/users/reshetov/gists{/gist_id}","starred_url":"https://api.github.com/users/reshetov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reshetov/subscriptions","organizations_url":"https://api.github.com/users/reshetov/orgs","repos_url":"https://api.github.com/users/reshetov/repos","events_url":"https://api.github.com/users/reshetov/events{/privacy}","received_events_url":"https://api.github.com/users/reshetov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reshetov/Achiever","description":"","fork":false,"url":"https://api.github.com/repos/reshetov/Achiever","forks_url":"https://api.github.com/repos/reshetov/Achiever/forks","keys_url":"https://api.github.com/repos/reshetov/Achiever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reshetov/Achiever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reshetov/Achiever/teams","hooks_url":"https://api.github.com/repos/reshetov/Achiever/hooks","issue_events_url":"https://api.github.com/repos/reshetov/Achiever/issues/events{/number}","events_url":"https://api.github.com/repos/reshetov/Achiever/events","assignees_url":"https://api.github.com/repos/reshetov/Achiever/assignees{/user}","branches_url":"https://api.github.com/repos/reshetov/Achiever/branches{/branch}","tags_url":"https://api.github.com/repos/reshetov/Achiever/tags","blobs_url":"https://api.github.com/repos/reshetov/Achiever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reshetov/Achiever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reshetov/Achiever/git/refs{/sha}","trees_url":"https://api.github.com/repos/reshetov/Achiever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reshetov/Achiever/statuses/{sha}","languages_url":"https://api.github.com/repos/reshetov/Achiever/languages","stargazers_url":"https://api.github.com/repos/reshetov/Achiever/stargazers","contributors_url":"https://api.github.com/repos/reshetov/Achiever/contributors","subscribers_url":"https://api.github.com/repos/reshetov/Achiever/subscribers","subscription_url":"https://api.github.com/repos/reshetov/Achiever/subscription","commits_url":"https://api.github.com/repos/reshetov/Achiever/commits{/sha}","git_commits_url":"https://api.github.com/repos/reshetov/Achiever/git/commits{/sha}","comments_url":"https://api.github.com/repos/reshetov/Achiever/comments{/number}","issue_comment_url":"https://api.github.com/repos/reshetov/Achiever/issues/comments/{number}","contents_url":"https://api.github.com/repos/reshetov/Achiever/contents/{+path}","compare_url":"https://api.github.com/repos/reshetov/Achiever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reshetov/Achiever/merges","archive_url":"https://api.github.com/repos/reshetov/Achiever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reshetov/Achiever/downloads","issues_url":"https://api.github.com/repos/reshetov/Achiever/issues{/number}","pulls_url":"https://api.github.com/repos/reshetov/Achiever/pulls{/number}","milestones_url":"https://api.github.com/repos/reshetov/Achiever/milestones{/number}","notifications_url":"https://api.github.com/repos/reshetov/Achiever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reshetov/Achiever/labels{/name}","releases_url":"https://api.github.com/repos/reshetov/Achiever/releases{/id}","created_at":"2014-07-28T09:31:24Z","updated_at":"2014-09-08T10:41:03Z","pushed_at":"2014-09-08T18:17:09Z","git_url":"git://github.com/reshetov/Achiever.git","ssh_url":"git@github.com:reshetov/Achiever.git","clone_url":"https://github.com/reshetov/Achiever.git","svn_url":"https://github.com/reshetov/Achiever","homepage":null,"size":2016,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"reshetov:master","ref":"master","sha":"bd2e210fe53c81f6551af9223e8e5453c588c879","user":{"login":"reshetov","id":1003798,"avatar_url":"https://avatars.githubusercontent.com/u/1003798?v=2","gravatar_id":"d6281af189990c527c2cea6b4b8f1244","url":"https://api.github.com/users/reshetov","html_url":"https://github.com/reshetov","followers_url":"https://api.github.com/users/reshetov/followers","following_url":"https://api.github.com/users/reshetov/following{/other_user}","gists_url":"https://api.github.com/users/reshetov/gists{/gist_id}","starred_url":"https://api.github.com/users/reshetov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reshetov/subscriptions","organizations_url":"https://api.github.com/users/reshetov/orgs","repos_url":"https://api.github.com/users/reshetov/repos","events_url":"https://api.github.com/users/reshetov/events{/privacy}","received_events_url":"https://api.github.com/users/reshetov/received_events","type":"User","site_admin":false},"repo":{"id":22337468,"name":"Achiever","full_name":"reshetov/Achiever","owner":{"login":"reshetov","id":1003798,"avatar_url":"https://avatars.githubusercontent.com/u/1003798?v=2","gravatar_id":"d6281af189990c527c2cea6b4b8f1244","url":"https://api.github.com/users/reshetov","html_url":"https://github.com/reshetov","followers_url":"https://api.github.com/users/reshetov/followers","following_url":"https://api.github.com/users/reshetov/following{/other_user}","gists_url":"https://api.github.com/users/reshetov/gists{/gist_id}","starred_url":"https://api.github.com/users/reshetov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reshetov/subscriptions","organizations_url":"https://api.github.com/users/reshetov/orgs","repos_url":"https://api.github.com/users/reshetov/repos","events_url":"https://api.github.com/users/reshetov/events{/privacy}","received_events_url":"https://api.github.com/users/reshetov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reshetov/Achiever","description":"","fork":false,"url":"https://api.github.com/repos/reshetov/Achiever","forks_url":"https://api.github.com/repos/reshetov/Achiever/forks","keys_url":"https://api.github.com/repos/reshetov/Achiever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reshetov/Achiever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reshetov/Achiever/teams","hooks_url":"https://api.github.com/repos/reshetov/Achiever/hooks","issue_events_url":"https://api.github.com/repos/reshetov/Achiever/issues/events{/number}","events_url":"https://api.github.com/repos/reshetov/Achiever/events","assignees_url":"https://api.github.com/repos/reshetov/Achiever/assignees{/user}","branches_url":"https://api.github.com/repos/reshetov/Achiever/branches{/branch}","tags_url":"https://api.github.com/repos/reshetov/Achiever/tags","blobs_url":"https://api.github.com/repos/reshetov/Achiever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reshetov/Achiever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reshetov/Achiever/git/refs{/sha}","trees_url":"https://api.github.com/repos/reshetov/Achiever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reshetov/Achiever/statuses/{sha}","languages_url":"https://api.github.com/repos/reshetov/Achiever/languages","stargazers_url":"https://api.github.com/repos/reshetov/Achiever/stargazers","contributors_url":"https://api.github.com/repos/reshetov/Achiever/contributors","subscribers_url":"https://api.github.com/repos/reshetov/Achiever/subscribers","subscription_url":"https://api.github.com/repos/reshetov/Achiever/subscription","commits_url":"https://api.github.com/repos/reshetov/Achiever/commits{/sha}","git_commits_url":"https://api.github.com/repos/reshetov/Achiever/git/commits{/sha}","comments_url":"https://api.github.com/repos/reshetov/Achiever/comments{/number}","issue_comment_url":"https://api.github.com/repos/reshetov/Achiever/issues/comments/{number}","contents_url":"https://api.github.com/repos/reshetov/Achiever/contents/{+path}","compare_url":"https://api.github.com/repos/reshetov/Achiever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reshetov/Achiever/merges","archive_url":"https://api.github.com/repos/reshetov/Achiever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reshetov/Achiever/downloads","issues_url":"https://api.github.com/repos/reshetov/Achiever/issues{/number}","pulls_url":"https://api.github.com/repos/reshetov/Achiever/pulls{/number}","milestones_url":"https://api.github.com/repos/reshetov/Achiever/milestones{/number}","notifications_url":"https://api.github.com/repos/reshetov/Achiever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reshetov/Achiever/labels{/name}","releases_url":"https://api.github.com/repos/reshetov/Achiever/releases{/id}","created_at":"2014-07-28T09:31:24Z","updated_at":"2014-09-08T10:41:03Z","pushed_at":"2014-09-08T18:17:09Z","git_url":"git://github.com/reshetov/Achiever.git","ssh_url":"git@github.com:reshetov/Achiever.git","clone_url":"https://github.com/reshetov/Achiever.git","svn_url":"https://github.com/reshetov/Achiever","homepage":null,"size":2016,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/4"},"html":{"href":"https://github.com/reshetov/Achiever/pull/4"},"issue":{"href":"https://api.github.com/repos/reshetov/Achiever/issues/4"},"comments":{"href":"https://api.github.com/repos/reshetov/Achiever/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/reshetov/Achiever/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/reshetov/Achiever/statuses/5ec88e1f16cf49896b21374f633d6317eaf0a1c1"}}}}