Skip to content

Move to Ruby 3.4 and raise the minimum to 3.3 - #158

Merged
nebhale merged 1 commit into
mainfrom
ruby-3.4
Nov 16, 2026
Merged

nebhale merged 1 commit into
mainfrom
ruby-3.4

Conversation

@nebhale

@nebhale nebhale commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Summary

Ruby 3.2 reached end of life on 2026-03-31, and it was holding back parallel and simplecov, which now require Ruby 3.3.

  • Develop and test on Ruby 3.4.12 (.ruby-version).

  • Raise the supported floor to Ruby 3.3: required_ruby_version in the gemspec and TargetRubyVersion in .rubocop.yml.

  • Allow Ruby 4 in the Gemfile (ruby "~> 3.2" → ruby ">= 3.3"), instead of capping it below 4.0.

  • Update every gem in the lockfile, plus Bundler:

    Gem From To
    parallel 1.28.0 2.3.0
    prism 1.9.0 2.1.0
    rubocop-ast 1.50.0 1.51.0
    simplecov 1.2.0 1.3.2
    Bundler 2.4.21 4.1.0
  • Replace the stale arm64-darwin-22 lockfile platform with arm64-darwin-25.

Two small fixes ride along because the updates surfaced them:

  • SimpleCov 1.3 deprecates add_filter in favor of skip.
  • RuboCop wants rubocop-minitest and rubocop-rake loaded under plugins: rather than require:.

Notes

  • Bundler 4 rewrites the lockfile slightly: pg gains a plain source-gem entry, and RUBY VERSION and BUNDLED WITH are indented two spaces.
  • simplecov is now constrained to ~> 1.3 in the Gemfile, matching how Dependabot bumps these constraints.

Testing

bundle exec rake (tests and RuboCop) passes with no warnings: 32 tests, 0 failures, no RuboCop offenses.

  • Ruby 3.4.12 natively on macOS (arm64-darwin-25), where Gemfile.lock was unchanged by bundle install.
  • Ruby 3.3.13, 3.4.12 and 4.0.9 on Linux (x86_64-linux).

🤖 Generated with Claude Code

Ruby 3.2 reached end of life on 2026-03-31, and it was holding back
parallel and simplecov, which now require Ruby 3.3. Develop and test on
Ruby 3.4.12, raise the supported floor to 3.3, and allow Ruby 4 in the
Gemfile instead of capping it below 4.0.

Update every gem in the lockfile, including parallel 2.3.0, prism 2.1.0,
rubocop-ast 1.51.0, simplecov 1.3.2 and Bundler 4.1.0, and replace the
stale arm64-darwin-22 platform with arm64-darwin-25.

Follow-on fixes: SimpleCov 1.3 deprecates add_filter in favor of skip,
and RuboCop wants rubocop-minitest and rubocop-rake loaded as plugins
rather than through require.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nebhale
nebhale merged commit 774384f into main Nov 16, 2026
1 check passed
@nebhale
nebhale deleted the ruby-3.4 branch November 16, 2026 21:20
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.70%. Comparing base (39533ac) to head (494cc5e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
+ Coverage   97.67%   97.70%   +0.02%     
==========================================
  Files           3        3              
  Lines          86       87       +1     
==========================================
+ Hits           84       85       +1     
  Misses          2        2              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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