consent 2.4.0 → 2.5.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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.6.0)
4
+ rubocop-powerhome (0.6.1)
5
5
  rubocop (= 1.82.1)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -11,41 +11,41 @@ PATH
11
11
  PATH
12
12
  remote: ..
13
13
  specs:
14
- consent (2.4.0)
14
+ consent (2.5.0)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- actioncable (7.1.3.2)
21
- actionpack (= 7.1.3.2)
22
- activesupport (= 7.1.3.2)
20
+ actioncable (7.1.5.2)
21
+ actionpack (= 7.1.5.2)
22
+ activesupport (= 7.1.5.2)
23
23
  nio4r (~> 2.0)
24
24
  websocket-driver (>= 0.6.1)
25
25
  zeitwerk (~> 2.6)
26
- actionmailbox (7.1.3.2)
27
- actionpack (= 7.1.3.2)
28
- activejob (= 7.1.3.2)
29
- activerecord (= 7.1.3.2)
30
- activestorage (= 7.1.3.2)
31
- activesupport (= 7.1.3.2)
26
+ actionmailbox (7.1.5.2)
27
+ actionpack (= 7.1.5.2)
28
+ activejob (= 7.1.5.2)
29
+ activerecord (= 7.1.5.2)
30
+ activestorage (= 7.1.5.2)
31
+ activesupport (= 7.1.5.2)
32
32
  mail (>= 2.7.1)
33
33
  net-imap
34
34
  net-pop
35
35
  net-smtp
36
- actionmailer (7.1.3.2)
37
- actionpack (= 7.1.3.2)
38
- actionview (= 7.1.3.2)
39
- activejob (= 7.1.3.2)
40
- activesupport (= 7.1.3.2)
36
+ actionmailer (7.1.5.2)
37
+ actionpack (= 7.1.5.2)
38
+ actionview (= 7.1.5.2)
39
+ activejob (= 7.1.5.2)
40
+ activesupport (= 7.1.5.2)
41
41
  mail (~> 2.5, >= 2.5.4)
42
42
  net-imap
43
43
  net-pop
44
44
  net-smtp
45
45
  rails-dom-testing (~> 2.2)
46
- actionpack (7.1.3.2)
47
- actionview (= 7.1.3.2)
48
- activesupport (= 7.1.3.2)
46
+ actionpack (7.1.5.2)
47
+ actionview (= 7.1.5.2)
48
+ activesupport (= 7.1.5.2)
49
49
  nokogiri (>= 1.8.5)
50
50
  racc
51
51
  rack (>= 2.2.4)
@@ -53,43 +53,46 @@ GEM
53
53
  rack-test (>= 0.6.3)
54
54
  rails-dom-testing (~> 2.2)
55
55
  rails-html-sanitizer (~> 1.6)
56
- actiontext (7.1.3.2)
57
- actionpack (= 7.1.3.2)
58
- activerecord (= 7.1.3.2)
59
- activestorage (= 7.1.3.2)
60
- activesupport (= 7.1.3.2)
56
+ actiontext (7.1.5.2)
57
+ actionpack (= 7.1.5.2)
58
+ activerecord (= 7.1.5.2)
59
+ activestorage (= 7.1.5.2)
60
+ activesupport (= 7.1.5.2)
61
61
  globalid (>= 0.6.0)
62
62
  nokogiri (>= 1.8.5)
63
- actionview (7.1.3.2)
64
- activesupport (= 7.1.3.2)
63
+ actionview (7.1.5.2)
64
+ activesupport (= 7.1.5.2)
65
65
  builder (~> 3.1)
66
66
  erubi (~> 1.11)
67
67
  rails-dom-testing (~> 2.2)
68
68
  rails-html-sanitizer (~> 1.6)
69
- activejob (7.1.3.2)
70
- activesupport (= 7.1.3.2)
69
+ activejob (7.1.5.2)
70
+ activesupport (= 7.1.5.2)
71
71
  globalid (>= 0.3.6)
72
- activemodel (7.1.3.2)
73
- activesupport (= 7.1.3.2)
74
- activerecord (7.1.3.2)
75
- activemodel (= 7.1.3.2)
76
- activesupport (= 7.1.3.2)
72
+ activemodel (7.1.5.2)
73
+ activesupport (= 7.1.5.2)
74
+ activerecord (7.1.5.2)
75
+ activemodel (= 7.1.5.2)
76
+ activesupport (= 7.1.5.2)
77
77
  timeout (>= 0.4.0)
78
- activestorage (7.1.3.2)
79
- actionpack (= 7.1.3.2)
80
- activejob (= 7.1.3.2)
81
- activerecord (= 7.1.3.2)
82
- activesupport (= 7.1.3.2)
78
+ activestorage (7.1.5.2)
79
+ actionpack (= 7.1.5.2)
80
+ activejob (= 7.1.5.2)
81
+ activerecord (= 7.1.5.2)
82
+ activesupport (= 7.1.5.2)
83
83
  marcel (~> 1.0)
84
- activesupport (7.1.3.2)
84
+ activesupport (7.1.5.2)
85
85
  base64
86
+ benchmark (>= 0.3)
86
87
  bigdecimal
87
88
  concurrent-ruby (~> 1.0, >= 1.0.2)
88
89
  connection_pool (>= 2.2.5)
89
90
  drb
90
91
  i18n (>= 1.6, < 2)
92
+ logger (>= 1.4.2)
91
93
  minitest (>= 5.1)
92
94
  mutex_m
95
+ securerandom (>= 0.3)
93
96
  tzinfo (~> 2.0)
94
97
  appraisal (2.5.0)
95
98
  bundler
@@ -97,36 +100,36 @@ GEM
97
100
  thor (>= 0.14.0)
98
101
  ast (2.4.3)
99
102
  base64 (0.3.0)
100
- bigdecimal (3.2.2)
103
+ benchmark (0.5.0)
104
+ bigdecimal (4.1.1)
101
105
  builder (3.3.0)
102
106
  byebug (11.1.3)
103
107
  cancancan (3.2.1)
104
- cgi (0.5.1)
105
108
  coderay (1.1.3)
106
109
  combustion (1.5.0)
107
110
  activesupport (>= 3.0.0)
108
111
  railties (>= 3.0.0)
109
112
  thor (>= 0.14.6)
110
113
  concurrent-ruby (1.3.6)
111
- connection_pool (2.4.1)
114
+ connection_pool (3.0.2)
112
115
  crass (1.0.6)
113
116
  csv (3.3.5)
114
117
  date (3.5.1)
115
118
  diff-lcs (1.6.2)
116
119
  drb (2.2.3)
117
- erb (4.0.4)
118
- cgi (>= 0.3.3)
120
+ erb (6.0.2)
119
121
  erubi (1.13.1)
120
122
  globalid (1.3.0)
121
123
  activesupport (>= 6.1)
122
124
  i18n (1.14.8)
123
125
  concurrent-ruby (~> 1.0)
124
126
  io-console (0.8.2)
125
- irb (1.16.0)
127
+ irb (1.17.0)
126
128
  pp (>= 0.6.0)
129
+ prism (>= 1.3.0)
127
130
  rdoc (>= 4.0.0)
128
131
  reline (>= 0.4.2)
129
- json (2.18.1)
132
+ json (2.19.3)
130
133
  language_server-protocol (3.17.0.5)
131
134
  license_finder (7.2.1)
132
135
  bundler
@@ -138,7 +141,7 @@ GEM
138
141
  xml-simple (~> 1.1.9)
139
142
  lint_roller (1.1.0)
140
143
  logger (1.7.0)
141
- loofah (2.25.0)
144
+ loofah (2.25.1)
142
145
  crass (~> 1.0.2)
143
146
  nokogiri (>= 1.12.0)
144
147
  mail (2.9.0)
@@ -147,12 +150,14 @@ GEM
147
150
  net-imap
148
151
  net-pop
149
152
  net-smtp
150
- marcel (1.1.0)
153
+ marcel (1.2.1)
151
154
  method_source (1.1.0)
152
155
  mini_mime (1.1.5)
153
- minitest (5.25.5)
156
+ minitest (6.0.4)
157
+ drb (~> 2.0)
158
+ prism (~> 1.5)
154
159
  mutex_m (0.3.0)
155
- net-imap (0.4.23)
160
+ net-imap (0.6.4)
156
161
  date
157
162
  net-protocol
158
163
  net-pop (0.1.2)
@@ -162,18 +167,24 @@ GEM
162
167
  net-smtp (0.5.1)
163
168
  net-protocol
164
169
  nio4r (2.7.5)
165
- nokogiri (1.17.2-aarch64-linux)
170
+ nokogiri (1.19.2-aarch64-linux-gnu)
166
171
  racc (~> 1.4)
167
- nokogiri (1.17.2-arm-linux)
172
+ nokogiri (1.19.2-aarch64-linux-musl)
168
173
  racc (~> 1.4)
169
- nokogiri (1.17.2-arm64-darwin)
174
+ nokogiri (1.19.2-arm-linux-gnu)
170
175
  racc (~> 1.4)
171
- nokogiri (1.17.2-x86_64-darwin)
176
+ nokogiri (1.19.2-arm-linux-musl)
172
177
  racc (~> 1.4)
173
- nokogiri (1.17.2-x86_64-linux)
178
+ nokogiri (1.19.2-arm64-darwin)
174
179
  racc (~> 1.4)
175
- parallel (1.27.0)
176
- parser (3.3.10.1)
180
+ nokogiri (1.19.2-x86_64-darwin)
181
+ racc (~> 1.4)
182
+ nokogiri (1.19.2-x86_64-linux-gnu)
183
+ racc (~> 1.4)
184
+ nokogiri (1.19.2-x86_64-linux-musl)
185
+ racc (~> 1.4)
186
+ parallel (1.28.0)
187
+ parser (3.3.11.1)
177
188
  ast (~> 2.4.1)
178
189
  racc
179
190
  pp (0.6.3)
@@ -190,50 +201,50 @@ GEM
190
201
  date
191
202
  stringio
192
203
  racc (1.8.1)
193
- rack (3.2.4)
194
- rack-session (2.1.1)
204
+ rack (3.2.6)
205
+ rack-session (2.1.2)
195
206
  base64 (>= 0.1.0)
196
207
  rack (>= 3.0.0)
197
208
  rack-test (2.2.0)
198
209
  rack (>= 1.3)
199
210
  rackup (2.3.1)
200
211
  rack (>= 3)
201
- rails (7.1.3.2)
202
- actioncable (= 7.1.3.2)
203
- actionmailbox (= 7.1.3.2)
204
- actionmailer (= 7.1.3.2)
205
- actionpack (= 7.1.3.2)
206
- actiontext (= 7.1.3.2)
207
- actionview (= 7.1.3.2)
208
- activejob (= 7.1.3.2)
209
- activemodel (= 7.1.3.2)
210
- activerecord (= 7.1.3.2)
211
- activestorage (= 7.1.3.2)
212
- activesupport (= 7.1.3.2)
212
+ rails (7.1.5.2)
213
+ actioncable (= 7.1.5.2)
214
+ actionmailbox (= 7.1.5.2)
215
+ actionmailer (= 7.1.5.2)
216
+ actionpack (= 7.1.5.2)
217
+ actiontext (= 7.1.5.2)
218
+ actionview (= 7.1.5.2)
219
+ activejob (= 7.1.5.2)
220
+ activemodel (= 7.1.5.2)
221
+ activerecord (= 7.1.5.2)
222
+ activestorage (= 7.1.5.2)
223
+ activesupport (= 7.1.5.2)
213
224
  bundler (>= 1.15.0)
214
- railties (= 7.1.3.2)
225
+ railties (= 7.1.5.2)
215
226
  rails-dom-testing (2.3.0)
216
227
  activesupport (>= 5.0.0)
217
228
  minitest
218
229
  nokogiri (>= 1.6)
219
- rails-html-sanitizer (1.6.2)
220
- loofah (~> 2.21)
230
+ rails-html-sanitizer (1.7.0)
231
+ loofah (~> 2.25)
221
232
  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)
222
- railties (7.1.3.2)
223
- actionpack (= 7.1.3.2)
224
- activesupport (= 7.1.3.2)
233
+ railties (7.1.5.2)
234
+ actionpack (= 7.1.5.2)
235
+ activesupport (= 7.1.5.2)
225
236
  irb
226
237
  rackup (>= 1.0.0)
227
238
  rake (>= 12.2)
228
239
  thor (~> 1.0, >= 1.2.2)
229
240
  zeitwerk (~> 2.6)
230
241
  rainbow (3.1.1)
231
- rake (13.3.1)
232
- rdoc (7.1.0)
242
+ rake (13.4.1)
243
+ rdoc (7.2.0)
233
244
  erb
234
245
  psych (>= 4.0.0)
235
246
  tsort
236
- regexp_parser (2.11.3)
247
+ regexp_parser (2.12.0)
237
248
  reline (0.6.3)
238
249
  io-console (~> 0.5)
239
250
  rexml (3.4.4)
@@ -246,7 +257,7 @@ GEM
246
257
  rspec-expectations (3.13.5)
247
258
  diff-lcs (>= 1.2.0, < 2.0)
248
259
  rspec-support (~> 3.13.0)
249
- rspec-mocks (3.13.7)
260
+ rspec-mocks (3.13.8)
250
261
  diff-lcs (>= 1.2.0, < 2.0)
251
262
  rspec-support (~> 3.13.0)
252
263
  rspec-rails (6.1.5)
@@ -269,7 +280,7 @@ GEM
269
280
  rubocop-ast (>= 1.48.0, < 2.0)
270
281
  ruby-progressbar (~> 1.7)
271
282
  unicode-display_width (>= 2.4.0, < 4.0)
272
- rubocop-ast (1.49.0)
283
+ rubocop-ast (1.49.1)
273
284
  parser (>= 3.3.7.2)
274
285
  prism (~> 1.7)
275
286
  rubocop-performance (1.26.1)
@@ -290,15 +301,18 @@ GEM
290
301
  rubocop (~> 1.81)
291
302
  ruby-progressbar (1.13.0)
292
303
  rubyzip (2.4.1)
293
- securerandom (0.3.2)
294
- sqlite3 (1.7.3-aarch64-linux)
295
- sqlite3 (1.7.3-arm-linux)
296
- sqlite3 (1.7.3-arm64-darwin)
297
- sqlite3 (1.7.3-x86_64-darwin)
298
- sqlite3 (1.7.3-x86_64-linux)
304
+ securerandom (0.4.1)
305
+ sqlite3 (2.9.2-aarch64-linux-gnu)
306
+ sqlite3 (2.9.2-aarch64-linux-musl)
307
+ sqlite3 (2.9.2-arm-linux-gnu)
308
+ sqlite3 (2.9.2-arm-linux-musl)
309
+ sqlite3 (2.9.2-arm64-darwin)
310
+ sqlite3 (2.9.2-x86_64-darwin)
311
+ sqlite3 (2.9.2-x86_64-linux-gnu)
312
+ sqlite3 (2.9.2-x86_64-linux-musl)
299
313
  stringio (3.2.0)
300
314
  thor (1.5.0)
301
- timeout (0.6.0)
315
+ timeout (0.6.1)
302
316
  tomlrb (2.0.4)
303
317
  tsort (0.2.0)
304
318
  tzinfo (2.0.6)
@@ -313,7 +327,7 @@ GEM
313
327
  with_env (1.1.0)
314
328
  xml-simple (1.1.9)
315
329
  rexml
316
- zeitwerk (2.6.18)
330
+ zeitwerk (2.7.5)
317
331
 
318
332
  PLATFORMS
319
333
  aarch64-linux
@@ -331,29 +345,18 @@ PLATFORMS
331
345
  DEPENDENCIES
332
346
  activerecord (>= 5)
333
347
  appraisal (~> 2.5.0)
334
- base64 (~> 0.3.0)
335
- bigdecimal (~> 3.2.0, < 3.2.3)
336
348
  bundler (~> 2.1)
337
349
  combustion (~> 1.3)
338
- connection_pool (~> 2.4.1)
339
350
  consent!
340
- erb (~> 4.0.4)
341
351
  license_finder (>= 7.0)
342
- logger (~> 1.7.0)
343
- minitest (~> 5.25.5)
344
- mutex_m (~> 0.3.0)
345
- net-imap (< 0.5.0)
346
- nokogiri (~> 1.17.0, < 1.18)
347
352
  pry (>= 0.14.2)
348
353
  pry-byebug (= 3.10.1)
349
- rails (= 7.1.3.2)
354
+ rails (= 7.1.5.2)
350
355
  rake (~> 13)
351
356
  rspec (~> 3.0)
352
357
  rspec-rails (~> 6.1.5)
353
358
  rubocop-powerhome!
354
- securerandom (< 0.4)
355
- sqlite3 (~> 1.7.3)
356
- zeitwerk (< 2.7.0)
359
+ sqlite3 (~> 2.9)
357
360
 
358
361
  BUNDLED WITH
359
362
  2.5.23
@@ -4,18 +4,7 @@
4
4
 
5
5
  source "https://rubygems.org"
6
6
 
7
- gem "base64", "~> 0.3.0"
8
- gem "bigdecimal", "~> 3.2.0", "< 3.2.3"
9
- gem "connection_pool", "~> 2.4.1"
10
- gem "erb", "~> 4.0.4"
11
- gem "logger", "~> 1.7.0"
12
- gem "minitest", "~> 5.25.5"
13
- gem "mutex_m", "~> 0.3.0"
14
- gem "net-imap", "< 0.5.0"
15
- gem "nokogiri", "~> 1.17.0", "< 1.18"
16
7
  gem "rails", "7.2.2.1"
17
8
  gem "rubocop-powerhome", path: "../../rubocop-powerhome"
18
- gem "securerandom", "< 0.4"
19
- gem "zeitwerk", "< 2.7.0"
20
9
 
21
10
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.6.0)
4
+ rubocop-powerhome (0.6.1)
5
5
  rubocop (= 1.82.1)
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -11,7 +11,7 @@ PATH
11
11
  PATH
12
12
  remote: ..
13
13
  specs:
14
- consent (2.4.0)
14
+ consent (2.5.0)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
@@ -95,36 +95,35 @@ GEM
95
95
  ast (2.4.3)
96
96
  base64 (0.3.0)
97
97
  benchmark (0.5.0)
98
- bigdecimal (3.2.2)
98
+ bigdecimal (4.1.1)
99
99
  builder (3.3.0)
100
100
  byebug (11.1.3)
101
101
  cancancan (3.2.1)
102
- cgi (0.5.1)
103
102
  coderay (1.1.3)
104
103
  combustion (1.5.0)
105
104
  activesupport (>= 3.0.0)
106
105
  railties (>= 3.0.0)
107
106
  thor (>= 0.14.6)
108
107
  concurrent-ruby (1.3.6)
109
- connection_pool (2.4.1)
108
+ connection_pool (3.0.2)
110
109
  crass (1.0.6)
111
110
  csv (3.3.5)
112
111
  date (3.5.1)
113
112
  diff-lcs (1.6.2)
114
113
  drb (2.2.3)
115
- erb (4.0.4)
116
- cgi (>= 0.3.3)
114
+ erb (6.0.2)
117
115
  erubi (1.13.1)
118
116
  globalid (1.3.0)
119
117
  activesupport (>= 6.1)
120
118
  i18n (1.14.8)
121
119
  concurrent-ruby (~> 1.0)
122
120
  io-console (0.8.2)
123
- irb (1.16.0)
121
+ irb (1.17.0)
124
122
  pp (>= 0.6.0)
123
+ prism (>= 1.3.0)
125
124
  rdoc (>= 4.0.0)
126
125
  reline (>= 0.4.2)
127
- json (2.18.1)
126
+ json (2.19.3)
128
127
  language_server-protocol (3.17.0.5)
129
128
  license_finder (7.2.1)
130
129
  bundler
@@ -136,7 +135,7 @@ GEM
136
135
  xml-simple (~> 1.1.9)
137
136
  lint_roller (1.1.0)
138
137
  logger (1.7.0)
139
- loofah (2.25.0)
138
+ loofah (2.25.1)
140
139
  crass (~> 1.0.2)
141
140
  nokogiri (>= 1.12.0)
142
141
  mail (2.9.0)
@@ -148,9 +147,11 @@ GEM
148
147
  marcel (1.1.0)
149
148
  method_source (1.1.0)
150
149
  mini_mime (1.1.5)
151
- minitest (5.25.5)
152
- mutex_m (0.3.0)
153
- net-imap (0.4.23)
150
+ mini_portile2 (2.8.9)
151
+ minitest (6.0.3)
152
+ drb (~> 2.0)
153
+ prism (~> 1.5)
154
+ net-imap (0.6.3)
154
155
  date
155
156
  net-protocol
156
157
  net-pop (0.1.2)
@@ -160,20 +161,21 @@ GEM
160
161
  net-smtp (0.5.1)
161
162
  net-protocol
162
163
  nio4r (2.7.5)
163
- nokogiri (1.17.2-aarch64-linux)
164
+ nokogiri (1.19.2)
165
+ mini_portile2 (~> 2.8.2)
164
166
  racc (~> 1.4)
165
- nokogiri (1.17.2-arm-linux)
167
+ nokogiri (1.19.2-aarch64-linux-gnu)
166
168
  racc (~> 1.4)
167
- nokogiri (1.17.2-arm64-darwin)
169
+ nokogiri (1.19.2-arm-linux-gnu)
168
170
  racc (~> 1.4)
169
- nokogiri (1.17.2-x86-linux)
171
+ nokogiri (1.19.2-arm64-darwin)
170
172
  racc (~> 1.4)
171
- nokogiri (1.17.2-x86_64-darwin)
173
+ nokogiri (1.19.2-x86_64-darwin)
172
174
  racc (~> 1.4)
173
- nokogiri (1.17.2-x86_64-linux)
175
+ nokogiri (1.19.2-x86_64-linux-gnu)
174
176
  racc (~> 1.4)
175
- parallel (1.27.0)
176
- parser (3.3.10.1)
177
+ parallel (1.28.0)
178
+ parser (3.3.11.1)
177
179
  ast (~> 2.4.1)
178
180
  racc
179
181
  pp (0.6.3)
@@ -190,8 +192,8 @@ GEM
190
192
  date
191
193
  stringio
192
194
  racc (1.8.1)
193
- rack (3.1.19)
194
- rack-session (2.1.1)
195
+ rack (3.1.21)
196
+ rack-session (2.1.2)
195
197
  base64 (>= 0.1.0)
196
198
  rack (>= 3.0.0)
197
199
  rack-test (2.2.0)
@@ -216,8 +218,8 @@ GEM
216
218
  activesupport (>= 5.0.0)
217
219
  minitest
218
220
  nokogiri (>= 1.6)
219
- rails-html-sanitizer (1.6.2)
220
- loofah (~> 2.21)
221
+ rails-html-sanitizer (1.7.0)
222
+ loofah (~> 2.25)
221
223
  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)
222
224
  railties (7.2.2.1)
223
225
  actionpack (= 7.2.2.1)
@@ -229,11 +231,11 @@ GEM
229
231
  zeitwerk (~> 2.6)
230
232
  rainbow (3.1.1)
231
233
  rake (13.3.1)
232
- rdoc (7.1.0)
234
+ rdoc (7.2.0)
233
235
  erb
234
236
  psych (>= 4.0.0)
235
237
  tsort
236
- regexp_parser (2.11.3)
238
+ regexp_parser (2.12.0)
237
239
  reline (0.6.3)
238
240
  io-console (~> 0.5)
239
241
  rexml (3.4.4)
@@ -246,7 +248,7 @@ GEM
246
248
  rspec-expectations (3.13.5)
247
249
  diff-lcs (>= 1.2.0, < 2.0)
248
250
  rspec-support (~> 3.13.0)
249
- rspec-mocks (3.13.7)
251
+ rspec-mocks (3.13.8)
250
252
  diff-lcs (>= 1.2.0, < 2.0)
251
253
  rspec-support (~> 3.13.0)
252
254
  rspec-rails (6.1.5)
@@ -269,7 +271,7 @@ GEM
269
271
  rubocop-ast (>= 1.48.0, < 2.0)
270
272
  ruby-progressbar (~> 1.7)
271
273
  unicode-display_width (>= 2.4.0, < 4.0)
272
- rubocop-ast (1.49.0)
274
+ rubocop-ast (1.49.1)
273
275
  parser (>= 3.3.7.2)
274
276
  prism (~> 1.7)
275
277
  rubocop-performance (1.26.1)
@@ -290,16 +292,16 @@ GEM
290
292
  rubocop (~> 1.81)
291
293
  ruby-progressbar (1.13.0)
292
294
  rubyzip (2.4.1)
293
- securerandom (0.3.2)
294
- sqlite3 (1.7.3-aarch64-linux)
295
- sqlite3 (1.7.3-arm-linux)
296
- sqlite3 (1.7.3-arm64-darwin)
297
- sqlite3 (1.7.3-x86-linux)
298
- sqlite3 (1.7.3-x86_64-darwin)
299
- sqlite3 (1.7.3-x86_64-linux)
295
+ securerandom (0.4.1)
296
+ sqlite3 (2.9.2-aarch64-linux-gnu)
297
+ sqlite3 (2.9.2-arm-linux-gnu)
298
+ sqlite3 (2.9.2-arm64-darwin)
299
+ sqlite3 (2.9.2-x86-linux-gnu)
300
+ sqlite3 (2.9.2-x86_64-darwin)
301
+ sqlite3 (2.9.2-x86_64-linux-gnu)
300
302
  stringio (3.2.0)
301
303
  thor (1.5.0)
302
- timeout (0.6.0)
304
+ timeout (0.6.1)
303
305
  tomlrb (2.0.4)
304
306
  tsort (0.2.0)
305
307
  tzinfo (2.0.6)
@@ -315,7 +317,7 @@ GEM
315
317
  with_env (1.1.0)
316
318
  xml-simple (1.1.9)
317
319
  rexml
318
- zeitwerk (2.6.18)
320
+ zeitwerk (2.7.5)
319
321
 
320
322
  PLATFORMS
321
323
  aarch64-linux
@@ -328,19 +330,10 @@ PLATFORMS
328
330
  DEPENDENCIES
329
331
  activerecord (>= 5)
330
332
  appraisal (~> 2.5.0)
331
- base64 (~> 0.3.0)
332
- bigdecimal (~> 3.2.0, < 3.2.3)
333
333
  bundler (~> 2.1)
334
334
  combustion (~> 1.3)
335
- connection_pool (~> 2.4.1)
336
335
  consent!
337
- erb (~> 4.0.4)
338
336
  license_finder (>= 7.0)
339
- logger (~> 1.7.0)
340
- minitest (~> 5.25.5)
341
- mutex_m (~> 0.3.0)
342
- net-imap (< 0.5.0)
343
- nokogiri (~> 1.17.0, < 1.18)
344
337
  pry (>= 0.14.2)
345
338
  pry-byebug (= 3.10.1)
346
339
  rails (= 7.2.2.1)
@@ -348,9 +341,7 @@ DEPENDENCIES
348
341
  rspec (~> 3.0)
349
342
  rspec-rails (~> 6.1.5)
350
343
  rubocop-powerhome!
351
- securerandom (< 0.4)
352
- sqlite3 (~> 1.7.3)
353
- zeitwerk (< 2.7.0)
344
+ sqlite3 (~> 2.9)
354
345
 
355
346
  BUNDLED WITH
356
347
  2.5.23
@@ -20,5 +20,14 @@ module Consent
20
20
 
21
21
  @default_view ||= @subject.views[@options[:default_view]]
22
22
  end
23
+
24
+ def to_permission_payload
25
+ {
26
+ action: key,
27
+ label: label,
28
+ views: views.values.map(&:to_permission_payload),
29
+ default_view: default_view&.to_permission_payload,
30
+ }
31
+ end
23
32
  end
24
33
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Consent
4
+ class PermissionDefinitionPayload
5
+ def self.generate
6
+ {
7
+ consent_version: Consent::VERSION,
8
+ permissions: Consent.subjects.map(&:to_permission_payload),
9
+ }
10
+ end
11
+ end
12
+ end
@@ -10,5 +10,14 @@ module Consent
10
10
  @actions = []
11
11
  @views = Consent.default_views.clone
12
12
  end
13
+
14
+ def to_permission_payload
15
+ {
16
+ subject: key,
17
+ label: label,
18
+ actions: actions.map(&:to_permission_payload),
19
+ views: views.values.map(&:to_permission_payload),
20
+ }
21
+ end
13
22
  end
14
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Consent
4
- VERSION = "2.4.0"
4
+ VERSION = "2.5.0"
5
5
  end