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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 544f24bd7aba263a362e116e0b478bc0096ca5ef
4
- data.tar.gz: c07059b72cc076c904880bcbb2e22a6eb8347952
3
+ metadata.gz: ef167b410ab8edd7eddb9cbc2905273b103fb65d
4
+ data.tar.gz: 3fe842b14b10a50e5493cbfc6b021b554c1732fe
5
5
  SHA512:
6
- metadata.gz: 7af98b5bc6c3070704b139b0cab9cbc8da25d646955036adc2335ea225ea241708ef7aa998440d233d0b4bd58ba4c5e5df9c2a5c788e17d9c55f700577feef31
7
- data.tar.gz: fe36aae7cdbb1ddaf2ed77504181eb53885ab7aed58467cee87ca474932ea0541e0c7b96feb7839e4884d81f58140d6e5a84635f5267b0a4e71b0d12caf1ff93
6
+ metadata.gz: e624b4e33054308e07ff1b8f4966ad1d22dad86a207d0274bb8d93fefa4ad2bc95837478a4b653be64f4a79d07d57bb704f847003bde4953727a0f024628144a
7
+ data.tar.gz: ac20ab03689bc234dda217951dc362c35c3425add96691ad016a93587cd005a64533b26c548969d746e26a5ab5d074a76fcb249bcbc334899ac7ad3c4e194222
@@ -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 = true)
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 unless retrying
52
+ raise e if retrying
53
53
 
54
54
  logger.info 'Got 404 response, regenerating TGT'
55
- retrying = false
55
+ retrying = true
56
56
  retry
57
57
  end
58
58
 
@@ -2,7 +2,7 @@ module Cassette
2
2
  class Version
3
3
  MAJOR = '1'
4
4
  MINOR = '0'
5
- PATCH = '17'
5
+ PATCH = '18'
6
6
 
7
7
  def self.version
8
8
  [MAJOR, MINOR, PATCH].join('.')
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.17
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-06-26 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday