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

ruby-changes:70744

From: Hiroshi <ko1@a...>
Date: Wed, 5 Jan 2022 19:17:10 +0900 (JST)
Subject: [ruby-changes:70744] 8bba6d3d54 (master): [rubygems/rubygems] Exclude bin directory for newgem template, Because it contains only development script

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

From 8bba6d3d54fb10aa0fe12c3001b520fffc695663 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 5 Jan 2022 18:02:02 +0900
Subject: [rubygems/rubygems] Exclude bin directory for newgem template,
 Because it contains only development script

https://github.com/rubygems/rubygems/commit/01017ee8ca
---
 lib/bundler/templates/newgem/newgem.gemspec.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt
index e07ec5867d7..546a28b78ae 100644
--- a/lib/bundler/templates/newgem/newgem.gemspec.tt
+++ b/lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/bundler/templates/newgem/newgem.gemspec.tt#L26
   # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
   spec.files = Dir.chdir(File.expand_path(__dir__)) do
     `git ls-files -z`.split("\x0").reject do |f|
-      (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
+      (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
     end
   end
   spec.bindir = "exe"
-- 
cgit v1.2.1


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

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