mirror of
https://github.com/bumi/openalias-ruby
synced 2025-06-15 14:38:13 +00:00
Allow gem publishing
This commit is contained in:
parent
8d47f743a9
commit
84a0dc2fcc
@ -13,15 +13,6 @@ Gem::Specification.new do |spec|
|
||||
spec.homepage = "https://github.com/bumi/openalias-ruby"
|
||||
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'"
|
||||
else
|
||||
raise "RubyGems 2.0 or newer is required to protect against " \
|
||||
"public gem pushes."
|
||||
end
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
||||
f.match(%r{^(test|spec|features)/})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user