From e94b62bda09142285cc92dbda1a3af7d862dbba4 Mon Sep 17 00:00:00 2001 From: Sean Huber Date: Tue, 23 Aug 2016 16:34:40 -0500 Subject: [PATCH] gem is pushable to rubygems.org --- rsync_wrapper.gemspec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rsync_wrapper.gemspec b/rsync_wrapper.gemspec index 479aca0..5b83043 100644 --- a/rsync_wrapper.gemspec +++ b/rsync_wrapper.gemspec @@ -12,14 +12,6 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/seanhuber/rsync_wrapper' 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 { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }