1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Test files should not be included in spec.files

https://github.com/rubygems/rubygems/commit/0c0760b734
This commit is contained in:
Marc-Andre Lafortune 2020-06-25 01:58:59 -04:00 committed by Hiroshi SHIBATA
parent a89665b7b1
commit c3b480b776
Notes: git 2020-07-31 21:08:29 +09:00

View file

@ -248,12 +248,11 @@ class Gem::Specification < Gem::BasicSpecification
# 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