json_requester 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/json_requester.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 361ee67776a0d0bb7219942e67d7c72fb551f445b325d4c177ff0ae776ccf0c8
4
- data.tar.gz: d146a0fff6ac1af4bc1e5289736c5cf53c145819e39e431e044a66f10dead591
3
+ metadata.gz: addeed1bc3a006b61e8a3c04cb3f7833fcd6923431e56d8b111cccb17dd0b861
4
+ data.tar.gz: b7d4e1a9aa9862044388e9cbc38e1709e5fc8a595b6e7db95807dfca089b6170
5
5
  SHA512:
6
- metadata.gz: 8bdf988e2948e3902f9b7af33da6f96844e8bc0fc4957e696c430f111f543c1612493714df4b295742da9abc7c9e442888d83575c34ed1c916e270a58003c3a4
7
- data.tar.gz: 94bbe654b42cb3369af516b18a577b0b98a36da6c35cb6c65dc5e5bc6ba2770c7bbab2dc8cc1f25881afd424bb6c69578a4377530fb9c24370a706e02f8f53db
6
+ metadata.gz: d90277243e6c1e3637f72e0d4bc8eb287eb6214a22d5b81e8523366086b65d0241151f2365e654eb4f115fd7b50bc7acb1b1467a1b52e4e9c6e1a9cf27bf182d
7
+ data.tar.gz: f3d5c30712b8b739a0a8e6d253f030a017e40ec9f3fb4b8dbd17c773289e69383092ae05e7f6c2cffb5a6c22bf0c3387b9f8fa4b68cc79ea56a6c1940e08796e
@@ -10,6 +10,7 @@ class JsonRequester
10
10
  end
11
11
 
12
12
  def http_send(http_method, path, params={}, headers={})
13
+ puts "send #{http_method} reqeust to #{@host} with\npath: #{path}\nparams: #{params}\nheaders: #{headers}"
13
14
  if http_method == :get
14
15
  normal_send(http_method, path, params, headers)
15
16
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_requester
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiaRou Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-01 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday