Skip to content

Add Ruby 4.0.4 support and verify latest-Ruby compatibility#15

Merged
wteuber merged 1 commit into
masterfrom
chore/ruby-4.0.4-support
Jun 22, 2026
Merged

Add Ruby 4.0.4 support and verify latest-Ruby compatibility#15
wteuber merged 1 commit into
masterfrom
chore/ruby-4.0.4-support

Conversation

@wteuber

@wteuber wteuber commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Adds and verifies compatibility with the latest Ruby (4.0.4), and documents the supported range accordingly.

  • Bump .ruby-version 3.4.94.0.4 (local development Ruby only — does not narrow support)
  • Add 4.0 to the CI smoke-test matrix (['2.6', '3.4', '4.0']) and bump the RuboCop lint job to 4.0
  • Update the README Ruby badge to 2.6 – 4.0+ and refresh the Features / Compatibility / Troubleshooting / project-structure / test-section text

No source changes were needed — the standard-library-only design (including the in-tree lib/git/parallel.rb) already runs on 4.0.4.

Verification

  • ruby test/smoke_test.rb on Ruby 4.0.4 — 2 runs, 12 assertions, 0 failures
  • bin/git_report produces the correct contributor table on Ruby 4.0.4 end-to-end
  • ✅ The 2.6 support floor is preserved — bin/git_report still runs on the stock macOS system Ruby (2.6.10)

Bump the development Ruby to 4.0.4, add 4.0 to the CI smoke-test matrix
(and the lint job), and update the README badge and compatibility notes
to document the 2.6-through-4.0 supported range. The smoke test and the
git_report executable both run cleanly on Ruby 4.0.4, while the 2.6
floor is preserved.
@wteuber wteuber merged commit 6cb6d80 into master Jun 22, 2026
8 checks passed
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