From b4046a9b16e5f3ac01438d9dd9150b99c94f8116 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 02:26:20 +0000 Subject: [PATCH] Bump the dependencies group with 11 updates Bumps the dependencies group with 11 updates: | Package | From | To | | --- | --- | --- | | [importmap-rails](https://github.com/rails/importmap-rails) | `1.2.3` | `2.0.1` | | [katalyst-tables](https://github.com/katalyst/katalyst-tables) | `2.2.12` | `2.3.1` | | [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) | `1.6.9` | `1.7.0` | | [stimulus-rails](https://github.com/hotwired/stimulus-rails) | `1.3.0` | `1.3.3` | | [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) | `6.4.2` | `6.4.3` | | [puma](https://github.com/puma/puma) | `6.4.0` | `6.4.1` | | [rubocop](https://github.com/rubocop/rubocop) | `1.58.0` | `1.59.0` | | [rubocop-rails](https://github.com/rubocop/rubocop-rails) | `2.22.2` | `2.23.1` | | [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) | `2.25.0` | `2.26.1` | | [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) | `5.3.0` | `6.0.0` | | [active_storage_validations](https://github.com/igorkasyanchuk/active_storage_validations) | `1.1.3` | `1.1.4` | Updates `importmap-rails` from 1.2.3 to 2.0.1 - [Release notes](https://github.com/rails/importmap-rails/releases) - [Commits](https://github.com/rails/importmap-rails/compare/v1.2.3...v2.0.1) Updates `katalyst-tables` from 2.2.12 to 2.3.1 - [Release notes](https://github.com/katalyst/katalyst-tables/releases) - [Changelog](https://github.com/katalyst/tables/blob/main/CHANGELOG.md) - [Commits](https://github.com/katalyst/katalyst-tables/compare/v2.2.12...v2.3.1) Updates `sqlite3` from 1.6.9 to 1.7.0 - [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases) - [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.6.9...v1.7.0) Updates `stimulus-rails` from 1.3.0 to 1.3.3 - [Release notes](https://github.com/hotwired/stimulus-rails/releases) - [Commits](https://github.com/hotwired/stimulus-rails/compare/v1.3.0...v1.3.3) Updates `factory_bot_rails` from 6.4.2 to 6.4.3 - [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases) - [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md) - [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v6.4.2...v6.4.3) Updates `puma` from 6.4.0 to 6.4.1 - [Release notes](https://github.com/puma/puma/releases) - [Changelog](https://github.com/puma/puma/blob/master/History.md) - [Commits](https://github.com/puma/puma/compare/v6.4.0...v6.4.1) Updates `rubocop` from 1.58.0 to 1.59.0 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.58.0...v1.59.0) Updates `rubocop-rails` from 2.22.2 to 2.23.1 - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.22.2...v2.23.1) Updates `rubocop-rspec` from 2.25.0 to 2.26.1 - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.25.0...v2.26.1) Updates `shoulda-matchers` from 5.3.0 to 6.0.0 - [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases) - [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md) - [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v5.3.0...v6.0.0) Updates `active_storage_validations` from 1.1.3 to 1.1.4 - [Release notes](https://github.com/igorkasyanchuk/active_storage_validations/releases) - [Changelog](https://github.com/igorkasyanchuk/active_storage_validations/blob/master/CHANGES.md) - [Commits](https://github.com/igorkasyanchuk/active_storage_validations/commits) --- updated-dependencies: - dependency-name: importmap-rails dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: katalyst-tables dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: sqlite3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: stimulus-rails dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: factory_bot_rails dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: puma dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: shoulda-matchers dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies - dependency-name: active_storage_validations dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 78 +++++++++---------- spec/models/katalyst/content/figure_spec.rb | 2 +- .../katalyst/content/items_controller_spec.rb | 7 +- .../katalyst/content/editor/container_spec.rb | 38 ++++----- .../katalyst/content/editor/content_spec.rb | 14 ++-- 5 files changed, 71 insertions(+), 68 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 250881b..97a083d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,7 +59,7 @@ GEM erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - active_storage_validations (1.1.3) + active_storage_validations (1.1.4) activejob (>= 5.2.0) activemodel (>= 5.2.0) activestorage (>= 5.2.0) @@ -89,7 +89,7 @@ GEM minitest (>= 5.1) mutex_m tzinfo (~> 2.0) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) base64 (0.2.0) @@ -100,7 +100,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (3.1.4) + bigdecimal (3.1.5) builder (3.2.4) capybara (3.39.2) addressable @@ -132,9 +132,9 @@ GEM rubocop smart_properties erubi (1.12.0) - factory_bot (6.4.2) + factory_bot (6.4.5) activesupport (>= 5.0.0) - factory_bot_rails (6.4.2) + factory_bot_rails (6.4.3) factory_bot (~> 6.4) railties (>= 5.0.0) faker (3.2.2) @@ -156,23 +156,23 @@ GEM image_processing (1.12.2) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) - importmap-rails (1.2.3) + importmap-rails (2.0.1) actionpack (>= 6.0.0) activesupport (>= 6.0.0) railties (>= 6.0.0) - io-console (0.6.0) - irb (1.10.1) + io-console (0.7.1) + irb (1.11.0) rdoc reline (>= 0.3.8) json (2.7.1) - katalyst-html-attributes (1.0.0) + katalyst-html-attributes (1.0.1) activesupport html-attributes-utils katalyst-kpop (3.0.1) katalyst-html-attributes turbo-rails view_component - katalyst-tables (2.2.12) + katalyst-tables (2.3.1) katalyst-html-attributes view_component language_server-protocol (3.17.0.3) @@ -191,22 +191,22 @@ GEM mini_mime (1.1.5) minitest (5.20.0) mutex_m (0.2.0) - net-imap (0.4.7) + net-imap (0.4.9.1) date net-protocol net-pop (0.1.2) net-protocol net-protocol (0.2.2) timeout - net-smtp (0.4.0) + net-smtp (0.4.0.1) net-protocol nio4r (2.7.0) - nokogiri (1.15.5-arm64-darwin) + nokogiri (1.16.0-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.5-x86_64-linux) + nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) - parallel (1.23.0) - parser (3.2.2.4) + parallel (1.24.0) + parser (3.3.0.2) ast (~> 2.4.1) racc propshaft (0.8.0) @@ -214,10 +214,10 @@ GEM activesupport (>= 7.0.0) rack railties (>= 7.0.0) - psych (5.1.1.1) + psych (5.1.2) stringio public_suffix (5.0.4) - puma (6.4.0) + puma (6.4.1) nio4r (~> 2.0) racc (1.7.3) rack (3.0.8) @@ -263,10 +263,10 @@ GEM zeitwerk (~> 2.6) rainbow (3.1.1) rake (13.1.0) - rdoc (6.6.1) + rdoc (6.6.2) psych (>= 4.0.0) - regexp_parser (2.8.3) - reline (0.4.1) + regexp_parser (2.9.0) + reline (0.4.2) io-console (~> 0.5) rexml (3.2.6) rspec-core (3.12.2) @@ -286,7 +286,7 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.58.0) + rubocop (1.59.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -299,9 +299,9 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-capybara (2.19.0) + rubocop-capybara (2.20.0) rubocop (~> 1.41) - rubocop-factory_bot (2.24.0) + rubocop-factory_bot (2.25.0) rubocop (~> 1.33) rubocop-katalyst (1.1.4) rubocop @@ -309,17 +309,17 @@ GEM rubocop-rails rubocop-rake rubocop-rspec - rubocop-performance (1.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - rubocop-rails (2.22.2) + rubocop-performance (1.20.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) + rubocop-rails (2.23.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.25.0) + rubocop-rspec (2.26.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) @@ -327,16 +327,16 @@ GEM ruby-vips (2.2.0) ffi (~> 1.12) ruby2_keywords (0.0.5) - sass-embedded (1.69.5-arm64-darwin) - google-protobuf (~> 3.23) - sass-embedded (1.69.5-x86_64-linux-gnu) - google-protobuf (~> 3.23) - shoulda-matchers (5.3.0) + sass-embedded (1.69.7-arm64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.69.7-x86_64-linux-gnu) + google-protobuf (~> 3.25) + shoulda-matchers (6.0.0) activesupport (>= 5.2.0) smart_properties (1.17.0) - sqlite3 (1.6.9-arm64-darwin) - sqlite3 (1.6.9-x86_64-linux) - stimulus-rails (1.3.0) + sqlite3 (1.7.0-arm64-darwin) + sqlite3 (1.7.0-x86_64-linux) + stimulus-rails (1.3.3) railties (>= 6.0.0) stringio (3.1.0) thor (1.3.0) @@ -348,7 +348,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) - view_component (3.8.0) + view_component (3.9.0) activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) @@ -395,4 +395,4 @@ DEPENDENCIES turbo-rails BUNDLED WITH - 2.4.22 + 2.5.4 diff --git a/spec/models/katalyst/content/figure_spec.rb b/spec/models/katalyst/content/figure_spec.rb index 89ae196..136557a 100644 --- a/spec/models/katalyst/content/figure_spec.rb +++ b/spec/models/katalyst/content/figure_spec.rb @@ -56,7 +56,7 @@ figure.image = Rack::Test::UploadedFile.new(Rails.root.parent.join("fixtures/images/sample.png"), "image/png") copy = figure.dup copy.save! - expect(ActiveStorage::Blob.service).to be_exist(copy.image.blob.key) + expect(ActiveStorage::Blob.service).to exist(copy.image.blob.key) end end end diff --git a/spec/requests/katalyst/content/items_controller_spec.rb b/spec/requests/katalyst/content/items_controller_spec.rb index 5135f30..cf2e2c8 100644 --- a/spec/requests/katalyst/content/items_controller_spec.rb +++ b/spec/requests/katalyst/content/items_controller_spec.rb @@ -13,14 +13,14 @@ shared_examples "has attachment" do |attribute = :image| it "saves #{attribute}" do action - expect(ActiveStorage::Blob.service).to be_exist(assigns(:item).send(attribute).blob.key) + expect(ActiveStorage::Blob.service).to exist(assigns(:item).send(attribute).blob.key) end end shared_examples "changes attachment" do |attribute = :image| it "saves #{attribute}" do action - expect(ActiveStorage::Blob.service).to be_exist(assigns(:item).send(attribute).blob.key) + expect(ActiveStorage::Blob.service).to exist(assigns(:item).send(attribute).blob.key) end it "changes #{attribute}" do @@ -72,8 +72,11 @@ it "stores the attachment's id in the form" do action + # note: response.parsed_body strips out