From a0c540393fd74dd1b56dbe0c2316ec6eddc0fb37 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Fri, 10 Jan 2025 14:21:00 -0800 Subject: [PATCH] bundle update, update rubocop TargetRubyVersion --- .rubocop.yml | 2 +- Gemfile.lock | 17 ++++++++--------- app/models/requests/submissions/recap.rb | 2 +- config/initializers/ez_proxy_hosts.rb | 1 - 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 6cf0c568e..3ae9186d3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ require: AllCops: NewCops: enable SuggestExtensions: false - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.4 Exclude: - 'db/**/*' - 'script/**/*' diff --git a/Gemfile.lock b/Gemfile.lock index a7d6bb567..2ba2b33f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -189,7 +189,7 @@ GEM coercible (1.0.0) descendants_tracker (~> 0.0.1) concurrent-ruby (1.3.4) - connection_pool (2.4.1) + connection_pool (2.5.0) coveralls_reborn (0.28.0) simplecov (~> 0.22.0) term-ansicolor (~> 1.7) @@ -265,7 +265,7 @@ GEM ed25519 (1.3.0) email_validator (2.2.4) activemodel - erb_lint (0.7.0) + erb_lint (0.8.0) activesupport better_html (>= 2.0.1) parser (>= 2.7.1.4) @@ -309,8 +309,9 @@ GEM health-monitor-rails (12.4.0) railties (>= 6.1) high_voltage (4.0.0) - honeybadger (5.26.1) + honeybadger (5.26.2) logger + ostruct http (5.2.0) addressable (~> 2.8) base64 (~> 0.1) @@ -373,7 +374,7 @@ GEM llhttp-ffi (0.5.0) ffi-compiler (~> 1.0) rake (~> 13.0) - logger (1.6.4) + logger (1.6.5) lograge (0.14.0) actionpack (>= 4) activesupport (>= 4) @@ -388,10 +389,9 @@ GEM net-imap net-pop net-smtp - marc (1.2.0) + marc (1.3.0) + nokogiri (~> 1.0) rexml - scrub_rb (>= 1.0.1, < 2) - unf marc-fastxmlwriter (1.1.0) marc (~> 1.0) marcel (1.0.4) @@ -569,7 +569,7 @@ GEM rspec-support (3.13.2) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.69.2) + rubocop (1.70.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -700,7 +700,6 @@ GEM yell tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unf (0.2.0) unicode-display_width (2.6.0) uri (1.0.2) useragent (0.16.11) diff --git a/app/models/requests/submissions/recap.rb b/app/models/requests/submissions/recap.rb index 59cca49bc..4923a9fae 100644 --- a/app/models/requests/submissions/recap.rb +++ b/app/models/requests/submissions/recap.rb @@ -18,7 +18,7 @@ def handle def send_mail return if errors.present? - Requests::RequestMailer.send("#{service_type}_email", submission).deliver_later unless service_type == 'recap_edd' || service_type == 'recap' + Requests::RequestMailer.send("#{service_type}_email", submission).deliver_later unless ['recap_edd', 'recap'].include?(service_type) Requests::RequestMailer.send("#{service_type}_confirmation", submission).deliver_later end diff --git a/config/initializers/ez_proxy_hosts.rb b/config/initializers/ez_proxy_hosts.rb index 55cf1707b..2a42b73e8 100644 --- a/config/initializers/ez_proxy_hosts.rb +++ b/config/initializers/ez_proxy_hosts.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -require 'set' host_set = Set.new