From 5cccad4166ccd1ad6173eb6d388d6bde72831842 Mon Sep 17 00:00:00 2001 From: Dominik Richter Date: Fri, 11 Dec 2015 19:06:17 +0100 Subject: [PATCH] remove gem push restriction this is a public gem, so the default rubygems is fine. --- kitchen-inspec.gemspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kitchen-inspec.gemspec b/kitchen-inspec.gemspec index 2aa0151..841bdc0 100644 --- a/kitchen-inspec.gemspec +++ b/kitchen-inspec.gemspec @@ -15,14 +15,6 @@ Gem::Specification.new do |spec| spec.description = spec.summary spec.homepage = 'http://github.com/chef/kitchen-inspec' - # 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 - fail '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'