allq_rest 1.3.0 → 1.5.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: 1a544f5936f81897752d27b01756580c6fca13fa5f399fe8e3e88613cc13038f
4
- data.tar.gz: ef9eac198d2572a5f271964d85e8346059d0cbec05c20b19577313e701d11f2d
3
+ metadata.gz: 7775b76aa3f9ff837e532a5ee1823917793ad2c32891e2ef477f817df1ac92bd
4
+ data.tar.gz: 6d6691f6966a56eccd3f21a148a88eccb0634255e68d3c895caf031b38d93964
5
5
  SHA512:
6
- metadata.gz: 59dc99b51ca44f6818d1e9c079836c83e5c37e1b4f79e009a454e0b194af47860afc08beed78adf650b68df7a4421d6c67cd7730c630cbcae00d9b1147bbeb2e
7
- data.tar.gz: 4dcf072a5801b1a1b2b8fc946fbe99ba29e8b3d5104b8f8afa9ea473b06399cd131f0e5aa43735eeee09c8062243593c5242b7f213d7e5d50afa84a8d14c5389
6
+ metadata.gz: 0733d376d6a87cd5f7058ad5b102deb86524bcf2345ae98154eb2c7fa467ff2d6db464ddd276a10fb882b158b84e13949df3ecab2feadabb8a7b05d5195a0e2d
7
+ data.tar.gz: 1cd72e03081e428a78802cdf0b2b6cdb212b46db3074fff4fec6a32ff444f7014e6372b11d9961b6a1b57420603d6999f34a05b7fcf7f797a132f9500747848f
Binary file
Binary file
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.3.0.gem
3
+ gem push allq_rest-1.5.0.gem
4
4
  #rm allq_rest-1.2.9.gem
@@ -511,6 +511,7 @@ module Allq
511
511
  # query parameters
512
512
  query_params = {}
513
513
  query_params[:'job_id'] = job_id
514
+ query_params[:'delay'] = opts[:'delay'] if !opts[:'delay'].nil?
514
515
 
515
516
  # header parameters
516
517
  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.3.0'
14
+ VERSION = '1.5.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.3.0
4
+ version: 1.5.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-09-15 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -83,6 +83,8 @@ 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
87
+ - allq_rest-1.4.0.gem
86
88
  - allq_rest.gemspec
87
89
  - deploy.sh
88
90
  - docs/ActionsApi.md