lib/dato/dump/format/yaml.rb in dato-0.1.8 vs lib/dato/dump/format/yaml.rb in dato-0.1.9

- old
+ new

@@ -5,10 +5,10 @@ module Dato module Dump module Format module Yaml def self.dump(value) - YAML.dump(value).chomp.gsub(/^\-+\n/, '') + YAML.dump(value.deep_stringify_keys).chomp.gsub(/^\-+\n/, '') end def self.frontmatter_dump(value) "---\n#{dump(value)}\n---" end