From 4097a3373733370b56ddce30c30977a0440e9565 Mon Sep 17 00:00:00 2001 From: Brice TEXIER Date: Thu, 16 Jul 2026 14:15:27 +0200 Subject: [PATCH 1/3] Update Rubies --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb2a2a8..825766d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,10 @@ jobs: - "3.2" - "3.3" - "3.4" + - "4.0" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: From f3b52745dcd0863f24d111c54e1f8b4cb95e0c68 Mon Sep 17 00:00:00 2001 From: Brice TEXIER Date: Thu, 16 Jul 2026 14:24:11 +0200 Subject: [PATCH 2/3] Fix warning --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index f32601d..78567a7 100644 --- a/Rakefile +++ b/Rakefile @@ -3,7 +3,11 @@ require "bundler/gem_tasks" require "minitest/test_task" -Minitest::TestTask.create +Minitest::TestTask.create do |t| + # Capistrano 3.20 emits circular require warnings under Ruby 3.4 with -w. + # Keep test output clean until upstream fixes the warning path. + t.warning = false +end require "standard/rake" From 6bfdbaeb03f6c324d701fe3b712a616605e0dbe8 Mon Sep 17 00:00:00 2001 From: Brice TEXIER Date: Thu, 16 Jul 2026 14:28:35 +0200 Subject: [PATCH 3/3] Clean code --- lib/capistrano/solid_queue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/solid_queue.rb b/lib/capistrano/solid_queue.rb index 3235d12..b270890 100644 --- a/lib/capistrano/solid_queue.rb +++ b/lib/capistrano/solid_queue.rb @@ -30,7 +30,7 @@ def execute_systemd(*args, raise_on_non_zero_exit: true) def sudo_if_needed(*command, raise_on_non_zero_exit: true) if fetch(:solid_queue_systemctl_user) == :system - backend.sudo command.map(&:to_s).join(" ") + backend.sudo command.join(" ") else backend.execute(*command, raise_on_non_zero_exit: raise_on_non_zero_exit) end