[ruby/uri] Remove rakelib/ dir from gem also

https://github.com/ruby/uri/commit/a0dd612e90
This commit is contained in:
Orien Madgwick 2024-11-13 15:20:46 +11:00 committed by git
parent 7d5fdd97cc
commit 942ec7ab33

View File

@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
gemspec = File.basename(__FILE__)
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z 2>#{IO::NULL}`.split("\x0").reject do |file|
(file == gemspec) || file.start_with?(*%w[bin/ test/ .github/ .gitignore Gemfile Rakefile])
(file == gemspec) || file.start_with?(*%w[bin/ test/ rakelib/ .github/ .gitignore Gemfile Rakefile])
end
end
spec.bindir = "exe"