Repository navigation
Run CI on supported Ruby 3.3, 3.4, and 4.0 - #35
Merged
Merged
Conversation
Drop EOL branches from the spec matrix and depend on logger so the suite loads under Bundler on Ruby 4.0. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
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
Updates the spec job so the suite runs on every stable Ruby branch that is still supported.
2.7,3.0,3.1,3.2,3.3,3.43.3,3.4,4.0Source of truth is the Ruby Maintenance Branches page, checked 2026-11-04:
That matches endoflife.date/ruby (page last updated 24 October 2026): 4.0, 3.4, and 3.3 are in support, and 3.2 ended on 31 March 2026.
Ruby 4.1 is on the branches page as a preview (normal maintenance until TBD). It is not a stable release, it is not listed as supported on endoflife.date, and ruby/setup-ruby only publishes
4.1.0-preview1. It is not in this matrix.Ruby 4.0 moved
loggerfrom a default gem to a bundled gem (Ruby 4.0.0 release notes). Under Bundler,require 'logger'then raisesLoadError. The gemspec now has a runtime dependency onlogger. The version Bundler resolved, 1.7.0, requires Ruby>= 2.5, which is the floor the gemspec already declares. Locally,bundle exec rakepassed on 3.3.13, 3.4.12, and 4.0.9 (34 examples, 0 failures on each).publish.ymland the commented-out RuboCop job are unchanged.For August to decide
cronitor.gemspecstill setsrequired_ruby_versionto>= 2.5. The new matrix's oldest version is 3.3.Suggestion: raise
required_ruby_versionto>= 3.3, the oldest branch still in security maintenance. Left unchanged in this PR.