{"action":"created","comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/47764646","id":47764646,"diff_hunk":"@@ -0,0 +1,93 @@\n+require 'spec_helper'\n+\n+RSpec.describe Warehouse::DrawingTaskFormatter do\n+  let(:definition) do\n+    {\"help\"=>\"T1.help\",\n+      \"next\"=>\"T3\",\n+      \"type\"=>\"drawing\",\n+      \"tools\"=>\n+        [{\"type\"=>\"point\", \"color\"=>\"#ff0000\", \"label\"=>\"T1.tools.0.label\", \"details\"=>[]},\n+        {\"type\"=>\"point\", \"color\"=>\"#00ffff\", \"label\"=>\"T1.tools.1.label\", \"details\"=>[]},\n+        {\"type\"=>\"point\", \"color\"=>\"#0000ff\", \"label\"=>\"T1.tools.2.label\", \"details\"=>[]},\n+        {\"type\"=>\"point\", \"color\"=>\"#ff00ff\", \"label\"=>\"T1.tools.3.label\", \"details\"=>[]},\n+        {\"type\"=>\"point\", \"color\"=>\"#000000\", \"label\"=>\"T1.tools.4.label\", \"details\"=>[\n+          {\"help\"=>\"T1.tools.4.details.0.help\",\n+            \"type\"=>\"single\",\n+            \"answers\"=>\n+              [{\"label\"=>\"T1.tools.4.details.0.answers.0.label\"},\n+              {\"label\"=>\"T1.tools.4.details.0.answers.1.label\"},\n+              {\"label\"=>\"T1.tools.4.details.0.answers.2.label\"},\n+              {\"label\"=>\"T1.tools.4.details.0.answers.3.label\"}],\n+            \"question\"=>\"T1.tools.4.details.0.question\",\n+            \"required\"=>true}]},\n+        {\"type\"=>\"point\", \"color\"=>\"#00ff00\", \"label\"=>\"T1.tools.5.label\", \"details\"=>[\n+          {\"help\"=>\"T1.tools.5.details.0.help\",\n+            \"type\"=>\"multiple\",\n+            \"answers\"=>\n+              [{\"label\"=>\"T1.tools.5.details.0.answers.0.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.1.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.2.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.3.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.4.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.5.label\"},\n+              {\"label\"=>\"T1.tools.5.details.0.answers.6.label\"}],","path":"spec/lib/warehouse/drawing_task_formatter_spec.rb","position":33,"original_position":33,"commit_id":"7dac49cb7a77e8c27b725018ebf72fc388da5335","original_commit_id":"7dac49cb7a77e8c27b725018ebf72fc388da5335","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":"Align the elements of an array literal if they span more than one line.","created_at":"2015-12-16T11:27:06Z","updated_at":"2015-12-16T11:27:06Z","html_url":"https://github.com/zooniverse/Panoptes/pull/1553#discussion_r47764646","pull_request_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553","_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/47764646"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/1553#discussion_r47764646"},"pull_request":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553"}}},"pull_request":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553","id":53829053,"html_url":"https://github.com/zooniverse/Panoptes/pull/1553","diff_url":"https://github.com/zooniverse/Panoptes/pull/1553.diff","patch_url":"https://github.com/zooniverse/Panoptes/pull/1553.patch","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1553","number":1553,"state":"open","locked":false,"title":"[WIP] Nightly exports","user":{"login":"marten","id":277,"avatar_url":"https://avatars.githubusercontent.com/u/277?v=3","gravatar_id":"","url":"https://api.github.com/users/marten","html_url":"https://github.com/marten","followers_url":"https://api.github.com/users/marten/followers","following_url":"https://api.github.com/users/marten/following{/other_user}","gists_url":"https://api.github.com/users/marten/gists{/gist_id}","starred_url":"https://api.github.com/users/marten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marten/subscriptions","organizations_url":"https://api.github.com/users/marten/orgs","repos_url":"https://api.github.com/users/marten/repos","events_url":"https://api.github.com/users/marten/events{/privacy}","received_events_url":"https://api.github.com/users/marten/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-16T11:26:56Z","updated_at":"2015-12-16T11:27:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f40154a6a6ac738b6512f18a47551e153e605a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553/commits","review_comments_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553/comments","review_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1553/comments","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/7dac49cb7a77e8c27b725018ebf72fc388da5335","head":{"label":"marten:nightly-exports","ref":"nightly-exports","sha":"7dac49cb7a77e8c27b725018ebf72fc388da5335","user":{"login":"marten","id":277,"avatar_url":"https://avatars.githubusercontent.com/u/277?v=3","gravatar_id":"","url":"https://api.github.com/users/marten","html_url":"https://github.com/marten","followers_url":"https://api.github.com/users/marten/followers","following_url":"https://api.github.com/users/marten/following{/other_user}","gists_url":"https://api.github.com/users/marten/gists{/gist_id}","starred_url":"https://api.github.com/users/marten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marten/subscriptions","organizations_url":"https://api.github.com/users/marten/orgs","repos_url":"https://api.github.com/users/marten/repos","events_url":"https://api.github.com/users/marten/events{/privacy}","received_events_url":"https://api.github.com/users/marten/received_events","type":"User","site_admin":false},"repo":{"id":37596587,"name":"Panoptes","full_name":"marten/Panoptes","owner":{"login":"marten","id":277,"avatar_url":"https://avatars.githubusercontent.com/u/277?v=3","gravatar_id":"","url":"https://api.github.com/users/marten","html_url":"https://github.com/marten","followers_url":"https://api.github.com/users/marten/followers","following_url":"https://api.github.com/users/marten/following{/other_user}","gists_url":"https://api.github.com/users/marten/gists{/gist_id}","starred_url":"https://api.github.com/users/marten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marten/subscriptions","organizations_url":"https://api.github.com/users/marten/orgs","repos_url":"https://api.github.com/users/marten/repos","events_url":"https://api.github.com/users/marten/events{/privacy}","received_events_url":"https://api.github.com/users/marten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marten/Panoptes","description":"It sees everything","fork":true,"url":"https://api.github.com/repos/marten/Panoptes","forks_url":"https://api.github.com/repos/marten/Panoptes/forks","keys_url":"https://api.github.com/repos/marten/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marten/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marten/Panoptes/teams","hooks_url":"https://api.github.com/repos/marten/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/marten/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/marten/Panoptes/events","assignees_url":"https://api.github.com/repos/marten/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/marten/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/marten/Panoptes/tags","blobs_url":"https://api.github.com/repos/marten/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marten/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marten/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/marten/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marten/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/marten/Panoptes/languages","stargazers_url":"https://api.github.com/repos/marten/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/marten/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/marten/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/marten/Panoptes/subscription","commits_url":"https://api.github.com/repos/marten/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/marten/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/marten/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/marten/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/marten/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/marten/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marten/Panoptes/merges","archive_url":"https://api.github.com/repos/marten/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marten/Panoptes/downloads","issues_url":"https://api.github.com/repos/marten/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/marten/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/marten/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/marten/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marten/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/marten/Panoptes/releases{/id}","created_at":"2015-06-17T13:29:32Z","updated_at":"2015-10-15T12:46:49Z","pushed_at":"2015-12-16T11:24:01Z","git_url":"git://github.com/marten/Panoptes.git","ssh_url":"git@github.com:marten/Panoptes.git","clone_url":"https://github.com/marten/Panoptes.git","svn_url":"https://github.com/marten/Panoptes","homepage":"","size":4695,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"zooniverse:master","ref":"master","sha":"3760de448016f726b1efc048796bda4e0396a6bf","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":19036577,"name":"Panoptes","full_name":"zooniverse/Panoptes","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/Panoptes","description":"It sees everything","fork":false,"url":"https://api.github.com/repos/zooniverse/Panoptes","forks_url":"https://api.github.com/repos/zooniverse/Panoptes/forks","keys_url":"https://api.github.com/repos/zooniverse/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/Panoptes/teams","hooks_url":"https://api.github.com/repos/zooniverse/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/Panoptes/events","assignees_url":"https://api.github.com/repos/zooniverse/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/Panoptes/tags","blobs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/Panoptes/languages","stargazers_url":"https://api.github.com/repos/zooniverse/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/Panoptes/subscription","commits_url":"https://api.github.com/repos/zooniverse/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/Panoptes/merges","archive_url":"https://api.github.com/repos/zooniverse/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/Panoptes/downloads","issues_url":"https://api.github.com/repos/zooniverse/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/Panoptes/releases{/id}","created_at":"2014-04-22T16:16:02Z","updated_at":"2015-11-15T05:38:54Z","pushed_at":"2015-12-16T11:26:57Z","git_url":"git://github.com/zooniverse/Panoptes.git","ssh_url":"git@github.com:zooniverse/Panoptes.git","clone_url":"https://github.com/zooniverse/Panoptes.git","svn_url":"https://github.com/zooniverse/Panoptes","homepage":"","size":4926,"stargazers_count":38,"watchers_count":38,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":91,"forks":18,"open_issues":91,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/1553"},"issue":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/1553"},"comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/1553/comments"},"review_comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553/comments"},"review_comment":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1553/commits"},"statuses":{"href":"https://api.github.com/repos/zooniverse/Panoptes/statuses/7dac49cb7a77e8c27b725018ebf72fc388da5335"}}}}