consent 2.1.0 → 2.3.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: 4b1d6948271b3646f4e11a1dcede687c2fdc39f8c027ae15e13349ac37c2562e
4
- data.tar.gz: f9d2751cd4be0849b431eae34b2a30f20738fae9f6c32d39545d7cd3945c08fd
3
+ metadata.gz: 48437aa7d5b453f8d1ed90f8525e10ee945181bd85dce3a9632ea026b59e356a
4
+ data.tar.gz: dbf503bfb196a35a4675d6f856901d6d5abe202cef736aded8553c2c5a7b8d49
5
5
  SHA512:
6
- metadata.gz: 5df36d982389d1f4d3ee114ee8148bd8b117458bef2873895f0c3e731749194ccd81b5e230ff7db4aa3d4a7129432615613f84773cf938ed0f5fe53ea16e812a
7
- data.tar.gz: 4386963f1938a72c92555f15f0b656c6fb0e3a2353bdab85306911065c1fe5cce25686454d27a0c171a1631dae68edc2f79fb4dd30e84ab4ffa07b125d42357f
6
+ metadata.gz: fad64a2eb8d82d2f40ca9d0417c4e8207284008e11505b16c4b42d22be6d1d9e70079cf21fef8783c7416d602d213cdd2c80613e4a35502081ee8919de981869
7
+ data.tar.gz: b14f196498e1332a23e542791e5aa3464268d430b9bd756e3d13248118ca3e9ce561823b3769640ea2cb2f932348d2af92abef9ef0a3cdbb83e862d2bbab7584
data/Appraisals CHANGED
@@ -11,3 +11,7 @@ end
11
11
  appraise "rails-7-1" do
12
12
  gem "rails", "7.1.3.2"
13
13
  end
14
+
15
+ appraise "rails-7-2" do
16
+ gem "rails", "7.2.2.1"
17
+ end
data/Gemfile CHANGED
@@ -7,9 +7,11 @@ gemspec
7
7
 
8
8
  gem "base64"
9
9
  gem "bigdecimal"
10
+ gem "erb", "< 5.1" # Hold erb to support Ruby < 3.2
10
11
  gem "logger"
11
12
  gem "mutex_m"
12
13
  gem "net-imap", "< 0.5.0"
13
- gem "nokogiri", "< 1.18"
14
+ gem "nokogiri", "< 1.19"
14
15
  gem "rubocop-powerhome", path: "../rubocop-powerhome"
16
+ gem "securerandom", "< 0.4" # Hold securerandom to support Ruby 3.0
15
17
  gem "zeitwerk", "< 2.7.0"
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.5.3)
5
- rubocop (= 1.66.1)
4
+ rubocop-powerhome (0.5.6)
5
+ rubocop (= 1.75.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
8
8
  rubocop-rake
@@ -11,15 +11,15 @@ PATH
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- consent (2.1.0)
14
+ consent (2.3.0)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- actionpack (8.0.1)
21
- actionview (= 8.0.1)
22
- activesupport (= 8.0.1)
20
+ actionpack (8.0.2)
21
+ actionview (= 8.0.2)
22
+ activesupport (= 8.0.2)
23
23
  nokogiri (>= 1.8.5)
24
24
  rack (>= 2.2.4)
25
25
  rack-session (>= 1.0.1)
@@ -27,19 +27,19 @@ GEM
27
27
  rails-dom-testing (~> 2.2)
28
28
  rails-html-sanitizer (~> 1.6)
29
29
  useragent (~> 0.16)
30
- actionview (8.0.1)
31
- activesupport (= 8.0.1)
30
+ actionview (8.0.2)
31
+ activesupport (= 8.0.2)
32
32
  builder (~> 3.1)
33
33
  erubi (~> 1.11)
34
34
  rails-dom-testing (~> 2.2)
35
35
  rails-html-sanitizer (~> 1.6)
36
- activemodel (8.0.1)
37
- activesupport (= 8.0.1)
38
- activerecord (8.0.1)
39
- activemodel (= 8.0.1)
40
- activesupport (= 8.0.1)
36
+ activemodel (8.0.2)
37
+ activesupport (= 8.0.2)
38
+ activerecord (8.0.2)
39
+ activemodel (= 8.0.2)
40
+ activesupport (= 8.0.2)
41
41
  timeout (>= 0.4.0)
42
- activesupport (8.0.1)
42
+ activesupport (8.0.2)
43
43
  base64
44
44
  benchmark (>= 0.3)
45
45
  bigdecimal
@@ -56,10 +56,10 @@ GEM
56
56
  bundler
57
57
  rake
58
58
  thor (>= 0.14.0)
59
- ast (2.4.2)
60
- base64 (0.2.0)
61
- benchmark (0.4.0)
62
- bigdecimal (3.1.9)
59
+ ast (2.4.3)
60
+ base64 (0.3.0)
61
+ benchmark (0.4.1)
62
+ bigdecimal (3.2.2)
63
63
  builder (3.3.0)
64
64
  byebug (11.1.3)
65
65
  cancancan (3.2.1)
@@ -69,22 +69,23 @@ GEM
69
69
  railties (>= 3.0.0)
70
70
  thor (>= 0.14.6)
71
71
  concurrent-ruby (1.3.5)
72
- connection_pool (2.5.0)
72
+ connection_pool (2.5.3)
73
73
  crass (1.0.6)
74
- csv (3.3.2)
74
+ csv (3.3.5)
75
75
  date (3.4.1)
76
- diff-lcs (1.6.0)
77
- drb (2.2.1)
76
+ diff-lcs (1.6.2)
77
+ drb (2.2.3)
78
+ erb (5.0.2)
78
79
  erubi (1.13.1)
79
80
  i18n (1.14.7)
80
81
  concurrent-ruby (~> 1.0)
81
- io-console (0.8.0)
82
- irb (1.15.1)
82
+ io-console (0.8.1)
83
+ irb (1.15.2)
83
84
  pp (>= 0.6.0)
84
85
  rdoc (>= 4.0.0)
85
86
  reline (>= 0.4.2)
86
- json (2.10.1)
87
- language_server-protocol (3.17.0.4)
87
+ json (2.13.2)
88
+ language_server-protocol (3.17.0.5)
88
89
  license_finder (7.2.1)
89
90
  bundler
90
91
  csv (~> 3.2)
@@ -93,84 +94,87 @@ GEM
93
94
  tomlrb (>= 1.3, < 2.1)
94
95
  with_env (= 1.1.0)
95
96
  xml-simple (~> 1.1.9)
96
- logger (1.6.6)
97
- loofah (2.24.0)
97
+ lint_roller (1.1.0)
98
+ logger (1.7.0)
99
+ loofah (2.24.1)
98
100
  crass (~> 1.0.2)
99
101
  nokogiri (>= 1.12.0)
100
102
  method_source (1.1.0)
101
- mini_portile2 (2.8.8)
102
- minitest (5.25.4)
103
+ mini_portile2 (2.8.9)
104
+ minitest (5.25.5)
103
105
  mutex_m (0.3.0)
104
- net-imap (0.4.19)
106
+ net-imap (0.4.22)
105
107
  date
106
108
  net-protocol
107
109
  net-protocol (0.2.2)
108
110
  timeout
109
- nokogiri (1.17.2)
111
+ nokogiri (1.18.10)
110
112
  mini_portile2 (~> 2.8.2)
111
113
  racc (~> 1.4)
112
- nokogiri (1.17.2-arm64-darwin)
114
+ nokogiri (1.18.10-arm64-darwin)
113
115
  racc (~> 1.4)
114
- nokogiri (1.17.2-x86_64-linux)
116
+ nokogiri (1.18.10-x86_64-linux-gnu)
115
117
  racc (~> 1.4)
116
- parallel (1.26.3)
117
- parser (3.3.7.1)
118
+ parallel (1.27.0)
119
+ parser (3.3.9.0)
118
120
  ast (~> 2.4.1)
119
121
  racc
120
122
  pp (0.6.2)
121
123
  prettyprint
122
124
  prettyprint (0.2.0)
125
+ prism (1.4.0)
123
126
  pry (0.14.2)
124
127
  coderay (~> 1.1)
125
128
  method_source (~> 1.0)
126
129
  pry-byebug (3.10.1)
127
130
  byebug (~> 11.0)
128
131
  pry (>= 0.13, < 0.15)
129
- psych (5.2.3)
132
+ psych (5.2.6)
130
133
  date
131
134
  stringio
132
135
  racc (1.8.1)
133
- rack (3.1.10)
134
- rack-session (2.1.0)
136
+ rack (3.2.0)
137
+ rack-session (2.1.1)
135
138
  base64 (>= 0.1.0)
136
139
  rack (>= 3.0.0)
137
140
  rack-test (2.2.0)
138
141
  rack (>= 1.3)
139
142
  rackup (2.2.1)
140
143
  rack (>= 3)
141
- rails-dom-testing (2.2.0)
144
+ rails-dom-testing (2.3.0)
142
145
  activesupport (>= 5.0.0)
143
146
  minitest
144
147
  nokogiri (>= 1.6)
145
148
  rails-html-sanitizer (1.6.2)
146
149
  loofah (~> 2.21)
147
150
  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)
148
- railties (8.0.1)
149
- actionpack (= 8.0.1)
150
- activesupport (= 8.0.1)
151
+ railties (8.0.2)
152
+ actionpack (= 8.0.2)
153
+ activesupport (= 8.0.2)
151
154
  irb (~> 1.13)
152
155
  rackup (>= 1.0.0)
153
156
  rake (>= 12.2)
154
157
  thor (~> 1.0, >= 1.2.2)
155
158
  zeitwerk (~> 2.6)
156
159
  rainbow (3.1.1)
157
- rake (13.2.1)
158
- rdoc (6.12.0)
160
+ rake (13.3.0)
161
+ rdoc (6.14.2)
162
+ erb
159
163
  psych (>= 4.0.0)
160
- regexp_parser (2.10.0)
161
- reline (0.6.0)
164
+ regexp_parser (2.11.0)
165
+ reline (0.6.2)
162
166
  io-console (~> 0.5)
163
167
  rexml (3.4.1)
164
- rspec (3.13.0)
168
+ rspec (3.13.1)
165
169
  rspec-core (~> 3.13.0)
166
170
  rspec-expectations (~> 3.13.0)
167
171
  rspec-mocks (~> 3.13.0)
168
- rspec-core (3.13.3)
172
+ rspec-core (3.13.5)
169
173
  rspec-support (~> 3.13.0)
170
- rspec-expectations (3.13.3)
174
+ rspec-expectations (3.13.5)
171
175
  diff-lcs (>= 1.2.0, < 2.0)
172
176
  rspec-support (~> 3.13.0)
173
- rspec-mocks (3.13.2)
177
+ rspec-mocks (3.13.5)
174
178
  diff-lcs (>= 1.2.0, < 2.0)
175
179
  rspec-support (~> 3.13.0)
176
180
  rspec-rails (6.1.5)
@@ -181,46 +185,54 @@ GEM
181
185
  rspec-expectations (~> 3.13)
182
186
  rspec-mocks (~> 3.13)
183
187
  rspec-support (~> 3.13)
184
- rspec-support (3.13.2)
185
- rubocop (1.66.1)
188
+ rspec-support (3.13.4)
189
+ rubocop (1.75.0)
186
190
  json (~> 2.3)
187
- language_server-protocol (>= 3.17.0)
191
+ language_server-protocol (~> 3.17.0.2)
192
+ lint_roller (~> 1.1.0)
188
193
  parallel (~> 1.10)
189
194
  parser (>= 3.3.0.2)
190
195
  rainbow (>= 2.2.2, < 4.0)
191
- regexp_parser (>= 2.4, < 3.0)
192
- rubocop-ast (>= 1.32.2, < 2.0)
196
+ regexp_parser (>= 2.9.3, < 3.0)
197
+ rubocop-ast (>= 1.43.0, < 2.0)
193
198
  ruby-progressbar (~> 1.7)
194
- unicode-display_width (>= 2.4.0, < 3.0)
195
- rubocop-ast (1.38.0)
196
- parser (>= 3.3.1.0)
197
- rubocop-performance (1.23.1)
198
- rubocop (>= 1.48.1, < 2.0)
199
- rubocop-ast (>= 1.31.1, < 2.0)
200
- rubocop-rails (2.29.1)
199
+ unicode-display_width (>= 2.4.0, < 4.0)
200
+ rubocop-ast (1.46.0)
201
+ parser (>= 3.3.7.2)
202
+ prism (~> 1.4)
203
+ rubocop-performance (1.24.0)
204
+ lint_roller (~> 1.1)
205
+ rubocop (>= 1.72.1, < 2.0)
206
+ rubocop-ast (>= 1.38.0, < 2.0)
207
+ rubocop-rails (2.30.3)
201
208
  activesupport (>= 4.2.0)
209
+ lint_roller (~> 1.1)
202
210
  rack (>= 1.1)
203
- rubocop (>= 1.52.0, < 2.0)
204
- rubocop-ast (>= 1.31.1, < 2.0)
205
- rubocop-rake (0.6.0)
206
- rubocop (~> 1.0)
207
- rubocop-rspec (3.4.0)
208
- rubocop (~> 1.61)
211
+ rubocop (>= 1.72.1, < 2.0)
212
+ rubocop-ast (>= 1.38.0, < 2.0)
213
+ rubocop-rake (0.7.1)
214
+ lint_roller (~> 1.1)
215
+ rubocop (>= 1.72.1)
216
+ rubocop-rspec (3.6.0)
217
+ lint_roller (~> 1.1)
218
+ rubocop (~> 1.72, >= 1.72.1)
209
219
  ruby-progressbar (1.13.0)
210
220
  rubyzip (2.4.1)
211
- securerandom (0.4.1)
221
+ securerandom (0.3.2)
212
222
  sqlite3 (1.7.3)
213
223
  mini_portile2 (~> 2.8.0)
214
224
  sqlite3 (1.7.3-arm64-darwin)
215
225
  sqlite3 (1.7.3-x86_64-linux)
216
- stringio (3.1.3)
217
- thor (1.3.2)
226
+ stringio (3.1.7)
227
+ thor (1.4.0)
218
228
  timeout (0.4.3)
219
229
  tomlrb (2.0.3)
220
230
  tzinfo (2.0.6)
221
231
  concurrent-ruby (~> 1.0)
222
- unicode-display_width (2.6.0)
223
- uri (1.0.2)
232
+ unicode-display_width (3.1.4)
233
+ unicode-emoji (~> 4.0, >= 4.0.4)
234
+ unicode-emoji (4.0.4)
235
+ uri (1.0.3)
224
236
  useragent (0.16.11)
225
237
  with_env (1.1.0)
226
238
  xml-simple (1.1.9)
@@ -241,17 +253,19 @@ DEPENDENCIES
241
253
  bundler (~> 2.1)
242
254
  combustion (~> 1.3)
243
255
  consent!
256
+ erb (< 5.1)
244
257
  license_finder (>= 7.0)
245
258
  logger
246
259
  mutex_m
247
260
  net-imap (< 0.5.0)
248
- nokogiri (< 1.18)
261
+ nokogiri (< 1.19)
249
262
  pry (>= 0.14.2)
250
263
  pry-byebug (= 3.10.1)
251
264
  rake (~> 13)
252
265
  rspec (~> 3.0)
253
266
  rspec-rails (~> 6.1.5)
254
267
  rubocop-powerhome!
268
+ securerandom (< 0.4)
255
269
  sqlite3 (~> 1.7.3)
256
270
  zeitwerk (< 2.7.0)
257
271
 
@@ -4,7 +4,11 @@ module Consent
4
4
  class History < ::Consent::ApplicationRecord
5
5
  include Consent::SubjectCoder::Model
6
6
 
7
- enum command: { grant: "grant", revoke: "revoke" }
7
+ if Rails::VERSION::MAJOR >= 7
8
+ enum :command, { grant: "grant", revoke: "revoke" }
9
+ else
10
+ enum command: { grant: "grant", revoke: "revoke" }
11
+ end
8
12
 
9
13
  validates :subject, presence: true
10
14
  validates :action, presence: true
@@ -14,7 +14,7 @@ module Consent
14
14
  after_save { ::Consent::History.record(:grant, self) }
15
15
  after_destroy { ::Consent::History.record(:revoke, self) }
16
16
 
17
- scope :to, ->(subject:, action: nil, view: nil) do
17
+ def self.to(subject:, action: nil, view: nil)
18
18
  where({ subject: subject, action: action, view: view }.compact)
19
19
  end
20
20
 
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [2.3.0] - 2025-10-29
4
+
5
+ - Standardize all libs to support ruby 3.0, ruby 3.3 x rails 6.1 through rails 7.2 [#359](https://github.com/powerhome/power-tools/pull/359)
6
+ - Support rails 8 enums [#373](https://github.com/powerhome/power-tools/pull/373)
7
+
8
+ ## [2.2.0] - 2025-08-08
9
+
10
+ - Add support to Ruby 3.3 and Rails 6.1 [#356](https://github.com/powerhome/power-tools/pull/356)
11
+
3
12
  ## [2.1.0] - 2025-02-19
4
13
 
5
14
  - Add support to rails 7.1+ [#308](https://github.com/powerhome/power-tools/pull/308)
@@ -24,9 +33,15 @@
24
33
  - Consent released with DSL to design permissions and convenient CanCan::Ability implementation.
25
34
 
26
35
  ## [0.6.0] - 2020-12-22
36
+
27
37
  ## [0.5.2] - 2019-11-28
38
+
28
39
  ## [0.5.0] - 2019-11-25
40
+
29
41
  ## [0.4.3] - 2019-04-02
42
+
30
43
  ## [0.4.2] - 2019-03-28
44
+
31
45
  ## [0.4] - 2019-03-27
46
+
32
47
  ## [0.3.1] - 2016-11-08
@@ -4,11 +4,13 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "base64"
6
6
  gem "bigdecimal"
7
+ gem "erb", "< 5.1"
7
8
  gem "logger"
8
9
  gem "mutex_m"
9
10
  gem "net-imap", "< 0.5.0"
10
- gem "nokogiri", "< 1.18"
11
+ gem "nokogiri", "< 1.19"
11
12
  gem "rubocop-powerhome", path: "../../rubocop-powerhome"
13
+ gem "securerandom", "< 0.4"
12
14
  gem "zeitwerk", "< 2.7.0"
13
15
  gem "rails", "6.1.7.7"
14
16
 
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ../../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.5.3)
5
- rubocop (= 1.66.1)
4
+ rubocop-powerhome (0.5.6)
5
+ rubocop (= 1.75.0)
6
6
  rubocop-performance
7
7
  rubocop-rails
8
8
  rubocop-rake
@@ -11,7 +11,7 @@ PATH
11
11
  PATH
12
12
  remote: ..
13
13
  specs:
14
- consent (2.1.0)
14
+ consent (2.3.0)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
@@ -80,12 +80,13 @@ GEM
80
80
  bundler
81
81
  rake
82
82
  thor (>= 0.14.0)
83
- ast (2.4.2)
84
- base64 (0.2.0)
85
- bigdecimal (3.1.9)
83
+ ast (2.4.3)
84
+ base64 (0.3.0)
85
+ bigdecimal (3.2.2)
86
86
  builder (3.3.0)
87
87
  byebug (11.1.3)
88
88
  cancancan (3.2.1)
89
+ cgi (0.5.0)
89
90
  coderay (1.1.3)
90
91
  combustion (1.5.0)
91
92
  activesupport (>= 3.0.0)
@@ -93,16 +94,18 @@ GEM
93
94
  thor (>= 0.14.6)
94
95
  concurrent-ruby (1.3.5)
95
96
  crass (1.0.6)
96
- csv (3.3.2)
97
+ csv (3.3.5)
97
98
  date (3.4.1)
98
- diff-lcs (1.6.0)
99
+ diff-lcs (1.6.2)
100
+ erb (4.0.4)
101
+ cgi (>= 0.3.3)
99
102
  erubi (1.13.1)
100
103
  globalid (1.2.1)
101
104
  activesupport (>= 6.1)
102
105
  i18n (1.14.7)
103
106
  concurrent-ruby (~> 1.0)
104
- json (2.10.1)
105
- language_server-protocol (3.17.0.4)
107
+ json (2.13.2)
108
+ language_server-protocol (3.17.0.5)
106
109
  license_finder (7.2.1)
107
110
  bundler
108
111
  csv (~> 3.2)
@@ -111,8 +114,9 @@ GEM
111
114
  tomlrb (>= 1.3, < 2.1)
112
115
  with_env (= 1.1.0)
113
116
  xml-simple (~> 1.1.9)
114
- logger (1.6.6)
115
- loofah (2.24.0)
117
+ lint_roller (1.1.0)
118
+ logger (1.7.0)
119
+ loofah (2.24.1)
116
120
  crass (~> 1.0.2)
117
121
  nokogiri (>= 1.12.0)
118
122
  mail (2.8.1)
@@ -123,9 +127,9 @@ GEM
123
127
  marcel (1.0.4)
124
128
  method_source (1.1.0)
125
129
  mini_mime (1.1.5)
126
- minitest (5.25.4)
130
+ minitest (5.25.5)
127
131
  mutex_m (0.3.0)
128
- net-imap (0.4.19)
132
+ net-imap (0.4.22)
129
133
  date
130
134
  net-protocol
131
135
  net-pop (0.1.2)
@@ -139,10 +143,11 @@ GEM
139
143
  racc (~> 1.4)
140
144
  nokogiri (1.17.2-x86_64-linux)
141
145
  racc (~> 1.4)
142
- parallel (1.26.3)
143
- parser (3.3.7.1)
146
+ parallel (1.27.0)
147
+ parser (3.3.9.0)
144
148
  ast (~> 2.4.1)
145
149
  racc
150
+ prism (1.4.0)
146
151
  pry (0.14.2)
147
152
  coderay (~> 1.1)
148
153
  method_source (~> 1.0)
@@ -150,7 +155,7 @@ GEM
150
155
  byebug (~> 11.0)
151
156
  pry (>= 0.13, < 0.15)
152
157
  racc (1.8.1)
153
- rack (2.2.11)
158
+ rack (2.2.17)
154
159
  rack-test (2.2.0)
155
160
  rack (>= 1.3)
156
161
  rails (6.1.7.7)
@@ -168,7 +173,7 @@ GEM
168
173
  bundler (>= 1.15.0)
169
174
  railties (= 6.1.7.7)
170
175
  sprockets-rails (>= 2.0.0)
171
- rails-dom-testing (2.2.0)
176
+ rails-dom-testing (2.3.0)
172
177
  activesupport (>= 5.0.0)
173
178
  minitest
174
179
  nokogiri (>= 1.6)
@@ -182,19 +187,19 @@ GEM
182
187
  rake (>= 12.2)
183
188
  thor (~> 1.0)
184
189
  rainbow (3.1.1)
185
- rake (13.2.1)
186
- regexp_parser (2.10.0)
190
+ rake (13.3.0)
191
+ regexp_parser (2.11.0)
187
192
  rexml (3.4.1)
188
- rspec (3.13.0)
193
+ rspec (3.13.1)
189
194
  rspec-core (~> 3.13.0)
190
195
  rspec-expectations (~> 3.13.0)
191
196
  rspec-mocks (~> 3.13.0)
192
- rspec-core (3.13.3)
197
+ rspec-core (3.13.5)
193
198
  rspec-support (~> 3.13.0)
194
- rspec-expectations (3.13.3)
199
+ rspec-expectations (3.13.5)
195
200
  diff-lcs (>= 1.2.0, < 2.0)
196
201
  rspec-support (~> 3.13.0)
197
- rspec-mocks (3.13.2)
202
+ rspec-mocks (3.13.5)
198
203
  diff-lcs (>= 1.2.0, < 2.0)
199
204
  rspec-support (~> 3.13.0)
200
205
  rspec-rails (6.1.5)
@@ -205,35 +210,43 @@ GEM
205
210
  rspec-expectations (~> 3.13)
206
211
  rspec-mocks (~> 3.13)
207
212
  rspec-support (~> 3.13)
208
- rspec-support (3.13.2)
209
- rubocop (1.66.1)
213
+ rspec-support (3.13.4)
214
+ rubocop (1.75.0)
210
215
  json (~> 2.3)
211
- language_server-protocol (>= 3.17.0)
216
+ language_server-protocol (~> 3.17.0.2)
217
+ lint_roller (~> 1.1.0)
212
218
  parallel (~> 1.10)
213
219
  parser (>= 3.3.0.2)
214
220
  rainbow (>= 2.2.2, < 4.0)
215
- regexp_parser (>= 2.4, < 3.0)
216
- rubocop-ast (>= 1.32.2, < 2.0)
221
+ regexp_parser (>= 2.9.3, < 3.0)
222
+ rubocop-ast (>= 1.43.0, < 2.0)
217
223
  ruby-progressbar (~> 1.7)
218
- unicode-display_width (>= 2.4.0, < 3.0)
219
- rubocop-ast (1.38.0)
220
- parser (>= 3.3.1.0)
221
- rubocop-performance (1.23.1)
222
- rubocop (>= 1.48.1, < 2.0)
223
- rubocop-ast (>= 1.31.1, < 2.0)
224
- rubocop-rails (2.29.1)
224
+ unicode-display_width (>= 2.4.0, < 4.0)
225
+ rubocop-ast (1.46.0)
226
+ parser (>= 3.3.7.2)
227
+ prism (~> 1.4)
228
+ rubocop-performance (1.24.0)
229
+ lint_roller (~> 1.1)
230
+ rubocop (>= 1.72.1, < 2.0)
231
+ rubocop-ast (>= 1.38.0, < 2.0)
232
+ rubocop-rails (2.30.3)
225
233
  activesupport (>= 4.2.0)
234
+ lint_roller (~> 1.1)
226
235
  rack (>= 1.1)
227
- rubocop (>= 1.52.0, < 2.0)
228
- rubocop-ast (>= 1.31.1, < 2.0)
229
- rubocop-rake (0.6.0)
230
- rubocop (~> 1.0)
231
- rubocop-rspec (3.4.0)
232
- rubocop (~> 1.61)
236
+ rubocop (>= 1.72.1, < 2.0)
237
+ rubocop-ast (>= 1.38.0, < 2.0)
238
+ rubocop-rake (0.7.1)
239
+ lint_roller (~> 1.1)
240
+ rubocop (>= 1.72.1)
241
+ rubocop-rspec (3.6.0)
242
+ lint_roller (~> 1.1)
243
+ rubocop (~> 1.72, >= 1.72.1)
233
244
  ruby-progressbar (1.13.0)
234
245
  rubyzip (2.4.1)
235
- sprockets (4.2.1)
246
+ securerandom (0.3.2)
247
+ sprockets (4.2.2)
236
248
  concurrent-ruby (~> 1.0)
249
+ logger
237
250
  rack (>= 2.2.4, < 4)
238
251
  sprockets-rails (3.5.2)
239
252
  actionpack (>= 6.1)
@@ -241,13 +254,15 @@ GEM
241
254
  sprockets (>= 3.0.0)
242
255
  sqlite3 (1.7.3-arm64-darwin)
243
256
  sqlite3 (1.7.3-x86_64-linux)
244
- thor (1.3.2)
257
+ thor (1.4.0)
245
258
  timeout (0.4.3)
246
259
  tomlrb (2.0.3)
247
260
  tzinfo (2.0.6)
248
261
  concurrent-ruby (~> 1.0)
249
- unicode-display_width (2.6.0)
250
- websocket-driver (0.7.7)
262
+ unicode-display_width (3.1.4)
263
+ unicode-emoji (~> 4.0, >= 4.0.4)
264
+ unicode-emoji (4.0.4)
265
+ websocket-driver (0.8.0)
251
266
  base64
252
267
  websocket-extensions (>= 0.1.0)
253
268
  websocket-extensions (0.1.5)
@@ -268,11 +283,12 @@ DEPENDENCIES
268
283
  bundler (~> 2.1)
269
284
  combustion (~> 1.3)
270
285
  consent!
286
+ erb (< 5.1)
271
287
  license_finder (>= 7.0)
272
288
  logger
273
289
  mutex_m
274
290
  net-imap (< 0.5.0)
275
- nokogiri (< 1.18)
291
+ nokogiri (< 1.19)
276
292
  pry (>= 0.14.2)
277
293
  pry-byebug (= 3.10.1)
278
294
  rails (= 6.1.7.7)
@@ -280,6 +296,7 @@ DEPENDENCIES
280
296
  rspec (~> 3.0)
281
297
  rspec-rails (~> 6.1.5)
282
298
  rubocop-powerhome!
299
+ securerandom (< 0.4)
283
300
  sqlite3 (~> 1.7.3)
284
301
  zeitwerk (< 2.7.0)
285
302
 
@@ -4,11 +4,13 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "base64"
6
6
  gem "bigdecimal"
7
+ gem "erb", "< 5.1"
7
8
  gem "logger"
8
9
  gem "mutex_m"
9
10
  gem "net-imap", "< 0.5.0"
10
- gem "nokogiri", "< 1.18"
11
+ gem "nokogiri", "< 1.19"
11
12
  gem "rubocop-powerhome", path: "../../rubocop-powerhome"
13
+ gem "securerandom", "< 0.4"
12
14
  gem "zeitwerk", "< 2.7.0"
13
15
  gem "rails", "7.0.8.7"
14
16