trusty-cms 7.0.32 → 7.0.33

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: fcafb280a56612c280982244b9a3bc76e4460aabef9ea7bb28eed7cdccfd880c
4
- data.tar.gz: 281618eabbfbf3c6b14dba86edc1ce57aa5d362607c7e68f4aab09ad81a4fbca
3
+ metadata.gz: 68134124cffa9c5b3650517c2108983ac808d261e6dded72aaf00fa427e3716e
4
+ data.tar.gz: 3051946f3c7eb0e0efc1b7e8b455c1e09a87bbe55520dd2159e6a2d2b3cbd22b
5
5
  SHA512:
6
- metadata.gz: bf4134454382b20f1e8bad14286963d02fa3dd7079ab3786516408e1a744514a147e58bfdd3f4ae60c2e355f252aa4bc6cab8fb22a8315f924aba6303a9f30ac
7
- data.tar.gz: 27bce35c3fb49517d7af5825049bf68e40ca0af29c117f60aca5066c005080cc5e8e3fa4c60dc78691d9c5898299f5b3c286851bd6a23644c7253b3478cc7a1a
6
+ metadata.gz: 2b8b5f3240e1d390467553d2eab703cfe97e18032aa8f8d8b18a9d48d4a5c4bf3eedf831c1b6bd383b68a7e915bae2a5f90a96b8656f85c27bb134a73746ff4e
7
+ data.tar.gz: 0bc388d5a0ae02d0a9ec52d0cdca50a4de10ae33fb1cd3620bdb1271b69162bd6bdd8f64395b2cd8e165ed6cb623736cfd66639bf78bed7562d5d1bacc8728d8
data/Gemfile CHANGED
@@ -27,6 +27,7 @@ group :development, :test do
27
27
  gem 'psych', '5.2.2'
28
28
  gem 'rails-observers'
29
29
  gem 'ransack'
30
- gem 'rspec-rails'
30
+ gem 'rspec-rails', '~> 7.1.1'
31
31
  gem 'simplecov'
32
+ gem 'simplecov-lcov'
32
33
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (7.0.32)
4
+ trusty-cms (7.0.33)
5
5
  RedCloth (= 4.3.3)
6
6
  activestorage-validator
7
7
  acts_as_list (>= 0.9.5, < 1.3.0)
@@ -168,7 +168,7 @@ GEM
168
168
  devise (~> 4.0)
169
169
  railties (>= 7.0, < 8.1)
170
170
  rotp (~> 6.0)
171
- diff-lcs (1.5.1)
171
+ diff-lcs (1.6.2)
172
172
  diffy (3.4.4)
173
173
  docile (1.4.1)
174
174
  drb (2.2.1)
@@ -369,15 +369,15 @@ GEM
369
369
  chunky_png (~> 1.0)
370
370
  rqrcode_core (~> 2.0)
371
371
  rqrcode_core (2.0.0)
372
- rspec-core (3.13.2)
372
+ rspec-core (3.13.4)
373
373
  rspec-support (~> 3.13.0)
374
- rspec-expectations (3.13.3)
374
+ rspec-expectations (3.13.5)
375
375
  diff-lcs (>= 1.2.0, < 2.0)
376
376
  rspec-support (~> 3.13.0)
377
- rspec-mocks (3.13.2)
377
+ rspec-mocks (3.13.5)
378
378
  diff-lcs (>= 1.2.0, < 2.0)
379
379
  rspec-support (~> 3.13.0)
380
- rspec-rails (7.1.0)
380
+ rspec-rails (7.1.1)
381
381
  actionpack (>= 7.0)
382
382
  activesupport (>= 7.0)
383
383
  railties (>= 7.0)
@@ -385,7 +385,7 @@ GEM
385
385
  rspec-expectations (~> 3.13)
386
386
  rspec-mocks (~> 3.13)
387
387
  rspec-support (~> 3.13)
388
- rspec-support (3.13.1)
388
+ rspec-support (3.13.4)
389
389
  ruby-vips (2.2.2)
390
390
  ffi (~> 1.12)
391
391
  logger
@@ -404,6 +404,7 @@ GEM
404
404
  simplecov-html (~> 0.11)
405
405
  simplecov_json_formatter (~> 0.1)
406
406
  simplecov-html (0.13.1)
407
+ simplecov-lcov (0.8.0)
407
408
  simplecov_json_formatter (0.1.4)
408
409
  sprockets (4.2.1)
409
410
  concurrent-ruby (~> 1.0)
@@ -465,8 +466,9 @@ DEPENDENCIES
465
466
  psych (= 5.2.2)
466
467
  rails-observers
467
468
  ransack
468
- rspec-rails
469
+ rspec-rails (~> 7.1.1)
469
470
  simplecov
471
+ simplecov-lcov
470
472
  trusty-cms!
471
473
  trustygems (~> 0.2.0)
472
474
 
@@ -1,3 +1,3 @@
1
1
  module TrustyCms
2
- VERSION = '7.0.32'.freeze
2
+ VERSION = '7.0.33'.freeze
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,14 +1,29 @@
1
1
  ENV['RAILS_ENV'] ||= 'test'
2
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
- require 'rspec/rails'
4
- require 'factory_bot_rails'
2
+ require File.expand_path('../dummy/config/environment.rb', __FILE__)
3
+
4
+ # Coverage setup
5
5
  require 'simplecov'
6
+ require 'simplecov-lcov'
7
+
8
+ SimpleCov::Formatter::LcovFormatter.config do |config|
9
+ config.report_with_single_file = true
10
+ config.output_directory = 'coverage'
11
+ config.lcov_file_name = 'lcov.info'
12
+ end
13
+
14
+ SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
6
15
  SimpleCov.start('rails')
7
- include Warden::Test::Helpers
8
16
 
17
+ # Test framework setup
18
+ require 'rspec/rails'
19
+ require 'factory_bot_rails'
20
+
21
+ include Warden::Test::Helpers
9
22
  Rails.backtrace_cleaner.remove_silencers!
10
- # Load support files
23
+
24
+ # Support files and factories
11
25
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
26
+
12
27
  FactoryBot.definition_file_paths = [File.expand_path('../factories', __FILE__)]
13
28
  FactoryBot.find_definitions
14
29
 
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.32
4
+ version: 7.0.33
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-06-10 00:00:00.000000000 Z
11
+ date: 2025-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-validator