From b8f6a848cce794df3fbf11421f95ea6d3c515c24 Mon Sep 17 00:00:00 2001 From: bumi Date: Wed, 21 Nov 2018 15:03:17 +0100 Subject: [PATCH] allow publishing to rubygems --- rack-lightning.gemspec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rack-lightning.gemspec b/rack-lightning.gemspec index 8ce5100..13e6d97 100644 --- a/rack-lightning.gemspec +++ b/rack-lightning.gemspec @@ -14,15 +14,6 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/bumi/rack-lightning" 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