ruby-changes:65919
From: Olle <ko1@a...>
Date: Thu, 22 Apr 2021 11:51:53 +0900 (JST)
Subject: [ruby-changes:65919] 2440d60acb (master): [ruby/cgi] gemspec: Explicitly empty executables list
https://git.ruby-lang.org/ruby.git/commit/?id=2440d60acb From 2440d60acb8e8fbcad1f6943892556cf3a529d70 Mon Sep 17 00:00:00 2001 From: Olle Jonsson <olle.jonsson@g...> Date: Wed, 31 Mar 2021 16:14:25 +0200 Subject: [ruby/cgi] gemspec: Explicitly empty executables list The gem exposes no executables https://github.com/ruby/cgi/commit/cd7106ad97 --- lib/cgi/cgi.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cgi/cgi.gemspec b/lib/cgi/cgi.gemspec index 1a88393..5d23ef0 100644 --- a/lib/cgi/cgi.gemspec +++ b/lib/cgi/cgi.gemspec @@ -26,6 +26,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/cgi/cgi.gemspec#L26 `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/