lib/quandl/format/dataset/load.rb in quandl_format-0.2.4 vs lib/quandl/format/dataset/load.rb in quandl_format-0.2.5

- old
+ new

@@ -108,10 +108,14 @@ end protected def parse_yaml_attributes(node) - YAML.load( node[:attributes] ).symbolize_keys! + attrs = {} + YAML.load( node[:attributes] ).symbolize_keys!.each do |key, value| + attrs[key.to_s.downcase.to_sym] = value + end + attrs rescue Exception => err log_yaml_parse_error(node, err) nil end \ No newline at end of file