From 0f39b222ce074155ef8741ecd8727c8fa3374d6f Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 06:12:27 +0000 Subject: [PATCH] Update all Bundler dependencies (2025-02-17) --- .rubocop.yml | 4 +++- Gemfile.lock | 33 +++++++++++++++++++-------------- bin/dev | 2 ++ bin/rubocop | 2 ++ bin/setup | 10 +++++----- bin/thrust | 2 ++ 6 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d9fe7aeff..2dcfed086 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,10 +4,12 @@ inherit_mode: { merge: [Exclude] } require: - rubocop-capybara - rubocop-factory_bot + - rubocop-rspec_rails + +plugins: - rubocop-rails - rubocop-rake - rubocop-rspec - - rubocop-rspec_rails AllCops: DisplayCopNames: true diff --git a/Gemfile.lock b/Gemfile.lock index 973120a79..9b9b44119 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -127,7 +127,7 @@ GEM reline (>= 0.3.8) descendants_tracker (0.0.4) thread_safe (~> 0.3, >= 0.3.1) - diff-lcs (1.5.1) + diff-lcs (1.6.0) docile (1.4.1) dotenv (3.1.7) dotenv-rails (3.1.7) @@ -172,9 +172,10 @@ GEM pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.9.1) + json (2.10.1) language_server-protocol (3.17.0.4) - logger (1.6.5) + lint_roller (1.1.0) + logger (1.6.6) loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -277,7 +278,7 @@ GEM regexp_parser (2.10.0) reline (0.6.0) io-console (~> 0.5) - rexml (3.4.0) + rexml (3.4.1) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -299,9 +300,10 @@ GEM rspec-mocks (~> 3.13) rspec-support (~> 3.13) rspec-support (3.13.2) - rubocop (1.71.2) + rubocop (1.72.2) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) @@ -315,15 +317,18 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.26.1) rubocop (~> 1.61) - rubocop-rails (2.29.1) + rubocop-rails (2.30.0) activesupport (>= 4.2.0) + lint_roller (~> 1.1) rack (>= 1.1) - rubocop (>= 1.52.0, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) - rubocop-rspec (3.4.0) - rubocop (~> 1.61) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rake (0.7.1) + lint_roller (~> 1.1) + rubocop (>= 1.72.1) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) rubocop-rspec_rails (2.30.0) rubocop (~> 1.61) rubocop-rspec (~> 3, >= 3.0.1) @@ -353,7 +358,7 @@ GEM actionpack (>= 6.1) activesupport (>= 6.1) sprockets (>= 3.0.0) - stringio (3.1.2) + stringio (3.1.3) stripe (13.4.1) sync (0.5.0) term-ansicolor (1.11.2) diff --git a/bin/dev b/bin/dev index 5f91c2054..6981d9176 100755 --- a/bin/dev +++ b/bin/dev @@ -1,2 +1,4 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + exec "./bin/rails", "server", *ARGV diff --git a/bin/rubocop b/bin/rubocop index 40330c0ff..25406fe04 100755 --- a/bin/rubocop +++ b/bin/rubocop @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + require "rubygems" require "bundler/setup" diff --git a/bin/setup b/bin/setup index 6f0ce85a6..2afb54f0d 100755 --- a/bin/setup +++ b/bin/setup @@ -5,11 +5,11 @@ require "fileutils" APP_ROOT = File.expand_path("..", __dir__) -def system!(*args) - system(*args, exception: true) +def system!(*) + system(*, exception: true) end -FileUtils.chdir APP_ROOT do +FileUtils.chdir(APP_ROOT) do # This script is a way to set up or update your development environment automatically. # This script is idempotent, so that you can run it at any time and get an expectable outcome. # Add necessary setup steps to this file. @@ -28,9 +28,9 @@ FileUtils.chdir APP_ROOT do puts "\n== Removing old logs and tempfiles ==" system! "bin/rails log:clear tmp:clear" - unless ARGV.include?("--skip-server") + if ARGV.exclude?("--skip-server") puts "\n== Starting development server ==" - STDOUT.flush # flush the output before exec(2) so that it displays + $stdout.flush # flush the output before exec(2) so that it displays exec "bin/dev" end end diff --git a/bin/thrust b/bin/thrust index 36bde2d83..4b1980888 100755 --- a/bin/thrust +++ b/bin/thrust @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + require "rubygems" require "bundler/setup"