Open
Conversation
Upgrade from Ruby 3.4.2 to the latest stable version 3.4.7. This minor version update includes bug fixes and improvements.
- Pin rake to ~> 13.3 (latest: 13.3.1) - Pin rspec to ~> 3.13 (latest: 3.13.2) This ensures consistent dependency versions across environments while allowing for patch-level updates.
- Update Ruby version matrix from [2.6, 2.7, 3.0] to [3.2, 3.3, 3.4] - Upgrade actions/checkout from v2 to v4 - Ensures CI tests against currently supported Ruby versions Ruby 2.6, 2.7, and 3.0 have all reached end-of-life. The new matrix tests against actively maintained Ruby versions.
- Ignore .bundle/ directory (bundler cache) - Ignore generated binstubs (htmldiff, ldiff, rspec) These files are automatically generated by bundler and should not be committed to version control.
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
This PR updates the Ruby version and project dependencies to their latest stable versions, ensuring the project stays current with security patches and improvements.
Changes Made
Ruby Version Update
.ruby-versionand.tool-versionsfilesDependency Updates
Gemfile:rake: ~> 13.3 (installed: 13.3.1)rspec: ~> 3.13 (installed: 3.13.2)Gemfile.lockfor consistent dependency installationCI/CD Improvements
actions/checkout@v2→actions/checkout@v4Testing
✅ All tests pass (36 examples, 0 failures, 6 pending)
The 6 pending tests are intentional - they're for the "Conjured Items" feature which is part of the kata challenge.
Impact
Each change was committed separately to maintain a clean git history and ensure the project remained in a working state throughout the upgrade process.