From 1e15be607d951a26d3167e62eb544b642e3dceca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sun, 12 Jan 2020 17:10:36 +0100 Subject: [PATCH] Rakefile: update deprecated CSV call --- hardware/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/Rakefile b/hardware/Rakefile index 6875a40..2ee6c74 100644 --- a/hardware/Rakefile +++ b/hardware/Rakefile @@ -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|