cwallet-ruby 0.0.11 → 0.0.12

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: 24bc245124ecb3ac1a0269fedcee2ad5951d485f
4
- data.tar.gz: 2536e0206e37c13feb1e93d2ba5679a7c62714ec
3
+ metadata.gz: '08229310906ec02e6ec806fe6880c6e6526716f5'
4
+ data.tar.gz: eb2c06343984a584946c1ac8f0a03c4b54d69100
5
5
  SHA512:
6
- metadata.gz: 285c2871c10ce10306dab857e7527a715a4fe79551a1f58e0833cd03c36d99103f24b4d4ca9e006139277c90fe2651257d503f35a7c7f7876334a819a5ce920d
7
- data.tar.gz: b3064a0a35b43e7059dd266921baf4858e5b3539e65518e39e3661736a1e36b3ce87de3329a16fe092c8b9f06776d95e14cc35004464a12532ada17c9f4cf2aa
6
+ metadata.gz: ecafcb01de4a9f09d5cbbe99f6a308d246b5d469f97a5360d1ab5023a3b331f00d03201c98a48f8fb69498706faea72273f56e84b14fe3e724cb337588d3b0b7
7
+ data.tar.gz: e80fabf72598ca09cfb836bf940b7d97380be9f90bd487c85e88106e82fffe2a57cf97d391fc9dc379135e441c4ccdedee8d3800569b8f5f626b8edf57a1ec62
@@ -33,11 +33,16 @@ module Cwallet
33
33
  end
34
34
 
35
35
  if debug
36
- $stdout.puts("#{req.method} #{req.path}\n#{req.to_hash}\nBODY:\n#{req.body}")
36
+ $stdout.puts("=====REQUEST:\n#{req.method} #{req.path}\nHEADERS: #{req.to_hash}\nBODY: #{req.body}\n=====")
37
37
  end
38
38
 
39
39
  resp = @conn.request(req)
40
40
  out = NetHTTPResponse.new(resp)
41
+
42
+ if debug
43
+ $stdout.puts("=====RESPONSE:\nSTATUS: #{out.status}\nBODY: #{out.body}\n=====")
44
+ end
45
+
41
46
  Cwallet::Wallet::check_response_status(out)
42
47
  yield(out)
43
48
  out.data
@@ -1,5 +1,5 @@
1
1
  module Cwallet
2
2
  module Wallet
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cwallet-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duc Le