trusty-cms 8.2.0 → 8.2.1

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: a19f132543bcd95bbd5225dc356b1ad17a5e85da6e4778af11151b5474641536
4
- data.tar.gz: 19bd2adb46698e225aed2c5272238c533a093ccd48e9ae5979665d3f721e9433
3
+ metadata.gz: a70c531efb38073f1074e127c5d668ccd8a37ef051b7803d0a5db48773315801
4
+ data.tar.gz: be4d12abfc15c1b37979f627d79099efb9c5298646cb109f003627171bdfc369
5
5
  SHA512:
6
- metadata.gz: a03e160394522490d737f7d5d729b4e96d73226a284fdfdc6971d40c10e720ec788b174196509c30e80a43be8d116fd2a49f2321e1bc6eae16564dac97de5be2
7
- data.tar.gz: a4c06fd38e690bc65e7d83e3e3f964c2919ede43c81a1f56e2d7b5975c1f3e00481452fd0ec53267fb760192ffb3034c16c92fb2347b188042c34d1076acc39c
6
+ metadata.gz: 8ad95569aaf19341e7878a7fcb24ac8455cc03d4ea98acba9648d66baa6289d2e049cae32b9513641a0d8adc8e4ec045f54363834162deac8f65db0efbdff5f6
7
+ data.tar.gz: 8aac11aa36df21808843ae718a4b75b69b5e99e3955d22b7be3e8ba04ff4f3914feba4fd9203fd48a45bf3451eb27253d0722a347a6545370dbe367345d3fd01
data/Gemfile CHANGED
@@ -23,13 +23,13 @@ group :development, :test do
23
23
  gem 'launchy', '~> 3.1.1'
24
24
  gem 'mysql2'
25
25
  gem 'paper_trail', '~> 17.0.0'
26
- gem 'paper_trail-association_tracking', '~> 2.3.0'
26
+ gem 'paper_trail-association_tracking', '~> 2.4.1'
27
27
  gem 'pry-byebug'
28
- gem 'psych', '5.4.0'
28
+ gem 'psych', '5.5.0'
29
29
  gem 'rails-observers'
30
30
  gem 'ransack'
31
31
  gem 'rspec_junit_formatter'
32
- gem 'rspec-rails', '~> 7.1.1'
32
+ gem 'rspec-rails', '~> 8.0.4'
33
33
  gem 'simplecov'
34
34
  gem 'simplecov-lcov'
35
35
  end
data/Gemfile.lock CHANGED
@@ -8,14 +8,14 @@ PATH
8
8
  acts_as_tree (~> 2.9.1)
9
9
  base64
10
10
  bigdecimal
11
- csso-rails (~> 0.1)
11
+ csso-rails (>= 0.1, < 2.0)
12
12
  delocalize (>= 0.2, < 2.0)
13
13
  devise
14
14
  devise-two-factor
15
15
  diffy
16
16
  drb
17
17
  execjs (~> 2.7)
18
- haml (>= 6.3, < 7.4)
18
+ haml (>= 6.3, < 7.6)
19
19
  haml-rails (>= 2.1, < 4.0)
20
20
  highline (>= 1.7.8, < 3.2.0)
21
21
  image_processing
@@ -26,14 +26,14 @@ PATH
26
26
  mysql2
27
27
  ostruct
28
28
  paper_trail (~> 17.0.0)
29
- paper_trail-association_tracking (>= 2.2.1, < 2.4.0)
30
- psych (= 5.4.0)
31
- rack (>= 2.0.1, < 3.2.0)
29
+ paper_trail-association_tracking (>= 2.2.1, < 2.5.0)
30
+ psych (= 5.5.0)
31
+ rack (>= 2.0.1, < 3.3.0)
32
32
  rack-cache (~> 1.7)
33
33
  radius (~> 0.8)
34
34
  rails (~> 8.1.0)
35
35
  rake (< 14.0)
36
- ransack (~> 4.2.1)
36
+ ransack (>= 4.2.1, < 5.1.0)
37
37
  rdoc (>= 5.1, < 9.0)
38
38
  roadie-rails
39
39
  rqrcode
@@ -50,29 +50,29 @@ GEM
50
50
  RedCloth (4.3.4)
51
51
  action_text-trix (2.1.19)
52
52
  railties
53
- actioncable (8.1.3.1)
54
- actionpack (= 8.1.3.1)
55
- activesupport (= 8.1.3.1)
53
+ actioncable (8.1.4.1)
54
+ actionpack (= 8.1.4.1)
55
+ activesupport (= 8.1.4.1)
56
56
  nio4r (~> 2.0)
57
57
  websocket-driver (>= 0.6.1)
58
58
  zeitwerk (~> 2.6)
59
- actionmailbox (8.1.3.1)
60
- actionpack (= 8.1.3.1)
61
- activejob (= 8.1.3.1)
62
- activerecord (= 8.1.3.1)
63
- activestorage (= 8.1.3.1)
64
- activesupport (= 8.1.3.1)
59
+ actionmailbox (8.1.4.1)
60
+ actionpack (= 8.1.4.1)
61
+ activejob (= 8.1.4.1)
62
+ activerecord (= 8.1.4.1)
63
+ activestorage (= 8.1.4.1)
64
+ activesupport (= 8.1.4.1)
65
65
  mail (>= 2.8.0)
66
- actionmailer (8.1.3.1)
67
- actionpack (= 8.1.3.1)
68
- actionview (= 8.1.3.1)
69
- activejob (= 8.1.3.1)
70
- activesupport (= 8.1.3.1)
66
+ actionmailer (8.1.4.1)
67
+ actionpack (= 8.1.4.1)
68
+ actionview (= 8.1.4.1)
69
+ activejob (= 8.1.4.1)
70
+ activesupport (= 8.1.4.1)
71
71
  mail (>= 2.8.0)
72
72
  rails-dom-testing (~> 2.2)
73
- actionpack (8.1.3.1)
74
- actionview (= 8.1.3.1)
75
- activesupport (= 8.1.3.1)
73
+ actionpack (8.1.4.1)
74
+ actionview (= 8.1.4.1)
75
+ activesupport (= 8.1.4.1)
76
76
  nokogiri (>= 1.8.5)
77
77
  rack (>= 2.2.4)
78
78
  rack-session (>= 1.0.1)
@@ -80,38 +80,38 @@ GEM
80
80
  rails-dom-testing (~> 2.2)
81
81
  rails-html-sanitizer (~> 1.6)
82
82
  useragent (~> 0.16)
83
- actiontext (8.1.3.1)
83
+ actiontext (8.1.4.1)
84
84
  action_text-trix (~> 2.1.15)
85
- actionpack (= 8.1.3.1)
86
- activerecord (= 8.1.3.1)
87
- activestorage (= 8.1.3.1)
88
- activesupport (= 8.1.3.1)
85
+ actionpack (= 8.1.4.1)
86
+ activerecord (= 8.1.4.1)
87
+ activestorage (= 8.1.4.1)
88
+ activesupport (= 8.1.4.1)
89
89
  globalid (>= 0.6.0)
90
90
  nokogiri (>= 1.8.5)
91
- actionview (8.1.3.1)
92
- activesupport (= 8.1.3.1)
91
+ actionview (8.1.4.1)
92
+ activesupport (= 8.1.4.1)
93
93
  builder (~> 3.1)
94
94
  erubi (~> 1.11)
95
95
  rails-dom-testing (~> 2.2)
96
- rails-html-sanitizer (~> 1.6)
97
- activejob (8.1.3.1)
98
- activesupport (= 8.1.3.1)
96
+ rails-html-sanitizer (~> 1.6, >= 1.7.2)
97
+ activejob (8.1.4.1)
98
+ activesupport (= 8.1.4.1)
99
99
  globalid (>= 0.3.6)
100
- activemodel (8.1.3.1)
101
- activesupport (= 8.1.3.1)
102
- activerecord (8.1.3.1)
103
- activemodel (= 8.1.3.1)
104
- activesupport (= 8.1.3.1)
100
+ activemodel (8.1.4.1)
101
+ activesupport (= 8.1.4.1)
102
+ activerecord (8.1.4.1)
103
+ activemodel (= 8.1.4.1)
104
+ activesupport (= 8.1.4.1)
105
105
  timeout (>= 0.4.0)
106
- activestorage (8.1.3.1)
107
- actionpack (= 8.1.3.1)
108
- activejob (= 8.1.3.1)
109
- activerecord (= 8.1.3.1)
110
- activesupport (= 8.1.3.1)
106
+ activestorage (8.1.4.1)
107
+ actionpack (= 8.1.4.1)
108
+ activejob (= 8.1.4.1)
109
+ activerecord (= 8.1.4.1)
110
+ activesupport (= 8.1.4.1)
111
111
  marcel (~> 1.0)
112
112
  activestorage-validator (0.8.0)
113
113
  rails (>= 7.2.0)
114
- activesupport (8.1.3.1)
114
+ activesupport (8.1.4.1)
115
115
  base64
116
116
  bigdecimal
117
117
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -129,11 +129,11 @@ GEM
129
129
  activesupport (>= 6.1)
130
130
  acts_as_tree (2.9.1)
131
131
  activerecord (>= 3.0.0)
132
- addressable (2.9.0)
132
+ addressable (2.9.1)
133
133
  public_suffix (>= 2.0.2, < 8.0)
134
134
  base64 (0.3.0)
135
135
  bcrypt (3.1.22)
136
- bigdecimal (4.1.2)
136
+ bigdecimal (4.1.3)
137
137
  builder (3.3.0)
138
138
  byebug (13.0.0)
139
139
  reline (>= 0.6.0)
@@ -152,11 +152,11 @@ GEM
152
152
  coderay (1.1.3)
153
153
  concurrent-ruby (1.3.8)
154
154
  connection_pool (3.0.2)
155
- crass (1.0.7)
155
+ crass (1.0.8)
156
156
  css_parser (3.0.0)
157
157
  addressable
158
158
  ssrf_filter (~> 1.5)
159
- csso-rails (0.9.0)
159
+ csso-rails (1.0.0)
160
160
  execjs (>= 1)
161
161
  csv (3.3.6)
162
162
  database_cleaner (2.1.0)
@@ -165,7 +165,7 @@ GEM
165
165
  activerecord (>= 5.a)
166
166
  database_cleaner-core (~> 2.0)
167
167
  database_cleaner-core (2.1.0)
168
- date (3.5.1)
168
+ date (3.6.0)
169
169
  delocalize (1.2.0)
170
170
  rails (>= 2)
171
171
  devise (5.0.4)
@@ -174,7 +174,7 @@ GEM
174
174
  railties (>= 7.0)
175
175
  responders
176
176
  warden (~> 1.2.3)
177
- devise-two-factor (6.4.0)
177
+ devise-two-factor (6.4.1)
178
178
  activesupport (>= 7.2, < 8.2)
179
179
  devise (>= 4.0, < 6.0)
180
180
  railties (>= 7.2, < 8.2)
@@ -184,7 +184,8 @@ GEM
184
184
  drb (2.2.3)
185
185
  erb (6.0.7)
186
186
  erubi (1.13.1)
187
- execjs (2.10.1)
187
+ execjs (2.10.2)
188
+ json (>= 2)
188
189
  factory_bot (6.6.0)
189
190
  activesupport (>= 6.1.0)
190
191
  factory_bot_rails (6.5.1)
@@ -205,7 +206,7 @@ GEM
205
206
  mime-types (>= 1.0)
206
207
  globalid (1.4.0)
207
208
  activesupport (>= 6.1)
208
- haml (7.3.0)
209
+ haml (7.5.1)
209
210
  prism (>= 1.1.0)
210
211
  temple (>= 0.8.2)
211
212
  thor
@@ -223,8 +224,8 @@ GEM
223
224
  multi_xml (>= 0.5.2)
224
225
  i18n (1.15.2)
225
226
  concurrent-ruby (~> 1.0)
226
- image_processing (2.0.2)
227
- io-console (0.9.2)
227
+ image_processing (2.2.0)
228
+ io-console (0.9.4)
228
229
  irb (1.18.0)
229
230
  pp (>= 0.6.0)
230
231
  prism (>= 1.3.0)
@@ -232,7 +233,7 @@ GEM
232
233
  reline (>= 0.4.2)
233
234
  jsbundling-rails (1.3.1)
234
235
  railties (>= 6.0.0)
235
- json (2.21.2)
236
+ json (3.1.0)
236
237
  kraken-io (0.1.3)
237
238
  activesupport
238
239
  httparty
@@ -250,9 +251,9 @@ GEM
250
251
  libv8-node (24.12.0.1-x86_64-linux)
251
252
  libv8-node (24.12.0.1-x86_64-linux-musl)
252
253
  logger (1.7.0)
253
- loofah (2.25.2)
254
+ loofah (2.25.3)
254
255
  crass (~> 1.0.2)
255
- nokogiri (>= 1.12.0)
256
+ nokogiri (>= 1.19.5)
256
257
  mail (2.9.1)
257
258
  logger
258
259
  mini_mime (>= 0.1.1)
@@ -266,61 +267,69 @@ GEM
266
267
  logger
267
268
  mime-types-data (~> 3.2025, >= 3.2025.0507)
268
269
  mime-types-data (3.2026.0701)
269
- mini_magick (5.3.2)
270
+ mini_magick (5.4.0)
270
271
  logger
271
272
  mini_mime (1.1.5)
272
273
  mini_portile2 (2.8.9)
273
- mini_racer (0.21.4)
274
+ mini_racer (0.22.2)
274
275
  libv8-node (~> 24.12.0.1)
275
- minitest (6.0.6)
276
+ minitest (6.1.0)
276
277
  drb (~> 2.0)
277
- prism (~> 1.5)
278
+ prism (>= 1.5, < 3)
278
279
  multi_xml (0.9.1)
279
280
  bigdecimal (>= 3.1, < 5)
280
281
  multipart-post (2.4.1)
281
282
  mutex_m (0.3.0)
282
283
  mysql2 (0.5.7)
283
284
  bigdecimal
284
- net-imap (0.6.6)
285
+ net-imap (0.6.8)
285
286
  date
286
287
  net-protocol
287
288
  net-pop (0.1.2)
288
289
  net-protocol
289
- net-protocol (0.2.2)
290
+ net-protocol (0.4.0)
290
291
  timeout
291
- net-smtp (0.5.1)
292
+ net-smtp (0.5.2)
292
293
  net-protocol
293
294
  nio4r (2.7.5)
294
- nokogiri (1.19.4)
295
+ nokogiri (1.19.7)
295
296
  mini_portile2 (~> 2.8.2)
296
297
  racc (~> 1.4)
297
- nokogiri (1.19.4-aarch64-linux-gnu)
298
+ nokogiri (1.19.7-aarch64-linux-gnu)
298
299
  racc (~> 1.4)
299
- nokogiri (1.19.4-aarch64-linux-musl)
300
+ nokogiri (1.19.7-aarch64-linux-musl)
300
301
  racc (~> 1.4)
301
- nokogiri (1.19.4-arm-linux-gnu)
302
+ nokogiri (1.19.7-arm-linux-gnu)
302
303
  racc (~> 1.4)
303
- nokogiri (1.19.4-arm-linux-musl)
304
+ nokogiri (1.19.7-arm-linux-musl)
304
305
  racc (~> 1.4)
305
- nokogiri (1.19.4-arm64-darwin)
306
+ nokogiri (1.19.7-arm64-darwin)
306
307
  racc (~> 1.4)
307
- nokogiri (1.19.4-x86_64-darwin)
308
+ nokogiri (1.19.7-x86_64-darwin)
308
309
  racc (~> 1.4)
309
- nokogiri (1.19.4-x86_64-linux-gnu)
310
+ nokogiri (1.19.7-x86_64-linux-gnu)
310
311
  racc (~> 1.4)
311
- nokogiri (1.19.4-x86_64-linux-musl)
312
+ nokogiri (1.19.7-x86_64-linux-musl)
312
313
  racc (~> 1.4)
313
314
  orm_adapter (0.5.0)
314
315
  ostruct (0.6.3)
315
316
  paper_trail (17.0.0)
316
317
  activerecord (>= 7.1)
317
318
  request_store (~> 1.4)
318
- paper_trail-association_tracking (2.3.0)
319
+ paper_trail-association_tracking (2.4.1)
319
320
  paper_trail (>= 12.0)
320
321
  pp (0.6.4)
321
322
  prettyprint
322
- prettyprint (0.2.0)
323
- prism (1.9.0)
323
+ prettyprint (0.2.1)
324
+ prism (2.1.0)
325
+ prism (2.1.0-aarch64-linux-gnu)
326
+ prism (2.1.0-aarch64-linux-musl)
327
+ prism (2.1.0-arm-linux-gnu)
328
+ prism (2.1.0-arm-linux-musl)
329
+ prism (2.1.0-arm64-darwin)
330
+ prism (2.1.0-x86_64-darwin)
331
+ prism (2.1.0-x86_64-linux-gnu)
332
+ prism (2.1.0-x86_64-linux-musl)
324
333
  pry (0.16.0)
325
334
  coderay (~> 1.1)
326
335
  method_source (~> 1.0)
@@ -328,48 +337,48 @@ GEM
328
337
  pry-byebug (3.12.0)
329
338
  byebug (~> 13.0)
330
339
  pry (>= 0.13, < 0.17)
331
- psych (5.4.0)
340
+ psych (5.5.0)
332
341
  date
333
342
  stringio
334
343
  public_suffix (7.0.5)
335
344
  racc (1.8.1)
336
- rack (3.1.21)
345
+ rack (3.2.8)
337
346
  rack-cache (1.17.0)
338
347
  rack (>= 0.4)
339
348
  rack-session (2.1.2)
340
349
  base64 (>= 0.1.0)
341
350
  rack (>= 3.0.0)
342
- rack-test (2.2.0)
351
+ rack-test (2.3.0)
343
352
  rack (>= 1.3)
344
353
  rackup (2.3.1)
345
354
  rack (>= 3)
346
355
  radius (0.8.0)
347
- rails (8.1.3.1)
348
- actioncable (= 8.1.3.1)
349
- actionmailbox (= 8.1.3.1)
350
- actionmailer (= 8.1.3.1)
351
- actionpack (= 8.1.3.1)
352
- actiontext (= 8.1.3.1)
353
- actionview (= 8.1.3.1)
354
- activejob (= 8.1.3.1)
355
- activemodel (= 8.1.3.1)
356
- activerecord (= 8.1.3.1)
357
- activestorage (= 8.1.3.1)
358
- activesupport (= 8.1.3.1)
356
+ rails (8.1.4.1)
357
+ actioncable (= 8.1.4.1)
358
+ actionmailbox (= 8.1.4.1)
359
+ actionmailer (= 8.1.4.1)
360
+ actionpack (= 8.1.4.1)
361
+ actiontext (= 8.1.4.1)
362
+ actionview (= 8.1.4.1)
363
+ activejob (= 8.1.4.1)
364
+ activemodel (= 8.1.4.1)
365
+ activerecord (= 8.1.4.1)
366
+ activestorage (= 8.1.4.1)
367
+ activesupport (= 8.1.4.1)
359
368
  bundler (>= 1.15.0)
360
- railties (= 8.1.3.1)
369
+ railties (= 8.1.4.1)
361
370
  rails-dom-testing (2.3.0)
362
371
  activesupport (>= 5.0.0)
363
372
  minitest
364
373
  nokogiri (>= 1.6)
365
- rails-html-sanitizer (1.7.1)
366
- loofah (~> 2.25, >= 2.25.2)
374
+ rails-html-sanitizer (1.7.2)
375
+ loofah (~> 2.25, >= 2.25.3)
367
376
  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)
368
377
  rails-observers (0.1.5)
369
378
  activemodel (>= 4.0)
370
- railties (8.1.3.1)
371
- actionpack (= 8.1.3.1)
372
- activesupport (= 8.1.3.1)
379
+ railties (8.1.4.1)
380
+ actionpack (= 8.1.4.1)
381
+ activesupport (= 8.1.4.1)
373
382
  irb (~> 1.13)
374
383
  rackup (>= 1.0.0)
375
384
  rake (>= 12.2)
@@ -377,15 +386,15 @@ GEM
377
386
  tsort (>= 0.2)
378
387
  zeitwerk (~> 2.6)
379
388
  rake (13.4.2)
380
- ransack (4.2.1)
381
- activerecord (>= 6.1.5)
382
- activesupport (>= 6.1.5)
389
+ ransack (5.0.2)
390
+ activerecord (>= 7.2)
391
+ activesupport (>= 7.2)
383
392
  i18n
384
- rbs (4.1.3)
393
+ rbs (4.2.0)
385
394
  logger
386
395
  prism (>= 1.6.0)
387
396
  tsort
388
- rdoc (8.0.0)
397
+ rdoc (8.1.0)
389
398
  erb
390
399
  prism (>= 1.6.0)
391
400
  rbs (>= 4.0.0)
@@ -395,7 +404,7 @@ GEM
395
404
  io-console (~> 0.5)
396
405
  request_store (1.7.0)
397
406
  rack (>= 1.4)
398
- responders (3.2.0)
407
+ responders (3.2.1)
399
408
  actionpack (>= 7.0)
400
409
  railties (>= 7.0)
401
410
  roadie (5.3.1)
@@ -417,17 +426,17 @@ GEM
417
426
  rspec-mocks (3.13.8)
418
427
  diff-lcs (>= 1.2.0, < 2.0)
419
428
  rspec-support (~> 3.13.0)
420
- rspec-rails (7.1.1)
421
- actionpack (>= 7.0)
422
- activesupport (>= 7.0)
423
- railties (>= 7.0)
424
- rspec-core (~> 3.13)
425
- rspec-expectations (~> 3.13)
426
- rspec-mocks (~> 3.13)
427
- rspec-support (~> 3.13)
429
+ rspec-rails (8.0.4)
430
+ actionpack (>= 7.2)
431
+ activesupport (>= 7.2)
432
+ railties (>= 7.2)
433
+ rspec-core (>= 3.13.0, < 5.0.0)
434
+ rspec-expectations (>= 3.13.0, < 5.0.0)
435
+ rspec-mocks (>= 3.13.0, < 5.0.0)
436
+ rspec-support (>= 3.13.0, < 5.0.0)
428
437
  rspec-support (3.13.7)
429
- rspec_junit_formatter (0.6.0)
430
- rspec-core (>= 2, < 4, != 2.12.0)
438
+ rspec_junit_formatter (0.8.0)
439
+ rspec-core (>= 3.13, < 4)
431
440
  sass-rails (6.0.0)
432
441
  sassc-rails (~> 2.1, >= 2.1.1)
433
442
  sassc (2.4.0)
@@ -439,7 +448,7 @@ GEM
439
448
  sprockets-rails
440
449
  tilt
441
450
  securerandom (0.4.1)
442
- simplecov (1.0.3)
451
+ simplecov (1.3.2)
443
452
  simplecov-lcov (0.9.0)
444
453
  sprockets (4.2.2)
445
454
  concurrent-ruby (~> 1.0)
@@ -452,9 +461,9 @@ GEM
452
461
  ssrf_filter (1.5.0)
453
462
  stringex (2.8.6)
454
463
  stringio (3.2.0)
455
- temple (0.10.6)
464
+ temple (0.10.7)
456
465
  thor (1.5.0)
457
- tilt (2.8.0)
466
+ tilt (2.9.0)
458
467
  timeout (0.6.1)
459
468
  trustygems (0.2.1)
460
469
  rake
@@ -463,7 +472,7 @@ GEM
463
472
  concurrent-ruby (~> 1.0)
464
473
  uglifier (4.2.1)
465
474
  execjs (>= 0.3.0, < 3)
466
- uri (1.1.1)
475
+ uri (1.1.2)
467
476
  useragent (0.16.11)
468
477
  warden (1.2.9)
469
478
  rack (>= 2.0.9)
@@ -500,12 +509,12 @@ DEPENDENCIES
500
509
  launchy (~> 3.1.1)
501
510
  mysql2
502
511
  paper_trail (~> 17.0.0)
503
- paper_trail-association_tracking (~> 2.3.0)
512
+ paper_trail-association_tracking (~> 2.4.1)
504
513
  pry-byebug
505
- psych (= 5.4.0)
514
+ psych (= 5.5.0)
506
515
  rails-observers
507
516
  ransack
508
- rspec-rails (~> 7.1.1)
517
+ rspec-rails (~> 8.0.4)
509
518
  rspec_junit_formatter
510
519
  simplecov
511
520
  simplecov-lcov
@@ -7,7 +7,7 @@
7
7
 
8
8
  AutopopulateBreadcrumb.oldTitle = $(input).val();
9
9
 
10
- $(input).on('keyup', function(event) {
10
+ $(input).on('input', function(event) {
11
11
  var title = $(this).val();
12
12
  var $slug = $('#page_slug');
13
13
  var $breadcrumb = $('#page_breadcrumb');
@@ -20,7 +20,7 @@
20
20
  if (AutopopulateBreadcrumb.oldTitle == $breadcrumb.val()) {
21
21
  $breadcrumb.val(title);
22
22
  }
23
- // The current title becomes the old title for next keyup.
23
+ // The current title becomes the old title for the next input event.
24
24
  AutopopulateBreadcrumb.oldTitle = title;
25
25
  });
26
26
  }
@@ -118,6 +118,7 @@ class Admin::PagesController < Admin::ResourceController
118
118
 
119
119
  def validation_error(e)
120
120
  flash[:error] = e.message
121
+ load_assets
121
122
  render :new
122
123
  end
123
124
 
@@ -1,3 +1,3 @@
1
1
  module TrustyCms
2
- VERSION = '8.2.0'.freeze
2
+ VERSION = '8.2.1'.freeze
3
3
  end
data/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@fortawesome/fontawesome-free": "^5.15.4",
14
14
  "blueimp-file-upload": "^10.32.0",
15
- "ckeditor5": "48.1.0",
15
+ "ckeditor5": "48.5.1",
16
16
  "jquery": "^3.6.1",
17
17
  "jquery-treetable": "^3.2.0-1",
18
18
  "jquery-ui": "^1.13.2",
@@ -90,6 +90,12 @@ RSpec.describe Admin::PagesController, type: :controller do
90
90
 
91
91
  expect(flash[:error]).to be_present
92
92
  end
93
+
94
+ it 'loads the asset search so the re-rendered form can build its search popup' do
95
+ post :create, params: { page: { title: 'Pasted Title', slug: '', breadcrumb: '', parent_id: home.id } }
96
+
97
+ expect(controller.instance_variable_get(:@term)).to be_a(Ransack::Search)
98
+ end
93
99
  end
94
100
 
95
101
  describe 'PUT #update' do
@@ -101,6 +107,15 @@ RSpec.describe Admin::PagesController, type: :controller do
101
107
  expect(response).to be_redirect
102
108
  expect(page.reload.title).to eq('After')
103
109
  end
110
+
111
+ it 'loads the asset search when re-rendering after a validation failure' do
112
+ page = create(:page, title: 'Before', parent: home)
113
+
114
+ put :update, params: { id: page.id, page: { slug: '', breadcrumb: '' } }
115
+
116
+ expect(flash[:error]).to be_present
117
+ expect(controller.instance_variable_get(:@term)).to be_a(Ransack::Search)
118
+ end
104
119
  end
105
120
 
106
121
  describe 'DELETE #destroy' do
data/trusty_cms.gemspec CHANGED
@@ -29,14 +29,14 @@ a general purpose content management system--not merely a blogging engine.'
29
29
  s.add_dependency 'acts_as_tree', '~> 2.9.1'
30
30
  s.add_dependency 'base64'
31
31
  s.add_dependency 'bigdecimal'
32
- s.add_dependency 'csso-rails', '~> 0.1'
32
+ s.add_dependency 'csso-rails', '>= 0.1', '< 2.0'
33
33
  s.add_dependency 'delocalize', '>= 0.2', '< 2.0'
34
34
  s.add_dependency 'devise'
35
35
  s.add_dependency 'devise-two-factor'
36
36
  s.add_dependency 'diffy'
37
37
  s.add_dependency 'drb'
38
38
  s.add_dependency 'execjs', '~> 2.7'
39
- s.add_dependency 'haml', '>= 6.3', '< 7.4'
39
+ s.add_dependency 'haml', '>= 6.3', '< 7.6'
40
40
  s.add_dependency 'haml-rails', '>= 2.1', '< 4.0'
41
41
  s.add_dependency 'highline', '>= 1.7.8', '< 3.2.0'
42
42
  s.add_dependency 'image_processing'
@@ -47,14 +47,14 @@ a general purpose content management system--not merely a blogging engine.'
47
47
  s.add_dependency 'mysql2'
48
48
  s.add_dependency 'ostruct'
49
49
  s.add_dependency 'paper_trail', '~> 17.0.0'
50
- s.add_dependency 'paper_trail-association_tracking', '>= 2.2.1', '< 2.4.0'
51
- s.add_dependency 'psych', '5.4.0'
52
- s.add_dependency 'rack', '>= 2.0.1', '< 3.2.0'
50
+ s.add_dependency 'paper_trail-association_tracking', '>= 2.2.1', '< 2.5.0'
51
+ s.add_dependency 'psych', '5.5.0'
52
+ s.add_dependency 'rack', '>= 2.0.1', '< 3.3.0'
53
53
  s.add_dependency 'rack-cache', '~> 1.7'
54
54
  s.add_dependency 'radius', '~> 0.8'
55
55
  s.add_dependency 'rails', '~> 8.1.0'
56
56
  s.add_dependency 'rake', '< 14.0'
57
- s.add_dependency 'ransack', '~> 4.2.1'
57
+ s.add_dependency 'ransack', '>= 4.2.1', '< 5.1.0'
58
58
  s.add_dependency 'rdoc', '>= 5.1', '< 9.0'
59
59
  s.add_dependency 'RedCloth', '4.3.4'
60
60
  s.add_dependency 'roadie-rails'