Skip to content

Commit

Permalink
Merge pull request #3758 from marcandre/spec
Browse files Browse the repository at this point in the history
Test files should not be included in spec.files
  • Loading branch information
hsbt committed Jun 26, 2020
2 parents 5792905 + 0c0760b commit 089e64f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rubygems/specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,11 @@ def removed_method_calls
# 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
Expand Down

0 comments on commit 089e64f

Please sign in to comment.