dynarex 0.2.3 → 0.2.4

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
@@ -85,7 +85,7 @@ class Dynarex
85
85
  r[node.name.to_s.to_sym] = node.text.to_s
86
86
  r
87
87
  end
88
- [default_key,{id: id, body: body}]
88
+ [body[default_key.to_sym],{id: id, body: body}]
89
89
  end
90
90
  Hash[*ah]
91
91
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors: []
7
7