cassette 1.2.7 → 1.3.0
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 +18 -9
- data/lib/cassette/client/cache.rb +1 -1
- data/lib/cassette/version.rb +2 -2
- data/spec/cassette/client_spec.rb +66 -29
- data/spec/support/last_execution_examples_result.txt +156 -157
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27cfa48a748bedca25340e26864baeed00a733ce246892a309891228ccdc132d
|
4
|
+
data.tar.gz: cff0103bee5189300805c36ff24f3d559911c82d919c4eac294101b8f78aa3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 823da9e1561d8521c0aa7e17e590df027ded2eca1ea7671aff54373dbbeeb89917db759c57e5dee709c07a75ca5913cefae46e609c60b77aea23edfd9e0e6cc0
|
7
|
+
data.tar.gz: 07da8bc42bd54cde6cd190596fa33ef93157a4b99bdf97258a1d90c6f3f95a8d38394661e6c4b83dbfff83415a73d4154951800bba0eb4123c43446f69025f41
|
data/lib/cassette/client.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
|
3
1
|
module Cassette
|
4
2
|
class Client
|
5
3
|
def self.method_missing(name, *args)
|
@@ -20,12 +18,16 @@ module Cassette
|
|
20
18
|
|
21
19
|
def tgt(usr, pwd, force = false)
|
22
20
|
logger.info 'Requesting TGT'
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
21
|
+
cached = true
|
22
|
+
|
23
|
+
tgt = cache.fetch_tgt(force: force) do
|
24
|
+
cached = false
|
25
|
+
request_new_tgt(usr, pwd)
|
28
26
|
end
|
27
|
+
|
28
|
+
logger.info("TGT cache hit, value: '#{tgt}'") if cached
|
29
|
+
|
30
|
+
tgt
|
29
31
|
end
|
30
32
|
|
31
33
|
def st(tgt_param, service, force = false)
|
@@ -49,7 +51,7 @@ module Cassette
|
|
49
51
|
attr_accessor :cache, :logger, :http, :config
|
50
52
|
|
51
53
|
def st_with_retry(user, pass, service, retrying = false)
|
52
|
-
st(->{ tgt(user, pass, retrying) }, service)
|
54
|
+
st(-> { tgt(user, pass, retrying) }, service)
|
53
55
|
rescue Cassette::Errors::NotFound => e
|
54
56
|
raise e if retrying
|
55
57
|
|
@@ -59,7 +61,14 @@ module Cassette
|
|
59
61
|
end
|
60
62
|
|
61
63
|
def tickets_path
|
62
|
-
|
64
|
+
'/v1/tickets'
|
65
|
+
end
|
66
|
+
|
67
|
+
def request_new_tgt(usr, pwd)
|
68
|
+
response = http.post(tickets_path, username: usr, password: pwd)
|
69
|
+
tgt = Regexp.last_match(1) if response.headers['Location'] =~ %r{tickets/(.*)}
|
70
|
+
logger.info "TGT is #{tgt}"
|
71
|
+
tgt
|
63
72
|
end
|
64
73
|
end
|
65
74
|
end
|
@@ -16,7 +16,7 @@ module Cassette
|
|
16
16
|
def fetch_tgt(options = {}, &_block)
|
17
17
|
options = { expires_in: 4 * 3600, max_uses: 5000, force: false }.merge(options)
|
18
18
|
fetch('Cassette::Client.tgt', options) do
|
19
|
-
logger.info
|
19
|
+
logger.info('TGT cache miss')
|
20
20
|
yield
|
21
21
|
end
|
22
22
|
end
|
data/lib/cassette/version.rb
CHANGED
@@ -63,50 +63,87 @@ describe Cassette::Client do
|
|
63
63
|
end
|
64
64
|
|
65
65
|
context 'when tgt is not cached' do
|
66
|
-
|
67
|
-
|
66
|
+
after do
|
67
|
+
Cassette.logger = Logger.new('/dev/null')
|
68
|
+
end
|
68
69
|
|
69
|
-
|
70
|
-
|
71
|
-
expect(opts[:force]).to eq false
|
72
|
-
tgt
|
73
|
-
end
|
70
|
+
it 'returns the tgt and logs correctly' do
|
71
|
+
Cassette::Client.cache.backend.clear
|
74
72
|
|
75
|
-
|
76
|
-
|
73
|
+
tgt = 'TGT-Something-example'
|
74
|
+
response = double('response', headers: {'Location' => "tickets/#{tgt}"})
|
75
|
+
allow(http).to receive(:post).and_return(response)
|
76
|
+
|
77
|
+
logger = spy(:logger)
|
78
|
+
Cassette.logger = logger
|
77
79
|
|
78
|
-
|
80
|
+
client = Cassette::Client.new(http_client: http)
|
81
|
+
|
82
|
+
# exercise
|
83
|
+
result = client.tgt('user', 'pass')
|
84
|
+
|
85
|
+
# verify
|
86
|
+
expect(result).to eq(tgt)
|
87
|
+
expect(logger).to have_received(:info).with("TGT cache miss").ordered
|
88
|
+
expect(logger).to have_received(:info).with("TGT is #{tgt}").ordered
|
89
|
+
end
|
79
90
|
end
|
80
91
|
|
81
92
|
context 'with a cached tgt' do
|
82
|
-
|
93
|
+
after do
|
94
|
+
Cassette.logger = Logger.new('/dev/null')
|
95
|
+
end
|
83
96
|
|
84
|
-
|
85
|
-
|
86
|
-
.and_return(tgt)
|
97
|
+
it 'returns the tgt from the cache and logs correctly' do
|
98
|
+
Cassette::Client.cache.backend.clear
|
87
99
|
|
88
|
-
|
89
|
-
|
100
|
+
tgt = 'TGT-Something-example'
|
101
|
+
response = double('response', headers: {'Location' => "tickets/#{tgt}"})
|
102
|
+
allow(http).to receive(:post).and_return(response)
|
90
103
|
|
91
|
-
|
92
|
-
|
104
|
+
# this first call is to set the cache
|
105
|
+
client = Cassette::Client.new(http_client: http)
|
106
|
+
result = client.tgt('user', 'pass')
|
93
107
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
end
|
98
|
-
end
|
108
|
+
logger = spy(:logger)
|
109
|
+
Cassette.logger = logger
|
110
|
+
client = Cassette::Client.new(http_client: http)
|
99
111
|
|
100
|
-
|
101
|
-
|
112
|
+
# exercise
|
113
|
+
result = client.tgt('user', 'pass')
|
102
114
|
|
103
|
-
|
115
|
+
# verify
|
116
|
+
expect(result).to eq(tgt)
|
117
|
+
expect(logger).to have_received(:info).with("TGT cache hit, value: '#{tgt}'")
|
104
118
|
end
|
105
119
|
|
106
|
-
|
107
|
-
|
120
|
+
it 'generates another tgt when the param force is true' do
|
121
|
+
Cassette::Client.cache.backend.clear
|
122
|
+
|
123
|
+
tgt = 'TGT-Something-example'
|
124
|
+
response = double('response', headers: {'Location' => "tickets/#{tgt}"})
|
125
|
+
allow(http).to receive(:post).and_return(response)
|
126
|
+
|
127
|
+
# this first call is to set the cache
|
128
|
+
client = Cassette::Client.new(http_client: http)
|
129
|
+
result = client.tgt('user', 'pass')
|
130
|
+
|
131
|
+
tgt2 = 'TGT2-Something-example'
|
132
|
+
response = double('response', headers: {'Location' => "tickets/#{tgt2}"})
|
133
|
+
allow(http).to receive(:post).and_return(response)
|
134
|
+
|
135
|
+
logger = spy(:logger)
|
136
|
+
Cassette.logger = logger
|
137
|
+
client = Cassette::Client.new(http_client: http)
|
138
|
+
|
139
|
+
# exercise
|
140
|
+
force = true
|
141
|
+
result = client.tgt('user', 'pass', force)
|
108
142
|
|
109
|
-
|
143
|
+
# verify
|
144
|
+
expect(result).to eq(tgt2)
|
145
|
+
expect(logger).to have_received(:info).with("TGT cache miss").ordered
|
146
|
+
expect(logger).to have_received(:info).with("TGT is #{tgt2}").ordered
|
110
147
|
end
|
111
148
|
end
|
112
149
|
end
|
@@ -1,159 +1,158 @@
|
|
1
1
|
example_id | status | run_time |
|
2
2
|
-------------------------------------------------------------- | ------ | --------------- |
|
3
|
-
./spec/cassette/authentication/authorities_spec.rb[1:1:1] | passed | 0.
|
4
|
-
./spec/cassette/authentication/authorities_spec.rb[1:1:2] | passed | 0.
|
5
|
-
./spec/cassette/authentication/authorities_spec.rb[1:1:3] | passed | 0.
|
6
|
-
./spec/cassette/authentication/authorities_spec.rb[1:2:1] | passed | 0.
|
7
|
-
./spec/cassette/authentication/authorities_spec.rb[1:2:2:1] | passed | 0.
|
8
|
-
./spec/cassette/authentication/authorities_spec.rb[1:2:2:2] | passed | 0.
|
9
|
-
./spec/cassette/authentication/authorities_spec.rb[1:3:1] | passed | 0.
|
10
|
-
./spec/cassette/authentication/authorities_spec.rb[1:3:2] | passed | 0.
|
11
|
-
./spec/cassette/authentication/authorities_spec.rb[1:3:3] | passed | 0.
|
12
|
-
./spec/cassette/authentication/authorities_spec.rb[1:3:4] | passed | 0.
|
13
|
-
./spec/cassette/authentication/authorities_spec.rb[1:4:1] | passed | 0.
|
14
|
-
./spec/cassette/authentication/authorities_spec.rb[1:4:2] | passed | 0.
|
15
|
-
./spec/cassette/authentication/cache_spec.rb[1:1:1] | passed | 0.
|
16
|
-
./spec/cassette/authentication/cache_spec.rb[1:1:2:1] | passed | 0.
|
17
|
-
./spec/cassette/authentication/cache_spec.rb[1:1:2:2] | passed | 0.
|
18
|
-
./spec/cassette/authentication/cache_spec.rb[1:1:2:3:1] | passed | 0.
|
19
|
-
./spec/cassette/authentication/cache_spec.rb[1:1:3] | passed | 0.
|
20
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:1] | passed | 0.
|
21
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:2] | passed | 0.
|
22
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:2] | passed | 0.
|
23
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:3] | passed | 0.
|
24
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:1] | passed | 0.
|
25
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:2] | passed | 0.
|
26
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:2] | passed | 0.
|
27
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:3] | passed | 0.
|
28
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:1] | passed | 0.
|
29
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:2] | passed | 0.
|
30
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:1] | passed | 0.
|
31
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:2] | passed | 0.
|
32
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:1] | passed | 0.
|
33
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:2] | passed | 0.
|
34
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:2:1] | passed | 0.
|
35
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:1:1] | passed | 0.
|
36
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:2:1] | passed | 0.
|
37
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:3:1] | passed | 0.
|
38
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:4:1] | passed | 0.
|
39
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:1:1] | passed | 0.
|
40
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:2:1] | passed | 0.
|
41
|
-
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:3:1] | passed | 0.
|
42
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:1] | passed | 0.
|
43
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:2] | passed | 0.
|
44
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:2] | passed | 0.
|
45
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:3] | passed | 0.
|
46
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:1] | passed | 0.
|
47
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:2] | passed | 0.
|
48
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:2] | passed | 0.
|
49
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:3] | passed | 0.
|
50
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:1] | passed | 0.
|
51
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:2] | passed | 0.
|
52
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:1] | passed | 0.
|
53
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:2] | passed | 0.
|
54
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:1] | passed | 0.
|
55
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:2] | passed | 0.
|
56
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:2:1] | passed | 0.
|
57
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:1:1] | passed | 0.
|
58
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:2:1] | passed | 0.
|
59
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:3:1] | passed | 0.
|
60
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:4:1] | passed | 0.
|
61
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:1:1] | passed | 0.
|
62
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:2:1] | passed | 0.
|
63
|
-
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:3:1] | passed | 0.
|
64
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:1:1] | passed | 0.
|
65
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:2:1] | passed | 0.
|
66
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:3:1] | passed | 0.
|
67
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:4:1] | passed | 0.
|
68
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:5] | passed | 0.
|
69
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:6] | passed | 0.
|
70
|
-
./spec/cassette/authentication/user_spec.rb[1:1:1:1] | passed | 0.
|
71
|
-
./spec/cassette/authentication/user_spec.rb[1:1:2:1] | passed | 0.
|
72
|
-
./spec/cassette/authentication/user_spec.rb[1:2:1] | passed | 0.
|
73
|
-
./spec/cassette/authentication/user_spec.rb[1:2:2] | passed | 0.
|
74
|
-
./spec/cassette/authentication/user_spec.rb[1:2:3] | passed | 0.
|
75
|
-
./spec/cassette/authentication/user_spec.rb[1:3:1:1] | passed | 0.
|
76
|
-
./spec/cassette/authentication/user_spec.rb[1:3:2:1] | passed | 0.
|
77
|
-
./spec/cassette/authentication_spec.rb[1:1:1:1] | passed | 0.
|
78
|
-
./spec/cassette/authentication_spec.rb[1:1:1:2] | passed | 0.
|
79
|
-
./spec/cassette/authentication_spec.rb[1:1:1:3] | passed | 0.
|
80
|
-
./spec/cassette/authentication_spec.rb[1:1:2:1] | passed | 0.
|
81
|
-
./spec/cassette/authentication_spec.rb[1:1:2:2:1] | passed | 0.
|
82
|
-
./spec/cassette/authentication_spec.rb[1:1:2:3:1] | passed | 0.
|
83
|
-
./spec/cassette/authentication_spec.rb[1:2:1] | passed | 0.
|
84
|
-
./spec/cassette/authentication_spec.rb[1:2:2] | passed | 0.
|
85
|
-
./spec/cassette/authentication_spec.rb[1:2:3] | passed | 0.
|
86
|
-
./spec/cassette/authentication_spec.rb[1:2:4] | passed | 0.
|
87
|
-
./spec/cassette/cache/null_store_spec.rb[1:1:1] | passed | 0.
|
88
|
-
./spec/cassette/cache/null_store_spec.rb[1:1:2] | passed | 0.
|
89
|
-
./spec/cassette/cache/null_store_spec.rb[1:2:1] | passed | 0.
|
90
|
-
./spec/cassette/cache/null_store_spec.rb[1:3:1] | passed | 0.
|
91
|
-
./spec/cassette/cache/null_store_spec.rb[1:3:2] | passed | 0.
|
92
|
-
./spec/cassette/cache/null_store_spec.rb[1:3:3] | passed | 0.
|
93
|
-
./spec/cassette/cache/null_store_spec.rb[1:4:1] | passed | 0.
|
94
|
-
./spec/cassette/cache/null_store_spec.rb[1:4:2] | passed | 0.
|
95
|
-
./spec/cassette/cache/null_store_spec.rb[1:4:3] | passed | 0.
|
96
|
-
./spec/cassette/cache/null_store_spec.rb[1:4:4] | passed | 0.
|
97
|
-
./spec/cassette/cache/null_store_spec.rb[1:5:1] | passed | 0.
|
98
|
-
./spec/cassette/cache/null_store_spec.rb[1:5:2] | passed | 0.
|
99
|
-
./spec/cassette/cache_spec.rb[1:1:1] | passed | 0.
|
100
|
-
./spec/cassette/cache_spec.rb[1:2:1] | passed | 0.
|
101
|
-
./spec/cassette/cache_spec.rb[1:3] | passed | 0.
|
102
|
-
./spec/cassette/client/cache_spec.rb[1:1] | passed | 0.
|
103
|
-
./spec/cassette/
|
104
|
-
./spec/cassette/client_spec.rb[1:1:
|
105
|
-
./spec/cassette/client_spec.rb[1:
|
106
|
-
./spec/cassette/client_spec.rb[1:2:1:
|
107
|
-
./spec/cassette/client_spec.rb[1:2:1:
|
108
|
-
./spec/cassette/client_spec.rb[1:2:
|
109
|
-
./spec/cassette/client_spec.rb[1:2:
|
110
|
-
./spec/cassette/client_spec.rb[1:2:3:1
|
111
|
-
./spec/cassette/client_spec.rb[1:2:3:2
|
112
|
-
./spec/cassette/client_spec.rb[1:
|
113
|
-
./spec/cassette/client_spec.rb[1:3:1:1:
|
114
|
-
./spec/cassette/client_spec.rb[1:3:1:1:
|
115
|
-
./spec/cassette/client_spec.rb[1:3:1:1
|
116
|
-
./spec/cassette/client_spec.rb[1:3:2:1:
|
117
|
-
./spec/cassette/client_spec.rb[1:3:2:1:
|
118
|
-
./spec/cassette/client_spec.rb[1:3:
|
119
|
-
./spec/cassette/client_spec.rb[1:3:3:1:
|
120
|
-
./spec/cassette/client_spec.rb[1:3:3:1
|
121
|
-
./spec/cassette/client_spec.rb[1:3:3:2:
|
122
|
-
./spec/cassette/client_spec.rb[1:
|
123
|
-
./spec/cassette/client_spec.rb[1:4:1:
|
124
|
-
./spec/cassette/client_spec.rb[1:4:1:
|
125
|
-
./spec/cassette/client_spec.rb[1:4:1
|
126
|
-
./spec/cassette/client_spec.rb[1:4:2:
|
127
|
-
./spec/cassette/client_spec.rb[1:4:
|
128
|
-
./spec/cassette/client_spec.rb[1:4:
|
129
|
-
./spec/cassette/client_spec.rb[1:4:4:
|
130
|
-
./spec/cassette/client_spec.rb[1:4:4:
|
131
|
-
./spec/cassette/client_spec.rb[1:4:4:
|
132
|
-
./spec/cassette/client_spec.rb[1:4:4:
|
133
|
-
./spec/cassette/client_spec.rb[1:4:4:
|
134
|
-
./spec/cassette/
|
135
|
-
./spec/cassette/errors_spec.rb[1:
|
136
|
-
./spec/cassette/errors_spec.rb[1:2:
|
137
|
-
./spec/cassette/
|
138
|
-
./spec/cassette/http/request_spec.rb[1:1:
|
139
|
-
./spec/cassette/http/request_spec.rb[1:1:
|
140
|
-
./spec/cassette/http/
|
141
|
-
./spec/cassette/http/ticket_response_spec.rb[1:1:1]
|
142
|
-
./spec/cassette/http/ticket_response_spec.rb[1:
|
143
|
-
./spec/cassette/http/ticket_response_spec.rb[1:2:1]
|
144
|
-
./spec/cassette/http/ticket_response_spec.rb[1:
|
145
|
-
./spec/cassette/http/ticket_response_spec.rb[1:3:1]
|
146
|
-
./spec/cassette/
|
147
|
-
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:1]
|
148
|
-
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:
|
149
|
-
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:
|
150
|
-
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:1]
|
151
|
-
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:
|
152
|
-
./spec/
|
153
|
-
./spec/cassette_spec.rb[1:1:
|
154
|
-
./spec/cassette_spec.rb[1:1
|
155
|
-
./spec/cassette_spec.rb[1:
|
156
|
-
./spec/cassette_spec.rb[1:3:
|
157
|
-
./spec/cassette_spec.rb[1:3:2:
|
158
|
-
./spec/cassette_spec.rb[1:3:2:
|
159
|
-
./spec/cassette_spec.rb[1:3:2:3] | passed | 0.00048 seconds |
|
3
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:1] | passed | 0.00011 seconds |
|
4
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:2] | passed | 0.0001 seconds |
|
5
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:3] | passed | 0.00011 seconds |
|
6
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:1] | passed | 0.00008 seconds |
|
7
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:2:1] | passed | 0.00079 seconds |
|
8
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:2:2] | passed | 0.00016 seconds |
|
9
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:1] | passed | 0.00011 seconds |
|
10
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:2] | passed | 0.00011 seconds |
|
11
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:3] | passed | 0.00012 seconds |
|
12
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:4] | passed | 0.0001 seconds |
|
13
|
+
./spec/cassette/authentication/authorities_spec.rb[1:4:1] | passed | 0.00023 seconds |
|
14
|
+
./spec/cassette/authentication/authorities_spec.rb[1:4:2] | passed | 0.0002 seconds |
|
15
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:1] | passed | 0.00268 seconds |
|
16
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:1] | passed | 0.00031 seconds |
|
17
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:2] | passed | 0.00473 seconds |
|
18
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:3:1] | passed | 0.00031 seconds |
|
19
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:3] | passed | 0.00036 seconds |
|
20
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:1] | passed | 0.00215 seconds |
|
21
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:2] | passed | 0.00146 seconds |
|
22
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:2] | passed | 0.00243 seconds |
|
23
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:3] | passed | 0.00198 seconds |
|
24
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:1] | passed | 0.00058 seconds |
|
25
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:2] | passed | 0.00052 seconds |
|
26
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:2] | passed | 0.00058 seconds |
|
27
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:3] | passed | 0.00062 seconds |
|
28
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:1] | passed | 0.00438 seconds |
|
29
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:2] | passed | 0.00522 seconds |
|
30
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:1] | passed | 0.00248 seconds |
|
31
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:2] | passed | 0.00375 seconds |
|
32
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:1] | passed | 0.00559 seconds |
|
33
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:2] | passed | 0.00254 seconds |
|
34
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:2:1] | passed | 0.00162 seconds |
|
35
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:1:1] | passed | 0.00169 seconds |
|
36
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:2:1] | passed | 0.0016 seconds |
|
37
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:3:1] | passed | 0.00139 seconds |
|
38
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:4:1] | passed | 0.0026 seconds |
|
39
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:1:1] | passed | 0.00223 seconds |
|
40
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:2:1] | passed | 0.00194 seconds |
|
41
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:3:1] | passed | 0.00188 seconds |
|
42
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:1] | passed | 0.0006 seconds |
|
43
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:2] | passed | 0.00052 seconds |
|
44
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:2] | passed | 0.00065 seconds |
|
45
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:3] | passed | 0.00077 seconds |
|
46
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:1] | passed | 0.00061 seconds |
|
47
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:2] | passed | 0.00051 seconds |
|
48
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:2] | passed | 0.00061 seconds |
|
49
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:3] | passed | 0.00063 seconds |
|
50
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:1] | passed | 0.00221 seconds |
|
51
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:2] | passed | 0.00082 seconds |
|
52
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:1] | passed | 0.00058 seconds |
|
53
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:2] | passed | 0.00061 seconds |
|
54
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:1] | passed | 0.00117 seconds |
|
55
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:2] | passed | 0.00126 seconds |
|
56
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:2:1] | passed | 0.00145 seconds |
|
57
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:1:1] | passed | 0.00126 seconds |
|
58
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:2:1] | passed | 0.00053 seconds |
|
59
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:3:1] | passed | 0.00048 seconds |
|
60
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:4:1] | passed | 0.00052 seconds |
|
61
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:1:1] | passed | 0.00072 seconds |
|
62
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:2:1] | passed | 0.00064 seconds |
|
63
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:3:1] | passed | 0.00079 seconds |
|
64
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:1:1] | passed | 0.0003 seconds |
|
65
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:2:1] | passed | 0.0003 seconds |
|
66
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:3:1] | passed | 0.00034 seconds |
|
67
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:4:1] | passed | 0.00027 seconds |
|
68
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:5] | passed | 0.26732 seconds |
|
69
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:6] | passed | 0.00034 seconds |
|
70
|
+
./spec/cassette/authentication/user_spec.rb[1:1:1:1] | passed | 0.00031 seconds |
|
71
|
+
./spec/cassette/authentication/user_spec.rb[1:1:2:1] | passed | 0.00041 seconds |
|
72
|
+
./spec/cassette/authentication/user_spec.rb[1:2:1] | passed | 0.0001 seconds |
|
73
|
+
./spec/cassette/authentication/user_spec.rb[1:2:2] | passed | 0.00012 seconds |
|
74
|
+
./spec/cassette/authentication/user_spec.rb[1:2:3] | passed | 0.00013 seconds |
|
75
|
+
./spec/cassette/authentication/user_spec.rb[1:3:1:1] | passed | 0.0002 seconds |
|
76
|
+
./spec/cassette/authentication/user_spec.rb[1:3:2:1] | passed | 0.00018 seconds |
|
77
|
+
./spec/cassette/authentication_spec.rb[1:1:1:1] | passed | 0.00043 seconds |
|
78
|
+
./spec/cassette/authentication_spec.rb[1:1:1:2] | passed | 0.00035 seconds |
|
79
|
+
./spec/cassette/authentication_spec.rb[1:1:1:3] | passed | 0.00038 seconds |
|
80
|
+
./spec/cassette/authentication_spec.rb[1:1:2:1] | passed | 0.0068 seconds |
|
81
|
+
./spec/cassette/authentication_spec.rb[1:1:2:2:1] | passed | 0.00173 seconds |
|
82
|
+
./spec/cassette/authentication_spec.rb[1:1:2:3:1] | passed | 0.00293 seconds |
|
83
|
+
./spec/cassette/authentication_spec.rb[1:2:1] | passed | 0.00024 seconds |
|
84
|
+
./spec/cassette/authentication_spec.rb[1:2:2] | passed | 0.00024 seconds |
|
85
|
+
./spec/cassette/authentication_spec.rb[1:2:3] | passed | 0.00037 seconds |
|
86
|
+
./spec/cassette/authentication_spec.rb[1:2:4] | passed | 0.00041 seconds |
|
87
|
+
./spec/cassette/cache/null_store_spec.rb[1:1:1] | passed | 0.00013 seconds |
|
88
|
+
./spec/cassette/cache/null_store_spec.rb[1:1:2] | passed | 0.00159 seconds |
|
89
|
+
./spec/cassette/cache/null_store_spec.rb[1:2:1] | passed | 0.00007 seconds |
|
90
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:1] | passed | 0.00008 seconds |
|
91
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:2] | passed | 0.00008 seconds |
|
92
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:3] | passed | 0.0001 seconds |
|
93
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:1] | passed | 0.00009 seconds |
|
94
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:2] | passed | 0.00008 seconds |
|
95
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:3] | passed | 0.00012 seconds |
|
96
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:4] | passed | 0.0001 seconds |
|
97
|
+
./spec/cassette/cache/null_store_spec.rb[1:5:1] | passed | 0.00008 seconds |
|
98
|
+
./spec/cassette/cache/null_store_spec.rb[1:5:2] | passed | 0.00008 seconds |
|
99
|
+
./spec/cassette/cache_spec.rb[1:1:1] | passed | 0.00042 seconds |
|
100
|
+
./spec/cassette/cache_spec.rb[1:2:1] | passed | 0.00012 seconds |
|
101
|
+
./spec/cassette/cache_spec.rb[1:3] | passed | 0.00062 seconds |
|
102
|
+
./spec/cassette/client/cache_spec.rb[1:1] | passed | 0.00017 seconds |
|
103
|
+
./spec/cassette/client/cache_spec.rb[1:2:1] | passed | 0.00012 seconds |
|
104
|
+
./spec/cassette/client_spec.rb[1:1:1] | passed | 0.00026 seconds |
|
105
|
+
./spec/cassette/client_spec.rb[1:1:2] | passed | 0.00028 seconds |
|
106
|
+
./spec/cassette/client_spec.rb[1:2:1:1] | passed | 0.00059 seconds |
|
107
|
+
./spec/cassette/client_spec.rb[1:2:1:2] | passed | 0.0005 seconds |
|
108
|
+
./spec/cassette/client_spec.rb[1:2:1:3] | passed | 0.00047 seconds |
|
109
|
+
./spec/cassette/client_spec.rb[1:2:2:1] | passed | 0.00065 seconds |
|
110
|
+
./spec/cassette/client_spec.rb[1:2:3:1] | passed | 0.00064 seconds |
|
111
|
+
./spec/cassette/client_spec.rb[1:2:3:2] | passed | 0.001 seconds |
|
112
|
+
./spec/cassette/client_spec.rb[1:3:1:1:1] | passed | 0.00088 seconds |
|
113
|
+
./spec/cassette/client_spec.rb[1:3:1:1:2] | passed | 0.00078 seconds |
|
114
|
+
./spec/cassette/client_spec.rb[1:3:1:1:3] | passed | 0.00119 seconds |
|
115
|
+
./spec/cassette/client_spec.rb[1:3:2:1:1] | passed | 0.00056 seconds |
|
116
|
+
./spec/cassette/client_spec.rb[1:3:2:1:2] | passed | 0.00047 seconds |
|
117
|
+
./spec/cassette/client_spec.rb[1:3:2:1:3] | passed | 0.00056 seconds |
|
118
|
+
./spec/cassette/client_spec.rb[1:3:3:1:1] | passed | 0.00038 seconds |
|
119
|
+
./spec/cassette/client_spec.rb[1:3:3:1:2] | passed | 0.00042 seconds |
|
120
|
+
./spec/cassette/client_spec.rb[1:3:3:2:1] | passed | 0.00036 seconds |
|
121
|
+
./spec/cassette/client_spec.rb[1:3:3:2:2] | passed | 0.00039 seconds |
|
122
|
+
./spec/cassette/client_spec.rb[1:4:1:1] | passed | 0.00087 seconds |
|
123
|
+
./spec/cassette/client_spec.rb[1:4:1:2] | passed | 0.00121 seconds |
|
124
|
+
./spec/cassette/client_spec.rb[1:4:1:3] | passed | 0.00077 seconds |
|
125
|
+
./spec/cassette/client_spec.rb[1:4:2:1] | passed | 0.00067 seconds |
|
126
|
+
./spec/cassette/client_spec.rb[1:4:2:2] | passed | 0.00075 seconds |
|
127
|
+
./spec/cassette/client_spec.rb[1:4:3:1] | passed | 0.00045 seconds |
|
128
|
+
./spec/cassette/client_spec.rb[1:4:4:1] | passed | 0.00105 seconds |
|
129
|
+
./spec/cassette/client_spec.rb[1:4:4:2] | passed | 0.00111 seconds |
|
130
|
+
./spec/cassette/client_spec.rb[1:4:4:3] | passed | 0.00117 seconds |
|
131
|
+
./spec/cassette/client_spec.rb[1:4:4:4] | passed | 0.00104 seconds |
|
132
|
+
./spec/cassette/client_spec.rb[1:4:4:5] | passed | 0.00126 seconds |
|
133
|
+
./spec/cassette/client_spec.rb[1:4:4:6] | passed | 0.00106 seconds |
|
134
|
+
./spec/cassette/errors_spec.rb[1:1:1:1] | passed | 0.0001 seconds |
|
135
|
+
./spec/cassette/errors_spec.rb[1:2:1] | passed | 0.00017 seconds |
|
136
|
+
./spec/cassette/errors_spec.rb[1:2:2] | passed | 0.00012 seconds |
|
137
|
+
./spec/cassette/http/request_spec.rb[1:1:1] | passed | 0.0019 seconds |
|
138
|
+
./spec/cassette/http/request_spec.rb[1:1:2] | passed | 0.00483 seconds |
|
139
|
+
./spec/cassette/http/request_spec.rb[1:1:3:1] | passed | 0.00115 seconds |
|
140
|
+
./spec/cassette/http/ticket_response_spec.rb[1:1:1] | passed | 0.00155 seconds |
|
141
|
+
./spec/cassette/http/ticket_response_spec.rb[1:1:2:1] | passed | 0.00099 seconds |
|
142
|
+
./spec/cassette/http/ticket_response_spec.rb[1:2:1] | passed | 0.00144 seconds |
|
143
|
+
./spec/cassette/http/ticket_response_spec.rb[1:2:2:1] | passed | 0.0014 seconds |
|
144
|
+
./spec/cassette/http/ticket_response_spec.rb[1:3:1] | passed | 0.00182 seconds |
|
145
|
+
./spec/cassette/http/ticket_response_spec.rb[1:3:2:1] | passed | 0.00106 seconds |
|
146
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:1] | passed | 0.00043 seconds |
|
147
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:2:1] | passed | 0.00042 seconds |
|
148
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:3:1] | passed | 0.00043 seconds |
|
149
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:1] | passed | 0.0006 seconds |
|
150
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:2:1] | passed | 0.00044 seconds |
|
151
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:3:1] | passed | 0.00044 seconds |
|
152
|
+
./spec/cassette_spec.rb[1:1:1] | passed | 0.00012 seconds |
|
153
|
+
./spec/cassette_spec.rb[1:1:2] | passed | 0.00035 seconds |
|
154
|
+
./spec/cassette_spec.rb[1:2:1] | passed | 0.0001 seconds |
|
155
|
+
./spec/cassette_spec.rb[1:3:1:1] | passed | 0.0001 seconds |
|
156
|
+
./spec/cassette_spec.rb[1:3:2:1] | passed | 0.00029 seconds |
|
157
|
+
./spec/cassette_spec.rb[1:3:2:2] | passed | 0.00015 seconds |
|
158
|
+
./spec/cassette_spec.rb[1:3:2:3] | passed | 0.00042 seconds |
|
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.
|
4
|
+
version: 1.3.0
|
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:
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|