gotransverse-tract-api 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gotransverse-tract-api.rb +1 -1
- data/lib/gotransverse-tract-api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae751ac1292aea1df59c996efba439f3f220fd4c
|
4
|
+
data.tar.gz: 1027a7ccb0878e64b2cefbab0e1359dc5905618c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7db5d308b35d4feea3a291ecf2edf89ce07cdebbf07286bf03108d81b526683a3785249bf3dc7a128e6711930aebf7e57900e708e6227feee86f859709042d7
|
7
|
+
data.tar.gz: a17ce150c5ad9bbc29fd4ee4ec546361e7f7499480893ecc080b55b07a0e86843567d1591a4832e7133a88d9fafe8541cb25e52b11a502a11dc73374537f8c0d
|
@@ -275,7 +275,7 @@ module GoTransverseTractApi
|
|
275
275
|
xml_response = Nokogiri::XML(response.body.to_s)
|
276
276
|
|
277
277
|
klass = klass.to_s.split("::").last
|
278
|
-
hsh = Hash.from_xml(xml_response.to_s).recursive_symbolize_keys!
|
278
|
+
hsh = Hash.from_xml(xml_response.to_s).recursive_symbolize_keys! if (response.body.to_s.present?)
|
279
279
|
|
280
280
|
if method == :get
|
281
281
|
hsh = hsh[klass.pluralize.camelize(:lower).to_sym] rescue Hash.from_xml(xml_response.to_s)[klass.camelize(:lower).to_sym]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gotransverse-tract-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien DeFrance
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-02-
|
12
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|