{"action":"opened","number":1330,"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems/pulls/1330","id":43057096,"html_url":"https://github.com/rubygems/rubygems/pull/1330","diff_url":"https://github.com/rubygems/rubygems/pull/1330.diff","patch_url":"https://github.com/rubygems/rubygems/pull/1330.patch","issue_url":"https://api.github.com/repos/rubygems/rubygems/issues/1330","number":1330,"state":"open","locked":false,"title":"match host and scheme on allowed_push_host","user":{"login":"lanej","id":79638,"avatar_url":"https://avatars.githubusercontent.com/u/79638?v=3","gravatar_id":"","url":"https://api.github.com/users/lanej","html_url":"https://github.com/lanej","followers_url":"https://api.github.com/users/lanej/followers","following_url":"https://api.github.com/users/lanej/following{/other_user}","gists_url":"https://api.github.com/users/lanej/gists{/gist_id}","starred_url":"https://api.github.com/users/lanej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanej/subscriptions","organizations_url":"https://api.github.com/users/lanej/orgs","repos_url":"https://api.github.com/users/lanej/repos","events_url":"https://api.github.com/users/lanej/events{/privacy}","received_events_url":"https://api.github.com/users/lanej/received_events","type":"User","site_admin":false},"body":"allows for host restrictions in the gemspec without leaking credentials\nin the repository\n\nspecific usecase is geminabox private gem server that uses basic\nauthentication instead of tokens","created_at":"2015-08-21T16:41:03Z","updated_at":"2015-08-21T16:41:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubygems/rubygems/pulls/1330/commits","review_comments_url":"https://api.github.com/repos/rubygems/rubygems/pulls/1330/comments","review_comment_url":"https://api.github.com/repos/rubygems/rubygems/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubygems/rubygems/issues/1330/comments","statuses_url":"https://api.github.com/repos/rubygems/rubygems/statuses/448bd87f0c5073765c7f0c2c0c8397badbeea460","head":{"label":"engineyard:geminabox-push-host","ref":"geminabox-push-host","sha":"448bd87f0c5073765c7f0c2c0c8397badbeea460","user":{"login":"engineyard","id":81,"avatar_url":"https://avatars.githubusercontent.com/u/81?v=3","gravatar_id":"","url":"https://api.github.com/users/engineyard","html_url":"https://github.com/engineyard","followers_url":"https://api.github.com/users/engineyard/followers","following_url":"https://api.github.com/users/engineyard/following{/other_user}","gists_url":"https://api.github.com/users/engineyard/gists{/gist_id}","starred_url":"https://api.github.com/users/engineyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engineyard/subscriptions","organizations_url":"https://api.github.com/users/engineyard/orgs","repos_url":"https://api.github.com/users/engineyard/repos","events_url":"https://api.github.com/users/engineyard/events{/privacy}","received_events_url":"https://api.github.com/users/engineyard/received_events","type":"Organization","site_admin":false},"repo":{"id":2804584,"name":"rubygems","full_name":"engineyard/rubygems","owner":{"login":"engineyard","id":81,"avatar_url":"https://avatars.githubusercontent.com/u/81?v=3","gravatar_id":"","url":"https://api.github.com/users/engineyard","html_url":"https://github.com/engineyard","followers_url":"https://api.github.com/users/engineyard/followers","following_url":"https://api.github.com/users/engineyard/following{/other_user}","gists_url":"https://api.github.com/users/engineyard/gists{/gist_id}","starred_url":"https://api.github.com/users/engineyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engineyard/subscriptions","organizations_url":"https://api.github.com/users/engineyard/orgs","repos_url":"https://api.github.com/users/engineyard/repos","events_url":"https://api.github.com/users/engineyard/events{/privacy}","received_events_url":"https://api.github.com/users/engineyard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/engineyard/rubygems","description":"Library packaging and distribution for Ruby.","fork":true,"url":"https://api.github.com/repos/engineyard/rubygems","forks_url":"https://api.github.com/repos/engineyard/rubygems/forks","keys_url":"https://api.github.com/repos/engineyard/rubygems/keys{/key_id}","collaborators_url":"https://api.github.com/repos/engineyard/rubygems/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/engineyard/rubygems/teams","hooks_url":"https://api.github.com/repos/engineyard/rubygems/hooks","issue_events_url":"https://api.github.com/repos/engineyard/rubygems/issues/events{/number}","events_url":"https://api.github.com/repos/engineyard/rubygems/events","assignees_url":"https://api.github.com/repos/engineyard/rubygems/assignees{/user}","branches_url":"https://api.github.com/repos/engineyard/rubygems/branches{/branch}","tags_url":"https://api.github.com/repos/engineyard/rubygems/tags","blobs_url":"https://api.github.com/repos/engineyard/rubygems/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/engineyard/rubygems/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/engineyard/rubygems/git/refs{/sha}","trees_url":"https://api.github.com/repos/engineyard/rubygems/git/trees{/sha}","statuses_url":"https://api.github.com/repos/engineyard/rubygems/statuses/{sha}","languages_url":"https://api.github.com/repos/engineyard/rubygems/languages","stargazers_url":"https://api.github.com/repos/engineyard/rubygems/stargazers","contributors_url":"https://api.github.com/repos/engineyard/rubygems/contributors","subscribers_url":"https://api.github.com/repos/engineyard/rubygems/subscribers","subscription_url":"https://api.github.com/repos/engineyard/rubygems/subscription","commits_url":"https://api.github.com/repos/engineyard/rubygems/commits{/sha}","git_commits_url":"https://api.github.com/repos/engineyard/rubygems/git/commits{/sha}","comments_url":"https://api.github.com/repos/engineyard/rubygems/comments{/number}","issue_comment_url":"https://api.github.com/repos/engineyard/rubygems/issues/comments{/number}","contents_url":"https://api.github.com/repos/engineyard/rubygems/contents/{+path}","compare_url":"https://api.github.com/repos/engineyard/rubygems/compare/{base}...{head}","merges_url":"https://api.github.com/repos/engineyard/rubygems/merges","archive_url":"https://api.github.com/repos/engineyard/rubygems/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/engineyard/rubygems/downloads","issues_url":"https://api.github.com/repos/engineyard/rubygems/issues{/number}","pulls_url":"https://api.github.com/repos/engineyard/rubygems/pulls{/number}","milestones_url":"https://api.github.com/repos/engineyard/rubygems/milestones{/number}","notifications_url":"https://api.github.com/repos/engineyard/rubygems/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/engineyard/rubygems/labels{/name}","releases_url":"https://api.github.com/repos/engineyard/rubygems/releases{/id}","created_at":"2011-11-18T18:31:03Z","updated_at":"2013-09-10T00:34:40Z","pushed_at":"2015-08-21T16:40:18Z","git_url":"git://github.com/engineyard/rubygems.git","ssh_url":"git@github.com:engineyard/rubygems.git","clone_url":"https://github.com/engineyard/rubygems.git","svn_url":"https://github.com/engineyard/rubygems","homepage":"http://rubygems.org","size":11009,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rubygems:master","ref":"master","sha":"32d87a8aa5b632446e94844866cdd654a4710127","user":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"repo":{"id":614070,"name":"rubygems","full_name":"rubygems/rubygems","owner":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubygems/rubygems","description":"Library packaging and distribution for Ruby.","fork":false,"url":"https://api.github.com/repos/rubygems/rubygems","forks_url":"https://api.github.com/repos/rubygems/rubygems/forks","keys_url":"https://api.github.com/repos/rubygems/rubygems/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubygems/rubygems/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubygems/rubygems/teams","hooks_url":"https://api.github.com/repos/rubygems/rubygems/hooks","issue_events_url":"https://api.github.com/repos/rubygems/rubygems/issues/events{/number}","events_url":"https://api.github.com/repos/rubygems/rubygems/events","assignees_url":"https://api.github.com/repos/rubygems/rubygems/assignees{/user}","branches_url":"https://api.github.com/repos/rubygems/rubygems/branches{/branch}","tags_url":"https://api.github.com/repos/rubygems/rubygems/tags","blobs_url":"https://api.github.com/repos/rubygems/rubygems/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubygems/rubygems/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubygems/rubygems/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubygems/rubygems/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubygems/rubygems/statuses/{sha}","languages_url":"https://api.github.com/repos/rubygems/rubygems/languages","stargazers_url":"https://api.github.com/repos/rubygems/rubygems/stargazers","contributors_url":"https://api.github.com/repos/rubygems/rubygems/contributors","subscribers_url":"https://api.github.com/repos/rubygems/rubygems/subscribers","subscription_url":"https://api.github.com/repos/rubygems/rubygems/subscription","commits_url":"https://api.github.com/repos/rubygems/rubygems/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubygems/rubygems/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubygems/rubygems/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubygems/rubygems/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubygems/rubygems/contents/{+path}","compare_url":"https://api.github.com/repos/rubygems/rubygems/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubygems/rubygems/merges","archive_url":"https://api.github.com/repos/rubygems/rubygems/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubygems/rubygems/downloads","issues_url":"https://api.github.com/repos/rubygems/rubygems/issues{/number}","pulls_url":"https://api.github.com/repos/rubygems/rubygems/pulls{/number}","milestones_url":"https://api.github.com/repos/rubygems/rubygems/milestones{/number}","notifications_url":"https://api.github.com/repos/rubygems/rubygems/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubygems/rubygems/labels{/name}","releases_url":"https://api.github.com/repos/rubygems/rubygems/releases{/id}","created_at":"2010-04-16T19:02:44Z","updated_at":"2015-08-21T14:51:06Z","pushed_at":"2015-08-19T00:39:52Z","git_url":"git://github.com/rubygems/rubygems.git","ssh_url":"git@github.com:rubygems/rubygems.git","clone_url":"https://github.com/rubygems/rubygems.git","svn_url":"https://github.com/rubygems/rubygems","homepage":"http://rubygems.org","size":28930,"stargazers_count":1298,"watchers_count":1298,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":672,"mirror_url":null,"open_issues_count":204,"forks":672,"open_issues":204,"watchers":1298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems/pulls/1330"},"html":{"href":"https://github.com/rubygems/rubygems/pull/1330"},"issue":{"href":"https://api.github.com/repos/rubygems/rubygems/issues/1330"},"comments":{"href":"https://api.github.com/repos/rubygems/rubygems/issues/1330/comments"},"review_comments":{"href":"https://api.github.com/repos/rubygems/rubygems/pulls/1330/comments"},"review_comment":{"href":"https://api.github.com/repos/rubygems/rubygems/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubygems/rubygems/pulls/1330/commits"},"statuses":{"href":"https://api.github.com/repos/rubygems/rubygems/statuses/448bd87f0c5073765c7f0c2c0c8397badbeea460"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":3,"changed_files":2}}