GitHub PullRequestReviewCommentEvent at 2014-10-03 18:55:02
Repository: catarse
Actor: diogob
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/catarse/catarse/pulls/comments/18412944","id":18412944,"diff_hunk":"@@ -15,4 +15,8 @@ def self.array\n   def to_s\n     self.send('name_' + I18n.locale.to_s)\n   end\n+\n+  def total_projects state = 'online'","path":"app/models/category.rb","position":5,"original_position":5,"commit_id":"16087964afbfabee67ee662388e34671d72f6408","original_commit_id":"16087964afbfabee67ee662388e34671d72f6408","user":{"login":"diogob","id":20662,"avatar_url":"https://avatars.githubusercontent.com/u/20662?v=2","gravatar_id":"","url":"https://api.github.com/users/diogob","html_url":"https://github.com/diogob","followers_url":"https://api.github.com/users/diogob/followers","following_url":"https://api.github.com/users/diogob/following{/other_user}","gists_url":"https://api.github.com/users/diogob/gists{/gist_id}","starred_url":"https://api.github.com/users/diogob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogob/subscriptions","organizations_url":"https://api.github.com/users/diogob/orgs","repos_url":"https://api.github.com/users/diogob/repos","events_url":"https://api.github.com/users/diogob/events{/privacy}","received_events_url":"https://api.github.com/users/diogob/received_events","type":"User","site_admin":false},"body":"I think it would be easier to just create a method called total_online_projects since this is the only state being used.","created_at":"2014-10-03T18:55:02Z","updated_at":"2014-10-03T18:55:02Z","html_url":"https://github.com/catarse/catarse/pull/944#discussion_r18412944","pull_request_url":"https://api.github.com/repos/catarse/catarse/pulls/944","_links":{"self":{"href":"https://api.github.com/repos/catarse/catarse/pulls/comments/18412944"},"html":{"href":"https://github.com/catarse/catarse/pull/944#discussion_r18412944"},"pull_request":{"href":"https://api.github.com/repos/catarse/catarse/pulls/944"}}},"pull_request":{"url":"https://api.github.com/repos/catarse/catarse/pulls/944","id":22220859,"html_url":"https://github.com/catarse/catarse/pull/944","diff_url":"https://github.com/catarse/catarse/pull/944.diff","patch_url":"https://github.com/catarse/catarse/pull/944.patch","issue_url":"https://api.github.com/repos/catarse/catarse/issues/944","number":944,"state":"open","locked":false,"title":"added total projects on explore / categories","user":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=2","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"body":"![19y6t](https://cloud.githubusercontent.com/assets/154595/4510498/1ca87ae6-4b2b-11e4-949e-e8f9b06d1fb7.png)\r\n","created_at":"2014-10-03T18:28:57Z","updated_at":"2014-10-03T18:55:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71966434bf0e1891ec9692a5898c83b6a46fce9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/catarse/catarse/pulls/944/commits","review_comments_url":"https://api.github.com/repos/catarse/catarse/pulls/944/comments","review_comment_url":"https://api.github.com/repos/catarse/catarse/pulls/comments/{number}","comments_url":"https://api.github.com/repos/catarse/catarse/issues/944/comments","statuses_url":"https://api.github.com/repos/catarse/catarse/statuses/16087964afbfabee67ee662388e34671d72f6408","head":{"label":"catarse:feature/online-projects-on-categories","ref":"feature/online-projects-on-categories","sha":"16087964afbfabee67ee662388e34671d72f6408","user":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=2","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"repo":{"id":1071489,"name":"catarse","full_name":"catarse/catarse","owner":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=2","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/catarse/catarse","description":"The first open source crowdfunding platform for creative projects in the world","fork":false,"url":"https://api.github.com/repos/catarse/catarse","forks_url":"https://api.github.com/repos/catarse/catarse/forks","keys_url":"https://api.github.com/repos/catarse/catarse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catarse/catarse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catarse/catarse/teams","hooks_url":"https://api.github.com/repos/catarse/catarse/hooks","issue_events_url":"https://api.github.com/repos/catarse/catarse/issues/events{/number}","events_url":"https://api.github.com/repos/catarse/catarse/events","assignees_url":"https://api.github.com/repos/catarse/catarse/assignees{/user}","branches_url":"https://api.github.com/repos/catarse/catarse/branches{/branch}","tags_url":"https://api.github.com/repos/catarse/catarse/tags","blobs_url":"https://api.github.com/repos/catarse/catarse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catarse/catarse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catarse/catarse/git/refs{/sha}","trees_url":"https://api.github.com/repos/catarse/catarse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catarse/catarse/statuses/{sha}","languages_url":"https://api.github.com/repos/catarse/catarse/languages","stargazers_url":"https://api.github.com/repos/catarse/catarse/stargazers","contributors_url":"https://api.github.com/repos/catarse/catarse/contributors","subscribers_url":"https://api.github.com/repos/catarse/catarse/subscribers","subscription_url":"https://api.github.com/repos/catarse/catarse/subscription","commits_url":"https://api.github.com/repos/catarse/catarse/commits{/sha}","git_commits_url":"https://api.github.com/repos/catarse/catarse/git/commits{/sha}","comments_url":"https://api.github.com/repos/catarse/catarse/comments{/number}","issue_comment_url":"https://api.github.com/repos/catarse/catarse/issues/comments/{number}","contents_url":"https://api.github.com/repos/catarse/catarse/contents/{+path}","compare_url":"https://api.github.com/repos/catarse/catarse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catarse/catarse/merges","archive_url":"https://api.github.com/repos/catarse/catarse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catarse/catarse/downloads","issues_url":"https://api.github.com/repos/catarse/catarse/issues{/number}","pulls_url":"https://api.github.com/repos/catarse/catarse/pulls{/number}","milestones_url":"https://api.github.com/repos/catarse/catarse/milestones{/number}","notifications_url":"https://api.github.com/repos/catarse/catarse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catarse/catarse/labels{/name}","releases_url":"https://api.github.com/repos/catarse/catarse/releases{/id}","created_at":"2010-11-11T13:37:03Z","updated_at":"2014-10-01T20:54:04Z","pushed_at":"2014-10-03T18:25:01Z","git_url":"git://github.com/catarse/catarse.git","ssh_url":"git@github.com:catarse/catarse.git","clone_url":"https://github.com/catarse/catarse.git","svn_url":"https://github.com/catarse/catarse","homepage":"http://catarse.me","size":101847,"stargazers_count":660,"watchers_count":660,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":450,"mirror_url":null,"open_issues_count":4,"forks":450,"open_issues":4,"watchers":660,"default_branch":"master"}},"base":{"label":"catarse:master","ref":"master","sha":"4f6dcadea97aac20ea4434b23da8f69803b6cd49","user":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=2","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"repo":{"id":1071489,"name":"catarse","full_name":"catarse/catarse","owner":{"login":"catarse","id":721161,"avatar_url":"https://avatars.githubusercontent.com/u/721161?v=2","gravatar_id":"","url":"https://api.github.com/users/catarse","html_url":"https://github.com/catarse","followers_url":"https://api.github.com/users/catarse/followers","following_url":"https://api.github.com/users/catarse/following{/other_user}","gists_url":"https://api.github.com/users/catarse/gists{/gist_id}","starred_url":"https://api.github.com/users/catarse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarse/subscriptions","organizations_url":"https://api.github.com/users/catarse/orgs","repos_url":"https://api.github.com/users/catarse/repos","events_url":"https://api.github.com/users/catarse/events{/privacy}","received_events_url":"https://api.github.com/users/catarse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/catarse/catarse","description":"The first open source crowdfunding platform for creative projects in the world","fork":false,"url":"https://api.github.com/repos/catarse/catarse","forks_url":"https://api.github.com/repos/catarse/catarse/forks","keys_url":"https://api.github.com/repos/catarse/catarse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catarse/catarse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catarse/catarse/teams","hooks_url":"https://api.github.com/repos/catarse/catarse/hooks","issue_events_url":"https://api.github.com/repos/catarse/catarse/issues/events{/number}","events_url":"https://api.github.com/repos/catarse/catarse/events","assignees_url":"https://api.github.com/repos/catarse/catarse/assignees{/user}","branches_url":"https://api.github.com/repos/catarse/catarse/branches{/branch}","tags_url":"https://api.github.com/repos/catarse/catarse/tags","blobs_url":"https://api.github.com/repos/catarse/catarse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catarse/catarse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catarse/catarse/git/refs{/sha}","trees_url":"https://api.github.com/repos/catarse/catarse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catarse/catarse/statuses/{sha}","languages_url":"https://api.github.com/repos/catarse/catarse/languages","stargazers_url":"https://api.github.com/repos/catarse/catarse/stargazers","contributors_url":"https://api.github.com/repos/catarse/catarse/contributors","subscribers_url":"https://api.github.com/repos/catarse/catarse/subscribers","subscription_url":"https://api.github.com/repos/catarse/catarse/subscription","commits_url":"https://api.github.com/repos/catarse/catarse/commits{/sha}","git_commits_url":"https://api.github.com/repos/catarse/catarse/git/commits{/sha}","comments_url":"https://api.github.com/repos/catarse/catarse/comments{/number}","issue_comment_url":"https://api.github.com/repos/catarse/catarse/issues/comments/{number}","contents_url":"https://api.github.com/repos/catarse/catarse/contents/{+path}","compare_url":"https://api.github.com/repos/catarse/catarse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catarse/catarse/merges","archive_url":"https://api.github.com/repos/catarse/catarse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catarse/catarse/downloads","issues_url":"https://api.github.com/repos/catarse/catarse/issues{/number}","pulls_url":"https://api.github.com/repos/catarse/catarse/pulls{/number}","milestones_url":"https://api.github.com/repos/catarse/catarse/milestones{/number}","notifications_url":"https://api.github.com/repos/catarse/catarse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catarse/catarse/labels{/name}","releases_url":"https://api.github.com/repos/catarse/catarse/releases{/id}","created_at":"2010-11-11T13:37:03Z","updated_at":"2014-10-01T20:54:04Z","pushed_at":"2014-10-03T18:25:01Z","git_url":"git://github.com/catarse/catarse.git","ssh_url":"git@github.com:catarse/catarse.git","clone_url":"https://github.com/catarse/catarse.git","svn_url":"https://github.com/catarse/catarse","homepage":"http://catarse.me","size":101847,"stargazers_count":660,"watchers_count":660,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":450,"mirror_url":null,"open_issues_count":4,"forks":450,"open_issues":4,"watchers":660,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/catarse/catarse/pulls/944"},"html":{"href":"https://github.com/catarse/catarse/pull/944"},"issue":{"href":"https://api.github.com/repos/catarse/catarse/issues/944"},"comments":{"href":"https://api.github.com/repos/catarse/catarse/issues/944/comments"},"review_comments":{"href":"https://api.github.com/repos/catarse/catarse/pulls/944/comments"},"review_comment":{"href":"https://api.github.com/repos/catarse/catarse/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/catarse/catarse/pulls/944/commits"},"statuses":{"href":"https://api.github.com/repos/catarse/catarse/statuses/16087964afbfabee67ee662388e34671d72f6408"}}}}