lib/tls_map/app/iana.rb in tls-map-2.1.0 vs lib/tls_map/app/iana.rb in tls-map-2.2.0
- old
+ new
@@ -25,10 +25,10 @@
desc
end
def parse_iana
- CSV.foreach(@iana_file.path, **{ headers: true, header_converters: :symbol }) do |alg|
+ CSV.foreach(@iana_file.path, headers: true, header_converters: :symbol) do |alg|
codepoint = codepoint_iana(alg[:value])
description = desc_iana(alg[:description])
@tls_map << { codepoint: codepoint, iana: description } unless codepoint.nil? || description.nil?
end
end