Skip to content

Commit

Permalink
gem is pushable to rubygems.org
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhuber committed Aug 23, 2016
1 parent 737ea27 commit e94b62b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rsync_wrapper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit e94b62b

Please sign in to comment.