lib/map_fields.rb in map_fields-1.0.3 vs lib/map_fields.rb in map_fields-1.0.4

- old
+ new

@@ -109,10 +109,10 @@ def initialize(file, fields, mapping, ignore_first_row) @file = file @fields = fields @mapping = {} - @ignore_first_row = ignore_first_row + @ignore_first_row = ignore_first_row == '1' mapping.each do |k,v| unless v.to_i == 0 #Numeric mapping @mapping[v.to_i - 1] = k.to_i - 1