app/models/headers.rb in cms_scanner-0.10.1 vs app/models/headers.rb in cms_scanner-0.11.0
- old
+ new
@@ -17,10 +17,10 @@
results = []
entries.each do |header, value|
next if known_headers.include?(header.downcase)
- results << "#{header}: #{[*value].join(', ')}"
+ results << "#{header}: #{Array(value).join(', ')}"
end
results
end
# @return [ Array<String> ] Downcased known headers