{"action":"created","comment":{"url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/comments/62381749","id":62381749,"diff_hunk":"@@ -0,0 +1,22 @@\n+class CreateDrafts < ActiveRecord::Migration\n+  def change\n+    create_table :drafts do |t|\n+      t.string  :item_type, :null => false\n+      t.integer :item_id,   :null => false\n+      t.string  :event,     :null => false\n+      t.string  :whodunnit#  :null => false\n+      t.text    :object\n+      t.text    :previous_draft\n+      t.timestamps          :null => false","path":"db/migrate/20160506161108_create_drafts.rb","position":10,"original_position":10,"commit_id":"df89698eb555dfcac6df886dc9ab73fbdf26c62e","original_commit_id":"df89698eb555dfcac6df886dc9ab73fbdf26c62e","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":"Unnecessary spacing detected.<br>Use the new Ruby 1.9 hash syntax.<br>Put one space between the method name and the first argument.","created_at":"2016-05-06T19:49:44Z","updated_at":"2016-05-06T19:49:44Z","html_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44#discussion_r62381749","pull_request_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/comments/62381749"},"html":{"href":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44#discussion_r62381749"},"pull_request":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44","id":69201078,"html_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44","diff_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44.diff","patch_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44.patch","issue_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/44","number":44,"state":"open","locked":false,"title":"Add Draft Functionality to ProductRequest","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"body":"Adds Draft Functionality to the ProductRequest model. This enables ProductOwners to request editing privileges for a Product.\r\n\r\n* Add Draftsman gem\r\n* Add drafting functionality to ProductRequest\r\n* Create ProductRequest controller for handling ProductOwner-specific requests","created_at":"2016-05-06T19:49:32Z","updated_at":"2016-05-06T19:49:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21569deb924a21f14a3fddad50e9b56f235c89c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44/commits","review_comments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44/comments","review_comment_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/44/comments","statuses_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/statuses/df89698eb555dfcac6df886dc9ab73fbdf26c62e","head":{"label":"presidential-innovation-fellows:lk-product-owner-request","ref":"lk-product-owner-request","sha":"df89698eb555dfcac6df886dc9ab73fbdf26c62e","user":{"login":"presidential-innovation-fellows","id":2146920,"avatar_url":"https://avatars.githubusercontent.com/u/2146920?v=3","gravatar_id":"","url":"https://api.github.com/users/presidential-innovation-fellows","html_url":"https://github.com/presidential-innovation-fellows","followers_url":"https://api.github.com/users/presidential-innovation-fellows/followers","following_url":"https://api.github.com/users/presidential-innovation-fellows/following{/other_user}","gists_url":"https://api.github.com/users/presidential-innovation-fellows/gists{/gist_id}","starred_url":"https://api.github.com/users/presidential-innovation-fellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presidential-innovation-fellows/subscriptions","organizations_url":"https://api.github.com/users/presidential-innovation-fellows/orgs","repos_url":"https://api.github.com/users/presidential-innovation-fellows/repos","events_url":"https://api.github.com/users/presidential-innovation-fellows/events{/privacy}","received_events_url":"https://api.github.com/users/presidential-innovation-fellows/received_events","type":"Organization","site_admin":false},"repo":{"id":54492678,"name":"apps-gov-v2","full_name":"presidential-innovation-fellows/apps-gov-v2","owner":{"login":"presidential-innovation-fellows","id":2146920,"avatar_url":"https://avatars.githubusercontent.com/u/2146920?v=3","gravatar_id":"","url":"https://api.github.com/users/presidential-innovation-fellows","html_url":"https://github.com/presidential-innovation-fellows","followers_url":"https://api.github.com/users/presidential-innovation-fellows/followers","following_url":"https://api.github.com/users/presidential-innovation-fellows/following{/other_user}","gists_url":"https://api.github.com/users/presidential-innovation-fellows/gists{/gist_id}","starred_url":"https://api.github.com/users/presidential-innovation-fellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presidential-innovation-fellows/subscriptions","organizations_url":"https://api.github.com/users/presidential-innovation-fellows/orgs","repos_url":"https://api.github.com/users/presidential-innovation-fellows/repos","events_url":"https://api.github.com/users/presidential-innovation-fellows/events{/privacy}","received_events_url":"https://api.github.com/users/presidential-innovation-fellows/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2","description":"Apps.gov with Rails Flavor.","fork":false,"url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2","forks_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/forks","keys_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/teams","hooks_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/hooks","issue_events_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/events{/number}","events_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/events","assignees_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/assignees{/user}","branches_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/branches{/branch}","tags_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/tags","blobs_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/languages","stargazers_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/stargazers","contributors_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/contributors","subscribers_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/subscribers","subscription_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/subscription","commits_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/contents/{+path}","compare_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/merges","archive_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/downloads","issues_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues{/number}","pulls_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/labels{/name}","releases_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/releases{/id}","deployments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/deployments","created_at":"2016-03-22T16:52:29Z","updated_at":"2016-03-22T18:39:57Z","pushed_at":"2016-05-06T19:49:33Z","git_url":"git://github.com/presidential-innovation-fellows/apps-gov-v2.git","ssh_url":"git@github.com:presidential-innovation-fellows/apps-gov-v2.git","clone_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2.git","svn_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2","homepage":null,"size":6466,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"presidential-innovation-fellows:master","ref":"master","sha":"8f11ca8f86829fd0e511b913b680953ed278fa4e","user":{"login":"presidential-innovation-fellows","id":2146920,"avatar_url":"https://avatars.githubusercontent.com/u/2146920?v=3","gravatar_id":"","url":"https://api.github.com/users/presidential-innovation-fellows","html_url":"https://github.com/presidential-innovation-fellows","followers_url":"https://api.github.com/users/presidential-innovation-fellows/followers","following_url":"https://api.github.com/users/presidential-innovation-fellows/following{/other_user}","gists_url":"https://api.github.com/users/presidential-innovation-fellows/gists{/gist_id}","starred_url":"https://api.github.com/users/presidential-innovation-fellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presidential-innovation-fellows/subscriptions","organizations_url":"https://api.github.com/users/presidential-innovation-fellows/orgs","repos_url":"https://api.github.com/users/presidential-innovation-fellows/repos","events_url":"https://api.github.com/users/presidential-innovation-fellows/events{/privacy}","received_events_url":"https://api.github.com/users/presidential-innovation-fellows/received_events","type":"Organization","site_admin":false},"repo":{"id":54492678,"name":"apps-gov-v2","full_name":"presidential-innovation-fellows/apps-gov-v2","owner":{"login":"presidential-innovation-fellows","id":2146920,"avatar_url":"https://avatars.githubusercontent.com/u/2146920?v=3","gravatar_id":"","url":"https://api.github.com/users/presidential-innovation-fellows","html_url":"https://github.com/presidential-innovation-fellows","followers_url":"https://api.github.com/users/presidential-innovation-fellows/followers","following_url":"https://api.github.com/users/presidential-innovation-fellows/following{/other_user}","gists_url":"https://api.github.com/users/presidential-innovation-fellows/gists{/gist_id}","starred_url":"https://api.github.com/users/presidential-innovation-fellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presidential-innovation-fellows/subscriptions","organizations_url":"https://api.github.com/users/presidential-innovation-fellows/orgs","repos_url":"https://api.github.com/users/presidential-innovation-fellows/repos","events_url":"https://api.github.com/users/presidential-innovation-fellows/events{/privacy}","received_events_url":"https://api.github.com/users/presidential-innovation-fellows/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2","description":"Apps.gov with Rails Flavor.","fork":false,"url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2","forks_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/forks","keys_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/teams","hooks_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/hooks","issue_events_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/events{/number}","events_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/events","assignees_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/assignees{/user}","branches_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/branches{/branch}","tags_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/tags","blobs_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/languages","stargazers_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/stargazers","contributors_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/contributors","subscribers_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/subscribers","subscription_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/subscription","commits_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/contents/{+path}","compare_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/merges","archive_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/downloads","issues_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues{/number}","pulls_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/labels{/name}","releases_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/releases{/id}","deployments_url":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/deployments","created_at":"2016-03-22T16:52:29Z","updated_at":"2016-03-22T18:39:57Z","pushed_at":"2016-05-06T19:49:33Z","git_url":"git://github.com/presidential-innovation-fellows/apps-gov-v2.git","ssh_url":"git@github.com:presidential-innovation-fellows/apps-gov-v2.git","clone_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2.git","svn_url":"https://github.com/presidential-innovation-fellows/apps-gov-v2","homepage":null,"size":6466,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44"},"html":{"href":"https://github.com/presidential-innovation-fellows/apps-gov-v2/pull/44"},"issue":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/44"},"comments":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/presidential-innovation-fellows/apps-gov-v2/statuses/df89698eb555dfcac6df886dc9ab73fbdf26c62e"}}}}