json_requester 1.0.4 → 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 +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8352bed1c5d1f5cf27c68c6cd9655f396607dcbc727717d27513a0ecfd8eeccf
4
- data.tar.gz: a75ba2ef8b8ba5dfc2c107fa0f528347cf2f60a16ffd809b1e93453a46485557
3
+ metadata.gz: addeed1bc3a006b61e8a3c04cb3f7833fcd6923431e56d8b111cccb17dd0b861
4
+ data.tar.gz: b7d4e1a9aa9862044388e9cbc38e1709e5fc8a595b6e7db95807dfca089b6170
5
5
  SHA512:
6
- metadata.gz: '0787a94609c76f42118122188beb92a0a14956438f50940f8aa51b1d0dbb4db54f63d8e1c0585cb00d64fcf7e96585ee1723fd2b93bfc74e1062cdfb9d1d9efc'
7
- data.tar.gz: ec62f38838dcbc4a3404948b1c29cbc6eb4940dc5ce33f8dc959e9ca45a8e63c479205e9feac910638c10922ce4526a2a2b4aa6ec752796be1a3da3d9d012e72
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.4
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: 2021-12-08 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
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.0.3
56
+ rubygems_version: 3.2.32
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Basic Wrapper of Faraday