Skip to content

Require Ruby 3.1 or newer#106

Merged
drinkbeer merged 1 commit into
mainfrom
drinkbeer/require-ruby-3-1
Jul 13, 2026
Merged

Require Ruby 3.1 or newer#106
drinkbeer merged 1 commit into
mainfrom
drinkbeer/require-ruby-3-1

Conversation

@drinkbeer

Copy link
Copy Markdown

Summary

  • raise the minimum supported Ruby version from 2.7 to 3.1
  • update the documented Ruby requirement
  • refresh the lockfile so brotli_splice remains a direct development dependency rather than appearing under response_bank's runtime dependencies

Why

Dependabot resolves updates against the lowest Ruby version allowed by a gem's required_ruby_version. It currently selects Ruby 2.7.8, which cannot resolve brotli_splice 0.1.1 because that gem requires Ruby 3.1 or newer.

Ruby 3.1 also matches the minimum requirement of Rails 7.2, the oldest Rails version in the current CI matrix.

Testing

  • bundle exec rake test — 62 runs, 332 assertions, 0 failures
  • built the gem and verified required_ruby_version is >= 3.1.0
  • GitHub Actions

Assisted-By: devx/f2254974-f01e-402d-bedc-9df4a1eeee9e
@drinkbeer drinkbeer requested a review from a team as a code owner July 10, 2026 20:27
@drinkbeer drinkbeer merged commit 77f5f25 into main Jul 13, 2026
13 checks passed
@drinkbeer drinkbeer deleted the drinkbeer/require-ruby-3-1 branch July 13, 2026 18:15
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