json_requester 0.1.4 → 1.0.0

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 +5 -5
  2. data/lib/json_requester.rb +1 -1
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2df8251555e7933d3a742aa3182a5f884348dd14
4
- data.tar.gz: d7e716829d88d32c2ba1a73b39d5167697d6acef
2
+ SHA256:
3
+ metadata.gz: 748a32c5295898af685b4e3ed70df92ea11efc759a221fbec98cce193392c427
4
+ data.tar.gz: 435e21117b3428590f3ef89239ae527bacfde144450129d57928f1aed6e27386
5
5
  SHA512:
6
- metadata.gz: 1b4f5c6f33848ae36d7120ad5b6b2207a879e098ceccf73c575ca9fbca793da81fed6793b2c0db1e90953d396f64063427fafbf250b86762af773afa10125593
7
- data.tar.gz: ab104502c7374b949985b3ce76f129a1f4314e92353f7d24749892a73e0f35b8aacf2090c7cf4a0add5b58518f6cf7180e959f20aa8875a8ed649251e83d21d3
6
+ metadata.gz: 34d090e834fa922db9806bde4de4090bed712a4b75962228863618fafd9b1ea6bf9ecd0a6d41cb5aabf2232d16f1d00072413902f4d56b46cc0429d041cfd09a
7
+ data.tar.gz: ee00fa54730c1ea8561db4967c100c7c1fcc6a6ec3d9c56abd16fdf20a2eae9bf2836edc9f540c020cf941d490ece55c38b8beaf7bde3bf9b8646c1e3f688971
@@ -44,7 +44,7 @@ class JsonRequester
44
44
  res = @conn.send(http_method) do |req|
45
45
  req.url path
46
46
  req.headers = headers if object_present?(headers)
47
- req.headers['Content-Type'] = 'application/json ;charset=utf-8'
47
+ req.headers['Content-Type'] = 'application/json;charset=utf-8'
48
48
  req.body = params.to_json if object_present?(params)
49
49
  end
50
50
  process_response(res)
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: 0.1.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiaRou Lee
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -37,7 +37,7 @@ homepage: https://github.com/kdan-mobile-software-ltd/json_requester
37
37
  licenses:
38
38
  - MIT
39
39
  metadata: {}
40
- post_install_message:
40
+ post_install_message:
41
41
  rdoc_options:
42
42
  - "--charset=UTF-8"
43
43
  require_paths:
@@ -53,9 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubyforge_project:
57
- rubygems_version: 2.6.13
58
- signing_key:
56
+ rubygems_version: 3.0.3
57
+ signing_key:
59
58
  specification_version: 4
60
59
  summary: Basic Wrapper of Faraday
61
60
  test_files: []