{"action":"created","comment":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/90756625","pull_request_review_id":11276565,"id":90756625,"diff_hunk":"@@ -21,9 +21,9 @@ def fetch\n   \n   def index\n     if params[:show] == 'duplicates'\n-      @external_works = ExternalWork.duplicate.order(\"created_at DESC\").paginate(:page => params[:page])      \n+      @external_works = ExternalWork.order(\"created_at DESC\").paginate(:page => params[:page])      ","path":"app/controllers/external_works_controller.rb","position":5,"original_position":5,"commit_id":"d4218a7980226e74c6a29bdc4d089d427c675805","original_commit_id":"d4218a7980226e74c6a29bdc4d089d427c675805","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2016-12-03T12:45:12Z","updated_at":"2016-12-03T12:45:12Z","html_url":"https://github.com/otwcode/otwarchive/pull/2644#discussion_r90756625","pull_request_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644","_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/90756625"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2644#discussion_r90756625"},"pull_request":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644"}}},"pull_request":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644","id":96396834,"html_url":"https://github.com/otwcode/otwarchive/pull/2644","diff_url":"https://github.com/otwcode/otwarchive/pull/2644.diff","patch_url":"https://github.com/otwcode/otwarchive/pull/2644.patch","issue_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2644","number":2644,"state":"open","locked":false,"title":"AO3-4743 Simple test of the index page","user":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"body":"## Issue\r\n\r\nhttps://otwarchive.atlassian.net/browse/AO3-4743\r\n\r\n## Purpose\r\n\r\nThis increases the coverage a little bit. However it removes duplicates by default in the list of external works. \r\n\r\n## Testing\r\n\r\nCheck that are works are not duplicated in the external works index.\r\n\r\n# Pull Request Checklist\r\n\r\n* [ ] Have you read [How to write the perfect pull request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request)?\r\n* [ ] Have you read through the [contributor guidelines](https://github.com/otwcode/otwarchive/blob/master/CONTRIBUTING.md)?\r\n* [ ] Have you added tests for any changed functionality?\r\n* [ ] Have you added the JIRA issue number as the *first* thing in your pull request title (eg: `AO3-1234 Fix thing`)\r\n* [ ] Have you updated the JIRA issue with the information below?\r\n","created_at":"2016-12-03T12:45:04Z","updated_at":"2016-12-03T12:45:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1c4ace1b7d7810508de5843d3f32a9598dceeab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644/commits","review_comments_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644/comments","review_comment_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2644/comments","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/d4218a7980226e74c6a29bdc4d089d427c675805","head":{"label":"zz9pzza:AO3-4743","ref":"AO3-4743","sha":"d4218a7980226e74c6a29bdc4d089d427c675805","user":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"repo":{"id":5325884,"name":"otwarchive","full_name":"zz9pzza/otwarchive","owner":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zz9pzza/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":true,"url":"https://api.github.com/repos/zz9pzza/otwarchive","forks_url":"https://api.github.com/repos/zz9pzza/otwarchive/forks","keys_url":"https://api.github.com/repos/zz9pzza/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zz9pzza/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zz9pzza/otwarchive/teams","hooks_url":"https://api.github.com/repos/zz9pzza/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/zz9pzza/otwarchive/events","assignees_url":"https://api.github.com/repos/zz9pzza/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/zz9pzza/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/tags","blobs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zz9pzza/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/zz9pzza/otwarchive/languages","stargazers_url":"https://api.github.com/repos/zz9pzza/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/zz9pzza/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscription","commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zz9pzza/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zz9pzza/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/zz9pzza/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zz9pzza/otwarchive/merges","archive_url":"https://api.github.com/repos/zz9pzza/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zz9pzza/otwarchive/downloads","issues_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/zz9pzza/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/zz9pzza/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/zz9pzza/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zz9pzza/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/zz9pzza/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/zz9pzza/otwarchive/deployments","created_at":"2012-08-07T09:13:15Z","updated_at":"2015-05-08T17:08:36Z","pushed_at":"2016-12-03T12:41:26Z","git_url":"git://github.com/zz9pzza/otwarchive.git","ssh_url":"git@github.com:zz9pzza/otwarchive.git","clone_url":"https://github.com/zz9pzza/otwarchive.git","svn_url":"https://github.com/zz9pzza/otwarchive","homepage":"http://transformativeworks.org/projects/archive","size":52804,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"otwcode:master","ref":"master","sha":"f0e9e2d287d4a138b9f2fac2c4109c8fed583569","user":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"repo":{"id":1338040,"name":"otwarchive","full_name":"otwcode/otwarchive","owner":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otwcode/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":false,"url":"https://api.github.com/repos/otwcode/otwarchive","forks_url":"https://api.github.com/repos/otwcode/otwarchive/forks","keys_url":"https://api.github.com/repos/otwcode/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otwcode/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otwcode/otwarchive/teams","hooks_url":"https://api.github.com/repos/otwcode/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/otwcode/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/otwcode/otwarchive/events","assignees_url":"https://api.github.com/repos/otwcode/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/otwcode/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/otwcode/otwarchive/tags","blobs_url":"https://api.github.com/repos/otwcode/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otwcode/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otwcode/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/otwcode/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/otwcode/otwarchive/languages","stargazers_url":"https://api.github.com/repos/otwcode/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/otwcode/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/otwcode/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/otwcode/otwarchive/subscription","commits_url":"https://api.github.com/repos/otwcode/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/otwcode/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/otwcode/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/otwcode/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/otwcode/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otwcode/otwarchive/merges","archive_url":"https://api.github.com/repos/otwcode/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otwcode/otwarchive/downloads","issues_url":"https://api.github.com/repos/otwcode/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/otwcode/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/otwcode/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/otwcode/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otwcode/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/otwcode/otwarchive/releases{/id}","deployments_url":"https://api.github.com/repos/otwcode/otwarchive/deployments","created_at":"2011-02-07T14:50:58Z","updated_at":"2016-11-20T15:55:50Z","pushed_at":"2016-12-03T12:45:04Z","git_url":"git://github.com/otwcode/otwarchive.git","ssh_url":"git@github.com:otwcode/otwarchive.git","clone_url":"https://github.com/otwcode/otwarchive.git","svn_url":"https://github.com/otwcode/otwarchive","homepage":"http://www.transformativeworks.org/archive_of_our_own/","size":71598,"stargazers_count":226,"watchers_count":226,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":54,"forks":133,"open_issues":54,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2644"},"issue":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2644"},"comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2644/comments"},"review_comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644/comments"},"review_comment":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2644/commits"},"statuses":{"href":"https://api.github.com/repos/otwcode/otwarchive/statuses/d4218a7980226e74c6a29bdc4d089d427c675805"}}}}
{"actor":{"display_login":"houndci-bot"}}