her 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e628f5db6baa8daefe84a2ad28e8d538b4e50b40
4
- data.tar.gz: 54e12aa3f8c46c79dc447a18108a135621fd7dc8
3
+ metadata.gz: a575dc7241f627994e25bcb4fe32019981e783ec
4
+ data.tar.gz: 8ffba4904f2906b05ab7b4a176f0b0e0d2bbcfe1
5
5
  SHA512:
6
- metadata.gz: ac64ae278cd0c9927d790a9139e9e7afdd54230c4d54da1e865f8bd729e7742dd511210cce6a9ac8f211977805b38dfe979be88ee5d69684288c0a591128f17c
7
- data.tar.gz: 18e8f64882b5a3c7829a102de8e4738bc4b094ae2e773b90077663d91a4db96ea1bda3359168d15c55955a9457c882d0a240d36fc204070eaa53d3a7db1a117c
6
+ metadata.gz: 18db7ddb5e0b2cc69f17b987d0299aa7e6b3c23721c2891af4e7bf19cf5fb5eac474a4b1594947004b4a53113ff1988c8a408f25b46b11becbdfe73bde0e9b0f
7
+ data.tar.gz: 211c072f0e986c1f12ba3436ef9b9eb1001e369607f9b42f61e1bebd70b85ae0c4063b0aca8fd066c0103f324c465cfadf078f9847141593a8344e632b19e669
@@ -145,7 +145,7 @@ module Her
145
145
 
146
146
  # @private
147
147
  def root_element_included?(data)
148
- element = data[root_element]
148
+ element = data[parsed_root_element]
149
149
  element.is_a?(Hash) || element.is_a?(Array)
150
150
  end
151
151
 
data/lib/her/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Her
2
- VERSION = "0.10.2"
2
+ VERSION = "0.10.3"
3
3
  end
@@ -251,6 +251,7 @@ describe Her::Model::Parse do
251
251
 
252
252
  it "parse the data with the symbol" do
253
253
  @new_user = Foo::User.create(fullname: "Lindsay Fünke")
254
+ expect(@new_user.id).to eq(1)
254
255
  expect(@new_user.fullname).to eq("Lindsay Fünke")
255
256
  end
256
257
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: her
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémi Prévost
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake