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

ruby-changes:65898

From: Olle <ko1@a...>
Date: Tue, 20 Apr 2021 21:35:47 +0900 (JST)
Subject: [ruby-changes:65898] 749aad280f (master): [ruby/gdbm] gemspec: Set executables to the empty list

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

From 749aad280f67973e8b4793b72285cc94861a12f9 Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
Date: Wed, 31 Mar 2021 15:53:46 +0200
Subject: [ruby/gdbm] gemspec: Set executables to the empty list

This gem exposes zero executables.

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

diff --git a/ext/gdbm/gdbm.gemspec b/ext/gdbm/gdbm.gemspec
index 3ecb312..6fd42c0 100644
--- a/ext/gdbm/gdbm.gemspec
+++ b/ext/gdbm/gdbm.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/gdbm/gdbm.gemspec#L14
 
   spec.files         = ["ext/gdbm/extconf.rb", "ext/gdbm/gdbm.c"]
   spec.bindir        = "exe"
-  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+  spec.executables   = []
   spec.require_paths = ["lib"]
   spec.extensions    = ["ext/gdbm/extconf.rb"]
   spec.required_ruby_version = ">= 2.3.0"
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

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