conjur-api 4.24.1 → 4.25.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
  SHA1:
3
- metadata.gz: 5947d8b6da3129ef22780755b92550a5fbfd57b0
4
- data.tar.gz: 0acd1390453eae96cb6040f0fa167c35f6aa732b
3
+ metadata.gz: e0f792bf6c2fecf1b2c2c5756b612107162435c7
4
+ data.tar.gz: 34ee61c0276a1e07ca7f3ba449474d402d867475
5
5
  SHA512:
6
- metadata.gz: 92e2760b149238a95b86f1db50e59e21c04482cb8858581447fbe3edb9d12eb8ab60a5b72e628daa63908b116a37616052ce1a8d71e369d545c5989a8a5e869b
7
- data.tar.gz: 5458008ccacf7c28e04de0d63ed00883e0df8120a06ac725816921ede7f6046936c069f14a72c8dfe4a88aa698ee202f69cf5ecbffc46a5913849cf4d871a00d
6
+ metadata.gz: cf65304611eb945ad4f5b352a01405096acce35a42b721bf9c999660423fedf8fd9524896d17de26e792ed4fe02292739cf86a49ec5fc04a1aa8ce26bccab152
7
+ data.tar.gz: 9a1d53c9643545419e27172f204635b6273155b4a3f0c0920cfda05e8631387f46433a266badc660a8a65b8a5995e2f83e4b5fd9431f31311bcb5b9d0866192e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v4.25.0
2
+
3
+ * Add a workaround for a bug in Conjur <4.7 where long-running operations
4
+ (such as policy load) would sometimes fail with 404 after five minutes.
5
+
1
6
  # v4.24.1
2
7
 
3
8
  * Clarify the handling of the dry-run argument to `Conjur::API#ldap_sync_now`.
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Conjur
21
21
  class API
22
- VERSION = "4.24.1"
22
+ VERSION = "4.25.0"
23
23
  end
24
24
  end
data/lib/conjur/base.rb CHANGED
@@ -288,7 +288,9 @@ module Conjur
288
288
  @token = Conjur::API.authenticate(@username, @api_key)
289
289
  end
290
290
 
291
- TOKEN_STALE = 5.minutes
291
+ # The four minutes is to work around a bug in Conjur < 4.7 causing a 404 on
292
+ # long-running operations (when the token is used right around the 5 minute mark).
293
+ TOKEN_STALE = 4.minutes
292
294
 
293
295
  # Checks if the token is old (or not present).
294
296
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjur-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.24.1
4
+ version: 4.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafal Rzepecki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-10 00:00:00.000000000 Z
12
+ date: 2016-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client