From 4b3eefe3130ade5740e4c5fe58ba0f945ce1cf7b Mon Sep 17 00:00:00 2001 From: Luc Zwanenberg Date: Fri, 24 May 2019 14:07:03 +0200 Subject: [PATCH] Allow pushing gem to RubyGems --- omnikassa2.gemspec | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/omnikassa2.gemspec b/omnikassa2.gemspec index f777ed0..eeeb08e 100644 --- a/omnikassa2.gemspec +++ b/omnikassa2.gemspec @@ -13,16 +13,6 @@ Gem::Specification.new do |spec| spec.description = "Omnikassa2 is a gem for Rabobank's Omnikassa 2.0" spec.homepage = "https://github.com/kabisa/omnikassa2" - - # 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"] = "http://www.runrails.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