GitHub PullRequestReviewCommentEvent at 2014-11-17 14:52:53
Repository: pmp-importer
Actor: chrisrhoden
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/PRX/pmp-importer/pulls/comments/20439187","id":20439187,"diff_hunk":"@@ -0,0 +1,6 @@\n+class PRXAccountWhitelist < ActiveRecord::Base\n+\n+  def self.allow?(account_id)\n+    !!exists?(prx_account_id: account_id)","path":"app/models/prx_account_whitelist.rb","position":4,"original_position":4,"commit_id":"eb79b4483b578fe88de79465d0cfb8e93d955388","original_commit_id":"eb79b4483b578fe88de79465d0cfb8e93d955388","user":{"login":"chrisrhoden","id":61664,"avatar_url":"https://avatars.githubusercontent.com/u/61664?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisrhoden","html_url":"https://github.com/chrisrhoden","followers_url":"https://api.github.com/users/chrisrhoden/followers","following_url":"https://api.github.com/users/chrisrhoden/following{/other_user}","gists_url":"https://api.github.com/users/chrisrhoden/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisrhoden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisrhoden/subscriptions","organizations_url":"https://api.github.com/users/chrisrhoden/orgs","repos_url":"https://api.github.com/users/chrisrhoden/repos","events_url":"https://api.github.com/users/chrisrhoden/events{/privacy}","received_events_url":"https://api.github.com/users/chrisrhoden/received_events","type":"User","site_admin":false},"body":"is the `!!` necessary? Nitpicky I know, just wondering.","created_at":"2014-11-17T14:52:53Z","updated_at":"2014-11-17T14:52:53Z","html_url":"https://github.com/PRX/pmp-importer/pull/5#discussion_r20439187","pull_request_url":"https://api.github.com/repos/PRX/pmp-importer/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/PRX/pmp-importer/pulls/comments/20439187"},"html":{"href":"https://github.com/PRX/pmp-importer/pull/5#discussion_r20439187"},"pull_request":{"href":"https://api.github.com/repos/PRX/pmp-importer/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/PRX/pmp-importer/pulls/5","id":24470916,"html_url":"https://github.com/PRX/pmp-importer/pull/5","diff_url":"https://github.com/PRX/pmp-importer/pull/5.diff","patch_url":"https://github.com/PRX/pmp-importer/pull/5.patch","issue_url":"https://api.github.com/repos/PRX/pmp-importer/issues/5","number":5,"state":"open","locked":false,"title":"New Feature: add account whitelist","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"body":"add a whitelist to the prx -> pmp import, only import pieces/series where account is in the whitelist.","created_at":"2014-11-14T21:16:17Z","updated_at":"2014-11-17T14:52:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf9dd768ccd799095db3062f7247df6b4c06362e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PRX/pmp-importer/pulls/5/commits","review_comments_url":"https://api.github.com/repos/PRX/pmp-importer/pulls/5/comments","review_comment_url":"https://api.github.com/repos/PRX/pmp-importer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PRX/pmp-importer/issues/5/comments","statuses_url":"https://api.github.com/repos/PRX/pmp-importer/statuses/eb79b4483b578fe88de79465d0cfb8e93d955388","head":{"label":"PRX:feat/add_account_whitelist","ref":"feat/add_account_whitelist","sha":"eb79b4483b578fe88de79465d0cfb8e93d955388","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":22925885,"name":"pmp-importer","full_name":"PRX/pmp-importer","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/pmp-importer","description":"Import stories from other systems into PMP","fork":false,"url":"https://api.github.com/repos/PRX/pmp-importer","forks_url":"https://api.github.com/repos/PRX/pmp-importer/forks","keys_url":"https://api.github.com/repos/PRX/pmp-importer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/pmp-importer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/pmp-importer/teams","hooks_url":"https://api.github.com/repos/PRX/pmp-importer/hooks","issue_events_url":"https://api.github.com/repos/PRX/pmp-importer/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/pmp-importer/events","assignees_url":"https://api.github.com/repos/PRX/pmp-importer/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/pmp-importer/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/pmp-importer/tags","blobs_url":"https://api.github.com/repos/PRX/pmp-importer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/pmp-importer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/pmp-importer/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/pmp-importer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/pmp-importer/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/pmp-importer/languages","stargazers_url":"https://api.github.com/repos/PRX/pmp-importer/stargazers","contributors_url":"https://api.github.com/repos/PRX/pmp-importer/contributors","subscribers_url":"https://api.github.com/repos/PRX/pmp-importer/subscribers","subscription_url":"https://api.github.com/repos/PRX/pmp-importer/subscription","commits_url":"https://api.github.com/repos/PRX/pmp-importer/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/pmp-importer/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/pmp-importer/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/pmp-importer/issues/comments/{number}","contents_url":"https://api.github.com/repos/PRX/pmp-importer/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/pmp-importer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/pmp-importer/merges","archive_url":"https://api.github.com/repos/PRX/pmp-importer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/pmp-importer/downloads","issues_url":"https://api.github.com/repos/PRX/pmp-importer/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/pmp-importer/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/pmp-importer/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/pmp-importer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/pmp-importer/labels{/name}","releases_url":"https://api.github.com/repos/PRX/pmp-importer/releases{/id}","created_at":"2014-08-13T18:10:15Z","updated_at":"2014-09-16T21:33:21Z","pushed_at":"2014-11-14T22:39:52Z","git_url":"git://github.com/PRX/pmp-importer.git","ssh_url":"git@github.com:PRX/pmp-importer.git","clone_url":"https://github.com/PRX/pmp-importer.git","svn_url":"https://github.com/PRX/pmp-importer","homepage":"","size":477,"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":"PRX:master","ref":"master","sha":"ff5a929a66822426f3846ede0907d056bb95ccb1","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":22925885,"name":"pmp-importer","full_name":"PRX/pmp-importer","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/pmp-importer","description":"Import stories from other systems into PMP","fork":false,"url":"https://api.github.com/repos/PRX/pmp-importer","forks_url":"https://api.github.com/repos/PRX/pmp-importer/forks","keys_url":"https://api.github.com/repos/PRX/pmp-importer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/pmp-importer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/pmp-importer/teams","hooks_url":"https://api.github.com/repos/PRX/pmp-importer/hooks","issue_events_url":"https://api.github.com/repos/PRX/pmp-importer/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/pmp-importer/events","assignees_url":"https://api.github.com/repos/PRX/pmp-importer/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/pmp-importer/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/pmp-importer/tags","blobs_url":"https://api.github.com/repos/PRX/pmp-importer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/pmp-importer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/pmp-importer/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/pmp-importer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/pmp-importer/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/pmp-importer/languages","stargazers_url":"https://api.github.com/repos/PRX/pmp-importer/stargazers","contributors_url":"https://api.github.com/repos/PRX/pmp-importer/contributors","subscribers_url":"https://api.github.com/repos/PRX/pmp-importer/subscribers","subscription_url":"https://api.github.com/repos/PRX/pmp-importer/subscription","commits_url":"https://api.github.com/repos/PRX/pmp-importer/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/pmp-importer/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/pmp-importer/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/pmp-importer/issues/comments/{number}","contents_url":"https://api.github.com/repos/PRX/pmp-importer/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/pmp-importer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/pmp-importer/merges","archive_url":"https://api.github.com/repos/PRX/pmp-importer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/pmp-importer/downloads","issues_url":"https://api.github.com/repos/PRX/pmp-importer/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/pmp-importer/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/pmp-importer/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/pmp-importer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/pmp-importer/labels{/name}","releases_url":"https://api.github.com/repos/PRX/pmp-importer/releases{/id}","created_at":"2014-08-13T18:10:15Z","updated_at":"2014-09-16T21:33:21Z","pushed_at":"2014-11-14T22:39:52Z","git_url":"git://github.com/PRX/pmp-importer.git","ssh_url":"git@github.com:PRX/pmp-importer.git","clone_url":"https://github.com/PRX/pmp-importer.git","svn_url":"https://github.com/PRX/pmp-importer","homepage":"","size":477,"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/PRX/pmp-importer/pulls/5"},"html":{"href":"https://github.com/PRX/pmp-importer/pull/5"},"issue":{"href":"https://api.github.com/repos/PRX/pmp-importer/issues/5"},"comments":{"href":"https://api.github.com/repos/PRX/pmp-importer/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/PRX/pmp-importer/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/PRX/pmp-importer/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PRX/pmp-importer/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/PRX/pmp-importer/statuses/eb79b4483b578fe88de79465d0cfb8e93d955388"}}}}