authorized_persona 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +6 -3
- data/.rubocop.yml +2 -2
- data/.ruby-version +1 -1
- data/Appraisals +4 -4
- data/Gemfile.lock +7 -8
- data/authorized_persona.gemspec +2 -2
- data/gemfiles/rails_8_0.gemfile.lock +7 -6
- data/gemfiles/{rails_7_2.gemfile → rails_8_1.gemfile} +1 -1
- data/gemfiles/rails_8_1.gemfile.lock +225 -0
- data/lib/authorized_persona/authorization.rb +2 -2
- data/lib/authorized_persona/version.rb +1 -1
- metadata +13 -13
- data/gemfiles/rails_7_2.gemfile.lock +0 -201
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3771cb7baf429186540b88ab974c0904af5ddcd1f01c2cf9dbe88c232d0bc464
|
|
4
|
+
data.tar.gz: 3960b4f8deae656df5ab1a75958f7d26d8a32c29433db97471167cd2cad5a58e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 518e7423826c9c260ad7f085c75fbe007c78931c14702b0982e777079b6399659f0d6c1c18283b1cdf6cbeaa6e3b98313ab30714558bddc8b662b7f805d8db1b
|
|
7
|
+
data.tar.gz: 0f1f667c4424c88eb44b5e2412f30d7309e98a8f6868c15b7b2a4054cc7821ee5dc95bef54c5c9009652c520d63664a4fde4f762ec74aebc12dacb4c39dc08a4
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -8,13 +8,16 @@ jobs:
|
|
|
8
8
|
strategy:
|
|
9
9
|
fail-fast: false
|
|
10
10
|
matrix:
|
|
11
|
-
ruby: ['3.
|
|
11
|
+
ruby: ['3.3', '3.4']
|
|
12
12
|
gemfile:
|
|
13
|
-
- gemfiles/rails_7_2.gemfile
|
|
14
13
|
- gemfiles/rails_8_0.gemfile
|
|
14
|
+
- gemfiles/rails_8_1.gemfile
|
|
15
|
+
exclude:
|
|
16
|
+
- ruby: '3.2'
|
|
17
|
+
gemfile: gemfiles/rails_8_1.gemfile
|
|
15
18
|
steps:
|
|
16
19
|
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
|
|
17
|
-
- uses: ruby/setup-ruby@
|
|
20
|
+
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
|
|
18
21
|
env:
|
|
19
22
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
20
23
|
with:
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.4.8
|
data/Appraisals
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
authorized_persona (0.
|
|
5
|
-
railties (>=
|
|
4
|
+
authorized_persona (0.15.0)
|
|
5
|
+
railties (>= 8.0, < 8.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
@@ -74,12 +74,10 @@ GEM
|
|
|
74
74
|
loofah (2.24.0)
|
|
75
75
|
crass (~> 1.0.2)
|
|
76
76
|
nokogiri (>= 1.12.0)
|
|
77
|
+
mini_portile2 (2.8.9)
|
|
77
78
|
minitest (5.25.4)
|
|
78
|
-
nokogiri (1.17.2
|
|
79
|
-
|
|
80
|
-
nokogiri (1.17.2-x86_64-darwin)
|
|
81
|
-
racc (~> 1.4)
|
|
82
|
-
nokogiri (1.17.2-x86_64-linux)
|
|
79
|
+
nokogiri (1.17.2)
|
|
80
|
+
mini_portile2 (~> 2.8.2)
|
|
83
81
|
racc (~> 1.4)
|
|
84
82
|
parallel (1.26.3)
|
|
85
83
|
parser (3.3.7.0)
|
|
@@ -186,11 +184,12 @@ GEM
|
|
|
186
184
|
PLATFORMS
|
|
187
185
|
arm64-darwin-22
|
|
188
186
|
arm64-darwin-23
|
|
187
|
+
arm64-darwin-25
|
|
189
188
|
x86_64-darwin-22
|
|
190
189
|
x86_64-linux
|
|
191
190
|
|
|
192
191
|
DEPENDENCIES
|
|
193
|
-
activemodel (>=
|
|
192
|
+
activemodel (>= 8.0, < 8.2)
|
|
194
193
|
appraisal
|
|
195
194
|
authorized_persona!
|
|
196
195
|
betterlint
|
data/authorized_persona.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
spec.description = "AuthorizedPersona is a rails implementation of Betterment's Persona Centric Authorization pattern"
|
|
15
15
|
spec.homepage = "https://github.com/Betterment/authorized_persona"
|
|
16
16
|
spec.license = "MIT"
|
|
17
|
-
spec.required_ruby_version = ">= 3.
|
|
17
|
+
spec.required_ruby_version = ">= 3.3"
|
|
18
18
|
|
|
19
19
|
# Specify which files should be added to the gem when it is released.
|
|
20
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
26
|
spec.require_paths = ["lib"]
|
|
27
27
|
|
|
28
|
-
rails_version_range = [">=
|
|
28
|
+
rails_version_range = [">= 8.0", "< 8.2"]
|
|
29
29
|
|
|
30
30
|
spec.add_dependency "railties", *rails_version_range
|
|
31
31
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
authorized_persona (0.
|
|
5
|
-
railties (>=
|
|
4
|
+
authorized_persona (0.15.0)
|
|
5
|
+
railties (>= 8.0, < 8.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
@@ -74,10 +74,10 @@ GEM
|
|
|
74
74
|
loofah (2.24.0)
|
|
75
75
|
crass (~> 1.0.2)
|
|
76
76
|
nokogiri (>= 1.12.0)
|
|
77
|
+
mini_portile2 (2.8.9)
|
|
77
78
|
minitest (5.25.4)
|
|
78
|
-
nokogiri (1.17.2
|
|
79
|
-
|
|
80
|
-
nokogiri (1.17.2-x86_64-linux)
|
|
79
|
+
nokogiri (1.17.2)
|
|
80
|
+
mini_portile2 (~> 2.8.2)
|
|
81
81
|
racc (~> 1.4)
|
|
82
82
|
parallel (1.26.3)
|
|
83
83
|
parser (3.3.7.0)
|
|
@@ -183,10 +183,11 @@ GEM
|
|
|
183
183
|
|
|
184
184
|
PLATFORMS
|
|
185
185
|
arm64-darwin-23
|
|
186
|
+
arm64-darwin-25
|
|
186
187
|
x86_64-linux
|
|
187
188
|
|
|
188
189
|
DEPENDENCIES
|
|
189
|
-
activemodel (>=
|
|
190
|
+
activemodel (>= 8.0, < 8.2)
|
|
190
191
|
appraisal
|
|
191
192
|
authorized_persona!
|
|
192
193
|
betterlint
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ..
|
|
3
|
+
specs:
|
|
4
|
+
authorized_persona (0.15.0)
|
|
5
|
+
railties (>= 8.0, < 8.2)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
actionpack (8.1.3)
|
|
11
|
+
actionview (= 8.1.3)
|
|
12
|
+
activesupport (= 8.1.3)
|
|
13
|
+
nokogiri (>= 1.8.5)
|
|
14
|
+
rack (>= 2.2.4)
|
|
15
|
+
rack-session (>= 1.0.1)
|
|
16
|
+
rack-test (>= 0.6.3)
|
|
17
|
+
rails-dom-testing (~> 2.2)
|
|
18
|
+
rails-html-sanitizer (~> 1.6)
|
|
19
|
+
useragent (~> 0.16)
|
|
20
|
+
actionview (8.1.3)
|
|
21
|
+
activesupport (= 8.1.3)
|
|
22
|
+
builder (~> 3.1)
|
|
23
|
+
erubi (~> 1.11)
|
|
24
|
+
rails-dom-testing (~> 2.2)
|
|
25
|
+
rails-html-sanitizer (~> 1.6)
|
|
26
|
+
activemodel (8.1.3)
|
|
27
|
+
activesupport (= 8.1.3)
|
|
28
|
+
activesupport (8.1.3)
|
|
29
|
+
base64
|
|
30
|
+
bigdecimal
|
|
31
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
32
|
+
connection_pool (>= 2.2.5)
|
|
33
|
+
drb
|
|
34
|
+
i18n (>= 1.6, < 2)
|
|
35
|
+
json
|
|
36
|
+
logger (>= 1.4.2)
|
|
37
|
+
minitest (>= 5.1)
|
|
38
|
+
securerandom (>= 0.3)
|
|
39
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
40
|
+
uri (>= 0.13.1)
|
|
41
|
+
appraisal (2.5.0)
|
|
42
|
+
bundler
|
|
43
|
+
rake
|
|
44
|
+
thor (>= 0.14.0)
|
|
45
|
+
ast (2.4.3)
|
|
46
|
+
base64 (0.3.0)
|
|
47
|
+
betterlint (1.28.0)
|
|
48
|
+
lint_roller (~> 1.1)
|
|
49
|
+
rubocop (~> 1.82)
|
|
50
|
+
rubocop-capybara (~> 2.22)
|
|
51
|
+
rubocop-factory_bot (~> 2.28)
|
|
52
|
+
rubocop-graphql (~> 1.5, >= 1.5.6)
|
|
53
|
+
rubocop-performance (~> 1.26)
|
|
54
|
+
rubocop-rails (~> 2.34)
|
|
55
|
+
rubocop-rake (~> 0.7)
|
|
56
|
+
rubocop-rspec (~> 3.8)
|
|
57
|
+
rubocop-rspec_rails (~> 2.32)
|
|
58
|
+
bigdecimal (4.1.2)
|
|
59
|
+
builder (3.3.0)
|
|
60
|
+
concurrent-ruby (1.3.8)
|
|
61
|
+
connection_pool (3.0.2)
|
|
62
|
+
crass (1.0.7)
|
|
63
|
+
diff-lcs (1.6.2)
|
|
64
|
+
drb (2.2.3)
|
|
65
|
+
erb (6.0.6)
|
|
66
|
+
erubi (1.13.1)
|
|
67
|
+
i18n (1.15.2)
|
|
68
|
+
concurrent-ruby (~> 1.0)
|
|
69
|
+
io-console (0.8.2)
|
|
70
|
+
irb (1.18.0)
|
|
71
|
+
pp (>= 0.6.0)
|
|
72
|
+
prism (>= 1.3.0)
|
|
73
|
+
rdoc (>= 4.0.0)
|
|
74
|
+
reline (>= 0.4.2)
|
|
75
|
+
json (2.21.1)
|
|
76
|
+
language_server-protocol (3.17.0.6)
|
|
77
|
+
lint_roller (1.1.0)
|
|
78
|
+
logger (1.7.0)
|
|
79
|
+
loofah (2.25.2)
|
|
80
|
+
crass (~> 1.0.2)
|
|
81
|
+
nokogiri (>= 1.12.0)
|
|
82
|
+
mini_portile2 (2.8.9)
|
|
83
|
+
minitest (6.0.6)
|
|
84
|
+
drb (~> 2.0)
|
|
85
|
+
prism (~> 1.5)
|
|
86
|
+
nokogiri (1.17.2)
|
|
87
|
+
mini_portile2 (~> 2.8.2)
|
|
88
|
+
racc (~> 1.4)
|
|
89
|
+
parallel (2.1.0)
|
|
90
|
+
parser (3.3.12.0)
|
|
91
|
+
ast (~> 2.4.1)
|
|
92
|
+
racc
|
|
93
|
+
pp (0.6.4)
|
|
94
|
+
prettyprint
|
|
95
|
+
prettyprint (0.2.0)
|
|
96
|
+
prism (1.9.0)
|
|
97
|
+
racc (1.8.1)
|
|
98
|
+
rack (3.2.6)
|
|
99
|
+
rack-session (2.1.2)
|
|
100
|
+
base64 (>= 0.1.0)
|
|
101
|
+
rack (>= 3.0.0)
|
|
102
|
+
rack-test (2.2.0)
|
|
103
|
+
rack (>= 1.3)
|
|
104
|
+
rackup (2.3.1)
|
|
105
|
+
rack (>= 3)
|
|
106
|
+
rails-dom-testing (2.3.0)
|
|
107
|
+
activesupport (>= 5.0.0)
|
|
108
|
+
minitest
|
|
109
|
+
nokogiri (>= 1.6)
|
|
110
|
+
rails-html-sanitizer (1.7.1)
|
|
111
|
+
loofah (~> 2.25, >= 2.25.2)
|
|
112
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
113
|
+
railties (8.1.3)
|
|
114
|
+
actionpack (= 8.1.3)
|
|
115
|
+
activesupport (= 8.1.3)
|
|
116
|
+
irb (~> 1.13)
|
|
117
|
+
rackup (>= 1.0.0)
|
|
118
|
+
rake (>= 12.2)
|
|
119
|
+
thor (~> 1.0, >= 1.2.2)
|
|
120
|
+
tsort (>= 0.2)
|
|
121
|
+
zeitwerk (~> 2.6)
|
|
122
|
+
rainbow (3.1.1)
|
|
123
|
+
rake (13.4.2)
|
|
124
|
+
rbs (4.0.3)
|
|
125
|
+
logger
|
|
126
|
+
prism (>= 1.6.0)
|
|
127
|
+
tsort
|
|
128
|
+
rdoc (8.0.0)
|
|
129
|
+
erb
|
|
130
|
+
prism (>= 1.6.0)
|
|
131
|
+
rbs (>= 4.0.0)
|
|
132
|
+
tsort
|
|
133
|
+
regexp_parser (2.12.0)
|
|
134
|
+
reline (0.6.3)
|
|
135
|
+
io-console (~> 0.5)
|
|
136
|
+
rspec (3.13.2)
|
|
137
|
+
rspec-core (~> 3.13.0)
|
|
138
|
+
rspec-expectations (~> 3.13.0)
|
|
139
|
+
rspec-mocks (~> 3.13.0)
|
|
140
|
+
rspec-core (3.13.6)
|
|
141
|
+
rspec-support (~> 3.13.0)
|
|
142
|
+
rspec-expectations (3.13.5)
|
|
143
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
144
|
+
rspec-support (~> 3.13.0)
|
|
145
|
+
rspec-mocks (3.13.8)
|
|
146
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
147
|
+
rspec-support (~> 3.13.0)
|
|
148
|
+
rspec-support (3.13.7)
|
|
149
|
+
rubocop (1.88.2)
|
|
150
|
+
json (~> 2.3)
|
|
151
|
+
language_server-protocol (~> 3.17.0.2)
|
|
152
|
+
lint_roller (~> 1.1.0)
|
|
153
|
+
parallel (>= 1.10)
|
|
154
|
+
parser (>= 3.3.0.2)
|
|
155
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
156
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
157
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
158
|
+
ruby-progressbar (~> 1.7)
|
|
159
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
160
|
+
rubocop-ast (1.50.0)
|
|
161
|
+
parser (>= 3.3.7.2)
|
|
162
|
+
prism (~> 1.7)
|
|
163
|
+
rubocop-capybara (2.23.0)
|
|
164
|
+
lint_roller (~> 1.1)
|
|
165
|
+
rubocop (~> 1.81)
|
|
166
|
+
rubocop-factory_bot (2.28.0)
|
|
167
|
+
lint_roller (~> 1.1)
|
|
168
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
169
|
+
rubocop-graphql (1.6.0)
|
|
170
|
+
lint_roller (~> 1.1)
|
|
171
|
+
rubocop (>= 1.72.1, < 2)
|
|
172
|
+
rubocop-performance (1.26.1)
|
|
173
|
+
lint_roller (~> 1.1)
|
|
174
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
175
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
176
|
+
rubocop-rails (2.36.0)
|
|
177
|
+
activesupport (>= 4.2.0)
|
|
178
|
+
lint_roller (~> 1.1)
|
|
179
|
+
rack (>= 1.1)
|
|
180
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
181
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
182
|
+
rubocop-rake (0.7.1)
|
|
183
|
+
lint_roller (~> 1.1)
|
|
184
|
+
rubocop (>= 1.72.1)
|
|
185
|
+
rubocop-rspec (3.10.2)
|
|
186
|
+
lint_roller (~> 1.1)
|
|
187
|
+
regexp_parser (>= 2.0)
|
|
188
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
189
|
+
rubocop-rspec_rails (2.32.0)
|
|
190
|
+
lint_roller (~> 1.1)
|
|
191
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
192
|
+
rubocop-rspec (~> 3.5)
|
|
193
|
+
ruby-progressbar (1.13.0)
|
|
194
|
+
securerandom (0.3.2)
|
|
195
|
+
thor (1.5.0)
|
|
196
|
+
tsort (0.2.0)
|
|
197
|
+
tzinfo (2.0.6)
|
|
198
|
+
concurrent-ruby (~> 1.0)
|
|
199
|
+
unicode-display_width (3.2.0)
|
|
200
|
+
unicode-emoji (~> 4.1)
|
|
201
|
+
unicode-emoji (4.2.0)
|
|
202
|
+
uri (1.1.1)
|
|
203
|
+
useragent (0.16.11)
|
|
204
|
+
zeitwerk (2.6.18)
|
|
205
|
+
|
|
206
|
+
PLATFORMS
|
|
207
|
+
arm64-darwin-23
|
|
208
|
+
arm64-darwin-25
|
|
209
|
+
x86_64-linux
|
|
210
|
+
|
|
211
|
+
DEPENDENCIES
|
|
212
|
+
activemodel (>= 8.0, < 8.2)
|
|
213
|
+
appraisal
|
|
214
|
+
authorized_persona!
|
|
215
|
+
betterlint
|
|
216
|
+
bundler
|
|
217
|
+
nokogiri (~> 1.17.2)
|
|
218
|
+
railties (~> 8.1.0)
|
|
219
|
+
rake
|
|
220
|
+
rspec (~> 3.0)
|
|
221
|
+
securerandom (~> 0.3.2)
|
|
222
|
+
zeitwerk (~> 2.6.18)
|
|
223
|
+
|
|
224
|
+
BUNDLED WITH
|
|
225
|
+
2.4.21
|
|
@@ -15,7 +15,7 @@ module AuthorizedPersona
|
|
|
15
15
|
|
|
16
16
|
class_methods do
|
|
17
17
|
# Configure authorization for an authorized persona class
|
|
18
|
-
def authorize_persona(class_name:, current_user_method: nil) # rubocop:disable Metrics/
|
|
18
|
+
def authorize_persona(class_name:, current_user_method: nil) # rubocop:disable Metrics/PerceivedComplexity
|
|
19
19
|
raise AuthorizedPersona::Error, "you can only configure authorization once" if authorization_persona_class_name.present?
|
|
20
20
|
raise AuthorizedPersona::Error, "class_name must be a string" unless class_name.is_a?(String)
|
|
21
21
|
raise AuthorizedPersona::Error, "current_user_method must be a symbol" if current_user_method && !current_user_method.is_a?(Symbol)
|
|
@@ -97,7 +97,7 @@ module AuthorizedPersona
|
|
|
97
97
|
respond_to do |format|
|
|
98
98
|
format.html do
|
|
99
99
|
flash[:error] = 'You are not authorized to perform this action.'
|
|
100
|
-
|
|
100
|
+
redirect_back_or_to '/', allow_other_host: false
|
|
101
101
|
end
|
|
102
102
|
format.json do
|
|
103
103
|
render json: {}, status: :unauthorized
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: authorized_persona
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Mileham
|
|
@@ -15,40 +15,40 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
18
|
+
version: '8.0'
|
|
19
19
|
- - "<"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: '8.
|
|
21
|
+
version: '8.2'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - ">="
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: '
|
|
28
|
+
version: '8.0'
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: '8.
|
|
31
|
+
version: '8.2'
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: activemodel
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
35
35
|
requirements:
|
|
36
36
|
- - ">="
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '
|
|
38
|
+
version: '8.0'
|
|
39
39
|
- - "<"
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: '8.
|
|
41
|
+
version: '8.2'
|
|
42
42
|
type: :development
|
|
43
43
|
prerelease: false
|
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
46
|
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '
|
|
48
|
+
version: '8.0'
|
|
49
49
|
- - "<"
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
|
-
version: '8.
|
|
51
|
+
version: '8.2'
|
|
52
52
|
- !ruby/object:Gem::Dependency
|
|
53
53
|
name: appraisal
|
|
54
54
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -143,10 +143,10 @@ files:
|
|
|
143
143
|
- authorized_persona.gemspec
|
|
144
144
|
- bin/console
|
|
145
145
|
- bin/setup
|
|
146
|
-
- gemfiles/rails_7_2.gemfile
|
|
147
|
-
- gemfiles/rails_7_2.gemfile.lock
|
|
148
146
|
- gemfiles/rails_8_0.gemfile
|
|
149
147
|
- gemfiles/rails_8_0.gemfile.lock
|
|
148
|
+
- gemfiles/rails_8_1.gemfile
|
|
149
|
+
- gemfiles/rails_8_1.gemfile.lock
|
|
150
150
|
- lib/authorized_persona.rb
|
|
151
151
|
- lib/authorized_persona/authorization.rb
|
|
152
152
|
- lib/authorized_persona/persona.rb
|
|
@@ -165,14 +165,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
165
165
|
requirements:
|
|
166
166
|
- - ">="
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
|
-
version: '3.
|
|
168
|
+
version: '3.3'
|
|
169
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements:
|
|
171
171
|
- - ">="
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
173
|
version: '0'
|
|
174
174
|
requirements: []
|
|
175
|
-
rubygems_version:
|
|
175
|
+
rubygems_version: 4.0.13
|
|
176
176
|
specification_version: 4
|
|
177
177
|
summary: the simplest authorization library you will ever love
|
|
178
178
|
test_files: []
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
authorized_persona (0.13.0)
|
|
5
|
-
railties (>= 7.2, < 8.1)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
actionpack (7.2.2.1)
|
|
11
|
-
actionview (= 7.2.2.1)
|
|
12
|
-
activesupport (= 7.2.2.1)
|
|
13
|
-
nokogiri (>= 1.8.5)
|
|
14
|
-
racc
|
|
15
|
-
rack (>= 2.2.4, < 3.2)
|
|
16
|
-
rack-session (>= 1.0.1)
|
|
17
|
-
rack-test (>= 0.6.3)
|
|
18
|
-
rails-dom-testing (~> 2.2)
|
|
19
|
-
rails-html-sanitizer (~> 1.6)
|
|
20
|
-
useragent (~> 0.16)
|
|
21
|
-
actionview (7.2.2.1)
|
|
22
|
-
activesupport (= 7.2.2.1)
|
|
23
|
-
builder (~> 3.1)
|
|
24
|
-
erubi (~> 1.11)
|
|
25
|
-
rails-dom-testing (~> 2.2)
|
|
26
|
-
rails-html-sanitizer (~> 1.6)
|
|
27
|
-
activemodel (7.2.2.1)
|
|
28
|
-
activesupport (= 7.2.2.1)
|
|
29
|
-
activesupport (7.2.2.1)
|
|
30
|
-
base64
|
|
31
|
-
benchmark (>= 0.3)
|
|
32
|
-
bigdecimal
|
|
33
|
-
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
34
|
-
connection_pool (>= 2.2.5)
|
|
35
|
-
drb
|
|
36
|
-
i18n (>= 1.6, < 2)
|
|
37
|
-
logger (>= 1.4.2)
|
|
38
|
-
minitest (>= 5.1)
|
|
39
|
-
securerandom (>= 0.3)
|
|
40
|
-
tzinfo (~> 2.0, >= 2.0.5)
|
|
41
|
-
appraisal (2.5.0)
|
|
42
|
-
bundler
|
|
43
|
-
rake
|
|
44
|
-
thor (>= 0.14.0)
|
|
45
|
-
ast (2.4.2)
|
|
46
|
-
base64 (0.2.0)
|
|
47
|
-
benchmark (0.4.0)
|
|
48
|
-
betterlint (1.16.0)
|
|
49
|
-
rubocop (~> 1.62.0)
|
|
50
|
-
rubocop-graphql (~> 1.5.0)
|
|
51
|
-
rubocop-performance (~> 1.21.0)
|
|
52
|
-
rubocop-rails (~> 2.24.0)
|
|
53
|
-
rubocop-rake (~> 0.6.0)
|
|
54
|
-
rubocop-rspec (~> 2.28.0)
|
|
55
|
-
bigdecimal (3.1.9)
|
|
56
|
-
builder (3.3.0)
|
|
57
|
-
concurrent-ruby (1.3.5)
|
|
58
|
-
connection_pool (2.5.0)
|
|
59
|
-
crass (1.0.6)
|
|
60
|
-
date (3.4.1)
|
|
61
|
-
diff-lcs (1.5.1)
|
|
62
|
-
drb (2.2.1)
|
|
63
|
-
erubi (1.13.1)
|
|
64
|
-
i18n (1.14.7)
|
|
65
|
-
concurrent-ruby (~> 1.0)
|
|
66
|
-
io-console (0.8.0)
|
|
67
|
-
irb (1.15.0)
|
|
68
|
-
pp (>= 0.6.0)
|
|
69
|
-
rdoc (>= 4.0.0)
|
|
70
|
-
reline (>= 0.4.2)
|
|
71
|
-
json (2.9.1)
|
|
72
|
-
language_server-protocol (3.17.0.3)
|
|
73
|
-
logger (1.6.5)
|
|
74
|
-
loofah (2.24.0)
|
|
75
|
-
crass (~> 1.0.2)
|
|
76
|
-
nokogiri (>= 1.12.0)
|
|
77
|
-
minitest (5.25.4)
|
|
78
|
-
nokogiri (1.17.2-arm64-darwin)
|
|
79
|
-
racc (~> 1.4)
|
|
80
|
-
nokogiri (1.17.2-x86_64-linux)
|
|
81
|
-
racc (~> 1.4)
|
|
82
|
-
parallel (1.26.3)
|
|
83
|
-
parser (3.3.7.0)
|
|
84
|
-
ast (~> 2.4.1)
|
|
85
|
-
racc
|
|
86
|
-
pp (0.6.2)
|
|
87
|
-
prettyprint
|
|
88
|
-
prettyprint (0.2.0)
|
|
89
|
-
psych (5.2.3)
|
|
90
|
-
date
|
|
91
|
-
stringio
|
|
92
|
-
racc (1.8.1)
|
|
93
|
-
rack (3.1.8)
|
|
94
|
-
rack-session (2.1.0)
|
|
95
|
-
base64 (>= 0.1.0)
|
|
96
|
-
rack (>= 3.0.0)
|
|
97
|
-
rack-test (2.2.0)
|
|
98
|
-
rack (>= 1.3)
|
|
99
|
-
rackup (2.2.1)
|
|
100
|
-
rack (>= 3)
|
|
101
|
-
rails-dom-testing (2.2.0)
|
|
102
|
-
activesupport (>= 5.0.0)
|
|
103
|
-
minitest
|
|
104
|
-
nokogiri (>= 1.6)
|
|
105
|
-
rails-html-sanitizer (1.6.2)
|
|
106
|
-
loofah (~> 2.21)
|
|
107
|
-
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
108
|
-
railties (7.2.2.1)
|
|
109
|
-
actionpack (= 7.2.2.1)
|
|
110
|
-
activesupport (= 7.2.2.1)
|
|
111
|
-
irb (~> 1.13)
|
|
112
|
-
rackup (>= 1.0.0)
|
|
113
|
-
rake (>= 12.2)
|
|
114
|
-
thor (~> 1.0, >= 1.2.2)
|
|
115
|
-
zeitwerk (~> 2.6)
|
|
116
|
-
rainbow (3.1.1)
|
|
117
|
-
rake (13.2.1)
|
|
118
|
-
rdoc (6.11.0)
|
|
119
|
-
psych (>= 4.0.0)
|
|
120
|
-
regexp_parser (2.10.0)
|
|
121
|
-
reline (0.6.0)
|
|
122
|
-
io-console (~> 0.5)
|
|
123
|
-
rexml (3.4.0)
|
|
124
|
-
rspec (3.13.0)
|
|
125
|
-
rspec-core (~> 3.13.0)
|
|
126
|
-
rspec-expectations (~> 3.13.0)
|
|
127
|
-
rspec-mocks (~> 3.13.0)
|
|
128
|
-
rspec-core (3.13.2)
|
|
129
|
-
rspec-support (~> 3.13.0)
|
|
130
|
-
rspec-expectations (3.13.3)
|
|
131
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
132
|
-
rspec-support (~> 3.13.0)
|
|
133
|
-
rspec-mocks (3.13.2)
|
|
134
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
135
|
-
rspec-support (~> 3.13.0)
|
|
136
|
-
rspec-support (3.13.2)
|
|
137
|
-
rubocop (1.62.1)
|
|
138
|
-
json (~> 2.3)
|
|
139
|
-
language_server-protocol (>= 3.17.0)
|
|
140
|
-
parallel (~> 1.10)
|
|
141
|
-
parser (>= 3.3.0.2)
|
|
142
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
143
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
144
|
-
rexml (>= 3.2.5, < 4.0)
|
|
145
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
146
|
-
ruby-progressbar (~> 1.7)
|
|
147
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
|
148
|
-
rubocop-ast (1.37.0)
|
|
149
|
-
parser (>= 3.3.1.0)
|
|
150
|
-
rubocop-capybara (2.21.0)
|
|
151
|
-
rubocop (~> 1.41)
|
|
152
|
-
rubocop-factory_bot (2.26.1)
|
|
153
|
-
rubocop (~> 1.61)
|
|
154
|
-
rubocop-graphql (1.5.4)
|
|
155
|
-
rubocop (>= 1.50, < 2)
|
|
156
|
-
rubocop-performance (1.21.1)
|
|
157
|
-
rubocop (>= 1.48.1, < 2.0)
|
|
158
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
159
|
-
rubocop-rails (2.24.1)
|
|
160
|
-
activesupport (>= 4.2.0)
|
|
161
|
-
rack (>= 1.1)
|
|
162
|
-
rubocop (>= 1.33.0, < 2.0)
|
|
163
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
164
|
-
rubocop-rake (0.6.0)
|
|
165
|
-
rubocop (~> 1.0)
|
|
166
|
-
rubocop-rspec (2.28.0)
|
|
167
|
-
rubocop (~> 1.40)
|
|
168
|
-
rubocop-capybara (~> 2.17)
|
|
169
|
-
rubocop-factory_bot (~> 2.22)
|
|
170
|
-
rubocop-rspec_rails (~> 2.28)
|
|
171
|
-
rubocop-rspec_rails (2.29.1)
|
|
172
|
-
rubocop (~> 1.61)
|
|
173
|
-
ruby-progressbar (1.13.0)
|
|
174
|
-
securerandom (0.3.2)
|
|
175
|
-
stringio (3.1.2)
|
|
176
|
-
thor (1.3.2)
|
|
177
|
-
tzinfo (2.0.6)
|
|
178
|
-
concurrent-ruby (~> 1.0)
|
|
179
|
-
unicode-display_width (2.6.0)
|
|
180
|
-
useragent (0.16.11)
|
|
181
|
-
zeitwerk (2.6.18)
|
|
182
|
-
|
|
183
|
-
PLATFORMS
|
|
184
|
-
arm64-darwin-23
|
|
185
|
-
x86_64-linux
|
|
186
|
-
|
|
187
|
-
DEPENDENCIES
|
|
188
|
-
activemodel (>= 7.2, < 8.1)
|
|
189
|
-
appraisal
|
|
190
|
-
authorized_persona!
|
|
191
|
-
betterlint
|
|
192
|
-
bundler
|
|
193
|
-
nokogiri (~> 1.17.2)
|
|
194
|
-
railties (~> 7.2.0)
|
|
195
|
-
rake
|
|
196
|
-
rspec (~> 3.0)
|
|
197
|
-
securerandom (~> 0.3.2)
|
|
198
|
-
zeitwerk (~> 2.6.18)
|
|
199
|
-
|
|
200
|
-
BUNDLED WITH
|
|
201
|
-
2.4.21
|