{"action":"created","comment":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/comments/49195506","id":49195506,"diff_hunk":"@@ -1,23 +1,29 @@\n \n format :html do\n+  view :cited_count do\n+    if parent.citations.present?\n+      parent.citations.size\n+    else\n+      0\n+    end\n+  end\n   view :core do |args|\n     if parent.citations.present?\n       results = parent.citations.map do |name|\n-        Card.fetch name, :new=> { :type_id=>Card::ClaimID }\n+        Card.fetch name, new: { type_id: Card::ClaimID }\n       end\n       card_list results, args\n     else\n       super args\n     end\n   end\n-  \n-  def card_list results, args\n+\n+  def card_list(results, _args)","path":"mod/wikirate/set/right/cited_claims.rb","position":24,"original_position":24,"commit_id":"892195f2a6286a82ef57956fca2db21fd673af75","original_commit_id":"892195f2a6286a82ef57956fca2db21fd673af75","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use def without parentheses.","created_at":"2016-01-08T14:58:22Z","updated_at":"2016-01-08T14:58:22Z","html_url":"https://github.com/wagn/wikirate/pull/316#discussion_r49195506","pull_request_url":"https://api.github.com/repos/wagn/wikirate/pulls/316","_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments/49195506"},"html":{"href":"https://github.com/wagn/wikirate/pull/316#discussion_r49195506"},"pull_request":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/316"}}},"pull_request":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/316","id":55362033,"html_url":"https://github.com/wagn/wikirate/pull/316","diff_url":"https://github.com/wagn/wikirate/pull/316.diff","patch_url":"https://github.com/wagn/wikirate/pull/316.patch","issue_url":"https://api.github.com/repos/wagn/wikirate/issues/316","number":316,"state":"open","locked":false,"title":"General Overview ","user":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-07T16:59:59Z","updated_at":"2016-01-08T14:58:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ea4ce417efdf59f4e51d171bccc93e03b3d778b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wagn/wikirate/pulls/316/commits","review_comments_url":"https://api.github.com/repos/wagn/wikirate/pulls/316/comments","review_comment_url":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wagn/wikirate/issues/316/comments","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/892195f2a6286a82ef57956fca2db21fd673af75","head":{"label":"srivig:master","ref":"master","sha":"892195f2a6286a82ef57956fca2db21fd673af75","user":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"repo":{"id":26482921,"name":"wikirate","full_name":"srivig/wikirate","owner":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srivig/wikirate","description":"","fork":true,"url":"https://api.github.com/repos/srivig/wikirate","forks_url":"https://api.github.com/repos/srivig/wikirate/forks","keys_url":"https://api.github.com/repos/srivig/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srivig/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srivig/wikirate/teams","hooks_url":"https://api.github.com/repos/srivig/wikirate/hooks","issue_events_url":"https://api.github.com/repos/srivig/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/srivig/wikirate/events","assignees_url":"https://api.github.com/repos/srivig/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/srivig/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/srivig/wikirate/tags","blobs_url":"https://api.github.com/repos/srivig/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srivig/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srivig/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/srivig/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srivig/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/srivig/wikirate/languages","stargazers_url":"https://api.github.com/repos/srivig/wikirate/stargazers","contributors_url":"https://api.github.com/repos/srivig/wikirate/contributors","subscribers_url":"https://api.github.com/repos/srivig/wikirate/subscribers","subscription_url":"https://api.github.com/repos/srivig/wikirate/subscription","commits_url":"https://api.github.com/repos/srivig/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/srivig/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/srivig/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/srivig/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/srivig/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/srivig/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srivig/wikirate/merges","archive_url":"https://api.github.com/repos/srivig/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srivig/wikirate/downloads","issues_url":"https://api.github.com/repos/srivig/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/srivig/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/srivig/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/srivig/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srivig/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/srivig/wikirate/releases{/id}","created_at":"2014-11-11T11:53:21Z","updated_at":"2015-11-09T14:04:46Z","pushed_at":"2016-01-08T14:58:13Z","git_url":"git://github.com/srivig/wikirate.git","ssh_url":"git@github.com:srivig/wikirate.git","clone_url":"https://github.com/srivig/wikirate.git","svn_url":"https://github.com/srivig/wikirate","homepage":null,"size":86716,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wagn:master","ref":"master","sha":"553c1901557eecdfa94da364be9cb7dfe7e3774c","user":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"repo":{"id":15884166,"name":"wikirate","full_name":"wagn/wikirate","owner":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wagn/wikirate","description":"","fork":false,"url":"https://api.github.com/repos/wagn/wikirate","forks_url":"https://api.github.com/repos/wagn/wikirate/forks","keys_url":"https://api.github.com/repos/wagn/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagn/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagn/wikirate/teams","hooks_url":"https://api.github.com/repos/wagn/wikirate/hooks","issue_events_url":"https://api.github.com/repos/wagn/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/wagn/wikirate/events","assignees_url":"https://api.github.com/repos/wagn/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/wagn/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/wagn/wikirate/tags","blobs_url":"https://api.github.com/repos/wagn/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagn/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagn/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagn/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/wagn/wikirate/languages","stargazers_url":"https://api.github.com/repos/wagn/wikirate/stargazers","contributors_url":"https://api.github.com/repos/wagn/wikirate/contributors","subscribers_url":"https://api.github.com/repos/wagn/wikirate/subscribers","subscription_url":"https://api.github.com/repos/wagn/wikirate/subscription","commits_url":"https://api.github.com/repos/wagn/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagn/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagn/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagn/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/wagn/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/wagn/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagn/wikirate/merges","archive_url":"https://api.github.com/repos/wagn/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagn/wikirate/downloads","issues_url":"https://api.github.com/repos/wagn/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/wagn/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/wagn/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/wagn/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagn/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/wagn/wikirate/releases{/id}","created_at":"2014-01-13T22:29:39Z","updated_at":"2015-05-08T17:01:43Z","pushed_at":"2016-01-08T14:58:14Z","git_url":"git://github.com/wagn/wikirate.git","ssh_url":"git@github.com:wagn/wikirate.git","clone_url":"https://github.com/wagn/wikirate.git","svn_url":"https://github.com/wagn/wikirate","homepage":null,"size":87341,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/316"},"html":{"href":"https://github.com/wagn/wikirate/pull/316"},"issue":{"href":"https://api.github.com/repos/wagn/wikirate/issues/316"},"comments":{"href":"https://api.github.com/repos/wagn/wikirate/issues/316/comments"},"review_comments":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/316/comments"},"review_comment":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/316/commits"},"statuses":{"href":"https://api.github.com/repos/wagn/wikirate/statuses/892195f2a6286a82ef57956fca2db21fd673af75"}}}}