trusty-cms 5.5.8 → 5.5.9

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: 2f153cb16e77134be24802048d7ba184050c14a3d71e9d76ccc1499e1ee3d9ff
4
- data.tar.gz: e2cf2d5ebd9a4f0a5b09298e2d07e90711167fa4f193855e7d00acd87627ef4b
3
+ metadata.gz: 5f4ef88729e786d8a0977ac190c8546b49d5324469c7e9eaf80ef77ede977167
4
+ data.tar.gz: f2e6ddf0633251c8c6db60676c7f2a6ec83b6f4a39a2785cd7bb4f673c433081
5
5
  SHA512:
6
- metadata.gz: a678af78e72cdcc397b26d946800ed3c23063d65a5aae6fbf02003b1a4014c1947fedd2b503dcceb466dd003bca27e42fe0203d4bbcfece95c4ac74f376eff2e
7
- data.tar.gz: 3081cee243cc7c6cd1cb17fea14b5540b9236d873f31353a8d9ca7225d7296e79e129355abdb77027f667623da3f04eff0ffcef3f85eeb51aa759b5f9165de51
6
+ metadata.gz: 4402deb3bc80c490eec946374b38311cba2d447d626d43956ee05c969b393f1502528fe4eeded862610022af5d47d1904cda074f527e36df7a83aeda7a62c7b8
7
+ data.tar.gz: f1ce51e5f002ed8dbe4a0182ed0c20cae0b46f079ac3947c97ddd692d7697edb31bef42e19589d465ab327e9b177b09d9e748d5824b41b57ab74658eac7e7406
data/Gemfile.lock CHANGED
@@ -29,68 +29,68 @@ PATH
29
29
  tzinfo (>= 1.2.3, < 2.1.0)
30
30
  uglifier (>= 3.2, < 5.0)
31
31
  uuidtools (>= 2.1.5, < 2.3.0)
32
- will_paginate (~> 3.0)
32
+ will_paginate (>= 3, < 5)
33
33
 
34
34
  GEM
35
35
  remote: https://rubygems.org/
36
36
  specs:
37
37
  RedCloth (4.3.2)
38
- actioncable (6.1.7.3)
39
- actionpack (= 6.1.7.3)
40
- activesupport (= 6.1.7.3)
38
+ actioncable (6.1.7.4)
39
+ actionpack (= 6.1.7.4)
40
+ activesupport (= 6.1.7.4)
41
41
  nio4r (~> 2.0)
42
42
  websocket-driver (>= 0.6.1)
43
- actionmailbox (6.1.7.3)
44
- actionpack (= 6.1.7.3)
45
- activejob (= 6.1.7.3)
46
- activerecord (= 6.1.7.3)
47
- activestorage (= 6.1.7.3)
48
- activesupport (= 6.1.7.3)
43
+ actionmailbox (6.1.7.4)
44
+ actionpack (= 6.1.7.4)
45
+ activejob (= 6.1.7.4)
46
+ activerecord (= 6.1.7.4)
47
+ activestorage (= 6.1.7.4)
48
+ activesupport (= 6.1.7.4)
49
49
  mail (>= 2.7.1)
50
- actionmailer (6.1.7.3)
51
- actionpack (= 6.1.7.3)
52
- actionview (= 6.1.7.3)
53
- activejob (= 6.1.7.3)
54
- activesupport (= 6.1.7.3)
50
+ actionmailer (6.1.7.4)
51
+ actionpack (= 6.1.7.4)
52
+ actionview (= 6.1.7.4)
53
+ activejob (= 6.1.7.4)
54
+ activesupport (= 6.1.7.4)
55
55
  mail (~> 2.5, >= 2.5.4)
56
56
  rails-dom-testing (~> 2.0)
57
- actionpack (6.1.7.3)
58
- actionview (= 6.1.7.3)
59
- activesupport (= 6.1.7.3)
57
+ actionpack (6.1.7.4)
58
+ actionview (= 6.1.7.4)
59
+ activesupport (= 6.1.7.4)
60
60
  rack (~> 2.0, >= 2.0.9)
61
61
  rack-test (>= 0.6.3)
62
62
  rails-dom-testing (~> 2.0)
63
63
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
64
- actiontext (6.1.7.3)
65
- actionpack (= 6.1.7.3)
66
- activerecord (= 6.1.7.3)
67
- activestorage (= 6.1.7.3)
68
- activesupport (= 6.1.7.3)
64
+ actiontext (6.1.7.4)
65
+ actionpack (= 6.1.7.4)
66
+ activerecord (= 6.1.7.4)
67
+ activestorage (= 6.1.7.4)
68
+ activesupport (= 6.1.7.4)
69
69
  nokogiri (>= 1.8.5)
70
- actionview (6.1.7.3)
71
- activesupport (= 6.1.7.3)
70
+ actionview (6.1.7.4)
71
+ activesupport (= 6.1.7.4)
72
72
  builder (~> 3.1)
73
73
  erubi (~> 1.4)
74
74
  rails-dom-testing (~> 2.0)
75
75
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
76
- activejob (6.1.7.3)
77
- activesupport (= 6.1.7.3)
76
+ activejob (6.1.7.4)
77
+ activesupport (= 6.1.7.4)
78
78
  globalid (>= 0.3.6)
79
- activemodel (6.1.7.3)
80
- activesupport (= 6.1.7.3)
81
- activerecord (6.1.7.3)
82
- activemodel (= 6.1.7.3)
83
- activesupport (= 6.1.7.3)
84
- activestorage (6.1.7.3)
85
- actionpack (= 6.1.7.3)
86
- activejob (= 6.1.7.3)
87
- activerecord (= 6.1.7.3)
88
- activesupport (= 6.1.7.3)
79
+ activemodel (6.1.7.4)
80
+ activesupport (= 6.1.7.4)
81
+ activerecord (6.1.7.4)
82
+ activemodel (= 6.1.7.4)
83
+ activesupport (= 6.1.7.4)
84
+ activestorage (6.1.7.4)
85
+ actionpack (= 6.1.7.4)
86
+ activejob (= 6.1.7.4)
87
+ activerecord (= 6.1.7.4)
88
+ activesupport (= 6.1.7.4)
89
89
  marcel (~> 1.0)
90
90
  mini_mime (>= 1.1.0)
91
- activestorage-validator (0.2.2)
92
- rails (>= 6.0.4.1)
93
- activesupport (6.1.7.3)
91
+ activestorage-validator (0.3.0)
92
+ rails (>= 6.1.0)
93
+ activesupport (6.1.7.4)
94
94
  concurrent-ruby (~> 1.0, >= 1.0.2)
95
95
  i18n (>= 1.6, < 2)
96
96
  minitest (>= 5.1)
@@ -123,15 +123,15 @@ GEM
123
123
  crass (1.0.6)
124
124
  css_parser (1.12.0)
125
125
  addressable
126
- database_cleaner (2.0.1)
127
- database_cleaner-active_record (~> 2.0.0)
128
- database_cleaner-active_record (2.0.1)
126
+ database_cleaner (2.0.2)
127
+ database_cleaner-active_record (>= 2, < 3)
128
+ database_cleaner-active_record (2.1.0)
129
129
  activerecord (>= 5.a)
130
130
  database_cleaner-core (~> 2.0.0)
131
131
  database_cleaner-core (2.0.1)
132
132
  delocalize (1.2.0)
133
133
  rails (>= 2)
134
- devise (4.9.0)
134
+ devise (4.9.2)
135
135
  bcrypt (~> 3.0)
136
136
  orm_adapter (~> 0.1)
137
137
  railties (>= 4.1.0)
@@ -166,11 +166,12 @@ GEM
166
166
  httparty (0.21.0)
167
167
  mini_mime (>= 1.0.0)
168
168
  multi_xml (>= 0.5.2)
169
- i18n (1.12.0)
169
+ i18n (1.14.1)
170
170
  concurrent-ruby (~> 1.0)
171
171
  image_processing (1.12.2)
172
172
  mini_magick (>= 4.9.5, < 5)
173
173
  ruby-vips (>= 2.0.17, < 3)
174
+ io-wait (0.3.0)
174
175
  json (2.6.3)
175
176
  kraken-io (0.1.3)
176
177
  activesupport
@@ -181,9 +182,9 @@ GEM
181
182
  addressable (~> 2.8)
182
183
  libv8-node (16.10.0.0-x86_64-darwin)
183
184
  libv8-node (16.10.0.0-x86_64-linux)
184
- loofah (2.19.1)
185
+ loofah (2.21.3)
185
186
  crass (~> 1.0.2)
186
- nokogiri (>= 1.5.9)
187
+ nokogiri (>= 1.12.0)
187
188
  mail (2.8.1)
188
189
  mini_mime (>= 0.1.1)
189
190
  net-imap
@@ -198,24 +199,27 @@ GEM
198
199
  mini_mime (1.1.2)
199
200
  mini_racer (0.6.3)
200
201
  libv8-node (~> 16.10.0.0)
201
- minitest (5.18.0)
202
+ minitest (5.15.0)
202
203
  multi_xml (0.6.0)
203
204
  multipart-post (2.2.3)
204
205
  mysql2 (0.5.5)
205
- net-imap (0.2.3)
206
+ net-imap (0.2.2)
206
207
  digest
207
208
  net-protocol
208
209
  strscan
209
210
  net-pop (0.1.2)
210
211
  net-protocol
211
- net-protocol (0.1.3)
212
+ net-protocol (0.1.1)
213
+ io-wait
212
214
  timeout
213
- net-smtp (0.3.3)
215
+ net-smtp (0.3.0)
216
+ digest
214
217
  net-protocol
215
- nio4r (2.5.8)
216
- nokogiri (1.14.2-x86_64-darwin)
218
+ timeout
219
+ nio4r (2.5.9)
220
+ nokogiri (1.12.5-x86_64-darwin)
217
221
  racc (~> 1.4)
218
- nokogiri (1.14.2-x86_64-linux)
222
+ nokogiri (1.12.5-x86_64-linux)
219
223
  racc (~> 1.4)
220
224
  orm_adapter (0.5.0)
221
225
  poltergeist (1.18.1)
@@ -231,38 +235,39 @@ GEM
231
235
  psych (5.1.0)
232
236
  stringio
233
237
  public_suffix (4.0.7)
234
- racc (1.6.2)
235
- rack (2.2.6.4)
238
+ racc (1.7.1)
239
+ rack (2.2.7)
236
240
  rack-cache (1.13.0)
237
241
  rack (>= 0.4)
238
242
  rack-test (2.1.0)
239
243
  rack (>= 1.3)
240
244
  radius (0.7.5)
241
- rails (6.1.7.3)
242
- actioncable (= 6.1.7.3)
243
- actionmailbox (= 6.1.7.3)
244
- actionmailer (= 6.1.7.3)
245
- actionpack (= 6.1.7.3)
246
- actiontext (= 6.1.7.3)
247
- actionview (= 6.1.7.3)
248
- activejob (= 6.1.7.3)
249
- activemodel (= 6.1.7.3)
250
- activerecord (= 6.1.7.3)
251
- activestorage (= 6.1.7.3)
252
- activesupport (= 6.1.7.3)
245
+ rails (6.1.7.4)
246
+ actioncable (= 6.1.7.4)
247
+ actionmailbox (= 6.1.7.4)
248
+ actionmailer (= 6.1.7.4)
249
+ actionpack (= 6.1.7.4)
250
+ actiontext (= 6.1.7.4)
251
+ actionview (= 6.1.7.4)
252
+ activejob (= 6.1.7.4)
253
+ activemodel (= 6.1.7.4)
254
+ activerecord (= 6.1.7.4)
255
+ activestorage (= 6.1.7.4)
256
+ activesupport (= 6.1.7.4)
253
257
  bundler (>= 1.15.0)
254
- railties (= 6.1.7.3)
258
+ railties (= 6.1.7.4)
255
259
  sprockets-rails (>= 2.0.0)
256
- rails-dom-testing (2.0.3)
257
- activesupport (>= 4.2.0)
260
+ rails-dom-testing (2.1.1)
261
+ activesupport (>= 5.0.0)
262
+ minitest
258
263
  nokogiri (>= 1.6)
259
264
  rails-html-sanitizer (1.5.0)
260
265
  loofah (~> 2.19, >= 2.19.1)
261
266
  rails-observers (0.1.5)
262
267
  activemodel (>= 4.0)
263
- railties (6.1.7.3)
264
- actionpack (= 6.1.7.3)
265
- activesupport (= 6.1.7.3)
268
+ railties (6.1.7.4)
269
+ actionpack (= 6.1.7.4)
270
+ activesupport (= 6.1.7.4)
266
271
  method_source
267
272
  rake (>= 12.2)
268
273
  thor (~> 1.0)
@@ -279,22 +284,22 @@ GEM
279
284
  roadie-rails (2.3.0)
280
285
  railties (>= 5.1, < 7.1)
281
286
  roadie (>= 3.1, < 5.0)
282
- rspec-core (3.12.0)
287
+ rspec-core (3.12.2)
283
288
  rspec-support (~> 3.12.0)
284
- rspec-expectations (3.12.2)
289
+ rspec-expectations (3.12.3)
285
290
  diff-lcs (>= 1.2.0, < 2.0)
286
291
  rspec-support (~> 3.12.0)
287
- rspec-mocks (3.12.1)
292
+ rspec-mocks (3.12.5)
288
293
  diff-lcs (>= 1.2.0, < 2.0)
289
294
  rspec-support (~> 3.12.0)
290
- rspec-rails (6.0.1)
295
+ rspec-rails (6.0.3)
291
296
  actionpack (>= 6.1)
292
297
  activesupport (>= 6.1)
293
298
  railties (>= 6.1)
294
- rspec-core (~> 3.11)
295
- rspec-expectations (~> 3.11)
296
- rspec-mocks (~> 3.11)
297
- rspec-support (~> 3.11)
299
+ rspec-core (~> 3.12)
300
+ rspec-expectations (~> 3.12)
301
+ rspec-mocks (~> 3.12)
302
+ rspec-support (~> 3.12)
298
303
  rspec-support (3.12.0)
299
304
  ruby-vips (2.1.4)
300
305
  ffi (~> 1.12)
@@ -321,15 +326,15 @@ GEM
321
326
  actionpack (>= 5.2)
322
327
  activesupport (>= 5.2)
323
328
  sprockets (>= 3.0.0)
324
- stringex (2.8.5)
329
+ stringex (2.8.6)
325
330
  stringio (3.0.5)
326
331
  strscan (3.0.6)
327
332
  temple (0.10.0)
328
333
  terrapin (0.6.0)
329
334
  climate_control (>= 0.0.3, < 1.0)
330
- thor (1.2.1)
335
+ thor (1.2.2)
331
336
  tilt (2.1.0)
332
- timeout (0.3.2)
337
+ timeout (0.4.0)
333
338
  trustygems (0.2.1)
334
339
  rake
335
340
  tzinfo (2.0.6)
@@ -342,10 +347,10 @@ GEM
342
347
  websocket-driver (0.7.5)
343
348
  websocket-extensions (>= 0.1.0)
344
349
  websocket-extensions (0.1.5)
345
- will_paginate (3.3.1)
350
+ will_paginate (4.0.0)
346
351
  xpath (3.2.0)
347
352
  nokogiri (~> 1.8)
348
- zeitwerk (2.6.7)
353
+ zeitwerk (2.6.8)
349
354
 
350
355
  PLATFORMS
351
356
  x86_64-darwin-18
@@ -152,10 +152,6 @@ class AssetType
152
152
  end
153
153
  end
154
154
 
155
- def legacy_styles
156
- TrustyCms::config['assets.additional_thumbnails'].to_s.gsub(' ', '').split(',').collect { |s| s.split('=') }.inject({}) { |ha, (k, v)| ha[k.to_sym] = v; ha }
157
- end
158
-
159
155
  def style_dimensions(style_name)
160
156
  if style = paperclip_styles[style_name.to_sym]
161
157
  style[:size]
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '5.5.8'.freeze
5
+ VERSION = '5.5.9'.freeze
6
6
  end
7
7
  end
data/trusty_cms.gemspec CHANGED
@@ -51,5 +51,5 @@ a general purpose content management system--not merely a blogging engine.'
51
51
  s.add_dependency 'tzinfo', '>= 1.2.3', '< 2.1.0'
52
52
  s.add_dependency 'uglifier', '>= 3.2', '< 5.0'
53
53
  s.add_dependency 'uuidtools', '>= 2.1.5', '< 2.3.0'
54
- s.add_dependency 'will_paginate', '~> 3.0'
54
+ s.add_dependency 'will_paginate', '>= 3', '< 5'
55
55
  end
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: 5.5.8
4
+ version: 5.5.9
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: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-validator
@@ -452,16 +452,22 @@ dependencies:
452
452
  name: will_paginate
453
453
  requirement: !ruby/object:Gem::Requirement
454
454
  requirements:
455
- - - "~>"
455
+ - - ">="
456
+ - !ruby/object:Gem::Version
457
+ version: '3'
458
+ - - "<"
456
459
  - !ruby/object:Gem::Version
457
- version: '3.0'
460
+ version: '5'
458
461
  type: :runtime
459
462
  prerelease: false
460
463
  version_requirements: !ruby/object:Gem::Requirement
461
464
  requirements:
462
- - - "~>"
465
+ - - ">="
463
466
  - !ruby/object:Gem::Version
464
- version: '3.0'
467
+ version: '3'
468
+ - - "<"
469
+ - !ruby/object:Gem::Version
470
+ version: '5'
465
471
  description: |-
466
472
  TrustyCms is a simple and powerful publishing system designed for small teams.
467
473
  It is built with Rails and is similar to Textpattern or MovableType, but is
@@ -1139,52 +1145,52 @@ signing_key:
1139
1145
  specification_version: 4
1140
1146
  summary: A no-fluff content management system designed for small teams.
1141
1147
  test_files:
1142
- - spec/rails_helper.rb
1143
- - spec/models/layout_spec.rb
1144
- - spec/controllers/application_controller_spec.rb
1145
- - spec/controllers/users_controller_spec.rb
1146
- - spec/spec_helper.rb
1147
1148
  - spec/fixtures/users.yml
1149
+ - spec/factories/page.rb
1150
+ - spec/factories/user.rb
1151
+ - spec/factories/page_part.rb
1152
+ - spec/factories/layout.rb
1153
+ - spec/models/layout_spec.rb
1148
1154
  - spec/support/custom_actions.rb
1149
- - spec/dummy/config.ru
1150
- - spec/dummy/Rakefile
1151
- - spec/dummy/app/assets/config/manifest.js
1152
- - spec/dummy/db/schema.rb
1153
- - spec/dummy/public/422.html
1154
- - spec/dummy/public/404.html
1155
- - spec/dummy/public/500.html
1156
- - spec/dummy/public/favicon.ico
1157
- - spec/dummy/README.rdoc
1158
- - spec/dummy/yarn.lock
1159
- - spec/dummy/bin/setup
1155
+ - spec/ci/database.mysql.yml
1156
+ - spec/features/pages_spec.rb
1157
+ - spec/features/config_spec.rb
1158
+ - spec/features/layouts_spec.rb
1159
+ - spec/controllers/users_controller_spec.rb
1160
+ - spec/controllers/application_controller_spec.rb
1160
1161
  - spec/dummy/bin/rake
1161
1162
  - spec/dummy/bin/bundle
1162
1163
  - spec/dummy/bin/rails
1163
- - spec/dummy/config/boot.rb
1164
+ - spec/dummy/bin/setup
1165
+ - spec/dummy/Rakefile
1166
+ - spec/dummy/README.rdoc
1167
+ - spec/dummy/public/favicon.ico
1168
+ - spec/dummy/public/404.html
1169
+ - spec/dummy/public/500.html
1170
+ - spec/dummy/public/422.html
1171
+ - spec/dummy/package.json
1164
1172
  - spec/dummy/config/locales/en.yml
1165
- - spec/dummy/config/database.yml
1166
- - spec/dummy/config/secrets.yml
1167
1173
  - spec/dummy/config/environment.rb
1168
- - spec/dummy/config/initializers/filter_parameter_logging.rb
1174
+ - spec/dummy/config/boot.rb
1175
+ - spec/dummy/config/routes.rb
1176
+ - spec/dummy/config/environments/test.rb
1177
+ - spec/dummy/config/environments/development.rb
1178
+ - spec/dummy/config/environments/production.rb
1179
+ - spec/dummy/config/application.rb
1180
+ - spec/dummy/config/secrets.yml
1181
+ - spec/dummy/config/initializers/mime_types.rb
1169
1182
  - spec/dummy/config/initializers/wrap_parameters.rb
1183
+ - spec/dummy/config/initializers/assets.rb
1170
1184
  - spec/dummy/config/initializers/backtrace_silencers.rb
1171
- - spec/dummy/config/initializers/trusty_cms_config.rb
1172
1185
  - spec/dummy/config/initializers/inflections.rb
1186
+ - spec/dummy/config/initializers/trusty_cms_config.rb
1187
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
1173
1188
  - spec/dummy/config/initializers/session_store.rb
1174
- - spec/dummy/config/initializers/assets.rb
1175
1189
  - spec/dummy/config/initializers/cookies_serializer.rb
1176
- - spec/dummy/config/initializers/mime_types.rb
1177
- - spec/dummy/config/routes.rb
1178
- - spec/dummy/config/application.rb
1179
- - spec/dummy/config/environments/development.rb
1180
- - spec/dummy/config/environments/test.rb
1181
- - spec/dummy/config/environments/production.rb
1182
- - spec/dummy/package.json
1183
- - spec/ci/database.mysql.yml
1184
- - spec/features/layouts_spec.rb
1185
- - spec/features/config_spec.rb
1186
- - spec/features/pages_spec.rb
1187
- - spec/factories/page_part.rb
1188
- - spec/factories/layout.rb
1189
- - spec/factories/page.rb
1190
- - spec/factories/user.rb
1190
+ - spec/dummy/config/database.yml
1191
+ - spec/dummy/yarn.lock
1192
+ - spec/dummy/app/assets/config/manifest.js
1193
+ - spec/dummy/db/schema.rb
1194
+ - spec/dummy/config.ru
1195
+ - spec/spec_helper.rb
1196
+ - spec/rails_helper.rb