From 457fc7df1aa81b6ece244406154337e24a9bc4ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 22:11:12 +0000 Subject: [PATCH 1/2] Bump the bundler group with 5 updates Bumps the bundler group with 5 updates: | Package | From | To | | --- | --- | --- | | [rails](https://github.com/rails/rails) | `7.1.2` | `7.1.3` | | [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) | `1.7.0` | `1.7.1` | | [cssbundling-rails](https://github.com/rails/cssbundling-rails) | `1.3.3` | `1.4.0` | | [capybara](https://github.com/teamcapybara/capybara) | `3.39.2` | `3.40.0` | | [selenium-webdriver](https://github.com/SeleniumHQ/selenium) | `4.16.0` | `4.17.0` | Updates `rails` from 7.1.2 to 7.1.3 - [Release notes](https://github.com/rails/rails/releases) - [Commits](https://github.com/rails/rails/compare/v7.1.2...v7.1.3) Updates `sqlite3` from 1.7.0 to 1.7.1 - [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.7.0...v1.7.1) Updates `cssbundling-rails` from 1.3.3 to 1.4.0 - [Release notes](https://github.com/rails/cssbundling-rails/releases) - [Commits](https://github.com/rails/cssbundling-rails/compare/v1.3.3...v1.4.0) Updates `capybara` from 3.39.2 to 3.40.0 - [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md) - [Commits](https://github.com/teamcapybara/capybara/compare/3.39.2...3.40.0) Updates `selenium-webdriver` from 4.16.0 to 4.17.0 - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES) - [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.16.0...selenium-4.17.0) --- updated-dependencies: - dependency-name: rails dependency-type: direct:production update-type: version-update:semver-patch dependency-group: bundler - dependency-name: sqlite3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: bundler - dependency-name: cssbundling-rails dependency-type: direct:production update-type: version-update:semver-minor dependency-group: bundler - dependency-name: capybara dependency-type: direct:development update-type: version-update:semver-minor dependency-group: bundler - dependency-name: selenium-webdriver dependency-type: direct:development update-type: version-update:semver-minor dependency-group: bundler ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 135 ++++++++++++++++++++++++++------------------------- 1 file changed, 68 insertions(+), 67 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 852a3320..b8f2744c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,35 +1,35 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.1.2) - actionpack (= 7.1.2) - activesupport (= 7.1.2) + actioncable (7.1.3) + actionpack (= 7.1.3) + activesupport (= 7.1.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.1.2) - actionpack (= 7.1.2) - activejob (= 7.1.2) - activerecord (= 7.1.2) - activestorage (= 7.1.2) - activesupport (= 7.1.2) + actionmailbox (7.1.3) + actionpack (= 7.1.3) + activejob (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.1.2) - actionpack (= 7.1.2) - actionview (= 7.1.2) - activejob (= 7.1.2) - activesupport (= 7.1.2) + actionmailer (7.1.3) + actionpack (= 7.1.3) + actionview (= 7.1.3) + activejob (= 7.1.3) + activesupport (= 7.1.3) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.2) - actionpack (7.1.2) - actionview (= 7.1.2) - activesupport (= 7.1.2) + actionpack (7.1.3) + actionview (= 7.1.3) + activesupport (= 7.1.3) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) @@ -37,15 +37,15 @@ GEM rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actiontext (7.1.2) - actionpack (= 7.1.2) - activerecord (= 7.1.2) - activestorage (= 7.1.2) - activesupport (= 7.1.2) + actiontext (7.1.3) + actionpack (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.1.2) - activesupport (= 7.1.2) + actionview (7.1.3) + activesupport (= 7.1.3) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) @@ -58,22 +58,22 @@ GEM kaminari (>= 1.2.1) railties (>= 6.1) ransack (>= 4.0) - activejob (7.1.2) - activesupport (= 7.1.2) + activejob (7.1.3) + activesupport (= 7.1.3) globalid (>= 0.3.6) - activemodel (7.1.2) - activesupport (= 7.1.2) - activerecord (7.1.2) - activemodel (= 7.1.2) - activesupport (= 7.1.2) + activemodel (7.1.3) + activesupport (= 7.1.3) + activerecord (7.1.3) + activemodel (= 7.1.3) + activesupport (= 7.1.3) timeout (>= 0.4.0) - activestorage (7.1.2) - actionpack (= 7.1.2) - activejob (= 7.1.2) - activerecord (= 7.1.2) - activesupport (= 7.1.2) + activestorage (7.1.3) + actionpack (= 7.1.3) + activejob (= 7.1.3) + activerecord (= 7.1.3) + activesupport (= 7.1.3) marcel (~> 1.0) - activesupport (7.1.2) + activesupport (7.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -90,21 +90,21 @@ GEM ruby2_keywords (>= 0.0.2) base64 (0.2.0) bcrypt (3.1.20) - bigdecimal (3.1.5) + bigdecimal (3.1.6) builder (3.2.4) - capybara (3.39.2) + capybara (3.40.0) addressable matrix mini_mime (>= 0.1.3) - nokogiri (~> 1.8) + nokogiri (~> 1.11) rack (>= 1.6.0) rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) connection_pool (2.4.1) crass (1.0.6) - cssbundling-rails (1.3.3) + cssbundling-rails (1.4.0) railties (>= 6.0.0) date (3.3.4) debug (1.9.1) @@ -139,10 +139,10 @@ GEM has_scope (>= 0.6) railties (>= 6.0) responders (>= 2) - io-console (0.7.1) - irb (1.11.0) + io-console (0.7.2) + irb (1.11.1) rdoc - reline (>= 0.3.8) + reline (>= 0.4.2) kaminari (1.2.2) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.2) @@ -166,7 +166,7 @@ GEM marcel (1.0.2) matrix (0.4.2) mini_mime (1.1.5) - minitest (5.20.0) + minitest (5.21.2) mutex_m (0.2.0) net-imap (0.4.9.1) date @@ -199,20 +199,20 @@ GEM rackup (2.1.0) rack (>= 3) webrick (~> 1.8) - rails (7.1.2) - actioncable (= 7.1.2) - actionmailbox (= 7.1.2) - actionmailer (= 7.1.2) - actionpack (= 7.1.2) - actiontext (= 7.1.2) - actionview (= 7.1.2) - activejob (= 7.1.2) - activemodel (= 7.1.2) - activerecord (= 7.1.2) - activestorage (= 7.1.2) - activesupport (= 7.1.2) + rails (7.1.3) + actioncable (= 7.1.3) + actionmailbox (= 7.1.3) + actionmailer (= 7.1.3) + actionpack (= 7.1.3) + actiontext (= 7.1.3) + actionview (= 7.1.3) + activejob (= 7.1.3) + activemodel (= 7.1.3) + activerecord (= 7.1.3) + activestorage (= 7.1.3) + activesupport (= 7.1.3) bundler (>= 1.15.0) - railties (= 7.1.2) + railties (= 7.1.3) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest @@ -220,9 +220,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.1.2) - actionpack (= 7.1.2) - activesupport (= 7.1.2) + railties (7.1.3) + actionpack (= 7.1.3) + activesupport (= 7.1.3) irb rackup (>= 1.0.0) rake (>= 12.2) @@ -235,7 +235,7 @@ GEM i18n rdoc (6.6.2) psych (>= 4.0.0) - regexp_parser (2.8.3) + regexp_parser (2.9.0) reline (0.4.2) io-console (~> 0.5) responders (3.1.1) @@ -244,7 +244,8 @@ GEM rexml (3.2.6) ruby2_keywords (0.0.5) rubyzip (2.3.2) - selenium-webdriver (4.16.0) + selenium-webdriver (4.17.0) + base64 (~> 0.2) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) @@ -264,9 +265,9 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - sqlite3 (1.7.0-aarch64-linux) - sqlite3 (1.7.0-arm64-darwin) - sqlite3 (1.7.0-x86_64-linux) + sqlite3 (1.7.1-aarch64-linux) + sqlite3 (1.7.1-arm64-darwin) + sqlite3 (1.7.1-x86_64-linux) stringio (3.1.0) thor (1.3.0) timeout (0.4.1) From be401a5221772a2c69f4c7200ed3b0e98dd987d8 Mon Sep 17 00:00:00 2001 From: Javier Julio Date: Mon, 29 Jan 2024 17:15:38 -0500 Subject: [PATCH 2/2] From running bin/rails app:update --- config/environments/development.rb | 5 +++++ config/environments/production.rb | 12 +++++++++--- config/environments/test.rb | 7 +++++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index ff757b72..3e1eafe9 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -33,6 +33,11 @@ config.cache_store = :null_store end + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + config.action_mailer.perform_caching = false + # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log diff --git a/config/environments/production.rb b/config/environments/production.rb index 274ed6d2..64684400 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -26,7 +26,7 @@ # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass - # Do not fallback to assets pipeline if a precompiled asset is missed. + # Do not fall back to assets pipeline if a precompiled asset is missed. config.assets.compile = false # Enable serving of images, stylesheets, and JavaScripts from an asset server. @@ -51,7 +51,7 @@ # Prepend all log lines with the following tags. config.log_tags = [ :request_id ] - # Info include generic and useful information about system operation, but avoids logging too much + # "info" includes generic and useful information about system operation, but avoids logging too much # information to avoid inadvertent exposure of personally identifiable information (PII). If you # want to log everything, set the level to "debug". config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info") @@ -61,7 +61,13 @@ # Use a real queuing backend for Active Job (and separate queues per environment). # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "activeadmin_demo_production" + # config.active_job.queue_name_prefix = "active_admin_demo_production" + + config.action_mailer.perform_caching = false + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). diff --git a/config/environments/test.rb b/config/environments/test.rb index d349c355..c468e296 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -34,6 +34,13 @@ # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false + config.action_mailer.perform_caching = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr