lib/pdd/sources.rb in pdd-0.7 vs lib/pdd/sources.rb in pdd-0.7.1

- old
+ new

@@ -48,10 +48,13 @@ PDD.log.info "#{files.size} file(s) found" types = [/^text\//, /application\/xml/] files .select { |f| types.index { |re| @magic.file(f) =~ re } } .map do |file| - Source.new(file, file[@dir.length + 1, file.length]) + VerboseSource.new( + file, + Source.new(file, file[@dir.length + 1, file.length]) + ) end end def exclude(ptn) Sources.new(@dir, @exclude.push(ptn))