From 71a914b9a9305bd831e0267fa37ca05ed7c600e2 Mon Sep 17 00:00:00 2001 From: Ari Summer Date: Mon, 11 Apr 2016 20:28:35 -0700 Subject: [PATCH] Remove unnecessary allowed_push_host option from .gemspec --- retscli.gemspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/retscli.gemspec b/retscli.gemspec index 7861a81..2c60db8 100644 --- a/retscli.gemspec +++ b/retscli.gemspec @@ -14,14 +14,6 @@ Gem::Specification.new do |spec| spec.homepage = "http://github.com/summera/retscli" 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) }