gotransverse-tract-api 0.6.3 → 0.6.4

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: a79da998c2c2967165b2b2a4f31d631cfed9f2bb
4
- data.tar.gz: 56ef730ddd4d26de68f33820feb582ccd953073e
3
+ metadata.gz: b229bfb85f00a9dff0036c48a4237ae0f31deb2a
4
+ data.tar.gz: 64c01dabb6cf7b1b162ce84bcdf3b0217d5075ec
5
5
  SHA512:
6
- metadata.gz: 9bed8937848eaf0428d117fe6dd5264d6bd14cb2f8f0ce0248f3d87295b768b37fb13ba7be0b40e432a1f98126fe9b8f1d643df7306d7e5dd378a166a98b4a68
7
- data.tar.gz: e6bbf9b76e436be361fce8b2c7f6d10715e80c4b96190b9786470021196f3ab7a2869a3fc53ebd5e2c4b7804e1b48e784d4a428830d6d95342fd8552b0ae2d56
6
+ metadata.gz: 55077fc90239399d133392dc10ccd04056656ad39b183df3793a1310c9b118d995b521145af6c00f402adbf5f342b78b0a20cd4f9df5fad660098924183f2b28
7
+ data.tar.gz: 9c44c345cbb72d53a78861c1604ab525105dbfcce4fb66bea17edf43a48263f51a3d700831df5ada53f18de805c4d0f41dcc343f8b23ffaf0caf78ac21420d5d
@@ -253,6 +253,8 @@ module GoTransverseTractApi
253
253
  http_client.set_auth(nil, GoTransverseTractApi.configuration.username, GoTransverseTractApi.configuration.password)
254
254
 
255
255
  if GoTransverseTractApi.configuration.debug_mode
256
+ pp "[GoTransverseTractApi] DEBUG MODE: ON"
257
+ pp "[GoTransverseTractApi] request time: #{DateTime.now}"
256
258
  pp "[GoTransverseTractApi] api_url: #{api_url.to_s}"
257
259
  pp "[GoTransverseTractApi] api_params: #{api_params.to_s}"
258
260
  pp "[GoTransverseTractApi] method: #{method.to_s}"
@@ -279,6 +281,8 @@ module GoTransverseTractApi
279
281
  hsh = hsh[klass.pluralize.camelize(:lower).to_sym] rescue Hash.from_xml(xml_response.to_s)[klass.camelize(:lower).to_sym]
280
282
  end
281
283
 
284
+ pp hsh if GoTransverseTractApi.configuration.debug_mode
285
+
282
286
  return hsh
283
287
 
284
288
  rescue Timeout::Error, Errno::ECONNRESET, EOFError, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError => e
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.6.3"
3
+ VERSION = "0.6.4"
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.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance