cassette 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cassette/client.rb +3 -3
- data/lib/cassette/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef167b410ab8edd7eddb9cbc2905273b103fb65d
|
4
|
+
data.tar.gz: 3fe842b14b10a50e5493cbfc6b021b554c1732fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e624b4e33054308e07ff1b8f4966ad1d22dad86a207d0274bb8d93fefa4ad2bc95837478a4b653be64f4a79d07d57bb704f847003bde4953727a0f024628144a
|
7
|
+
data.tar.gz: ac20ab03689bc234dda217951dc362c35c3425add96691ad016a93587cd005a64533b26c548969d746e26a5ab5d074a76fcb249bcbc334899ac7ad3c4e194222
|
data/lib/cassette/client.rb
CHANGED
@@ -46,13 +46,13 @@ module Cassette
|
|
46
46
|
|
47
47
|
attr_accessor :cache, :logger, :http, :config
|
48
48
|
|
49
|
-
def st_with_retry(user, pass, service, retrying =
|
49
|
+
def st_with_retry(user, pass, service, retrying = false)
|
50
50
|
st(tgt(user, pass, retrying), service)
|
51
51
|
rescue Cassette::Errors::NotFound => e
|
52
|
-
raise e
|
52
|
+
raise e if retrying
|
53
53
|
|
54
54
|
logger.info 'Got 404 response, regenerating TGT'
|
55
|
-
retrying =
|
55
|
+
retrying = true
|
56
56
|
retry
|
57
57
|
end
|
58
58
|
|
data/lib/cassette/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassette
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Hermida Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|