[前][次][番号順一覧][スレッド一覧]

ruby-changes:67234

From: Olle <ko1@a...>
Date: Tue, 24 Aug 2021 18:02:57 +0900 (JST)
Subject: [ruby-changes:67234] 80597f2544 (master): [ruby/un] gemspec: Explicitly list 0 executables

https://git.ruby-lang.org/ruby.git/commit/?id=80597f2544

From 80597f25447cbf6788322fffb64ca5f6995f2c9a Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
Date: Tue, 6 Apr 2021 11:41:35 +0200
Subject: [ruby/un] gemspec: Explicitly list 0 executables

This gem exposes no executables, so this makes that clear to the reader.

https://github.com/ruby/un/commit/012c298e12
---
 lib/un.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/un.gemspec b/lib/un.gemspec
index a899be9..50032e1 100644
--- a/lib/un.gemspec
+++ b/lib/un.gemspec
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/un.gemspec#L19
     `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
   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/

[前][次][番号順一覧][スレッド一覧]