bin/rewritten-import.rb in rewritten-0.7.0 vs bin/rewritten-import.rb in rewritten-0.8.0
- old
+ new
@@ -44,9 +44,9 @@
File.open(options[:file]).each do |line|
next if line =~ /^#/
from,to = line.split(";")
puts "adding #{from} -> #{to}" if options[:verbose]
- Rewritten.add_translation(from,to)
+ Rewritten.add_translation(from,to.chomp)
end