{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42","id":28947547,"html_url":"https://github.com/heroku/heroku-bouncer/pull/42","diff_url":"https://github.com/heroku/heroku-bouncer/pull/42.diff","patch_url":"https://github.com/heroku/heroku-bouncer/pull/42.patch","issue_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/42","number":42,"state":"open","locked":false,"title":"Added allow_if_user to replace allow_if.","user":{"login":"jacobian","id":21148,"avatar_url":"https://avatars.githubusercontent.com/u/21148?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobian","html_url":"https://github.com/jacobian","followers_url":"https://api.github.com/users/jacobian/followers","following_url":"https://api.github.com/users/jacobian/following{/other_user}","gists_url":"https://api.github.com/users/jacobian/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobian/subscriptions","organizations_url":"https://api.github.com/users/jacobian/orgs","repos_url":"https://api.github.com/users/jacobian/repos","events_url":"https://api.github.com/users/jacobian/events{/privacy}","received_events_url":"https://api.github.com/users/jacobian/received_events","type":"User","site_admin":false},"body":"This allows passing the entire user resource, which means you can switch on\ninteresting things like `user['two_factor_enabled']`.","created_at":"2015-02-09T19:10:57Z","updated_at":"2015-02-09T19:10:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"502698944121d6ff3efcf0ff41d1104702805961","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42/commits","review_comments_url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42/comments","review_comment_url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/42/comments","statuses_url":"https://api.github.com/repos/heroku/heroku-bouncer/statuses/6e30249c0a3804c4b36ea77d42d8fe19b0b659e3","head":{"label":"heroku:allow_if_user","ref":"allow_if_user","sha":"6e30249c0a3804c4b36ea77d42d8fe19b0b659e3","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":8530536,"name":"heroku-bouncer","full_name":"heroku/heroku-bouncer","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/heroku-bouncer","description":"A Heroku OAuth middleware with no other work to do","fork":false,"url":"https://api.github.com/repos/heroku/heroku-bouncer","forks_url":"https://api.github.com/repos/heroku/heroku-bouncer/forks","keys_url":"https://api.github.com/repos/heroku/heroku-bouncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/heroku-bouncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/heroku-bouncer/teams","hooks_url":"https://api.github.com/repos/heroku/heroku-bouncer/hooks","issue_events_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/heroku-bouncer/events","assignees_url":"https://api.github.com/repos/heroku/heroku-bouncer/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/heroku-bouncer/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/heroku-bouncer/tags","blobs_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/heroku-bouncer/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/heroku-bouncer/languages","stargazers_url":"https://api.github.com/repos/heroku/heroku-bouncer/stargazers","contributors_url":"https://api.github.com/repos/heroku/heroku-bouncer/contributors","subscribers_url":"https://api.github.com/repos/heroku/heroku-bouncer/subscribers","subscription_url":"https://api.github.com/repos/heroku/heroku-bouncer/subscription","commits_url":"https://api.github.com/repos/heroku/heroku-bouncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/heroku-bouncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/comments/{number}","contents_url":"https://api.github.com/repos/heroku/heroku-bouncer/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/heroku-bouncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/heroku-bouncer/merges","archive_url":"https://api.github.com/repos/heroku/heroku-bouncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/heroku-bouncer/downloads","issues_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/heroku-bouncer/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/heroku-bouncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/heroku-bouncer/labels{/name}","releases_url":"https://api.github.com/repos/heroku/heroku-bouncer/releases{/id}","created_at":"2013-03-03T02:17:51Z","updated_at":"2015-02-03T18:48:55Z","pushed_at":"2015-02-09T19:10:50Z","git_url":"git://github.com/heroku/heroku-bouncer.git","ssh_url":"git@github.com:heroku/heroku-bouncer.git","clone_url":"https://github.com/heroku/heroku-bouncer.git","svn_url":"https://github.com/heroku/heroku-bouncer","homepage":"","size":927,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":36,"default_branch":"master"}},"base":{"label":"heroku:master","ref":"master","sha":"60ff3f1d38878e5ab0a31437e6fe059cfd433c08","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":8530536,"name":"heroku-bouncer","full_name":"heroku/heroku-bouncer","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/heroku-bouncer","description":"A Heroku OAuth middleware with no other work to do","fork":false,"url":"https://api.github.com/repos/heroku/heroku-bouncer","forks_url":"https://api.github.com/repos/heroku/heroku-bouncer/forks","keys_url":"https://api.github.com/repos/heroku/heroku-bouncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/heroku-bouncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/heroku-bouncer/teams","hooks_url":"https://api.github.com/repos/heroku/heroku-bouncer/hooks","issue_events_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/heroku-bouncer/events","assignees_url":"https://api.github.com/repos/heroku/heroku-bouncer/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/heroku-bouncer/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/heroku-bouncer/tags","blobs_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/heroku-bouncer/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/heroku-bouncer/languages","stargazers_url":"https://api.github.com/repos/heroku/heroku-bouncer/stargazers","contributors_url":"https://api.github.com/repos/heroku/heroku-bouncer/contributors","subscribers_url":"https://api.github.com/repos/heroku/heroku-bouncer/subscribers","subscription_url":"https://api.github.com/repos/heroku/heroku-bouncer/subscription","commits_url":"https://api.github.com/repos/heroku/heroku-bouncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/heroku-bouncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/heroku-bouncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues/comments/{number}","contents_url":"https://api.github.com/repos/heroku/heroku-bouncer/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/heroku-bouncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/heroku-bouncer/merges","archive_url":"https://api.github.com/repos/heroku/heroku-bouncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/heroku-bouncer/downloads","issues_url":"https://api.github.com/repos/heroku/heroku-bouncer/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/heroku-bouncer/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/heroku-bouncer/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/heroku-bouncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/heroku-bouncer/labels{/name}","releases_url":"https://api.github.com/repos/heroku/heroku-bouncer/releases{/id}","created_at":"2013-03-03T02:17:51Z","updated_at":"2015-02-03T18:48:55Z","pushed_at":"2015-02-09T19:10:50Z","git_url":"git://github.com/heroku/heroku-bouncer.git","ssh_url":"git@github.com:heroku/heroku-bouncer.git","clone_url":"https://github.com/heroku/heroku-bouncer.git","svn_url":"https://github.com/heroku/heroku-bouncer","homepage":"","size":927,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42"},"html":{"href":"https://github.com/heroku/heroku-bouncer/pull/42"},"issue":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/issues/42"},"comments":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/heroku/heroku-bouncer/statuses/6e30249c0a3804c4b36ea77d42d8fe19b0b659e3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":47,"deletions":5,"changed_files":2}}