cassette 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/cassette/authentication/cache.rb +1 -0
- data/lib/cassette/authentication/user.rb +13 -9
- data/lib/cassette/authentication.rb +4 -1
- data/lib/cassette/cache.rb +1 -0
- data/lib/cassette/http/ticket_response.rb +4 -3
- data/lib/cassette/rubycas/user_factory.rb +5 -4
- data/lib/cassette/version.rb +1 -1
- data/spec/cassette/authentication/user_factory_spec.rb +7 -2
- data/spec/cassette/authentication/user_spec.rb +1 -1
- data/spec/cassette/http/ticket_response_spec.rb +24 -0
- data/spec/fixtures/cas/success.xml +2 -0
- data/spec/support/last_execution_examples_result.txt +172 -161
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fe1fc28864b52747a385ccbdd1947985d1a38fc39f94fb7ea43cf2802526c8a
|
4
|
+
data.tar.gz: 4b196307ce83e355ef45403522d52e2173b7b4d77b11285f3a7254222c84c4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3756ada7048aba89736468b776038dde721bae45db5a9591d6673d881c21c3993c897a956fca2c3ccbf1c2eb4e0f2ad4a4c9c03e9c51a1beb0247afdbca81886
|
7
|
+
data.tar.gz: fe11ddeb0ddd0b6db43edbab6af6e62a02cf24a9cc9578435a366fb841efbdf10cac65f03cf2650c6306b2710193e3daa7bf3fcc4a6a65723e874f6f15908bf6
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Cassette::Client
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/locaweb/cassette/actions/workflows/ci.yml/badge.svg)](https://github.com/locaweb/cassette/actions/workflows/ci.yml)
|
4
4
|
|
5
5
|
[![Test Coverage](https://codeclimate.com/github/locaweb/cassette/badges/coverage.svg)](https://codeclimate.com/github/locaweb/cassette/coverage)
|
6
6
|
|
@@ -9,18 +9,22 @@ module Cassette
|
|
9
9
|
class User
|
10
10
|
extend Forwardable
|
11
11
|
|
12
|
-
attr_accessor :login, :name, :authorities, :email, :ticket, :type
|
12
|
+
attr_accessor :login, :name, :authorities, :email, :ticket, :type,
|
13
|
+
:extra_attributes
|
14
|
+
|
13
15
|
def_delegators :@authorities, :has_role?, :has_raw_role?
|
14
16
|
|
15
17
|
def initialize(attrs = {})
|
16
|
-
config
|
17
|
-
@login
|
18
|
-
@name
|
19
|
-
@type
|
20
|
-
@email
|
21
|
-
@ticket
|
22
|
-
@
|
23
|
-
|
18
|
+
config = attrs[:config]
|
19
|
+
@login = attrs[:login]
|
20
|
+
@name = attrs[:name]
|
21
|
+
@type = attrs[:type]
|
22
|
+
@email = attrs[:email]
|
23
|
+
@ticket = attrs[:ticket]
|
24
|
+
@extra_attributes = attrs[:extra_attributes]
|
25
|
+
@authorities = Cassette::Authentication::Authorities
|
26
|
+
.parse(attrs.fetch(:authorities, '[]'),
|
27
|
+
config&.base_authority)
|
24
28
|
end
|
25
29
|
|
26
30
|
%w(customer employee).each do |type|
|
@@ -36,13 +36,16 @@ module Cassette
|
|
36
36
|
|
37
37
|
logger.info("Validation resut: #{response.inspect}")
|
38
38
|
|
39
|
+
return nil unless ticket_response.login
|
40
|
+
|
39
41
|
Cassette::Authentication::User.new(
|
40
42
|
login: ticket_response.login,
|
41
43
|
name: ticket_response.name,
|
42
44
|
authorities: ticket_response.authorities,
|
45
|
+
extra_attributes: ticket_response.extra_attributes,
|
43
46
|
ticket: ticket,
|
44
47
|
config: config
|
45
|
-
)
|
48
|
+
)
|
46
49
|
rescue => exception
|
47
50
|
logger.error "Error while authenticating ticket #{ticket}: #{exception.message}"
|
48
51
|
raise Cassette::Errors::Forbidden, exception.message
|
data/lib/cassette/cache.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rexml/xpath'
|
|
4
4
|
module Cassette
|
5
5
|
module Http
|
6
6
|
class TicketResponse
|
7
|
-
attr_reader :login, :name, :authorities
|
7
|
+
attr_reader :login, :name, :extra_attributes, :authorities
|
8
8
|
|
9
9
|
def initialize(response)
|
10
10
|
namespaces = { "cas" => "http://www.yale.edu/tp/cas" }
|
@@ -22,8 +22,9 @@ module Cassette
|
|
22
22
|
elements.
|
23
23
|
map { |e| [e.name, e.text] }]
|
24
24
|
|
25
|
-
@name = attributes
|
26
|
-
@authorities = attributes
|
25
|
+
@name = attributes.delete('cn')
|
26
|
+
@authorities = attributes.delete('authorities')
|
27
|
+
@extra_attributes = attributes
|
27
28
|
end
|
28
29
|
end
|
29
30
|
end
|
@@ -5,10 +5,11 @@ module Cassette
|
|
5
5
|
attributes = session[:cas_extra_attributes]
|
6
6
|
attributes = attributes.with_indifferent_access if attributes.respond_to?(:with_indifferent_access)
|
7
7
|
Cassette::Authentication::User.new(login: session[:cas_user],
|
8
|
-
name: attributes.try(:
|
9
|
-
email: attributes.try(:
|
10
|
-
authorities: attributes.try(:
|
11
|
-
type: attributes.try(:
|
8
|
+
name: attributes.try(:delete, :cn),
|
9
|
+
email: attributes.try(:delete, :email),
|
10
|
+
authorities: attributes.try(:delete, :authorities),
|
11
|
+
type: attributes.try(:delete, :type).try(:downcase),
|
12
|
+
extra_attributes: attributes)
|
12
13
|
end
|
13
14
|
end
|
14
15
|
end
|
data/lib/cassette/version.rb
CHANGED
@@ -17,7 +17,8 @@ RSpec.describe Cassette::Rubycas::UserFactory do
|
|
17
17
|
cas_extra_attributes: {
|
18
18
|
email: Faker::Internet.email(name),
|
19
19
|
type: 'Customer',
|
20
|
-
authorities: '[CASTEST_ADMIN]'
|
20
|
+
authorities: '[CASTEST_ADMIN]',
|
21
|
+
extra: 'some value'
|
21
22
|
}
|
22
23
|
}
|
23
24
|
end
|
@@ -35,11 +36,15 @@ RSpec.describe Cassette::Rubycas::UserFactory do
|
|
35
36
|
its(:name) { is_expected.to eq(attributes[:name]) }
|
36
37
|
its(:email) { is_expected.to eq(attributes[:email]) }
|
37
38
|
its(:type) { is_expected.to eq(attributes[:type].downcase) }
|
39
|
+
its(:extra_attributes) do
|
40
|
+
is_expected
|
41
|
+
.to eq(attributes.except(:email, :type, :authorities).stringify_keys)
|
42
|
+
end
|
38
43
|
it { is_expected.to be_customer }
|
39
44
|
it { is_expected.not_to be_employee }
|
40
45
|
end
|
41
46
|
|
42
|
-
context 'when key
|
47
|
+
context 'when key authorities is a string' do
|
43
48
|
let(:session) do
|
44
49
|
name = Faker.name
|
45
50
|
|
@@ -38,4 +38,28 @@ describe Cassette::Http::TicketResponse do
|
|
38
38
|
it { is_expected.to be_nil }
|
39
39
|
end
|
40
40
|
end
|
41
|
+
|
42
|
+
describe '#extra_attributes' do
|
43
|
+
it 'converts the nodes to a hash' do
|
44
|
+
expect(ticket_response.extra_attributes['extra']).to eq('value')
|
45
|
+
end
|
46
|
+
|
47
|
+
it 'does not change keys' do
|
48
|
+
expect(ticket_response.extra_attributes['camelKey']).to eq('camelValue')
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'does not include login, name nor authorities' do
|
52
|
+
expect(ticket_response.extra_attributes).not_to have_key('login')
|
53
|
+
expect(ticket_response.extra_attributes).not_to have_key('name')
|
54
|
+
expect(ticket_response.extra_attributes).not_to have_key('authorities')
|
55
|
+
end
|
56
|
+
|
57
|
+
context "when response isn't successful" do
|
58
|
+
let(:xml_response) { fixture('cas/fail.xml') }
|
59
|
+
|
60
|
+
it 'is nil' do
|
61
|
+
expect(ticket_response.extra_attributes).to be_nil
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
41
65
|
end
|
@@ -1,163 +1,174 @@
|
|
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]
|
69
|
-
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:6] | passed |
|
70
|
-
./spec/cassette/authentication/
|
71
|
-
./spec/cassette/authentication/
|
72
|
-
./spec/cassette/authentication/
|
73
|
-
./spec/cassette/authentication/
|
74
|
-
./spec/cassette/authentication/
|
75
|
-
./spec/cassette/authentication/
|
76
|
-
./spec/cassette/authentication/
|
77
|
-
./spec/cassette/
|
78
|
-
./spec/cassette/
|
79
|
-
./spec/cassette/
|
80
|
-
./spec/cassette/
|
81
|
-
./spec/cassette/
|
82
|
-
./spec/cassette/
|
83
|
-
./spec/cassette/
|
84
|
-
./spec/cassette/authentication_spec.rb[1:
|
85
|
-
./spec/cassette/authentication_spec.rb[1:2
|
86
|
-
./spec/cassette/authentication_spec.rb[1:
|
87
|
-
./spec/cassette/
|
88
|
-
./spec/cassette/
|
89
|
-
./spec/cassette/
|
90
|
-
./spec/cassette/
|
91
|
-
./spec/cassette/
|
92
|
-
./spec/cassette/
|
93
|
-
./spec/cassette/
|
94
|
-
./spec/cassette/cache/null_store_spec.rb[1:
|
95
|
-
./spec/cassette/cache/null_store_spec.rb[1:
|
96
|
-
./spec/cassette/cache/null_store_spec.rb[1:
|
97
|
-
./spec/cassette/cache/null_store_spec.rb[1:
|
98
|
-
./spec/cassette/cache/null_store_spec.rb[1:
|
99
|
-
./spec/cassette/
|
100
|
-
./spec/cassette/
|
101
|
-
./spec/cassette/
|
102
|
-
./spec/cassette/
|
103
|
-
./spec/cassette/
|
104
|
-
./spec/cassette/
|
105
|
-
./spec/cassette/
|
106
|
-
./spec/cassette/
|
107
|
-
./spec/cassette/
|
108
|
-
./spec/cassette/
|
109
|
-
./spec/cassette/
|
110
|
-
./spec/cassette/
|
111
|
-
./spec/cassette/client_spec.rb[1:
|
112
|
-
./spec/cassette/client_spec.rb[1:
|
113
|
-
./spec/cassette/client_spec.rb[1:
|
114
|
-
./spec/cassette/client_spec.rb[1:
|
115
|
-
./spec/cassette/client_spec.rb[1:
|
116
|
-
./spec/cassette/client_spec.rb[1:
|
117
|
-
./spec/cassette/client_spec.rb[1:3:
|
118
|
-
./spec/cassette/client_spec.rb[1:
|
119
|
-
./spec/cassette/client_spec.rb[1:3:
|
120
|
-
./spec/cassette/client_spec.rb[1:3:
|
121
|
-
./spec/cassette/client_spec.rb[1:3:
|
122
|
-
./spec/cassette/client_spec.rb[1:
|
123
|
-
./spec/cassette/client_spec.rb[1:
|
124
|
-
./spec/cassette/client_spec.rb[1:
|
125
|
-
./spec/cassette/client_spec.rb[1:
|
126
|
-
./spec/cassette/client_spec.rb[1:
|
127
|
-
./spec/cassette/client_spec.rb[1:
|
128
|
-
./spec/cassette/client_spec.rb[1:
|
129
|
-
./spec/cassette/client_spec.rb[1:4:
|
130
|
-
./spec/cassette/client_spec.rb[1:4:
|
131
|
-
./spec/cassette/client_spec.rb[1:4:
|
132
|
-
./spec/cassette/client_spec.rb[1:4:
|
133
|
-
./spec/cassette/client_spec.rb[1:4:
|
134
|
-
./spec/cassette/
|
135
|
-
./spec/cassette/
|
136
|
-
./spec/cassette/
|
137
|
-
./spec/cassette/
|
138
|
-
./spec/cassette/
|
139
|
-
./spec/cassette/
|
140
|
-
./spec/cassette/
|
141
|
-
./spec/cassette/
|
142
|
-
./spec/cassette/
|
143
|
-
./spec/cassette/
|
144
|
-
./spec/cassette/http/
|
145
|
-
./spec/cassette/http/
|
146
|
-
./spec/cassette/
|
147
|
-
./spec/cassette/
|
148
|
-
./spec/cassette/
|
149
|
-
./spec/cassette/
|
150
|
-
./spec/cassette/
|
151
|
-
./spec/cassette/
|
152
|
-
./spec/
|
153
|
-
./spec/
|
154
|
-
./spec/
|
155
|
-
./spec/
|
156
|
-
./spec/
|
157
|
-
./spec/
|
158
|
-
./spec/
|
159
|
-
./spec/
|
160
|
-
./spec/
|
161
|
-
./spec/
|
162
|
-
./spec/
|
163
|
-
./spec/cassette_spec.rb[1:
|
3
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:1] | passed | 0.00031 seconds |
|
4
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:2] | passed | 0.00048 seconds |
|
5
|
+
./spec/cassette/authentication/authorities_spec.rb[1:1:3] | passed | 0.00028 seconds |
|
6
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:1] | passed | 0.0002 seconds |
|
7
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:2:1] | passed | 0.00046 seconds |
|
8
|
+
./spec/cassette/authentication/authorities_spec.rb[1:2:2:2] | passed | 0.0007 seconds |
|
9
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:1] | passed | 0.00017 seconds |
|
10
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:2] | passed | 0.00043 seconds |
|
11
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:3] | passed | 0.00028 seconds |
|
12
|
+
./spec/cassette/authentication/authorities_spec.rb[1:3:4] | passed | 0.00029 seconds |
|
13
|
+
./spec/cassette/authentication/authorities_spec.rb[1:4:1] | passed | 0.00045 seconds |
|
14
|
+
./spec/cassette/authentication/authorities_spec.rb[1:4:2] | passed | 0.00066 seconds |
|
15
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:1] | passed | 0.00103 seconds |
|
16
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:1] | passed | 0.00098 seconds |
|
17
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:2] | passed | 0.00225 seconds |
|
18
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:2:3:1] | passed | 0.00077 seconds |
|
19
|
+
./spec/cassette/authentication/cache_spec.rb[1:1:3] | passed | 0.00082 seconds |
|
20
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:1] | passed | 0.00207 seconds |
|
21
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:1:2] | passed | 0.0022 seconds |
|
22
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:2] | passed | 0.00226 seconds |
|
23
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:1:3] | passed | 0.0562 seconds |
|
24
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:1] | passed | 0.00179 seconds |
|
25
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:1:2] | passed | 0.00157 seconds |
|
26
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:2] | passed | 0.0033 seconds |
|
27
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:2:3] | passed | 0.00243 seconds |
|
28
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:1] | passed | 0.00266 seconds |
|
29
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:1:1:2] | passed | 0.00493 seconds |
|
30
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:1] | passed | 0.00572 seconds |
|
31
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:2:1:2] | passed | 0.00791 seconds |
|
32
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:1] | passed | 0.00139 seconds |
|
33
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:1:3:1:2] | passed | 0.00161 seconds |
|
34
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:2:1] | passed | 0.00234 seconds |
|
35
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:1:1] | passed | 0.00322 seconds |
|
36
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:2:1] | passed | 0.00215 seconds |
|
37
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:3:1] | passed | 0.00223 seconds |
|
38
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:3:3:4:1] | passed | 0.00203 seconds |
|
39
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:1:1] | passed | 0.00176 seconds |
|
40
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:2:1] | passed | 0.00344 seconds |
|
41
|
+
./spec/cassette/authentication/filter_spec.rb[1:1:1:4:1:3:1] | passed | 0.00324 seconds |
|
42
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:1] | passed | 0.00138 seconds |
|
43
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:1:2] | passed | 0.00199 seconds |
|
44
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:2] | passed | 0.00132 seconds |
|
45
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:1:3] | passed | 0.00166 seconds |
|
46
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:1] | passed | 0.00189 seconds |
|
47
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:1:2] | passed | 0.00164 seconds |
|
48
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:2] | passed | 0.00242 seconds |
|
49
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:2:3] | passed | 0.00206 seconds |
|
50
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:1] | passed | 0.00103 seconds |
|
51
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:1:1:2] | passed | 0.00081 seconds |
|
52
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:1] | passed | 0.00191 seconds |
|
53
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:2:1:2] | passed | 0.00139 seconds |
|
54
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:1] | passed | 0.00099 seconds |
|
55
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:1:3:1:2] | passed | 0.0011 seconds |
|
56
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:2:1] | passed | 0.00132 seconds |
|
57
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:1:1] | passed | 0.00233 seconds |
|
58
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:2:1] | passed | 0.00244 seconds |
|
59
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:3:1] | passed | 0.00136 seconds |
|
60
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:3:3:4:1] | passed | 0.00155 seconds |
|
61
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:1:1] | passed | 0.00227 seconds |
|
62
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:2:1] | passed | 0.00212 seconds |
|
63
|
+
./spec/cassette/authentication/filter_spec.rb[1:2:1:4:1:3:1] | passed | 0.00226 seconds |
|
64
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:1:1] | passed | 0.00295 seconds |
|
65
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:2:1] | passed | 0.00388 seconds |
|
66
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:3:1] | passed | 0.00338 seconds |
|
67
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:4:1] | passed | 0.00349 seconds |
|
68
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:5:1] | passed | 0.00435 seconds |
|
69
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:6] | passed | 2.88 seconds |
|
70
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:1:7] | passed | 0.00301 seconds |
|
71
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:1:1] | passed | 0.00296 seconds |
|
72
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:2:1] | passed | 0.00318 seconds |
|
73
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:3:1] | passed | 0.00379 seconds |
|
74
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:4:1] | passed | 0.00686 seconds |
|
75
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:5] | passed | 0.0033 seconds |
|
76
|
+
./spec/cassette/authentication/user_factory_spec.rb[1:1:2:6] | passed | 0.00257 seconds |
|
77
|
+
./spec/cassette/authentication/user_spec.rb[1:1:1:1] | passed | 0.00054 seconds |
|
78
|
+
./spec/cassette/authentication/user_spec.rb[1:1:2:1] | passed | 0.00142 seconds |
|
79
|
+
./spec/cassette/authentication/user_spec.rb[1:2:1] | passed | 0.00063 seconds |
|
80
|
+
./spec/cassette/authentication/user_spec.rb[1:2:2] | passed | 0.00078 seconds |
|
81
|
+
./spec/cassette/authentication/user_spec.rb[1:2:3] | passed | 0.00062 seconds |
|
82
|
+
./spec/cassette/authentication/user_spec.rb[1:3:1:1] | passed | 0.00048 seconds |
|
83
|
+
./spec/cassette/authentication/user_spec.rb[1:3:2:1] | passed | 0.00086 seconds |
|
84
|
+
./spec/cassette/authentication_spec.rb[1:1:1:1] | passed | 0.0009 seconds |
|
85
|
+
./spec/cassette/authentication_spec.rb[1:1:1:2] | passed | 0.0009 seconds |
|
86
|
+
./spec/cassette/authentication_spec.rb[1:1:1:3] | passed | 0.00097 seconds |
|
87
|
+
./spec/cassette/authentication_spec.rb[1:1:2:1] | passed | 0.00224 seconds |
|
88
|
+
./spec/cassette/authentication_spec.rb[1:1:2:2:1] | passed | 0.00497 seconds |
|
89
|
+
./spec/cassette/authentication_spec.rb[1:1:2:3:1] | passed | 0.00703 seconds |
|
90
|
+
./spec/cassette/authentication_spec.rb[1:2:1] | passed | 0.00094 seconds |
|
91
|
+
./spec/cassette/authentication_spec.rb[1:2:2] | passed | 0.0005 seconds |
|
92
|
+
./spec/cassette/authentication_spec.rb[1:2:3] | passed | 0.00372 seconds |
|
93
|
+
./spec/cassette/authentication_spec.rb[1:2:4] | passed | 0.00103 seconds |
|
94
|
+
./spec/cassette/cache/null_store_spec.rb[1:1:1] | passed | 0.00047 seconds |
|
95
|
+
./spec/cassette/cache/null_store_spec.rb[1:1:2] | passed | 0.00035 seconds |
|
96
|
+
./spec/cassette/cache/null_store_spec.rb[1:2:1] | passed | 0.00025 seconds |
|
97
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:1] | passed | 0.00024 seconds |
|
98
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:2] | passed | 0.00025 seconds |
|
99
|
+
./spec/cassette/cache/null_store_spec.rb[1:3:3] | passed | 0.00019 seconds |
|
100
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:1] | passed | 0.00048 seconds |
|
101
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:2] | passed | 0.00035 seconds |
|
102
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:3] | passed | 0.00036 seconds |
|
103
|
+
./spec/cassette/cache/null_store_spec.rb[1:4:4] | passed | 0.00044 seconds |
|
104
|
+
./spec/cassette/cache/null_store_spec.rb[1:5:1] | passed | 0.00052 seconds |
|
105
|
+
./spec/cassette/cache/null_store_spec.rb[1:5:2] | passed | 0.00064 seconds |
|
106
|
+
./spec/cassette/cache_spec.rb[1:1:1] | passed | 0.00037 seconds |
|
107
|
+
./spec/cassette/cache_spec.rb[1:2:1] | passed | 0.00053 seconds |
|
108
|
+
./spec/cassette/cache_spec.rb[1:3] | passed | 0.00155 seconds |
|
109
|
+
./spec/cassette/client/cache_spec.rb[1:1] | passed | 0.00034 seconds |
|
110
|
+
./spec/cassette/client/cache_spec.rb[1:2:1] | passed | 0.00023 seconds |
|
111
|
+
./spec/cassette/client_spec.rb[1:1:1] | passed | 0.0011 seconds |
|
112
|
+
./spec/cassette/client_spec.rb[1:1:2] | passed | 0.00459 seconds |
|
113
|
+
./spec/cassette/client_spec.rb[1:2:1:1] | passed | 0.00144 seconds |
|
114
|
+
./spec/cassette/client_spec.rb[1:2:1:2] | passed | 0.00085 seconds |
|
115
|
+
./spec/cassette/client_spec.rb[1:2:1:3] | passed | 0.00115 seconds |
|
116
|
+
./spec/cassette/client_spec.rb[1:2:2:1] | passed | 0.00223 seconds |
|
117
|
+
./spec/cassette/client_spec.rb[1:2:3:1] | passed | 0.00204 seconds |
|
118
|
+
./spec/cassette/client_spec.rb[1:2:3:2] | passed | 0.00344 seconds |
|
119
|
+
./spec/cassette/client_spec.rb[1:3:1:1:1] | passed | 0.00192 seconds |
|
120
|
+
./spec/cassette/client_spec.rb[1:3:1:1:2] | passed | 0.00089 seconds |
|
121
|
+
./spec/cassette/client_spec.rb[1:3:1:1:3] | passed | 0.00155 seconds |
|
122
|
+
./spec/cassette/client_spec.rb[1:3:2:1:1] | passed | 0.00159 seconds |
|
123
|
+
./spec/cassette/client_spec.rb[1:3:2:1:2] | passed | 0.00172 seconds |
|
124
|
+
./spec/cassette/client_spec.rb[1:3:2:1:3] | passed | 0.00094 seconds |
|
125
|
+
./spec/cassette/client_spec.rb[1:3:3:1:1] | passed | 0.0009 seconds |
|
126
|
+
./spec/cassette/client_spec.rb[1:3:3:1:2] | passed | 0.00069 seconds |
|
127
|
+
./spec/cassette/client_spec.rb[1:3:3:2:1] | passed | 0.00109 seconds |
|
128
|
+
./spec/cassette/client_spec.rb[1:3:3:2:2] | passed | 0.00105 seconds |
|
129
|
+
./spec/cassette/client_spec.rb[1:4:1:1] | passed | 0.00159 seconds |
|
130
|
+
./spec/cassette/client_spec.rb[1:4:1:2] | passed | 0.00282 seconds |
|
131
|
+
./spec/cassette/client_spec.rb[1:4:1:3] | passed | 0.00237 seconds |
|
132
|
+
./spec/cassette/client_spec.rb[1:4:2:1] | passed | 0.00162 seconds |
|
133
|
+
./spec/cassette/client_spec.rb[1:4:2:2] | passed | 0.00175 seconds |
|
134
|
+
./spec/cassette/client_spec.rb[1:4:3:1] | passed | 0.00158 seconds |
|
135
|
+
./spec/cassette/client_spec.rb[1:4:4:1] | passed | 0.00344 seconds |
|
136
|
+
./spec/cassette/client_spec.rb[1:4:4:2] | passed | 0.00308 seconds |
|
137
|
+
./spec/cassette/client_spec.rb[1:4:4:3] | passed | 0.00263 seconds |
|
138
|
+
./spec/cassette/client_spec.rb[1:4:4:4] | passed | 0.00454 seconds |
|
139
|
+
./spec/cassette/client_spec.rb[1:4:4:5] | passed | 0.00352 seconds |
|
140
|
+
./spec/cassette/client_spec.rb[1:4:4:6] | passed | 0.0021 seconds |
|
141
|
+
./spec/cassette/errors_spec.rb[1:1:1:1] | passed | 0.00048 seconds |
|
142
|
+
./spec/cassette/errors_spec.rb[1:2:1] | passed | 0.00043 seconds |
|
143
|
+
./spec/cassette/errors_spec.rb[1:2:2] | passed | 0.00038 seconds |
|
144
|
+
./spec/cassette/http/request_spec.rb[1:1:1] | passed | 0.03435 seconds |
|
145
|
+
./spec/cassette/http/request_spec.rb[1:1:2] | passed | 0.01046 seconds |
|
146
|
+
./spec/cassette/http/request_spec.rb[1:1:3:1] | passed | 0.00255 seconds |
|
147
|
+
./spec/cassette/http/ticket_response_spec.rb[1:1:1] | passed | 0.0038 seconds |
|
148
|
+
./spec/cassette/http/ticket_response_spec.rb[1:1:2:1] | passed | 0.0027 seconds |
|
149
|
+
./spec/cassette/http/ticket_response_spec.rb[1:2:1] | passed | 0.00543 seconds |
|
150
|
+
./spec/cassette/http/ticket_response_spec.rb[1:2:2:1] | passed | 0.00271 seconds |
|
151
|
+
./spec/cassette/http/ticket_response_spec.rb[1:3:1] | passed | 0.00419 seconds |
|
152
|
+
./spec/cassette/http/ticket_response_spec.rb[1:3:2:1] | passed | 0.00321 seconds |
|
153
|
+
./spec/cassette/http/ticket_response_spec.rb[1:4:1] | passed | 0.00362 seconds |
|
154
|
+
./spec/cassette/http/ticket_response_spec.rb[1:4:2] | passed | 0.00438 seconds |
|
155
|
+
./spec/cassette/http/ticket_response_spec.rb[1:4:3] | passed | 0.00343 seconds |
|
156
|
+
./spec/cassette/http/ticket_response_spec.rb[1:4:4:1] | passed | 0.00271 seconds |
|
157
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:1] | passed | 0.00143 seconds |
|
158
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:2:1] | passed | 0.00154 seconds |
|
159
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:1:3:1] | passed | 0.00147 seconds |
|
160
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:1] | passed | 0.00111 seconds |
|
161
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:2:1] | passed | 0.00384 seconds |
|
162
|
+
./spec/cassette/rubycas/routing_constraint_spec.rb[1:1:2:3:1] | passed | 0.00114 seconds |
|
163
|
+
./spec/cassette_spec.rb[1:1:1] | passed | 0.00062 seconds |
|
164
|
+
./spec/cassette_spec.rb[1:1:2:1] | passed | 0.00081 seconds |
|
165
|
+
./spec/cassette_spec.rb[1:1:3:1] | passed | 0.00057 seconds |
|
166
|
+
./spec/cassette_spec.rb[1:1:4:1] | passed | 0.00094 seconds |
|
167
|
+
./spec/cassette_spec.rb[1:1:5:1] | passed | 0.00413 seconds |
|
168
|
+
./spec/cassette_spec.rb[1:2:1] | passed | 0.00091 seconds |
|
169
|
+
./spec/cassette_spec.rb[1:2:2] | passed | 0.00331 seconds |
|
170
|
+
./spec/cassette_spec.rb[1:3:1] | passed | 0.00033 seconds |
|
171
|
+
./spec/cassette_spec.rb[1:4:1:1] | passed | 0.00021 seconds |
|
172
|
+
./spec/cassette_spec.rb[1:4:2:1] | passed | 0.00083 seconds |
|
173
|
+
./spec/cassette_spec.rb[1:4:2:2] | passed | 0.00024 seconds |
|
174
|
+
./spec/cassette_spec.rb[1:4:2:3] | passed | 0.0053 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.7.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: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '0'
|
293
293
|
requirements: []
|
294
|
-
rubygems_version: 3.1.
|
294
|
+
rubygems_version: 3.1.6
|
295
295
|
signing_key:
|
296
296
|
specification_version: 4
|
297
297
|
summary: Generates, validates and caches TGTs and STs
|