procore 1.3 → 1.3.1

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: 1582babacaf5c52798ac79401348c5ab03949e88c9917b0400917e27c33a8ebb
4
- data.tar.gz: c46652522410172af16b17a5a70b8a75a1da5d88658e1f84240f6cd2ad8a036c
3
+ metadata.gz: 3595107dc22ff0d62e58dfd007d361337940fa03b4f543d9068ceb3bf4a9802a
4
+ data.tar.gz: 677cffae43492f41abe1dd67b5decc0da14300cc5bbba248317b97f272a783ee
5
5
  SHA512:
6
- metadata.gz: 2433724ed321d864bfb6b2e57aa81d33d0e9258b50c6a1317dd255b32f60631ccc198bf7202e6dd54d5eca9a1c8c6b9d5943c4160bd11a2ef15e8b08b2376078
7
- data.tar.gz: 89e61b0a3ecc970c8a102b372fc90ebe21500f320fe1e715da814d08f8b3d75b7477e6f6e2d6e6717c600580e612789539a7fb3a0dfb73c38930d221ae24813b
6
+ metadata.gz: e67cd2e1cea4163db7701cffc05ed8bc9252b66bed68bfc205a07f86bbf3b74cc499b99b49d87a8b959b18890ab6f43de019f88a0183b0d224c1e6e13507b3a3
7
+ data.tar.gz: 2affa65026b13a9d664986e6b090d853975db14d45ae924174f7e3ee2e437a64e6b4e8b825dff0b2e2c6f5b7e30d033cd3a16904c538291c9971276c11ebf4b2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.3.1 (Jan 9, 2024)
2
+
3
+ * Fix a bug with the retry logic in `with_response_handling` resulting in performing one more retry than expected .
4
+
5
+ *Eugene Tokarev*
6
+
1
7
  ## 1.3 (Jan 8, 2024)
2
8
 
3
9
  * Introduces :login_host configuration attribute used to set up OAuth2::Client. Please note, this will result Procore::Client use `https://login.procore.com/oauth/token` instead of `https://api.procore.com/oauth/token` for auth token generation.
@@ -253,7 +253,7 @@ module Procore
253
253
  begin
254
254
  result = yield
255
255
  rescue *HTTP_EXCEPTIONS => e
256
- if retries <= Procore.configuration.max_retries
256
+ if retries < Procore.configuration.max_retries
257
257
  retries += 1
258
258
  sleep 1.5**retries
259
259
  retry
@@ -1,3 +1,3 @@
1
1
  module Procore
2
- VERSION = "1.3".freeze
2
+ VERSION = "1.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procore
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Procore Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-09 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack