lib/rake/funnel/support/specs_remover.rb in rake-funnel-0.23.0 vs lib/rake/funnel/support/specs_remover.rb in rake-funnel-0.24.0

- old
+ new

@@ -128,10 +128,10 @@ end def remove(text, packages) Trace.message("Removing packages: #{packages.inspect}") packages.each do |package| - text = text.gsub(/^#{package}.*\n?/i, '') + text = text.gsub(/^\s*#{package}.*\n?/i, '') end text end end end