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 +4 -4
- data/lib/soar_http_client.rb +1 -1
- data/lib/soar_http_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88e929d78ba56f41111fe273f95030e67d0b6b10
|
4
|
+
data.tar.gz: f04220e48ff03e7e0e7530d8a3afe57e3d5908b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a3b6d5b76c752cac0ba89f3542c6bb3e97402ddfe88dd289dcb7871a17b44bfbb23a0cc8a3cb4478f5a02b4a8ba8d7ccd6d4fab8afbcf2a79a1f9eb082ec9c7
|
7
|
+
data.tar.gz: 8440882a945dbb0e2f0e79250587c51468f1b3fad4e4e41dcb9716bee23a1deb6c3b34f7d154110cb6c7268d5a108057b14b7a22b2030562ac35b2119278adb3
|
data/lib/soar_http_client.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|