Skip to content

Commit

Permalink
Merge pull request #24 from chef/gemspec
Browse files Browse the repository at this point in the history
remove gem push restriction
  • Loading branch information
chris-rock committed Dec 15, 2015
2 parents 4686f69 + 5cccad4 commit b6bb837
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kitchen-inspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b6bb837

Please sign in to comment.