tasks/gem/gem.rb in new-0.0.5 vs tasks/gem/gem.rb in new-0.0.6
- old
+ new
@@ -42,10 +42,9 @@
next if @gemspec[file_attr].nil?
files = []
@gemspec[file_attr].each do |glob|
matching_files = FileList.new(glob).select{ |f| File.file? f }
- matching_files.delete '.new'
matching_files.delete '.gemspec'
if matching_files.empty?
New.say "The pattern `#{glob}` in `tasks.gem.gemspec.#{file_attr}` did not match any files."
New.say 'Please check your configuration file.'