Skip to content

chore: Require ruby 3.3 or newer and test on ruby 4.0 - #127

Merged
LuukvH merged 2 commits into
masterfrom
chore/ruby-3.3-minimum
Nov 20, 2026
Merged

LuukvH merged 2 commits into
masterfrom
chore/ruby-3.3-minimum

Conversation

@LuukvH

@LuukvH LuukvH commented Nov 16, 2026

Copy link
Copy Markdown
Contributor
  • Raise required_ruby_version to >= 3.3, 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 TargetRubyVersion to 3.3

Overlaps with #115, which also changes the CI matrix, .rubocop.yml and the gemspec; whichever lands second needs a small rebase.

Drop support for ruby 3.1 and 3.2 and add ruby 4.0 to the CI matrix. Rubocop now targets ruby 3.3.
@LuukvH
LuukvH requested review from a team and a balanced review from Copilot November 16, 2026 10:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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
LuukvH enabled auto-merge (rebase) November 16, 2026 21:55
@RinseV RinseV assigned LuukvH and unassigned RinseV Nov 17, 2026
@LuukvH
LuukvH merged commit 4d67d6c into master Nov 20, 2026
20 checks passed
@LuukvH
LuukvH deleted the chore/ruby-3.3-minimum branch November 20, 2026 14:12
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.

3 participants