{"action":"created","comment":{"url":"https://api.github.com/repos/wagn/wagn/pulls/comments/25000126","id":25000126,"diff_hunk":"@@ -74,7 +74,7 @@ namespace :test do\n     ActiveRecord::Base.establish_connection\n     tables.each do |table_name|\n       i = \"000\"\n-      File.open(\"#{Wagn.gem_root}/test/fixtures/#{table_name}.yml\", 'w') do |file|\n+      File.open(\"#{Cardio.gem_root}/test/fixtures/#{table_name}.yml\", 'w') do |file|\n         data = ActiveRecord::Base.connection.select_all(sql % table_name)\n         file.write data.inject({}) { |hash, record|\n           record['trash'] = false if record.has_key? 'trash'","path":"wagn/lib/wagn/tasks/test.rake","position":8,"original_position":8,"commit_id":"4e39f44879cafded97b03488984059e3cb9d3c78","original_commit_id":"60a36230e6d29efc7e376618b337253bc6399375","user":{"login":"ethn","id":21904,"avatar_url":"https://avatars.githubusercontent.com/u/21904?v=3","gravatar_id":"","url":"https://api.github.com/users/ethn","html_url":"https://github.com/ethn","followers_url":"https://api.github.com/users/ethn/followers","following_url":"https://api.github.com/users/ethn/following{/other_user}","gists_url":"https://api.github.com/users/ethn/gists{/gist_id}","starred_url":"https://api.github.com/users/ethn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethn/subscriptions","organizations_url":"https://api.github.com/users/ethn/orgs","repos_url":"https://api.github.com/users/ethn/repos","events_url":"https://api.github.com/users/ethn/events{/privacy}","received_events_url":"https://api.github.com/users/ethn/received_events","type":"User","site_admin":false},"body":"not sure I get this comment. it's a rake task.  \"what actually uses this\" is an administrator (directly).  where is it setting the database?","created_at":"2015-02-19T16:17:29Z","updated_at":"2015-02-19T16:17:29Z","html_url":"https://github.com/wagn/wagn/pull/326#discussion_r25000126","pull_request_url":"https://api.github.com/repos/wagn/wagn/pulls/326","_links":{"self":{"href":"https://api.github.com/repos/wagn/wagn/pulls/comments/25000126"},"html":{"href":"https://github.com/wagn/wagn/pull/326#discussion_r25000126"},"pull_request":{"href":"https://api.github.com/repos/wagn/wagn/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/wagn/wagn/pulls/326","id":29496637,"html_url":"https://github.com/wagn/wagn/pull/326","diff_url":"https://github.com/wagn/wagn/pull/326.diff","patch_url":"https://github.com/wagn/wagn/pull/326.patch","issue_url":"https://api.github.com/repos/wagn/wagn/issues/326","number":326,"state":"closed","locked":false,"title":"migration fix","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":"","created_at":"2015-02-18T02:22:34Z","updated_at":"2015-02-19T16:17:29Z","closed_at":"2015-02-19T01:35:32Z","merged_at":"2015-02-19T01:35:32Z","merge_commit_sha":"0e84e8ae1dde8db2bcfb089a076dd8d620e6893c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wagn/wagn/pulls/326/commits","review_comments_url":"https://api.github.com/repos/wagn/wagn/pulls/326/comments","review_comment_url":"https://api.github.com/repos/wagn/wagn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wagn/wagn/issues/326/comments","statuses_url":"https://api.github.com/repos/wagn/wagn/statuses/4e39f44879cafded97b03488984059e3cb9d3c78","head":{"label":"xithan:migration-fix","ref":"migration-fix","sha":"4e39f44879cafded97b03488984059e3cb9d3c78","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},"repo":{"id":19449327,"name":"wagn","full_name":"xithan/wagn","owner":{"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},"private":false,"html_url":"https://github.com/xithan/wagn","description":"Ruby on rails wiki platform for collaborating to build custom web systems","fork":true,"url":"https://api.github.com/repos/xithan/wagn","forks_url":"https://api.github.com/repos/xithan/wagn/forks","keys_url":"https://api.github.com/repos/xithan/wagn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xithan/wagn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xithan/wagn/teams","hooks_url":"https://api.github.com/repos/xithan/wagn/hooks","issue_events_url":"https://api.github.com/repos/xithan/wagn/issues/events{/number}","events_url":"https://api.github.com/repos/xithan/wagn/events","assignees_url":"https://api.github.com/repos/xithan/wagn/assignees{/user}","branches_url":"https://api.github.com/repos/xithan/wagn/branches{/branch}","tags_url":"https://api.github.com/repos/xithan/wagn/tags","blobs_url":"https://api.github.com/repos/xithan/wagn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xithan/wagn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xithan/wagn/git/refs{/sha}","trees_url":"https://api.github.com/repos/xithan/wagn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xithan/wagn/statuses/{sha}","languages_url":"https://api.github.com/repos/xithan/wagn/languages","stargazers_url":"https://api.github.com/repos/xithan/wagn/stargazers","contributors_url":"https://api.github.com/repos/xithan/wagn/contributors","subscribers_url":"https://api.github.com/repos/xithan/wagn/subscribers","subscription_url":"https://api.github.com/repos/xithan/wagn/subscription","commits_url":"https://api.github.com/repos/xithan/wagn/commits{/sha}","git_commits_url":"https://api.github.com/repos/xithan/wagn/git/commits{/sha}","comments_url":"https://api.github.com/repos/xithan/wagn/comments{/number}","issue_comment_url":"https://api.github.com/repos/xithan/wagn/issues/comments/{number}","contents_url":"https://api.github.com/repos/xithan/wagn/contents/{+path}","compare_url":"https://api.github.com/repos/xithan/wagn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xithan/wagn/merges","archive_url":"https://api.github.com/repos/xithan/wagn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xithan/wagn/downloads","issues_url":"https://api.github.com/repos/xithan/wagn/issues{/number}","pulls_url":"https://api.github.com/repos/xithan/wagn/pulls{/number}","milestones_url":"https://api.github.com/repos/xithan/wagn/milestones{/number}","notifications_url":"https://api.github.com/repos/xithan/wagn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xithan/wagn/labels{/name}","releases_url":"https://api.github.com/repos/xithan/wagn/releases{/id}","created_at":"2014-05-05T08:31:06Z","updated_at":"2014-08-26T16:41:50Z","pushed_at":"2015-02-19T14:45:54Z","git_url":"git://github.com/xithan/wagn.git","ssh_url":"git@github.com:xithan/wagn.git","clone_url":"https://github.com/xithan/wagn.git","svn_url":"https://github.com/xithan/wagn","homepage":"http://www.wagn.org","size":51074,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"wagn:1_15","ref":"1_15","sha":"0f91ec79167498d5eb0e89b4a5ef0505a7899014","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":44462,"name":"wagn","full_name":"wagn/wagn","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/wagn","description":"Ruby on rails wiki platform for collaborating to build custom web systems","fork":false,"url":"https://api.github.com/repos/wagn/wagn","forks_url":"https://api.github.com/repos/wagn/wagn/forks","keys_url":"https://api.github.com/repos/wagn/wagn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagn/wagn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagn/wagn/teams","hooks_url":"https://api.github.com/repos/wagn/wagn/hooks","issue_events_url":"https://api.github.com/repos/wagn/wagn/issues/events{/number}","events_url":"https://api.github.com/repos/wagn/wagn/events","assignees_url":"https://api.github.com/repos/wagn/wagn/assignees{/user}","branches_url":"https://api.github.com/repos/wagn/wagn/branches{/branch}","tags_url":"https://api.github.com/repos/wagn/wagn/tags","blobs_url":"https://api.github.com/repos/wagn/wagn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagn/wagn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagn/wagn/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagn/wagn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagn/wagn/statuses/{sha}","languages_url":"https://api.github.com/repos/wagn/wagn/languages","stargazers_url":"https://api.github.com/repos/wagn/wagn/stargazers","contributors_url":"https://api.github.com/repos/wagn/wagn/contributors","subscribers_url":"https://api.github.com/repos/wagn/wagn/subscribers","subscription_url":"https://api.github.com/repos/wagn/wagn/subscription","commits_url":"https://api.github.com/repos/wagn/wagn/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagn/wagn/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagn/wagn/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagn/wagn/issues/comments/{number}","contents_url":"https://api.github.com/repos/wagn/wagn/contents/{+path}","compare_url":"https://api.github.com/repos/wagn/wagn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagn/wagn/merges","archive_url":"https://api.github.com/repos/wagn/wagn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagn/wagn/downloads","issues_url":"https://api.github.com/repos/wagn/wagn/issues{/number}","pulls_url":"https://api.github.com/repos/wagn/wagn/pulls{/number}","milestones_url":"https://api.github.com/repos/wagn/wagn/milestones{/number}","notifications_url":"https://api.github.com/repos/wagn/wagn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagn/wagn/labels{/name}","releases_url":"https://api.github.com/repos/wagn/wagn/releases{/id}","created_at":"2008-08-21T00:36:11Z","updated_at":"2015-02-15T04:43:59Z","pushed_at":"2015-02-19T06:34:08Z","git_url":"git://github.com/wagn/wagn.git","ssh_url":"git@github.com:wagn/wagn.git","clone_url":"https://github.com/wagn/wagn.git","svn_url":"https://github.com/wagn/wagn","homepage":"http://www.wagn.org","size":55091,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":4,"forks":54,"open_issues":4,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wagn/wagn/pulls/326"},"html":{"href":"https://github.com/wagn/wagn/pull/326"},"issue":{"href":"https://api.github.com/repos/wagn/wagn/issues/326"},"comments":{"href":"https://api.github.com/repos/wagn/wagn/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/wagn/wagn/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/wagn/wagn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wagn/wagn/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/wagn/wagn/statuses/4e39f44879cafded97b03488984059e3cb9d3c78"}}}}