soar_http_client 0.1.0 → 0.1.1

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: 3ec3312c5769249580b806e50ed7aef6797ed006
4
- data.tar.gz: 18c1edef34cfa405139f6151db4fd97383a9b6a1
3
+ metadata.gz: 88e929d78ba56f41111fe273f95030e67d0b6b10
4
+ data.tar.gz: f04220e48ff03e7e0e7530d8a3afe57e3d5908b5
5
5
  SHA512:
6
- metadata.gz: 195f38d6eabc7bfdfa9562afe2adeedf422685b7003973ba5f188b114079d80e3d741ee5aa22e72f14ddb43658c0d2dd61ea8f60c367b4714548e8051b04e7a2
7
- data.tar.gz: 0a31397dd5d9633bf930d6f6021b4cda8e794c887a9c2858ec1d183ff5c2062a5376906b212145d73d6fa99e0c1844c772eef359d628b151d2dc142472c1ecb2
6
+ metadata.gz: 1a3b6d5b76c752cac0ba89f3542c6bb3e97402ddfe88dd289dcb7871a17b44bfbb23a0cc8a3cb4478f5a02b4a8ba8d7ccd6d4fab8afbcf2a79a1f9eb082ec9c7
7
+ data.tar.gz: 8440882a945dbb0e2f0e79250587c51468f1b3fad4e4e41dcb9716bee23a1deb6c3b34f7d154110cb6c7268d5a108057b14b7a22b2030562ac35b2119278adb3
@@ -56,8 +56,8 @@ class SoarHttpClient
56
56
  req.url path
57
57
  req.params = params if params
58
58
  req.body = body if body
59
- req.headers['Authorization'] = token if token
60
59
  req.headers = headers if headers
60
+ req.headers['Authorization'] = token if token
61
61
  end
62
62
  rescue => ex
63
63
  tries += 1
@@ -1,3 +1,3 @@
1
1
  class SoarHttpClient
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiaan van Deventer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-17 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday