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

[ruby/open-uri] gemspec: This gem exposes 0 executables

This just makes that fact more explicit.

https://github.com/ruby/open-uri/commit/ffbfba5d69
This commit is contained in:
Olle Jonsson 2021-07-30 08:49:01 +02:00 committed by Hiroshi SHIBATA
parent c41751f10e
commit d150b8d06f
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -16,8 +16,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.executables = []
spec.require_paths = ["lib"]
spec.add_dependency "uri"