lib/hasherize_csv.rb in hasherize_csv-0.0.5 vs lib/hasherize_csv.rb in hasherize_csv-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
require "hasherize_csv/version"
module HasherizeCsv
module DefaultOpts
- DEFAULT = { :separator => "\n", :value_pattern => /([^,]+),?/ }
+ DEFAULT = { :separator => "\n", :value_pattern => /([^,]*),?/ }
SALESFORCE = { :separator => "\r", :value_pattern => /\"(.*?)\"/m }
end
class Csv
attr_accessor :keys, :file, :separator