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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a544f5936f81897752d27b01756580c6fca13fa5f399fe8e3e88613cc13038f
4
- data.tar.gz: ef9eac198d2572a5f271964d85e8346059d0cbec05c20b19577313e701d11f2d
3
+ metadata.gz: 62692a617b224335c350bcd0176f3784a5af46c80ca8c16907534358ccb10574
4
+ data.tar.gz: 89bcfe367f2f17d7a878edbdabe327e690c8c1c7b1acb99eca0aec4b4d69faac
5
5
  SHA512:
6
- metadata.gz: 59dc99b51ca44f6818d1e9c079836c83e5c37e1b4f79e009a454e0b194af47860afc08beed78adf650b68df7a4421d6c67cd7730c630cbcae00d9b1147bbeb2e
7
- data.tar.gz: 4dcf072a5801b1a1b2b8fc946fbe99ba29e8b3d5104b8f8afa9ea473b06399cd131f0e5aa43735eeee09c8062243593c5242b7f213d7e5d50afa84a8d14c5389
6
+ metadata.gz: f320241198a93d8043c581b6d626b45237ecac5c0583c619631b27f1b78057614386acc166469d318bb84c82fb0082180cf10c35e73dfc4e352d5120dadb501d
7
+ data.tar.gz: c7b64a3e2c0ae77bd1b834cf78e845a94eec05cfcb87127c96304d95bc2a90c05cd0683e4e75e2919a97840aded0673cc29a91831a06d8c3fa72e64dfe9d05ff
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.4.0.gem
4
4
  #rm allq_rest-1.2.9.gem
@@ -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.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.3.0
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-09-15 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
@@ -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