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

ruby-changes:65907

From: Olle <ko1@a...>
Date: Wed, 21 Apr 2021 20:46:56 +0900 (JST)
Subject: [ruby-changes:65907] 4ac72d37d7 (master): [ruby/io-wait] gemspec: Explicitly list 0 executables

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

From 4ac72d37d79354a2bf036b2f6dd9c3ae1b523376 Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
Date: Tue, 6 Apr 2021 12:42:40 +0200
Subject: [ruby/io-wait] gemspec: Explicitly list 0 executables

This gem exposes no executables, and this clarifies this.

https://github.com/ruby/io-wait/commit/f491c6cc64
---
 ext/io/wait/io-wait.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/io/wait/io-wait.gemspec b/ext/io/wait/io-wait.gemspec
index d820697..103b75e 100644
--- a/ext/io/wait/io-wait.gemspec
+++ b/ext/io/wait/io-wait.gemspec
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/io/wait/io-wait.gemspec#L22
   end
   spec.extensions    = %w[ext/io/wait/extconf.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/

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