ruby-changes:65978
From: Olle <ko1@a...>
Date: Tue, 27 Apr 2021 21:08:00 +0900 (JST)
Subject: [ruby-changes:65978] ad3f4c07d9 (master): [ruby/pathname] gemspec: Explicitly list 0 executables
https://git.ruby-lang.org/ruby.git/commit/?id=ad3f4c07d9 From ad3f4c07d9eb0931d164276471636d04748726f0 Mon Sep 17 00:00:00 2001 From: Olle Jonsson <olle.jonsson@g...> Date: Thu, 22 Apr 2021 12:09:52 +0200 Subject: [ruby/pathname] gemspec: Explicitly list 0 executables This gem exposes no executables. https://github.com/ruby/pathname/commit/c401d97d58 --- ext/pathname/pathname.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pathname/pathname.gemspec b/ext/pathname/pathname.gemspec index 8593f9e..317029a 100644 --- a/ext/pathname/pathname.gemspec +++ b/ext/pathname/pathname.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.gemspec#L19 `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.extensions = %w[ext/pathname/extconf.rb] end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/