Update gemspec

This commit is contained in:
2019-03-30 14:07:34 -05:00
parent 8d623dab91
commit 74a3631111

View File

@@ -14,10 +14,8 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/cyberarm/cyberarm_engine" spec.homepage = "https://github.com/cyberarm/cyberarm_engine"
spec.license = "MIT" 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) 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 else
raise "RubyGems 2.0 or newer is required to protect against " \ raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes." "public gem pushes."