lib/helpers.rb in yaml-validator-0.1.2 vs lib/helpers.rb in yaml-validator-0.1.3

- old
+ new

@@ -8,10 +8,10 @@ return ":#{yaml.to_s}" if yaml.is_a? Symbol yaml = array_to_hash(yaml) if yaml.is_a? Array normalized = {} yaml.each do |key, value| - normalized[key] = normalize_yaml(value) + normalized[key.to_s] = normalize_yaml(value) end normalized end def self.array_to_hash(array)