lib/linsc/merger.rb in linsc-0.0.14 vs lib/linsc/merger.rb in linsc-0.0.15

- old
+ new

@@ -58,10 +58,10 @@ end if @mapping output_row = CSV::Row.new(@headers, []) correct_row.each do |key, value| if @mapping[key] - output_row[@mapping[key]] = value.encode('utf-8') if value + output_row[@mapping[key]] = value.encode('utf-8', invalid: :replace, undef: :replace, replace: '?') if value end end output_row['Email'] = output_row['Email'].downcase if output_row['Email'] else output_row = create_row(correct_row, @headers, 'utf-8')