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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b02f0b4c2143521e9c65165d7e736cfddd634c51a34bd1e60734d37b7fdf6ae9
4
- data.tar.gz: 276bb61b67c272ee939504e130151db6b9b40096958f5d15781c105feb1bc9e7
3
+ metadata.gz: 62692a617b224335c350bcd0176f3784a5af46c80ca8c16907534358ccb10574
4
+ data.tar.gz: 89bcfe367f2f17d7a878edbdabe327e690c8c1c7b1acb99eca0aec4b4d69faac
5
5
  SHA512:
6
- metadata.gz: 6ae4cf1ca333ff49b765bb3209c54f2e7838578b466c36a76744deeb4f753ee3bdbecd8741989a0664cb093068553a62c6331aa4ccfdd94b7ead4c1862747448
7
- data.tar.gz: 432b3b2ff581ce12e9e8fdc342fb74b9d22b98bf26a4a3bec4c7c37b9b0445d03916d9d5ffbf12752cad0b59d3570dd58571c6181066f0c36f81dbefdd977998
6
+ metadata.gz: f320241198a93d8043c581b6d626b45237ecac5c0583c619631b27f1b78057614386acc166469d318bb84c82fb0082180cf10c35e73dfc4e352d5120dadb501d
7
+ data.tar.gz: c7b64a3e2c0ae77bd1b834cf78e845a94eec05cfcb87127c96304d95bc2a90c05cd0683e4e75e2919a97840aded0673cc29a91831a06d8c3fa72e64dfe9d05ff
Binary file
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 2.0"
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
@@ -1,4 +1,4 @@
1
1
  echo "Did you update the version?"
2
2
  gem build allq_rest.gemspec
3
- gem push allq_rest-1.2.93.gem
3
+ gem push allq_rest-1.4.0.gem
4
4
  #rm allq_rest-1.2.9.gem
@@ -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 = {}
@@ -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')
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.2
11
11
  =end
12
12
 
13
13
  module Allq
14
- VERSION = '1.2.93'
14
+ VERSION = '1.4.0'
15
15
  end
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.2.93
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-07-27 00:00:00.000000000 Z
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 2.0
143
+ - Apache-2.0
142
144
  metadata: {}
143
145
  post_install_message:
144
146
  rdoc_options: []