Allow pushing gem to rubygems

This commit is contained in:
Glenn Y. Rolland 2020-01-25 16:50:54 +01:00
parent b5581fd0e6
commit dafe537116

View file

@ -11,13 +11,13 @@ Gem::Specification.new do |spec|
spec.summary = %q{A library and tools for parsing boolean expressions}
spec.description = %q{A library and tools for parsing boolean expressions}
spec.homepage = 'https://datatransition.net'
spec.homepage = 'https://github.com/glenux/namarara/'
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."