dynarex 1.1.36 → 1.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarex.rb +1 -1
  2. metadata +1 -1
@@ -593,7 +593,7 @@ EOF
593
593
  last_modified = row.attributes[:last_modified] if row.attributes[:last_modified]
594
594
  body = row.xpath('*').inject({}) do |r,node|
595
595
  text = node.text.unescape
596
- r.merge node.name.to_sym => (text[/^--- /] ? YAML.load(text) : text)
596
+ r.merge node.name.to_sym => (text[/^--- |^\[/] ? YAML.load(text) : text)
597
597
  end
598
598
 
599
599
  result.merge body[@default_key.to_sym] => {id: id, created: created, last_modified: last_modified, body: body}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.36
5
+ version: 1.1.37
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson