trusty-cms 6.1.1 → 6.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 671322333fab02c719cde7aea5380c77b1cfc2147f4aea0aae7ff9639d1d338e
4
- data.tar.gz: f869d02b2cdd5d7ed704fce3cfdd07b13441d86f7f7049ec8d66f9d7ca68d711
3
+ metadata.gz: 317a11bc953c6892d860b8c0e13b7d71ca9feffd3e9c6251c52606928fc1ada3
4
+ data.tar.gz: aef8f45d869c2b2ec31df22d23002ba14c4b1399e1bf82b06a4a6bc5ca8d707e
5
5
  SHA512:
6
- metadata.gz: fe78c7df0cc233522d05ccc4de80261567d49635d89aa69a472e1a59a288a7b1790979fb3b76358ef75934763d223472ee9095a84c0220dad682f652d31024b4
7
- data.tar.gz: d7efa654ff5b117c031b447100a3c599a3090f40549b4b96cf32bf1329ced4f967d5ca7a5be45a3911d3b29d2f071e3534a545a7a4a6595ac05d5417e4fea279
6
+ metadata.gz: 7c6011cc75d010d0a669e5105820b8ab4d498c081220a5584e654dd8e9c8002fa748175b06cce6145c8011b3f1ab0823052c231bd2107946b725afcfcc94b5ea
7
+ data.tar.gz: 9b9460d709ae5504c298d03a3a5b170db440fc9db7b7998531ac856f7635dfee5f99dfe3d66d25bf4ce54494c4a687523355b84ff73d8f887f81bfef38fc5f25
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ group :development, :test do
15
15
  gem 'activestorage-validator'
16
16
  gem 'acts_as_list'
17
17
  gem 'database_cleaner'
18
- gem 'factory_bot_rails', '6.2.0'
18
+ gem 'factory_bot_rails', '6.4.2'
19
19
  gem 'file_validators'
20
20
  gem 'launchy', '~> 2.5.0'
21
21
  gem 'mysql2'
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (6.1.0)
5
- RedCloth (= 4.3.2)
4
+ trusty-cms (6.1.2)
5
+ RedCloth (= 4.3.3)
6
6
  activestorage-validator
7
7
  acts_as_list (>= 0.9.5, < 1.2.0)
8
8
  acts_as_tree (~> 2.9.1)
@@ -34,7 +34,7 @@ PATH
34
34
  GEM
35
35
  remote: https://rubygems.org/
36
36
  specs:
37
- RedCloth (4.3.2)
37
+ RedCloth (4.3.3)
38
38
  actioncable (6.1.7.6)
39
39
  actionpack (= 6.1.7.6)
40
40
  activesupport (= 6.1.7.6)
@@ -142,10 +142,10 @@ GEM
142
142
  docile (1.4.0)
143
143
  erubi (1.12.0)
144
144
  execjs (2.9.1)
145
- factory_bot (6.2.1)
145
+ factory_bot (6.4.2)
146
146
  activesupport (>= 5.0.0)
147
- factory_bot_rails (6.2.0)
148
- factory_bot (~> 6.2.0)
147
+ factory_bot_rails (6.4.2)
148
+ factory_bot (~> 6.4)
149
149
  railties (>= 5.0.0)
150
150
  ffi (1.15.5)
151
151
  file_validators (3.0.0)
@@ -180,7 +180,7 @@ GEM
180
180
  addressable (~> 2.8)
181
181
  libv8-node (16.10.0.0-x86_64-darwin)
182
182
  libv8-node (16.10.0.0-x86_64-linux)
183
- loofah (2.21.4)
183
+ loofah (2.22.0)
184
184
  crass (~> 1.0.2)
185
185
  nokogiri (>= 1.12.0)
186
186
  mail (2.8.1)
@@ -229,7 +229,7 @@ GEM
229
229
  psych (5.1.1.1)
230
230
  stringio
231
231
  public_suffix (4.0.7)
232
- racc (1.7.2)
232
+ racc (1.7.3)
233
233
  rack (2.2.8)
234
234
  rack-cache (1.14.0)
235
235
  rack (>= 0.4)
@@ -287,10 +287,10 @@ GEM
287
287
  rspec-expectations (3.12.3)
288
288
  diff-lcs (>= 1.2.0, < 2.0)
289
289
  rspec-support (~> 3.12.0)
290
- rspec-mocks (3.12.5)
290
+ rspec-mocks (3.12.6)
291
291
  diff-lcs (>= 1.2.0, < 2.0)
292
292
  rspec-support (~> 3.12.0)
293
- rspec-rails (6.0.3)
293
+ rspec-rails (6.1.0)
294
294
  actionpack (>= 6.1)
295
295
  activesupport (>= 6.1)
296
296
  railties (>= 6.1)
@@ -298,7 +298,7 @@ GEM
298
298
  rspec-expectations (~> 3.12)
299
299
  rspec-mocks (~> 3.12)
300
300
  rspec-support (~> 3.12)
301
- rspec-support (3.12.0)
301
+ rspec-support (3.12.1)
302
302
  ruby-vips (2.1.4)
303
303
  ffi (~> 1.12)
304
304
  sass-rails (6.0.0)
@@ -359,7 +359,7 @@ DEPENDENCIES
359
359
  activestorage-validator
360
360
  acts_as_list
361
361
  database_cleaner
362
- factory_bot_rails (= 6.2.0)
362
+ factory_bot_rails (= 6.4.2)
363
363
  file_validators
364
364
  launchy (~> 2.5.0)
365
365
  mysql2
@@ -27,6 +27,8 @@ class Admin::PagesController < Admin::ResourceController
27
27
  end
28
28
 
29
29
  def new
30
+ assets = Asset.order('created_at DESC')
31
+ @term = assets.ransack(params[:search] || '')
30
32
  @page = self.model = model_class.new_with_defaults(trusty_config)
31
33
  assign_page_attributes
32
34
  response_for :new
data/lib/trusty_cms.rb CHANGED
@@ -2,7 +2,7 @@ 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 = '6.1.1'.freeze
5
+ VERSION = '6.1.2'.freeze
6
6
  end
7
7
  end
8
8
 
data/trusty_cms.gemspec CHANGED
@@ -45,7 +45,7 @@ a general purpose content management system--not merely a blogging engine.'
45
45
  s.add_dependency 'rake', '< 14.0'
46
46
  s.add_dependency 'ransack'
47
47
  s.add_dependency 'rdoc', '>= 5.1', '< 7.0'
48
- s.add_dependency 'RedCloth', '4.3.2'
48
+ s.add_dependency 'RedCloth', '4.3.3'
49
49
  s.add_dependency 'roadie-rails'
50
50
  s.add_dependency 'sass-rails'
51
51
  s.add_dependency 'stringex', '>= 2.7.1', '< 2.9.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: 6.1.1
4
+ version: 6.1.2
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-11-21 00:00:00.000000000 Z
11
+ date: 2023-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-validator
@@ -352,14 +352,14 @@ dependencies:
352
352
  requirements:
353
353
  - - '='
354
354
  - !ruby/object:Gem::Version
355
- version: 4.3.2
355
+ version: 4.3.3
356
356
  type: :runtime
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
360
  - - '='
361
361
  - !ruby/object:Gem::Version
362
- version: 4.3.2
362
+ version: 4.3.3
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: roadie-rails
365
365
  requirement: !ruby/object:Gem::Requirement
@@ -1147,52 +1147,52 @@ signing_key:
1147
1147
  specification_version: 4
1148
1148
  summary: A no-fluff content management system designed for small teams.
1149
1149
  test_files:
1150
- - spec/models/layout_spec.rb
1151
- - spec/rails_helper.rb
1152
- - spec/spec_helper.rb
1150
+ - spec/fixtures/users.yml
1151
+ - spec/features/layouts_spec.rb
1152
+ - spec/features/config_spec.rb
1153
+ - spec/features/pages_spec.rb
1153
1154
  - spec/controllers/users_controller_spec.rb
1154
1155
  - spec/controllers/application_controller_spec.rb
1155
- - spec/support/custom_actions.rb
1156
- - spec/dummy/db/schema.rb
1157
- - spec/dummy/yarn.lock
1158
- - spec/dummy/app/assets/config/manifest.js
1159
- - spec/dummy/package.json
1160
- - spec/dummy/config.ru
1161
- - spec/dummy/config/initializers/wrap_parameters.rb
1162
- - spec/dummy/config/initializers/assets.rb
1163
- - spec/dummy/config/initializers/filter_parameter_logging.rb
1156
+ - spec/spec_helper.rb
1157
+ - spec/ci/database.mysql.yml
1158
+ - spec/models/layout_spec.rb
1159
+ - spec/dummy/config/environment.rb
1160
+ - spec/dummy/config/application.rb
1161
+ - spec/dummy/config/secrets.yml
1162
+ - spec/dummy/config/locales/en.yml
1163
+ - spec/dummy/config/routes.rb
1164
+ - spec/dummy/config/environments/development.rb
1165
+ - spec/dummy/config/environments/test.rb
1166
+ - spec/dummy/config/environments/production.rb
1164
1167
  - spec/dummy/config/initializers/mime_types.rb
1165
- - spec/dummy/config/initializers/cookies_serializer.rb
1168
+ - spec/dummy/config/initializers/backtrace_silencers.rb
1166
1169
  - spec/dummy/config/initializers/session_store.rb
1170
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
1171
+ - spec/dummy/config/initializers/cookies_serializer.rb
1167
1172
  - spec/dummy/config/initializers/trusty_cms_config.rb
1168
- - spec/dummy/config/initializers/backtrace_silencers.rb
1173
+ - spec/dummy/config/initializers/wrap_parameters.rb
1174
+ - spec/dummy/config/initializers/assets.rb
1169
1175
  - spec/dummy/config/initializers/inflections.rb
1170
- - spec/dummy/config/application.rb
1171
- - spec/dummy/config/environments/production.rb
1172
- - spec/dummy/config/environments/development.rb
1173
- - spec/dummy/config/environments/test.rb
1174
- - spec/dummy/config/locales/en.yml
1175
1176
  - spec/dummy/config/database.yml
1176
1177
  - spec/dummy/config/boot.rb
1177
- - spec/dummy/config/routes.rb
1178
- - spec/dummy/config/environment.rb
1179
- - spec/dummy/config/secrets.yml
1178
+ - spec/dummy/app/assets/config/manifest.js
1179
+ - spec/dummy/package.json
1180
1180
  - spec/dummy/README.rdoc
1181
- - spec/dummy/bin/rails
1182
- - spec/dummy/bin/bundle
1183
- - spec/dummy/bin/setup
1184
- - spec/dummy/bin/rake
1181
+ - spec/dummy/db/schema.rb
1182
+ - spec/dummy/Rakefile
1183
+ - spec/dummy/public/422.html
1185
1184
  - spec/dummy/public/favicon.ico
1186
1185
  - spec/dummy/public/404.html
1187
- - spec/dummy/public/422.html
1188
1186
  - spec/dummy/public/500.html
1189
- - spec/dummy/Rakefile
1190
- - spec/fixtures/users.yml
1191
- - spec/factories/page.rb
1187
+ - spec/dummy/yarn.lock
1188
+ - spec/dummy/bin/rails
1189
+ - spec/dummy/bin/bundle
1190
+ - spec/dummy/bin/rake
1191
+ - spec/dummy/bin/setup
1192
+ - spec/dummy/config.ru
1193
+ - spec/support/custom_actions.rb
1194
+ - spec/rails_helper.rb
1192
1195
  - spec/factories/page_part.rb
1193
- - spec/factories/layout.rb
1194
1196
  - spec/factories/user.rb
1195
- - spec/features/pages_spec.rb
1196
- - spec/features/config_spec.rb
1197
- - spec/features/layouts_spec.rb
1198
- - spec/ci/database.mysql.yml
1197
+ - spec/factories/page.rb
1198
+ - spec/factories/layout.rb