[ruby/shellwords] shellwords.gemspec: Avoid configuring exe/ directory

This gem does not ship any executables.

7da06b91ff
This commit is contained in:
Olle Jonsson 2025-07-28 14:19:22 +02:00 committed by git
parent d488935910
commit d0bb17e079

View file

@ -25,7 +25,5 @@ Gem::Specification.new do |spec|
spec.files = Dir.chdir(srcdir) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:(?:test|spec|features)/|\.git|Rake)}) || f == gemspec_file}
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end