Repository navigation
chore: Require ruby 3.3 or newer and test on ruby 4.0 - #127
Merged
Merged
Conversation
Drop support for ruby 3.1 and 3.2 and add ruby 4.0 to the CI matrix. Rubocop now targets ruby 3.3.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Ruby 3.3 baseline and CI coverage updates.
No open issues 🎉
What changed in this PR
Updates the gem’s supported Ruby baseline to 3.3, aligning installation requirements, linting, and CI coverage while adding Ruby 4.0 testing.
Changes:
- Require Ruby 3.3 or newer, dropping support for Ruby 3.1 and 3.2.
- Run the RSpec CI matrix on Ruby 3.3, 3.4, and 4.0.
- Set RuboCop’s target Ruby version to 3.3.
These files also overlap with #115, so whichever PR lands second will need reconciliation.
| File | Description |
|---|---|
rspec-github.gemspec |
Raises the minimum required Ruby version to 3.3. |
.rubocop.yml |
Aligns RuboCop’s target with Ruby 3.3. |
.github/workflows/ci.yml |
Removes Ruby 3.1 and 3.2 from CI and adds Ruby 4.0. |
Review effort: Balanced
LuukvH
enabled auto-merge (rebase)
November 16, 2026 21:55
RinseV
approved these changes
Nov 17, 2026
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.
required_ruby_versionto>= 3.3, dropping support for ruby 3.1 and 3.2TargetRubyVersionto 3.3Overlaps with #115, which also changes the CI matrix,
.rubocop.ymland the gemspec; whichever lands second needs a small rebase.