Skip to content

Require Ruby 2.4 or newer - #210

Open
jjb wants to merge 1 commit into
ci-actions-latestfrom
ruby-2.4-floor
Open

jjb wants to merge 1 commit into
ci-actions-latestfrom
ruby-2.4-floor

Conversation

@jjb

@jjb jjb commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #208.

Ruby 2.2 and 2.3 are long past end of life, and 2.4 is the minimum Ruby for every Rack 3 release. CI already skipped Ruby 2.2, and Ruby 2.3 only ran against Rack 2.

  • gemspec: required_ruby_version >= 2.4 (was >= 2.2.2).
  • CI: dropped Ruby 2.3 and the exclude entries, which no longer apply.
  • Rack::JSONBodyParser: removed the Regexp#match fallback for Rubies older than 2.4.
  • Rack::JSONP: removed the Ruby 1.8 U2028/U2029 constants. They were public, so this belongs in the next major release.
  • CONTRIBUTING: Ruby 2.4+. (The Travis CI link fix is in CONTRIBUTING: point at GitHub Actions instead of Travis CI #212.)

This is a breaking change for anyone still on Ruby 2.2 or 2.3, so it should ship in the next major version.

🤖 Generated with Claude Code

Ruby 2.2 and 2.3 are long EOL, and 2.4 is the floor for every Rack 3
release. Ruby 2.2 was already untested, and 2.3 only ran against Rack 2.

- gemspec: required_ruby_version >= 2.4.
- CI: drop Ruby 2.3 and the now-moot exclude entries.
- JSONBodyParser: drop the pre-2.4 Regexp#match fallback.
- JSONP: drop the Ruby 1.8 U2028/U2029 constants.
- CONTRIBUTING: Ruby 2.4+.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jjb
jjb force-pushed the ci-actions-latest branch from 7fac689 to ea60151 Compare November 21, 2026 22:02
@jjb
jjb marked this pull request as ready for review November 21, 2026 22:08
@jjb
jjb requested review from ioquatix and mpalmer November 21, 2026 22:08

@mpalmer mpalmer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't review or interact with changes generated by LLMs, on principle.

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.

2 participants