ruby-changes:65809
From: Olle <ko1@a...>
Date: Thu, 8 Apr 2021 12:18:40 +0900 (JST)
Subject: [ruby-changes:65809] 2b66b22479 (master): [ruby/optparse] gemspec: Explicitly list 0 executables
https://git.ruby-lang.org/ruby.git/commit/?id=2b66b22479 From 2b66b224793915adb8ed27308e9db26fc273635b Mon Sep 17 00:00:00 2001 From: Olle Jonsson <olle.jonsson@g...> Date: Tue, 6 Apr 2021 10:01:37 +0200 Subject: [ruby/optparse] gemspec: Explicitly list 0 executables This gem exposes no executable files. https://github.com/ruby/optparse/commit/d14bf83007 --- lib/optparse/optparse.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/optparse/optparse.gemspec b/lib/optparse/optparse.gemspec index 831c787..b8ec8cf 100644 --- a/lib/optparse/optparse.gemspec +++ b/lib/optparse/optparse.gemspec @@ -28,6 +28,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/optparse/optparse.gemspec#L28 } end spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |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/