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 +4 -4
- data/Gemfile +3 -3
- data/Gemfile.lock +129 -120
- data/app/assets/javascripts/admin/autopopulate-breadcrumb.js +2 -2
- data/app/controllers/admin/pages_controller.rb +1 -0
- data/lib/trusty_cms/version.rb +1 -1
- data/package.json +1 -1
- data/spec/controllers/admin/pages_controller_spec.rb +15 -0
- data/trusty_cms.gemspec +6 -6
- data/yarn.lock +809 -810
- metadata +25 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a70c531efb38073f1074e127c5d668ccd8a37ef051b7803d0a5db48773315801
|
|
4
|
+
data.tar.gz: be4d12abfc15c1b37979f627d79099efb9c5298646cb109f003627171bdfc369
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
26
|
+
gem 'paper_trail-association_tracking', '~> 2.4.1'
|
|
27
27
|
gem 'pry-byebug'
|
|
28
|
-
gem 'psych', '5.
|
|
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', '~>
|
|
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 (
|
|
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.
|
|
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.
|
|
30
|
-
psych (= 5.
|
|
31
|
-
rack (>= 2.0.1, < 3.
|
|
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 (
|
|
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.
|
|
54
|
-
actionpack (= 8.1.
|
|
55
|
-
activesupport (= 8.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.
|
|
60
|
-
actionpack (= 8.1.
|
|
61
|
-
activejob (= 8.1.
|
|
62
|
-
activerecord (= 8.1.
|
|
63
|
-
activestorage (= 8.1.
|
|
64
|
-
activesupport (= 8.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.
|
|
67
|
-
actionpack (= 8.1.
|
|
68
|
-
actionview (= 8.1.
|
|
69
|
-
activejob (= 8.1.
|
|
70
|
-
activesupport (= 8.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.
|
|
74
|
-
actionview (= 8.1.
|
|
75
|
-
activesupport (= 8.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.
|
|
83
|
+
actiontext (8.1.4.1)
|
|
84
84
|
action_text-trix (~> 2.1.15)
|
|
85
|
-
actionpack (= 8.1.
|
|
86
|
-
activerecord (= 8.1.
|
|
87
|
-
activestorage (= 8.1.
|
|
88
|
-
activesupport (= 8.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.
|
|
92
|
-
activesupport (= 8.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.
|
|
98
|
-
activesupport (= 8.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.
|
|
101
|
-
activesupport (= 8.1.
|
|
102
|
-
activerecord (8.1.
|
|
103
|
-
activemodel (= 8.1.
|
|
104
|
-
activesupport (= 8.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.
|
|
107
|
-
actionpack (= 8.1.
|
|
108
|
-
activejob (= 8.1.
|
|
109
|
-
activerecord (= 8.1.
|
|
110
|
-
activesupport (= 8.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
227
|
-
io-console (0.9.
|
|
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 (
|
|
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.
|
|
254
|
+
loofah (2.25.3)
|
|
254
255
|
crass (~> 1.0.2)
|
|
255
|
-
nokogiri (>= 1.
|
|
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.
|
|
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.
|
|
274
|
+
mini_racer (0.22.2)
|
|
274
275
|
libv8-node (~> 24.12.0.1)
|
|
275
|
-
minitest (6.0
|
|
276
|
+
minitest (6.1.0)
|
|
276
277
|
drb (~> 2.0)
|
|
277
|
-
prism (
|
|
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.
|
|
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.
|
|
290
|
+
net-protocol (0.4.0)
|
|
290
291
|
timeout
|
|
291
|
-
net-smtp (0.5.
|
|
292
|
+
net-smtp (0.5.2)
|
|
292
293
|
net-protocol
|
|
293
294
|
nio4r (2.7.5)
|
|
294
|
-
nokogiri (1.19.
|
|
295
|
+
nokogiri (1.19.7)
|
|
295
296
|
mini_portile2 (~> 2.8.2)
|
|
296
297
|
racc (~> 1.4)
|
|
297
|
-
nokogiri (1.19.
|
|
298
|
+
nokogiri (1.19.7-aarch64-linux-gnu)
|
|
298
299
|
racc (~> 1.4)
|
|
299
|
-
nokogiri (1.19.
|
|
300
|
+
nokogiri (1.19.7-aarch64-linux-musl)
|
|
300
301
|
racc (~> 1.4)
|
|
301
|
-
nokogiri (1.19.
|
|
302
|
+
nokogiri (1.19.7-arm-linux-gnu)
|
|
302
303
|
racc (~> 1.4)
|
|
303
|
-
nokogiri (1.19.
|
|
304
|
+
nokogiri (1.19.7-arm-linux-musl)
|
|
304
305
|
racc (~> 1.4)
|
|
305
|
-
nokogiri (1.19.
|
|
306
|
+
nokogiri (1.19.7-arm64-darwin)
|
|
306
307
|
racc (~> 1.4)
|
|
307
|
-
nokogiri (1.19.
|
|
308
|
+
nokogiri (1.19.7-x86_64-darwin)
|
|
308
309
|
racc (~> 1.4)
|
|
309
|
-
nokogiri (1.19.
|
|
310
|
+
nokogiri (1.19.7-x86_64-linux-gnu)
|
|
310
311
|
racc (~> 1.4)
|
|
311
|
-
nokogiri (1.19.
|
|
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.
|
|
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.
|
|
323
|
-
prism (1.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
348
|
-
actioncable (= 8.1.
|
|
349
|
-
actionmailbox (= 8.1.
|
|
350
|
-
actionmailer (= 8.1.
|
|
351
|
-
actionpack (= 8.1.
|
|
352
|
-
actiontext (= 8.1.
|
|
353
|
-
actionview (= 8.1.
|
|
354
|
-
activejob (= 8.1.
|
|
355
|
-
activemodel (= 8.1.
|
|
356
|
-
activerecord (= 8.1.
|
|
357
|
-
activestorage (= 8.1.
|
|
358
|
-
activesupport (= 8.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.
|
|
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.
|
|
366
|
-
loofah (~> 2.25, >= 2.25.
|
|
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.
|
|
371
|
-
actionpack (= 8.1.
|
|
372
|
-
activesupport (= 8.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 (
|
|
381
|
-
activerecord (>=
|
|
382
|
-
activesupport (>=
|
|
389
|
+
ransack (5.0.2)
|
|
390
|
+
activerecord (>= 7.2)
|
|
391
|
+
activesupport (>= 7.2)
|
|
383
392
|
i18n
|
|
384
|
-
rbs (4.
|
|
393
|
+
rbs (4.2.0)
|
|
385
394
|
logger
|
|
386
395
|
prism (>= 1.6.0)
|
|
387
396
|
tsort
|
|
388
|
-
rdoc (8.
|
|
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.
|
|
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 (
|
|
421
|
-
actionpack (>= 7.
|
|
422
|
-
activesupport (>= 7.
|
|
423
|
-
railties (>= 7.
|
|
424
|
-
rspec-core (
|
|
425
|
-
rspec-expectations (
|
|
426
|
-
rspec-mocks (
|
|
427
|
-
rspec-support (
|
|
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.
|
|
430
|
-
rspec-core (>=
|
|
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.
|
|
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.
|
|
464
|
+
temple (0.10.7)
|
|
456
465
|
thor (1.5.0)
|
|
457
|
-
tilt (2.
|
|
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.
|
|
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.
|
|
512
|
+
paper_trail-association_tracking (~> 2.4.1)
|
|
504
513
|
pry-byebug
|
|
505
|
-
psych (= 5.
|
|
514
|
+
psych (= 5.5.0)
|
|
506
515
|
rails-observers
|
|
507
516
|
ransack
|
|
508
|
-
rspec-rails (~>
|
|
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('
|
|
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
|
|
23
|
+
// The current title becomes the old title for the next input event.
|
|
24
24
|
AutopopulateBreadcrumb.oldTitle = title;
|
|
25
25
|
});
|
|
26
26
|
}
|
data/lib/trusty_cms/version.rb
CHANGED
data/package.json
CHANGED
|
@@ -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', '
|
|
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.
|
|
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.
|
|
51
|
-
s.add_dependency 'psych', '5.
|
|
52
|
-
s.add_dependency 'rack', '>= 2.0.1', '< 3.
|
|
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', '
|
|
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'
|