From 0e2d36c20807c259d46f4a0c16c324ba4a89d1d3 Mon Sep 17 00:00:00 2001 From: sul-devops-team Date: Mon, 17 Jun 2024 11:36:06 -0700 Subject: [PATCH 1/2] Update Ruby dependencies --- Gemfile.lock | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index bdb76754..b2770b83 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -168,13 +168,12 @@ GEM devise-guests (0.8.3) devise diff-lcs (1.5.1) - dlss-capistrano (5.0.0) + dlss-capistrano (5.0.3) bcrypt_pbkdf capistrano (~> 3.0) capistrano-bundle_audit (>= 0.3.0) capistrano-shared_configs ed25519 - net-ssh-krb domain_name (0.6.20240107) dot-properties (0.1.4) bundler (>= 2.2.33) @@ -196,12 +195,10 @@ GEM gretel (5.0.0) actionview (>= 5.1, < 7.2) railties (>= 5.1, < 7.2) - gssapi (1.3.1) - ffi (>= 1.0.1) hashdiff (1.1.0) hashery (2.1.2) hashie (5.0.0) - honeybadger (5.11.2) + honeybadger (5.12.0) http (5.2.0) addressable (~> 2.8) base64 (~> 0.1) @@ -283,9 +280,6 @@ GEM net-smtp (0.5.0) net-protocol net-ssh (7.2.3) - net-ssh-krb (0.5.1) - gssapi (~> 1.3.0) - net-ssh (>= 2.0) nio4r (2.7.3) nokogiri (1.16.6-aarch64-linux) racc (~> 1.4) @@ -414,8 +408,6 @@ GEM parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.26.1) - rubocop (~> 1.61) rubocop-performance (1.21.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) @@ -424,13 +416,11 @@ GEM rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (2.31.0) - rubocop (~> 1.40) - rubocop-capybara (~> 2.17) - rubocop-factory_bot (~> 2.22) - rubocop-rspec_rails (~> 2.28) - rubocop-rspec_rails (2.29.1) + rubocop-rspec (3.0.1) + rubocop (~> 1.61) + rubocop-rspec_rails (2.30.0) rubocop (~> 1.61) + rubocop-rspec (~> 3, >= 3.0.1) ruby-progressbar (1.13.0) ruby-rc4 (0.1.5) rubyzip (2.3.2) From d4c41e42ce8fed5529c2178552f0a10e3a66a69a Mon Sep 17 00:00:00 2001 From: Cory Lown Date: Mon, 17 Jun 2024 16:05:29 -0400 Subject: [PATCH 2/2] Add rubocop-factory_bot --- .rubocop.yml | 1 + Gemfile | 1 + Gemfile.lock | 3 +++ 3 files changed, 5 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index b59d37e4..c3da73c9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,7 @@ require: - rubocop-rails - rubocop-capybara - rubocop-rspec_rails + - rubocop-factory_bot AllCops: Exclude: diff --git a/Gemfile b/Gemfile index bd2e3649..7b90872a 100644 --- a/Gemfile +++ b/Gemfile @@ -83,6 +83,7 @@ group :development, :test do gem 'solr_wrapper', '>= 0.3' gem 'rspec-rails', '~> 6.0' gem 'rubocop', require: false + gem 'rubocop-factory_bot', require: false gem 'rubocop-performance', require: false gem 'rubocop-rails', require: false gem 'rubocop-rspec', require: false diff --git a/Gemfile.lock b/Gemfile.lock index b2770b83..52d09e0c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -408,6 +408,8 @@ GEM parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) rubocop-performance (1.21.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) @@ -556,6 +558,7 @@ DEPENDENCIES rspec-rails (~> 6.0) rubocop rubocop-capybara + rubocop-factory_bot rubocop-performance rubocop-rails rubocop-rspec