Skip to content

Require Ruby 3.0 or newer - #19

Merged
orien merged 1 commit into
masterfrom
minimum-ruby-3-0
Nov 22, 2026
Merged

orien merged 1 commit into
masterfrom
minimum-ruby-3-0

Conversation

@orien

@orien orien commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Context

The gem declares Ruby 2.0 or newer, a floor set in 2015 when 2.0 was the oldest Ruby still supported. Every Ruby below 3.3 is now out of support, and 2.0 through 2.7 have been for at least three years. Keeping them in the matrix costs sixteen CI jobs per push and forces fallbacks around APIs that newer Rubies have, such as the monotonic clock, which an open bug fix needs.

Change

  • The gemspec requires Ruby 3.0 or newer.
  • The CI matrix runs Ruby 3.0 through 4.0, JRuby and TruffleRuby, on the current Ubuntu image rather than a pinned one, with the current checkout action.
  • The README states the new floor.

Considerations

  • Bundler and RubyGems resolve by required_ruby_version, so applications on older Rubies keep getting 1.1.1 rather than failing. A very old Bundler errors on bundle update instead, with the requirement named.
  • Because of that, this is not an API change and a minor release covers it, which is the usual practice for dropping end-of-life Rubies.

@orien
orien force-pushed the minimum-ruby-3-0 branch 2 times, most recently from 41648ea to 8cc2678 Compare November 22, 2026 10:23
Ruby 2.0 through 2.7 have been out of support since 2023 at the latest,
and keeping them means writing around APIs that newer Rubies have, such
as the monotonic clock. Raise the floor to 3.0, drop those versions from
the CI matrix, and run CI on the current Ubuntu image rather than a
pinned one, with the current checkout action.

Applications on older Rubies keep resolving to 1.1.1.
@orien
orien marked this pull request as ready for review November 22, 2026 10:25
@orien
orien merged commit dcec970 into master Nov 22, 2026
16 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