ruby-changes:65921
From: Olle <ko1@a...>
Date: Thu, 22 Apr 2021 11:51:57 +0900 (JST)
Subject: [ruby-changes:65921] b18aab24b6 (master): [ruby/benchmark] gemspec: Explicitly have 0 executables
https://git.ruby-lang.org/ruby.git/commit/?id=b18aab24b6 From b18aab24b69e94b2e39017434f40cdfade18155e Mon Sep 17 00:00:00 2001 From: Olle Jonsson <olle.jonsson@g...> Date: Thu, 1 Apr 2021 16:02:48 +0200 Subject: [ruby/benchmark] gemspec: Explicitly have 0 executables This gem exposes no executables. https://github.com/ruby/benchmark/commit/ff1ef7ae06 --- lib/benchmark/benchmark.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/benchmark/benchmark.gemspec b/lib/benchmark/benchmark.gemspec index 031ccbe..58b47d9 100644 --- a/lib/benchmark/benchmark.gemspec +++ b/lib/benchmark/benchmark.gemspec @@ -24,6 +24,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/benchmark/benchmark.gemspec#L24 `git ls-files -z 2>/dev/null`.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/