1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/cgi] gemspec: Explicitly empty executables list

The gem exposes no executables

https://github.com/ruby/cgi/commit/cd7106ad97
This commit is contained in:
Olle Jonsson 2021-03-31 16:14:25 +02:00 committed by Hiroshi SHIBATA
parent f818b1ed2b
commit 2440d60acb
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } `git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end end
spec.bindir = "exe" spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.executables = []
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
end end