Allow pushing gem to rubygems
This commit is contained in:
parent
b5581fd0e6
commit
dafe537116
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ Gem::Specification.new do |spec|
|
||||||
|
|
||||||
spec.summary = %q{A library and tools for parsing boolean expressions}
|
spec.summary = %q{A library and tools for parsing boolean expressions}
|
||||||
spec.description = %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'
|
spec.license = 'MIT'
|
||||||
|
|
||||||
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
# 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.
|
# 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."
|
||||||
|
|
Loading…
Reference in a new issue