app/aides/inline_data_helper.rb in iqvoc-4.13.2 vs app/aides/inline_data_helper.rb in iqvoc-4.14.4

- old
+ new

@@ -27,16 +27,16 @@ def self.parse_inline_values(inline_values) options = CSV_OPTIONS.clone options[:col_sep] = options[:col_sep].strip begin - values = inline_values.parse_csv(options) + values = inline_values.parse_csv(**options) rescue CSV::MalformedCSVError => exc - values = inline_values.parse_csv(CSV_OPTIONS) + values = inline_values.parse_csv(**CSV_OPTIONS) end values ? values.compact.map(&:strip) : [] end def self.generate_inline_values(values) - values.to_csv(CSV_OPTIONS).strip + values.to_csv(**CSV_OPTIONS).strip end end