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

ruby-changes:65910

From: Olle <ko1@a...>
Date: Wed, 21 Apr 2021 20:47:01 +0900 (JST)
Subject: [ruby-changes:65910] c27e8f1caf (master): [ruby/forwardable] gemspec: Explicitly empty the executables list

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

From c27e8f1caf77050d4b89a2e9f7278d8db711ba1f Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
Date: Wed, 31 Mar 2021 16:04:08 +0200
Subject: [ruby/forwardable] gemspec: Explicitly empty the executables list

This gem exposes no executables.

https://github.com/ruby/forwardable/commit/374b685927
---
 lib/forwardable/forwardable.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/forwardable/forwardable.gemspec b/lib/forwardable/forwardable.gemspec
index 523b8ee..9ad59c5 100644
--- a/lib/forwardable/forwardable.gemspec
+++ b/lib/forwardable/forwardable.gemspec
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/forwardable/forwardable.gemspec#L21
   spec.required_ruby_version = '>= 2.4.0'
   spec.files         = ["forwardable.gemspec", "lib/forwardable.rb", "lib/forwardable/impl.rb"]
   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/

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