authorized_persona 0.13.0 → 0.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2b87fe53b1aeb04823fbbc2ade82a57696887979da81bc9fcff7f3ee6c31289
4
- data.tar.gz: dacdb3b15a16704ec53c8fb48e1f1271899efc42207dab3bd76d25474af3bdd7
3
+ metadata.gz: c9e322d7091a71a5510f4327de30935964632bf1973bd17044490224180ab923
4
+ data.tar.gz: f2095f1ae4244a66fb5e28c5b3ba2be1d3fbefa74584ba63525d8d3d942fa78e
5
5
  SHA512:
6
- metadata.gz: 3001a79ccb4fec1438d547bef4f3bf65d18b25b20dbd83163b726c460e79ece50d5984f7a716621f09394ca9a87dbd0094928fc5f4d6edddb9ba4cc6c6712d30
7
- data.tar.gz: ae091d5c9999749559bd4e9e2961384300446b653851ea3a86cfe1671747b895942e2f7928be50a6e31007317914e6995fa56b2879669a90534c00b6a2b56cb7
6
+ metadata.gz: d403986a33e7df87bdd12b1c46d50d352cf966726425de84e814987bbeb6a5a76fde2557bcfcf4ef31bb548d6c7c525e69b48036de41ebbdb8f6a38cbac3f94b
7
+ data.tar.gz: 9b4c302020e940d4a44b06589a843f380a3761a7b43370aa079bc8a704d2908acdb1e4540ea276f02747484c804db1723361bab97821ae526f416593e1dbaf15
@@ -8,13 +8,12 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: ['3.2', '3.3']
11
+ ruby: ['3.3', '3.4']
12
12
  gemfile:
13
- - gemfiles/rails_7_2.gemfile
14
13
  - gemfiles/rails_8_0.gemfile
15
14
  steps:
16
15
  - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
17
- - uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1
16
+ - uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
18
17
  env:
19
18
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
20
19
  with:
data/.rubocop.yml CHANGED
@@ -9,7 +9,7 @@ inherit_mode:
9
9
  - Exclude
10
10
 
11
11
  AllCops:
12
- TargetRubyVersion: 3.2
13
- TargetRailsVersion: 7.2
12
+ TargetRubyVersion: 3.3
13
+ TargetRailsVersion: 8.0
14
14
  Exclude:
15
15
  - gemfiles/*.gemfile
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.4.8
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-7-2' do
4
- gem 'railties', '~> 7.2.0'
5
- end
6
-
7
3
  appraise 'rails-8-0' do
8
4
  gem 'railties', '~> 8.0.0'
9
5
  end
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- authorized_persona (0.13.0)
5
- railties (>= 7.2, < 8.1)
4
+ authorized_persona (0.14.0)
5
+ railties (>= 8.0, < 8.1)
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-arm64-darwin)
79
- racc (~> 1.4)
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 (>= 7.2, < 8.1)
192
+ activemodel (>= 8.0, < 8.1)
194
193
  appraisal
195
194
  authorized_persona!
196
195
  betterlint
@@ -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.2"
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 = [">= 7.2", "< 8.1"]
28
+ rails_version_range = [">= 8.0", "< 8.1"]
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.13.0)
5
- railties (>= 7.2, < 8.1)
4
+ authorized_persona (0.14.0)
5
+ railties (>= 8.0, < 8.1)
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-arm64-darwin)
79
- racc (~> 1.4)
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 (>= 7.2, < 8.1)
190
+ activemodel (>= 8.0, < 8.1)
190
191
  appraisal
191
192
  authorized_persona!
192
193
  betterlint
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AuthorizedPersona
4
- VERSION = "0.13.0"
4
+ VERSION = "0.14.0"
5
5
  end
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.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mileham
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '7.2'
18
+ version: '8.0'
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '8.1'
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: '7.2'
28
+ version: '8.0'
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: '8.1'
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ">="
37
37
  - !ruby/object:Gem::Version
38
- version: '7.2'
38
+ version: '8.0'
39
39
  - - "<"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '8.1'
@@ -45,7 +45,7 @@ dependencies:
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '7.2'
48
+ version: '8.0'
49
49
  - - "<"
50
50
  - !ruby/object:Gem::Version
51
51
  version: '8.1'
@@ -143,8 +143,6 @@ 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
150
148
  - lib/authorized_persona.rb
@@ -165,14 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
163
  requirements:
166
164
  - - ">="
167
165
  - !ruby/object:Gem::Version
168
- version: '3.2'
166
+ version: '3.3'
169
167
  required_rubygems_version: !ruby/object:Gem::Requirement
170
168
  requirements:
171
169
  - - ">="
172
170
  - !ruby/object:Gem::Version
173
171
  version: '0'
174
172
  requirements: []
175
- rubygems_version: 3.6.8
173
+ rubygems_version: 4.0.13
176
174
  specification_version: 4
177
175
  summary: the simplest authorization library you will ever love
178
176
  test_files: []
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "zeitwerk", "~> 2.6.18"
6
- gem "nokogiri", "~> 1.17.2"
7
- gem "securerandom", "~> 0.3.2"
8
- gem "railties", "~> 7.2.0"
9
-
10
- gemspec path: "../"
@@ -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