gemspec: Update URL. Permit push.

This commit is contained in:
Thomas Hurst 2017-05-24 16:30:44 +01:00
parent 2c8fcd66a3
commit 4ed2935df2

View file

@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
spec.email = ["tom@hur.st"]
spec.summary = %q{Experimental interface to Capsicum sandboxing}
spec.homepage = "https://github.com/Freaky/capsicum"
spec.homepage = "https://github.com/Freaky/ruby-capsicum"
spec.license = "MIT"
# 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."