trusty-cms 7.0.34 → 7.0.36
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.lock +120 -95
- data/README.md +15 -0
- data/config/application.rb +0 -2
- data/lib/generators/extension/templates/test_helper.rb +1 -1
- data/lib/tasks/database.rake +7 -4
- data/lib/trusty_cms/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -2
- data/spec/dummy/config/boot.rb +0 -1
- data/spec/rails_helper.rb +1 -1
- data/trusty_cms.gemspec +2 -2
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6a6f3f8b6b9fd77775f2521305e11a3a169c8c08e7e172c7643c29fde3af26d
|
4
|
+
data.tar.gz: 1bd84fedb2dcc33f0f39c666ca0fd0538ba585cffe13a961c68ab0339acfb82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c79a42c4d3ea0ba34d2dbb6fa7286ef1fa4658a7f55100bf5bb66ee3e5515723d7fe7ef02e71f2233dbebe5dba8ddaf8ba99e90604050ba38aa575c7da0896b
|
7
|
+
data.tar.gz: 4f76a6df46d7b4f892c1af0c464183954ad89356c9bd32966d62d3a520ee3b30a848e9a48b5f70fce0300c70658f23c21621d1812f91b1de4752928b02f1859f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (7.0.
|
4
|
+
trusty-cms (7.0.36)
|
5
5
|
RedCloth (= 4.3.3)
|
6
6
|
activestorage-validator
|
7
7
|
acts_as_list (>= 0.9.5, < 1.3.0)
|
@@ -15,7 +15,7 @@ PATH
|
|
15
15
|
diffy
|
16
16
|
drb
|
17
17
|
execjs (~> 2.7)
|
18
|
-
haml (
|
18
|
+
haml (~> 6.3.0)
|
19
19
|
haml-rails
|
20
20
|
highline (>= 1.7.8, < 3.2.0)
|
21
21
|
image_processing
|
@@ -29,7 +29,7 @@ PATH
|
|
29
29
|
rack (>= 2.0.1, < 3.2.0)
|
30
30
|
rack-cache (~> 1.7)
|
31
31
|
radius (~> 0.7)
|
32
|
-
rails (~> 7.
|
32
|
+
rails (~> 7.2.2.1)
|
33
33
|
rake (< 14.0)
|
34
34
|
ransack (~> 4.2.1)
|
35
35
|
rdoc (>= 5.1, < 7.0)
|
@@ -46,73 +46,79 @@ GEM
|
|
46
46
|
remote: https://rubygems.org/
|
47
47
|
specs:
|
48
48
|
RedCloth (4.3.3)
|
49
|
-
actioncable (7.
|
50
|
-
actionpack (= 7.
|
51
|
-
activesupport (= 7.
|
49
|
+
actioncable (7.2.2.1)
|
50
|
+
actionpack (= 7.2.2.1)
|
51
|
+
activesupport (= 7.2.2.1)
|
52
52
|
nio4r (~> 2.0)
|
53
53
|
websocket-driver (>= 0.6.1)
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
activesupport (= 7.0.8.7)
|
77
|
-
rack (~> 2.0, >= 2.2.4)
|
54
|
+
zeitwerk (~> 2.6)
|
55
|
+
actionmailbox (7.2.2.1)
|
56
|
+
actionpack (= 7.2.2.1)
|
57
|
+
activejob (= 7.2.2.1)
|
58
|
+
activerecord (= 7.2.2.1)
|
59
|
+
activestorage (= 7.2.2.1)
|
60
|
+
activesupport (= 7.2.2.1)
|
61
|
+
mail (>= 2.8.0)
|
62
|
+
actionmailer (7.2.2.1)
|
63
|
+
actionpack (= 7.2.2.1)
|
64
|
+
actionview (= 7.2.2.1)
|
65
|
+
activejob (= 7.2.2.1)
|
66
|
+
activesupport (= 7.2.2.1)
|
67
|
+
mail (>= 2.8.0)
|
68
|
+
rails-dom-testing (~> 2.2)
|
69
|
+
actionpack (7.2.2.1)
|
70
|
+
actionview (= 7.2.2.1)
|
71
|
+
activesupport (= 7.2.2.1)
|
72
|
+
nokogiri (>= 1.8.5)
|
73
|
+
racc
|
74
|
+
rack (>= 2.2.4, < 3.2)
|
75
|
+
rack-session (>= 1.0.1)
|
78
76
|
rack-test (>= 0.6.3)
|
79
|
-
rails-dom-testing (~> 2.
|
80
|
-
rails-html-sanitizer (~> 1.
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
77
|
+
rails-dom-testing (~> 2.2)
|
78
|
+
rails-html-sanitizer (~> 1.6)
|
79
|
+
useragent (~> 0.16)
|
80
|
+
actiontext (7.2.2.1)
|
81
|
+
actionpack (= 7.2.2.1)
|
82
|
+
activerecord (= 7.2.2.1)
|
83
|
+
activestorage (= 7.2.2.1)
|
84
|
+
activesupport (= 7.2.2.1)
|
86
85
|
globalid (>= 0.6.0)
|
87
86
|
nokogiri (>= 1.8.5)
|
88
|
-
actionview (7.
|
89
|
-
activesupport (= 7.
|
87
|
+
actionview (7.2.2.1)
|
88
|
+
activesupport (= 7.2.2.1)
|
90
89
|
builder (~> 3.1)
|
91
|
-
erubi (~> 1.
|
92
|
-
rails-dom-testing (~> 2.
|
93
|
-
rails-html-sanitizer (~> 1.
|
94
|
-
activejob (7.
|
95
|
-
activesupport (= 7.
|
90
|
+
erubi (~> 1.11)
|
91
|
+
rails-dom-testing (~> 2.2)
|
92
|
+
rails-html-sanitizer (~> 1.6)
|
93
|
+
activejob (7.2.2.1)
|
94
|
+
activesupport (= 7.2.2.1)
|
96
95
|
globalid (>= 0.3.6)
|
97
|
-
activemodel (7.
|
98
|
-
activesupport (= 7.
|
99
|
-
activerecord (7.
|
100
|
-
activemodel (= 7.
|
101
|
-
activesupport (= 7.
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
96
|
+
activemodel (7.2.2.1)
|
97
|
+
activesupport (= 7.2.2.1)
|
98
|
+
activerecord (7.2.2.1)
|
99
|
+
activemodel (= 7.2.2.1)
|
100
|
+
activesupport (= 7.2.2.1)
|
101
|
+
timeout (>= 0.4.0)
|
102
|
+
activestorage (7.2.2.1)
|
103
|
+
actionpack (= 7.2.2.1)
|
104
|
+
activejob (= 7.2.2.1)
|
105
|
+
activerecord (= 7.2.2.1)
|
106
|
+
activesupport (= 7.2.2.1)
|
107
107
|
marcel (~> 1.0)
|
108
|
-
mini_mime (>= 1.1.0)
|
109
108
|
activestorage-validator (0.4.0)
|
110
109
|
rails (>= 6.1.0)
|
111
|
-
activesupport (7.
|
112
|
-
|
110
|
+
activesupport (7.2.2.1)
|
111
|
+
base64
|
112
|
+
benchmark (>= 0.3)
|
113
|
+
bigdecimal
|
114
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
115
|
+
connection_pool (>= 2.2.5)
|
116
|
+
drb
|
113
117
|
i18n (>= 1.6, < 2)
|
118
|
+
logger (>= 1.4.2)
|
114
119
|
minitest (>= 5.1)
|
115
|
-
|
120
|
+
securerandom (>= 0.3)
|
121
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
116
122
|
acts_as_list (1.2.4)
|
117
123
|
activerecord (>= 6.1)
|
118
124
|
activesupport (>= 6.1)
|
@@ -122,6 +128,7 @@ GEM
|
|
122
128
|
public_suffix (>= 2.0.2, < 7.0)
|
123
129
|
base64 (0.2.0)
|
124
130
|
bcrypt (3.1.20)
|
131
|
+
benchmark (0.4.1)
|
125
132
|
bigdecimal (3.1.9)
|
126
133
|
builder (3.3.0)
|
127
134
|
byebug (11.1.3)
|
@@ -143,7 +150,8 @@ GEM
|
|
143
150
|
climate_control (1.2.0)
|
144
151
|
cliver (0.3.2)
|
145
152
|
coderay (1.1.3)
|
146
|
-
concurrent-ruby (1.3.
|
153
|
+
concurrent-ruby (1.3.5)
|
154
|
+
connection_pool (2.5.3)
|
147
155
|
crass (1.0.6)
|
148
156
|
css_parser (1.19.1)
|
149
157
|
addressable
|
@@ -154,7 +162,7 @@ GEM
|
|
154
162
|
activerecord (>= 5.a)
|
155
163
|
database_cleaner-core (~> 2.0.0)
|
156
164
|
database_cleaner-core (2.0.1)
|
157
|
-
date (3.4.
|
165
|
+
date (3.4.1)
|
158
166
|
delocalize (1.2.0)
|
159
167
|
rails (>= 2)
|
160
168
|
devise (4.9.4)
|
@@ -172,7 +180,7 @@ GEM
|
|
172
180
|
diffy (3.4.4)
|
173
181
|
docile (1.4.1)
|
174
182
|
drb (2.2.1)
|
175
|
-
erubi (1.13.
|
183
|
+
erubi (1.13.1)
|
176
184
|
execjs (2.10.0)
|
177
185
|
factory_bot (6.5.0)
|
178
186
|
activesupport (>= 5.0.0)
|
@@ -194,8 +202,9 @@ GEM
|
|
194
202
|
mime-types (>= 1.0)
|
195
203
|
globalid (1.2.1)
|
196
204
|
activesupport (>= 6.1)
|
197
|
-
haml (
|
198
|
-
temple (>= 0.8.
|
205
|
+
haml (6.3.0)
|
206
|
+
temple (>= 0.8.2)
|
207
|
+
thor
|
199
208
|
tilt
|
200
209
|
haml-rails (2.1.0)
|
201
210
|
actionpack (>= 5.1)
|
@@ -208,12 +217,16 @@ GEM
|
|
208
217
|
csv
|
209
218
|
mini_mime (>= 1.0.0)
|
210
219
|
multi_xml (>= 0.5.2)
|
211
|
-
i18n (1.14.
|
220
|
+
i18n (1.14.7)
|
212
221
|
concurrent-ruby (~> 1.0)
|
213
222
|
image_processing (1.13.0)
|
214
223
|
mini_magick (>= 4.9.5, < 5)
|
215
224
|
ruby-vips (>= 2.0.17, < 3)
|
216
225
|
io-console (0.7.2)
|
226
|
+
irb (1.15.2)
|
227
|
+
pp (>= 0.6.0)
|
228
|
+
rdoc (>= 4.0.0)
|
229
|
+
reline (>= 0.4.2)
|
217
230
|
json (2.8.1)
|
218
231
|
kraken-io (0.1.3)
|
219
232
|
activesupport
|
@@ -231,7 +244,7 @@ GEM
|
|
231
244
|
libv8-node (18.19.0.0-x86_64-linux)
|
232
245
|
libv8-node (18.19.0.0-x86_64-linux-musl)
|
233
246
|
logger (1.6.1)
|
234
|
-
loofah (2.
|
247
|
+
loofah (2.24.1)
|
235
248
|
crass (~> 1.0.2)
|
236
249
|
nokogiri (>= 1.12.0)
|
237
250
|
mail (2.8.1)
|
@@ -251,22 +264,22 @@ GEM
|
|
251
264
|
mini_portile2 (2.8.9)
|
252
265
|
mini_racer (0.16.0)
|
253
266
|
libv8-node (~> 18.19.0.0)
|
254
|
-
minitest (5.25.
|
267
|
+
minitest (5.25.5)
|
255
268
|
multi_xml (0.7.1)
|
256
269
|
bigdecimal (~> 3.1)
|
257
270
|
multipart-post (2.4.1)
|
258
271
|
mutex_m (0.3.0)
|
259
272
|
mysql2 (0.5.6)
|
260
|
-
net-imap (0.5.
|
273
|
+
net-imap (0.5.9)
|
261
274
|
date
|
262
275
|
net-protocol
|
263
276
|
net-pop (0.1.2)
|
264
277
|
net-protocol
|
265
278
|
net-protocol (0.2.2)
|
266
279
|
timeout
|
267
|
-
net-smtp (0.5.
|
280
|
+
net-smtp (0.5.1)
|
268
281
|
net-protocol
|
269
|
-
nio4r (2.7.
|
282
|
+
nio4r (2.7.4)
|
270
283
|
nokogiri (1.18.8)
|
271
284
|
mini_portile2 (~> 2.8.2)
|
272
285
|
racc (~> 1.4)
|
@@ -296,6 +309,9 @@ GEM
|
|
296
309
|
capybara (>= 2.1, < 4)
|
297
310
|
cliver (~> 0.3.1)
|
298
311
|
websocket-driver (>= 0.2.0)
|
312
|
+
pp (0.6.2)
|
313
|
+
prettyprint
|
314
|
+
prettyprint (0.2.0)
|
299
315
|
pry (0.14.2)
|
300
316
|
coderay (~> 1.1)
|
301
317
|
method_source (~> 1.0)
|
@@ -307,27 +323,32 @@ GEM
|
|
307
323
|
stringio
|
308
324
|
public_suffix (6.0.1)
|
309
325
|
racc (1.8.1)
|
310
|
-
rack (
|
326
|
+
rack (3.1.16)
|
311
327
|
rack-cache (1.17.0)
|
312
328
|
rack (>= 0.4)
|
313
|
-
rack-
|
329
|
+
rack-session (2.1.1)
|
330
|
+
base64 (>= 0.1.0)
|
331
|
+
rack (>= 3.0.0)
|
332
|
+
rack-test (2.2.0)
|
314
333
|
rack (>= 1.3)
|
334
|
+
rackup (2.2.1)
|
335
|
+
rack (>= 3)
|
315
336
|
radius (0.8.0)
|
316
|
-
rails (7.
|
317
|
-
actioncable (= 7.
|
318
|
-
actionmailbox (= 7.
|
319
|
-
actionmailer (= 7.
|
320
|
-
actionpack (= 7.
|
321
|
-
actiontext (= 7.
|
322
|
-
actionview (= 7.
|
323
|
-
activejob (= 7.
|
324
|
-
activemodel (= 7.
|
325
|
-
activerecord (= 7.
|
326
|
-
activestorage (= 7.
|
327
|
-
activesupport (= 7.
|
337
|
+
rails (7.2.2.1)
|
338
|
+
actioncable (= 7.2.2.1)
|
339
|
+
actionmailbox (= 7.2.2.1)
|
340
|
+
actionmailer (= 7.2.2.1)
|
341
|
+
actionpack (= 7.2.2.1)
|
342
|
+
actiontext (= 7.2.2.1)
|
343
|
+
actionview (= 7.2.2.1)
|
344
|
+
activejob (= 7.2.2.1)
|
345
|
+
activemodel (= 7.2.2.1)
|
346
|
+
activerecord (= 7.2.2.1)
|
347
|
+
activestorage (= 7.2.2.1)
|
348
|
+
activesupport (= 7.2.2.1)
|
328
349
|
bundler (>= 1.15.0)
|
329
|
-
railties (= 7.
|
330
|
-
rails-dom-testing (2.
|
350
|
+
railties (= 7.2.2.1)
|
351
|
+
rails-dom-testing (2.3.0)
|
331
352
|
activesupport (>= 5.0.0)
|
332
353
|
minitest
|
333
354
|
nokogiri (>= 1.6)
|
@@ -336,14 +357,15 @@ GEM
|
|
336
357
|
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)
|
337
358
|
rails-observers (0.1.5)
|
338
359
|
activemodel (>= 4.0)
|
339
|
-
railties (7.
|
340
|
-
actionpack (= 7.
|
341
|
-
activesupport (= 7.
|
342
|
-
|
360
|
+
railties (7.2.2.1)
|
361
|
+
actionpack (= 7.2.2.1)
|
362
|
+
activesupport (= 7.2.2.1)
|
363
|
+
irb (~> 1.13)
|
364
|
+
rackup (>= 1.0.0)
|
343
365
|
rake (>= 12.2)
|
344
|
-
thor (~> 1.0)
|
345
|
-
zeitwerk (~> 2.
|
346
|
-
rake (13.
|
366
|
+
thor (~> 1.0, >= 1.2.2)
|
367
|
+
zeitwerk (~> 2.6)
|
368
|
+
rake (13.3.0)
|
347
369
|
ransack (4.2.1)
|
348
370
|
activerecord (>= 6.1.5)
|
349
371
|
activesupport (>= 6.1.5)
|
@@ -399,6 +421,7 @@ GEM
|
|
399
421
|
sprockets (> 3.0)
|
400
422
|
sprockets-rails
|
401
423
|
tilt
|
424
|
+
securerandom (0.4.1)
|
402
425
|
simplecov (0.22.0)
|
403
426
|
docile (~> 1.1)
|
404
427
|
simplecov-html (~> 0.11)
|
@@ -420,7 +443,7 @@ GEM
|
|
420
443
|
climate_control
|
421
444
|
thor (1.3.2)
|
422
445
|
tilt (2.4.0)
|
423
|
-
timeout (0.4.
|
446
|
+
timeout (0.4.3)
|
424
447
|
trustygems (0.2.1)
|
425
448
|
rake
|
426
449
|
tzinfo (2.0.6)
|
@@ -428,15 +451,17 @@ GEM
|
|
428
451
|
uglifier (4.2.1)
|
429
452
|
execjs (>= 0.3.0, < 3)
|
430
453
|
uri (1.0.2)
|
454
|
+
useragent (0.16.11)
|
431
455
|
warden (1.2.9)
|
432
456
|
rack (>= 2.0.9)
|
433
|
-
websocket-driver (0.
|
457
|
+
websocket-driver (0.8.0)
|
458
|
+
base64
|
434
459
|
websocket-extensions (>= 0.1.0)
|
435
460
|
websocket-extensions (0.1.5)
|
436
461
|
will_paginate (4.0.1)
|
437
462
|
xpath (3.2.0)
|
438
463
|
nokogiri (~> 1.8)
|
439
|
-
zeitwerk (2.
|
464
|
+
zeitwerk (2.7.3)
|
440
465
|
|
441
466
|
PLATFORMS
|
442
467
|
aarch64-linux
|
data/README.md
CHANGED
@@ -76,6 +76,21 @@ Steps:
|
|
76
76
|
|
77
77
|
rspec
|
78
78
|
|
79
|
+
### Hidden Page Status Configuration
|
80
|
+
In version `7.0.34`, TrustyCMS introduces support for custom behavior when a page is marked as **Hidden**.
|
81
|
+
|
82
|
+
While TrustyCMS does not include built-in fields for excluding hidden pages from calendars or search, parent applications can define this behavior using the `on_hidden_callback` configuration option.
|
83
|
+
|
84
|
+
To define what should happen when a page is set to Hidden, configure the callback in your initializer (e.g., `config/initializers/trusty_cms_config.rb`):
|
85
|
+
|
86
|
+
```ruby
|
87
|
+
TrustyCms::Application.config.on_hidden_callback = ->(page) do
|
88
|
+
page.display_on_calendar = false
|
89
|
+
page.hide_from_subnav = true
|
90
|
+
page.indexable = false
|
91
|
+
end
|
92
|
+
```
|
93
|
+
|
79
94
|
### Preview Custom Page Types
|
80
95
|
|
81
96
|
TrustyCMS supports a preview feature for standard page types. However, this functionality may not work out of the box for custom page types. To enable the preview feature for your custom page types, follow these steps:
|
data/config/application.rb
CHANGED
@@ -20,7 +20,6 @@ module TrustyCms
|
|
20
20
|
Rails.autoloaders.log!
|
21
21
|
# Enable the asset pipeline
|
22
22
|
config.assets.enabled = true
|
23
|
-
config.active_record.legacy_connection_handling = false
|
24
23
|
|
25
24
|
# Version of your assets, change this if you want to expire all your assets
|
26
25
|
config.assets.version = '1.0'
|
@@ -68,7 +67,6 @@ module TrustyCms
|
|
68
67
|
|
69
68
|
# Make Active Record use UTC-base instead of local time
|
70
69
|
config.time_zone = 'UTC'
|
71
|
-
config.legacy_connection_handling = false
|
72
70
|
# Set the default field error proc
|
73
71
|
config.action_view.field_error_proc = Proc.new do |html, instance|
|
74
72
|
if html !~ /label/
|
@@ -18,7 +18,7 @@ class ActiveSupport::TestCase
|
|
18
18
|
test_helper :extension_tags
|
19
19
|
|
20
20
|
# Add the fixture directory to the fixture path
|
21
|
-
self.
|
21
|
+
self.fixture_paths << File.expand_path('fixtures', __dir__)
|
22
22
|
|
23
23
|
# Add more helper methods to be used by all extension tests here...
|
24
24
|
end
|
data/lib/tasks/database.rake
CHANGED
@@ -46,7 +46,7 @@ namespace :db do
|
|
46
46
|
# that's not a setup anyone would recommend.
|
47
47
|
#
|
48
48
|
ActiveRecord::Base.connection.tables.each do |table|
|
49
|
-
ActiveRecord::Migration[
|
49
|
+
ActiveRecord::Migration[7.0].drop_table table
|
50
50
|
end
|
51
51
|
Rake::Task['db:migrate'].invoke
|
52
52
|
else
|
@@ -80,14 +80,17 @@ To add more extensions just add them to your Gemfile and run `bundle install`.
|
|
80
80
|
|
81
81
|
desc 'Migrate the database through all available migration scripts (looks for db/migrate/* in trusty-cms, in extensions and in your site) and update db/schema.rb by invoking db:schema:dump. Turn off output with VERBOSE=false.'
|
82
82
|
task migrate: [:environment, 'db:migrate:trusty_cms', 'db:migrate:extensions'] do
|
83
|
-
ActiveRecord::Migration[
|
84
|
-
|
83
|
+
ActiveRecord::Migration[7.0].verbose = ENV['VERBOSE'] ? ENV['VERBOSE'] == 'true' : true
|
84
|
+
|
85
|
+
if Rails.application.config.active_record.schema_format == :ruby
|
86
|
+
Rake::Task['db:schema:dump'].invoke
|
87
|
+
end
|
85
88
|
end
|
86
89
|
|
87
90
|
namespace :migrate do
|
88
91
|
desc 'Migrates the database through steps defined in the core trusty-cms distribution. Usual db:migrate options can apply.'
|
89
92
|
task trusty_cms: :environment do
|
90
|
-
ActiveRecord::Migration[
|
93
|
+
ActiveRecord::Migration[7.0].verbose = ENV['VERBOSE'] ? ENV['VERBOSE'] == 'true' : true
|
91
94
|
Rake::Task['db:migrate'].invoke
|
92
95
|
end
|
93
96
|
end
|
data/lib/trusty_cms/version.rb
CHANGED
@@ -24,14 +24,12 @@ end
|
|
24
24
|
module TrustyCms
|
25
25
|
class Application < Rails::Application
|
26
26
|
include TrustyCms::Initializer
|
27
|
-
config.legacy_connection_handling = false
|
28
27
|
config.autoload_paths += %W(#{TRUSTY_CMS_ROOT}/lib)
|
29
28
|
config.autoload_paths += %W(#{config.root}/lib)
|
30
29
|
config.autoload_paths += %W(#{config.root}/app/helpers)
|
31
30
|
|
32
31
|
# Initialize extension paths
|
33
32
|
config.initialize_extension_paths
|
34
|
-
config.active_record.legacy_connection_handling = false
|
35
33
|
|
36
34
|
extension_loader = ExtensionLoader.instance { |l| l.initializer = self }
|
37
35
|
extension_loader.paths(:load).reverse_each do |path, value|
|
data/spec/dummy/config/boot.rb
CHANGED
data/spec/rails_helper.rb
CHANGED
@@ -24,7 +24,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
|
24
24
|
|
25
25
|
RSpec.configure do |config|
|
26
26
|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
27
|
-
config.
|
27
|
+
config.fixture_paths = ["#{::TRUSTY_CMS_ROOT}/spec/fixtures"]
|
28
28
|
|
29
29
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
30
30
|
# examples within a transaction, remove the following line or assign false
|
data/trusty_cms.gemspec
CHANGED
@@ -37,7 +37,7 @@ a general purpose content management system--not merely a blogging engine.'
|
|
37
37
|
s.add_dependency 'diffy'
|
38
38
|
s.add_dependency 'drb'
|
39
39
|
s.add_dependency 'execjs', '~> 2.7'
|
40
|
-
s.add_dependency 'haml', '
|
40
|
+
s.add_dependency 'haml', '~> 6.3.0'
|
41
41
|
s.add_dependency 'haml-rails'
|
42
42
|
s.add_dependency 'highline', '>= 1.7.8', '< 3.2.0'
|
43
43
|
s.add_dependency 'image_processing'
|
@@ -51,7 +51,7 @@ a general purpose content management system--not merely a blogging engine.'
|
|
51
51
|
s.add_dependency 'rack', '>= 2.0.1', '< 3.2.0'
|
52
52
|
s.add_dependency 'rack-cache', '~> 1.7'
|
53
53
|
s.add_dependency 'radius', '~> 0.7'
|
54
|
-
s.add_dependency 'rails', '~> 7.
|
54
|
+
s.add_dependency 'rails', '~> 7.2.2.1'
|
55
55
|
s.add_dependency 'rake', '< 14.0'
|
56
56
|
s.add_dependency 'ransack', '~> 4.2.1'
|
57
57
|
s.add_dependency 'rdoc', '>= 5.1', '< 7.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|
@@ -200,22 +200,16 @@ dependencies:
|
|
200
200
|
name: haml
|
201
201
|
requirement: !ruby/object:Gem::Requirement
|
202
202
|
requirements:
|
203
|
-
- - "
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: '5.0'
|
206
|
-
- - "<"
|
203
|
+
- - "~>"
|
207
204
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
205
|
+
version: 6.3.0
|
209
206
|
type: :runtime
|
210
207
|
prerelease: false
|
211
208
|
version_requirements: !ruby/object:Gem::Requirement
|
212
209
|
requirements:
|
213
|
-
- - "
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '5.0'
|
216
|
-
- - "<"
|
210
|
+
- - "~>"
|
217
211
|
- !ruby/object:Gem::Version
|
218
|
-
version:
|
212
|
+
version: 6.3.0
|
219
213
|
- !ruby/object:Gem::Dependency
|
220
214
|
name: haml-rails
|
221
215
|
requirement: !ruby/object:Gem::Requirement
|
@@ -416,14 +410,14 @@ dependencies:
|
|
416
410
|
requirements:
|
417
411
|
- - "~>"
|
418
412
|
- !ruby/object:Gem::Version
|
419
|
-
version: 7.
|
413
|
+
version: 7.2.2.1
|
420
414
|
type: :runtime
|
421
415
|
prerelease: false
|
422
416
|
version_requirements: !ruby/object:Gem::Requirement
|
423
417
|
requirements:
|
424
418
|
- - "~>"
|
425
419
|
- !ruby/object:Gem::Version
|
426
|
-
version: 7.
|
420
|
+
version: 7.2.2.1
|
427
421
|
- !ruby/object:Gem::Dependency
|
428
422
|
name: rake
|
429
423
|
requirement: !ruby/object:Gem::Requirement
|