Skip to content

Test on Ruby 4.0 - #95

Open
tas50 wants to merge 1 commit into
net-ssh:masterfrom
tas50:ruby-4.0-support
Open

Test on Ruby 4.0#95
tas50 wants to merge 1 commit into
net-ssh:masterfrom
tas50:ruby-4.0-support

Conversation

@tas50

@tas50 tas50 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Adds 4.0 to the CI matrix. The suite already passes there — nothing was exercising it. ruby/ruby-builder publishes 4.0.6 for ubuntu-latest, so the runner needs no change.

Verified locally on Ruby 4.0.6 with RUBYOPT='--enable=frozen_string_literal' as CI sets it:

36 tests, 70 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions

No dependency changes are needed for this. net-scp never does require 'logger' itself — it only reads session.logger off a net-ssh object (lib/net/scp.rb:253) — so the logger entry already in the Gemfile covers the local build, and the real fix belongs in net-ssh (net-ssh/net-ssh#984).

Add Ruby 4.0 to the CI matrix. The suite already passes on 4.0.6, but
nothing was exercising it.

36 tests, 70 assertions, 0 failures, 0 errors, 0 pendings

Signed-off-by: Tim Smith <tsmith84@proton.me>
@tas50
tas50 force-pushed the ruby-4.0-support branch from b7023dc to 9cdce91 Compare August 29, 2026 00:47
@tas50 tas50 changed the title Test on Ruby 4.0 and move development dependencies into the gemspec Test on Ruby 4.0 Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant