diff options
author | Marc-Andre Lafortune <github@marc-andre.ca> | 2020-06-25 01:58:59 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | c3b480b7764e7854b42c212e77a0ffe402dba6cb (patch) | |
tree | 96201688fd2a648b38b702e5e09929a6053ff5cd | |
parent | a89665b7b1abb5bb6005fd638dc920848cc50f72 (diff) | |
download | ruby-c3b480b7764e7854b42c212e77a0ffe402dba6cb.tar.gz |
[rubygems/rubygems] Test files should not be included in spec.files
https://github.com/rubygems/rubygems/commit/0c0760b734
-rw-r--r-- | lib/rubygems/specification.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 72774810fc..138e5cbae0 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -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 |