Add Ruby 4.0.4 support and verify latest-Ruby compatibility#15
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds and verifies compatibility with the latest Ruby (4.0.4), and documents the supported range accordingly.
.ruby-version3.4.9→4.0.4(local development Ruby only — does not narrow support)4.0to the CI smoke-test matrix (['2.6', '3.4', '4.0']) and bump the RuboCop lint job to4.02.6 – 4.0+and refresh the Features / Compatibility / Troubleshooting / project-structure / test-section textNo 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.rbon Ruby 4.0.4 — 2 runs, 12 assertions, 0 failuresbin/git_reportproduces the correct contributor table on Ruby 4.0.4 end-to-endbin/git_reportstill runs on the stock macOS system Ruby (2.6.10)