lib/maprename/app.rb in maprename-0.1.2 vs lib/maprename/app.rb in maprename-0.1.3

- old
+ new

@@ -9,10 +9,10 @@ end def run!(opts) input_files.each do |file| file = File.join(@config[:input][:directory], file) - Maprename::Renamer.new(file, @config).rename!(opts) + Maprename::Renamer.new(file, @config).rename!(opts[:dry]) end end def input_files files = Dir.children(@config[:input][:directory]).grep(Regexp.new(@config[:input][:pattern]))