From 198d239b037e25d3e7312124027282333f77d60d Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Sat, 10 Oct 2015 14:56:20 -0400 Subject: [PATCH] Allow pushing to Ruby Gems --- shoryuken-waiter.gemspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/shoryuken-waiter.gemspec b/shoryuken-waiter.gemspec index ddc25b6..21ba108 100644 --- a/shoryuken-waiter.gemspec +++ b/shoryuken-waiter.gemspec @@ -14,14 +14,6 @@ Gem::Specification.new do |spec| spec.homepage = "http://github.com/farski/shoryuken-waiter" spec.license = "MIT" - # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or - # delete this section to allow pushing this gem 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 { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }