ruby-changes:65909
From: Olle <ko1@a...>
Date: Wed, 21 Apr 2021 20:46:57 +0900 (JST)
Subject: [ruby-changes:65909] 2229fc8b57 (master): [ruby/resolv] gemspec: Explicitly list 0 executables
https://git.ruby-lang.org/ruby.git/commit/?id=2229fc8b57 From 2229fc8b57f8af931bb1c5301423b5d2208ca0df Mon Sep 17 00:00:00 2001 From: Olle Jonsson <olle.jonsson@g...> Date: Tue, 6 Apr 2021 11:48:30 +0200 Subject: [ruby/resolv] gemspec: Explicitly list 0 executables This gem exposes no executables, and this makes that clearer. https://github.com/ruby/resolv/commit/8797a9d3ce --- lib/resolv.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resolv.gemspec b/lib/resolv.gemspec index ccfe4c9..22bdd93 100644 --- a/lib/resolv.gemspec +++ b/lib/resolv.gemspec @@ -17,6 +17,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/resolv.gemspec#L17 `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"] end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/