allq_rest 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/allq_rest-1.3.0.gem +0 -0
- data/deploy.sh +1 -1
- data/lib/allq_rest/api_client.rb +6 -0
- data/lib/allq_rest/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62692a617b224335c350bcd0176f3784a5af46c80ca8c16907534358ccb10574
|
4
|
+
data.tar.gz: 89bcfe367f2f17d7a878edbdabe327e690c8c1c7b1acb99eca0aec4b4d69faac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f320241198a93d8043c581b6d626b45237ecac5c0583c619631b27f1b78057614386acc166469d318bb84c82fb0082180cf10c35e73dfc4e352d5120dadb501d
|
7
|
+
data.tar.gz: c7b64a3e2c0ae77bd1b834cf78e845a94eec05cfcb87127c96304d95bc2a90c05cd0683e4e75e2919a97840aded0673cc29a91831a06d8c3fa72e64dfe9d05ff
|
data/allq_rest-1.3.0.gem
ADDED
Binary file
|
data/deploy.sh
CHANGED
data/lib/allq_rest/api_client.rb
CHANGED
@@ -55,6 +55,12 @@ module Allq
|
|
55
55
|
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
56
56
|
end
|
57
57
|
|
58
|
+
if !response.success? # Retry
|
59
|
+
sleep(5)
|
60
|
+
request = build_request(http_method, path, opts)
|
61
|
+
response = request.run
|
62
|
+
end
|
63
|
+
|
58
64
|
unless response.success?
|
59
65
|
if response.timed_out?
|
60
66
|
fail ApiError.new('Connection timed out')
|
data/lib/allq_rest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allq_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- support@blitline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- Rakefile
|
84
84
|
- allq_rest-1.2.92.gem
|
85
85
|
- allq_rest-1.2.93.gem
|
86
|
+
- allq_rest-1.3.0.gem
|
86
87
|
- allq_rest.gemspec
|
87
88
|
- deploy.sh
|
88
89
|
- docs/ActionsApi.md
|