{"action":"created","comment":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/comments/39020670","id":39020670,"diff_hunk":"@@ -7,10 +7,10 @@\n \n def indirect_contributor_search_args\n   [\n-    {:type_id=>ClaimID, :plus=>['company',:link_to=>self.name]},\n-    {:type=>'source', :plus=>['company',:link_to=>self.name]},\n-    {:type=>'analysis', :left=>self.name },\n-    {:type=>'metric value', :left=>{:right=>self.name}}\n+    {:type_id=>Card::ClaimID, :plus=>['company',:link_to=>self.name]},\n+    {:type_id=>Card::SourceID, :plus=>['company',:link_to=>self.name]},\n+    {:type_id=>Card::WikirateAnalysisID, :left=>self.name },\n+    {:type_id=>Card::MetricValueID, :left=>{:right=>self.name}}\n   ]","path":"mod/wikirate/set/type/wikirate_company.rb","position":12,"original_position":12,"commit_id":"4de26d1360af758717f0cc5787585fb01bb62ab3","original_commit_id":"3ed7c3da3f53f63d7c170902ba78974f5b3296aa","user":{"login":"xithan","id":13584,"avatar_url":"https://avatars.githubusercontent.com/u/13584?v=3","gravatar_id":"","url":"https://api.github.com/users/xithan","html_url":"https://github.com/xithan","followers_url":"https://api.github.com/users/xithan/followers","following_url":"https://api.github.com/users/xithan/following{/other_user}","gists_url":"https://api.github.com/users/xithan/gists{/gist_id}","starred_url":"https://api.github.com/users/xithan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xithan/subscriptions","organizations_url":"https://api.github.com/users/xithan/orgs","repos_url":"https://api.github.com/users/xithan/repos","events_url":"https://api.github.com/users/xithan/events{/privacy}","received_events_url":"https://api.github.com/users/xithan/received_events","type":"User","site_admin":false},"body":"Just found two places :)  I needed `Card::` in a rake task and in `Card::Log::Performance`","created_at":"2015-09-09T09:03:23Z","updated_at":"2015-09-09T09:03:23Z","html_url":"https://github.com/wagn/wikirate/pull/252#discussion_r39020670","pull_request_url":"https://api.github.com/repos/wagn/wikirate/pulls/252","_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments/39020670"},"html":{"href":"https://github.com/wagn/wikirate/pull/252#discussion_r39020670"},"pull_request":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/252"}}},"pull_request":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/252","id":44380118,"html_url":"https://github.com/wagn/wikirate/pull/252","diff_url":"https://github.com/wagn/wikirate/pull/252.diff","patch_url":"https://github.com/wagn/wikirate/pull/252.patch","issue_url":"https://api.github.com/repos/wagn/wikirate/issues/252","number":252,"state":"open","locked":false,"title":"test db generator","user":{"login":"chuenlok","id":1924561,"avatar_url":"https://avatars.githubusercontent.com/u/1924561?v=3","gravatar_id":"","url":"https://api.github.com/users/chuenlok","html_url":"https://github.com/chuenlok","followers_url":"https://api.github.com/users/chuenlok/followers","following_url":"https://api.github.com/users/chuenlok/following{/other_user}","gists_url":"https://api.github.com/users/chuenlok/gists{/gist_id}","starred_url":"https://api.github.com/users/chuenlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuenlok/subscriptions","organizations_url":"https://api.github.com/users/chuenlok/orgs","repos_url":"https://api.github.com/users/chuenlok/repos","events_url":"https://api.github.com/users/chuenlok/events{/privacy}","received_events_url":"https://api.github.com/users/chuenlok/received_events","type":"User","site_admin":false},"body":"A new config file is needed\r\n`config/environment/init_test.rb`\r\nWe have `ltype rtype` in wikirate which is not in wagn. Before requiring wikirate mod code, we need to start from raw cardio mod to get and add those needed card from production to test. \r\n```\r\nWikirate::Application.configure do\r\n  config.paths[\"mod\"] = \"#{Cardio.gem_root}/mod\"\r\nend\r\n```","created_at":"2015-09-07T21:37:28Z","updated_at":"2015-09-09T09:03:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1de9364eb54ada1243fc0642a269cfe24135e5db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wagn/wikirate/pulls/252/commits","review_comments_url":"https://api.github.com/repos/wagn/wikirate/pulls/252/comments","review_comment_url":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wagn/wikirate/issues/252/comments","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/4de26d1360af758717f0cc5787585fb01bb62ab3","head":{"label":"chuenlok:special_pointer","ref":"special_pointer","sha":"4de26d1360af758717f0cc5787585fb01bb62ab3","user":{"login":"chuenlok","id":1924561,"avatar_url":"https://avatars.githubusercontent.com/u/1924561?v=3","gravatar_id":"","url":"https://api.github.com/users/chuenlok","html_url":"https://github.com/chuenlok","followers_url":"https://api.github.com/users/chuenlok/followers","following_url":"https://api.github.com/users/chuenlok/following{/other_user}","gists_url":"https://api.github.com/users/chuenlok/gists{/gist_id}","starred_url":"https://api.github.com/users/chuenlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuenlok/subscriptions","organizations_url":"https://api.github.com/users/chuenlok/orgs","repos_url":"https://api.github.com/users/chuenlok/repos","events_url":"https://api.github.com/users/chuenlok/events{/privacy}","received_events_url":"https://api.github.com/users/chuenlok/received_events","type":"User","site_admin":false},"repo":{"id":21124075,"name":"wikirate","full_name":"chuenlok/wikirate","owner":{"login":"chuenlok","id":1924561,"avatar_url":"https://avatars.githubusercontent.com/u/1924561?v=3","gravatar_id":"","url":"https://api.github.com/users/chuenlok","html_url":"https://github.com/chuenlok","followers_url":"https://api.github.com/users/chuenlok/followers","following_url":"https://api.github.com/users/chuenlok/following{/other_user}","gists_url":"https://api.github.com/users/chuenlok/gists{/gist_id}","starred_url":"https://api.github.com/users/chuenlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuenlok/subscriptions","organizations_url":"https://api.github.com/users/chuenlok/orgs","repos_url":"https://api.github.com/users/chuenlok/repos","events_url":"https://api.github.com/users/chuenlok/events{/privacy}","received_events_url":"https://api.github.com/users/chuenlok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chuenlok/wikirate","description":"Wikirate.org is a new independent wiki platform with the mission to promote corporate transparency.","fork":true,"url":"https://api.github.com/repos/chuenlok/wikirate","forks_url":"https://api.github.com/repos/chuenlok/wikirate/forks","keys_url":"https://api.github.com/repos/chuenlok/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chuenlok/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chuenlok/wikirate/teams","hooks_url":"https://api.github.com/repos/chuenlok/wikirate/hooks","issue_events_url":"https://api.github.com/repos/chuenlok/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/chuenlok/wikirate/events","assignees_url":"https://api.github.com/repos/chuenlok/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/chuenlok/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/chuenlok/wikirate/tags","blobs_url":"https://api.github.com/repos/chuenlok/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chuenlok/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chuenlok/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/chuenlok/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chuenlok/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/chuenlok/wikirate/languages","stargazers_url":"https://api.github.com/repos/chuenlok/wikirate/stargazers","contributors_url":"https://api.github.com/repos/chuenlok/wikirate/contributors","subscribers_url":"https://api.github.com/repos/chuenlok/wikirate/subscribers","subscription_url":"https://api.github.com/repos/chuenlok/wikirate/subscription","commits_url":"https://api.github.com/repos/chuenlok/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/chuenlok/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/chuenlok/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/chuenlok/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/chuenlok/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/chuenlok/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chuenlok/wikirate/merges","archive_url":"https://api.github.com/repos/chuenlok/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chuenlok/wikirate/downloads","issues_url":"https://api.github.com/repos/chuenlok/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/chuenlok/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/chuenlok/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/chuenlok/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chuenlok/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/chuenlok/wikirate/releases{/id}","created_at":"2014-06-23T11:37:42Z","updated_at":"2015-05-08T17:22:34Z","pushed_at":"2015-09-08T15:29:03Z","git_url":"git://github.com/chuenlok/wikirate.git","ssh_url":"git@github.com:chuenlok/wikirate.git","clone_url":"https://github.com/chuenlok/wikirate.git","svn_url":"https://github.com/chuenlok/wikirate","homepage":"http://wikirate.org","size":78457,"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":"07e30dfa9840bd74914c690331d3063632cdde48","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":"2015-09-08T15:21:43Z","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":89715,"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":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/252"},"html":{"href":"https://github.com/wagn/wikirate/pull/252"},"issue":{"href":"https://api.github.com/repos/wagn/wikirate/issues/252"},"comments":{"href":"https://api.github.com/repos/wagn/wikirate/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/wagn/wikirate/statuses/4de26d1360af758717f0cc5787585fb01bb62ab3"}}}}