Rakefile: update deprecated CSV call
This commit is contained in:
parent
151cef0f64
commit
1e15be607d
@ -314,7 +314,7 @@ def bom2(schematic, attributes)
|
||||
list.gsub!(/(.+)$/, '\1"')
|
||||
list.gsub!(/(?!http):(?!\/\/)/, '\1":"\2') # protect the values between ':' (such as URLs)
|
||||
# parse bom2
|
||||
csv = CSV.parse(list, {:col_sep => ":", :quote_char => '"'})
|
||||
csv = CSV.parse(list, col_sep: ":", quote_char: '"')
|
||||
csv[1..-1].each do |row|
|
||||
line = {}
|
||||
row.each_index do |col|
|
||||
|
Loading…
Reference in New Issue
Block a user