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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b229bfb85f00a9dff0036c48a4237ae0f31deb2a
4
- data.tar.gz: 64c01dabb6cf7b1b162ce84bcdf3b0217d5075ec
3
+ metadata.gz: ae751ac1292aea1df59c996efba439f3f220fd4c
4
+ data.tar.gz: 1027a7ccb0878e64b2cefbab0e1359dc5905618c
5
5
  SHA512:
6
- metadata.gz: 55077fc90239399d133392dc10ccd04056656ad39b183df3793a1310c9b118d995b521145af6c00f402adbf5f342b78b0a20cd4f9df5fad660098924183f2b28
7
- data.tar.gz: 9c44c345cbb72d53a78861c1604ab525105dbfcce4fb66bea17edf43a48263f51a3d700831df5ada53f18de805c4d0f41dcc343f8b23ffaf0caf78ac21420d5d
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]
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.6.4"
3
+ VERSION = "0.6.5"
4
4
  TARGET_API_VERSION = "1.29"
5
5
 
6
6
  end
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
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 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler