Skip to content

Commit

Permalink
Add rubygems.org as allowed_push_host
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid1099 committed May 4, 2019
1 parent 2553002 commit 267a922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poke-api-v2.gemspec
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
spec.metadata['allowed_push_host'] = "https://rubygems.org/"
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
Expand Down

0 comments on commit 267a922

Please sign in to comment.