Skip to content

Commit

Permalink
include spec/config files in gem build
Browse files Browse the repository at this point in the history
  • Loading branch information
djellemah committed Sep 24, 2018
1 parent ecb4538 commit 704e929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rodsec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Gem::Specification.new do |spec|
# 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'"
spec.metadata['allowed_push_host'] = "https://rubygems.org"
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 do |f|
f.match(%r{^(test|spec|features)/})
f.match(%r{^(test|spec(?!/config)|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
Expand Down

0 comments on commit 704e929

Please sign in to comment.