remote_dwsregistry 0.2.4 → 0.2.5

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: 501751ab87c8a924b2dfd82b42d20e47d7832795
4
- data.tar.gz: 876f485d052fc7c247cc87a4615cdb8e7c8db14b
3
+ metadata.gz: f26f361e119ab8e1207bb92f8d44012176350fd0
4
+ data.tar.gz: 76a4f12ad93dc132e0125f2bddf3ca55f429c009
5
5
  SHA512:
6
- metadata.gz: bcad6aa3a3dc7ab12ea3e5c75988dfc6be5b6f7460a9585c4deb2edb474e30fcbeba3c43446640311ef76216b0f6e5639734e59a4f1597d0b41b02e53a520596
7
- data.tar.gz: 971664bc5aff29b5372895d1e8ef9091db62490c5b085ed719e575159b8c6c525839bc54e6fedf13e9ecda6399213c1deeb2218e9beea0cf7595f71c4fe862b6
6
+ metadata.gz: 05027753419368c05ffa2f7790d8eba11d1e3d1e12961f67d328cdf204917b0e1a5a0ceb633878b6253f1c4ac191f1a15cd268c65a1076f1777289762026dfee
7
+ data.tar.gz: 60085381d1b8e78f412aea9c87533b99efd4a7a254c3b8bf1cafa99c541e63a651736a4458119aad68a77faa6dc506e07fddd7fc9f2952e969d960e1e9572c50
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -124,7 +124,12 @@ class RemoteDwsRegistry
124
124
  when 'application/xml'
125
125
 
126
126
  doc = Rexle.new(r.body)
127
- doc.root
127
+
128
+ if doc.root.elements then
129
+ doc.root.elements.to_a
130
+ else
131
+ []
132
+ end
128
133
 
129
134
  when 'application/json'
130
135
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_dwsregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file