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

ruby-changes:62442

From: Marc-Andre <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:02 +0900 (JST)
Subject: [ruby-changes:62442] c3b480b776 (master): [rubygems/rubygems] Test files should not be included in spec.files

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

From c3b480b7764e7854b42c212e77a0ffe402dba6cb Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Thu, 25 Jun 2020 01:58:59 -0400
Subject: [rubygems/rubygems] Test files should not be included in spec.files

https://github.com/rubygems/rubygems/commit/0c0760b734

diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index 7277481..138e5cb 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -248,12 +248,11 @@ class Gem::Specification < Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L248
   #   require 'rake'
   #   spec.files = FileList['lib/**/*.rb',
   #                         'bin/*',
-  #                         '[A-Z]*',
-  #                         'test/**/*'].to_a
+  #                         '[A-Z]*'].to_a
   #
   #   # or without Rake...
   #   spec.files = Dir['lib/**/*.rb'] + Dir['bin/*']
-  #   spec.files += Dir['[A-Z]*'] + Dir['test/**/*']
+  #   spec.files += Dir['[A-Z]*']
   #   spec.files.reject! { |fn| fn.include? "CVS" }
 
   def files
-- 
cgit v0.10.2


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

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