allq_rest 1.2.93 → 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.2.93.gem +0 -0
- data/allq_rest-1.3.0.gem +0 -0
- data/allq_rest.gemspec +1 -1
- data/deploy.sh +1 -1
- data/lib/allq_rest/api/actions_api.rb +1 -0
- data/lib/allq_rest/api_client.rb +6 -0
- data/lib/allq_rest/version.rb +1 -1
- metadata +5 -3
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
|
Binary file
|
data/allq_rest-1.3.0.gem
ADDED
Binary file
|
data/allq_rest.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.summary = "Ruby REST client for Allq platform"
|
14
14
|
s.description = "Allq API Client"
|
15
15
|
# TODO uncommnet and update below with a proper license
|
16
|
-
s.license = "Apache
|
16
|
+
s.license = "Apache-2.0"
|
17
17
|
s.required_ruby_version = "> 2.3"
|
18
18
|
|
19
19
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
data/deploy.sh
CHANGED
@@ -455,6 +455,7 @@ module Allq
|
|
455
455
|
query_params = {}
|
456
456
|
query_params[:'tube'] = tube
|
457
457
|
query_params[:'buried'] = opts[:'buried'] if !opts[:'buried'].nil?
|
458
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
458
459
|
|
459
460
|
# header parameters
|
460
461
|
header_params = {}
|
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
|
@@ -82,6 +82,8 @@ files:
|
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
84
|
- allq_rest-1.2.92.gem
|
85
|
+
- allq_rest-1.2.93.gem
|
86
|
+
- allq_rest-1.3.0.gem
|
85
87
|
- allq_rest.gemspec
|
86
88
|
- deploy.sh
|
87
89
|
- docs/ActionsApi.md
|
@@ -138,7 +140,7 @@ files:
|
|
138
140
|
- spec/spec_helper.rb
|
139
141
|
homepage: http://www.blitline.com
|
140
142
|
licenses:
|
141
|
-
- Apache
|
143
|
+
- Apache-2.0
|
142
144
|
metadata: {}
|
143
145
|
post_install_message:
|
144
146
|
rdoc_options: []
|