Skip to content

Modernize CI to Ruby 3.1-3.3, Rails 6.1-7.1, paper_trail 12-15#55

Merged
fusion94 merged 1 commit intomasterfrom
fix/51-modernize-ci-matrix
Mar 15, 2026
Merged

Modernize CI to Ruby 3.1-3.3, Rails 6.1-7.1, paper_trail 12-15#55
fusion94 merged 1 commit intomasterfrom
fix/51-modernize-ci-matrix

Conversation

@fusion94
Copy link
Collaborator

Summary

Modernize the entire test matrix and dependency requirements to current, supported versions.

Changes

  • Ruby: 2.5/2.6 (EOL) → 3.1, 3.2, 3.3
  • Rails: 4.2-6.0 (EOL) → 6.1, 7.0, 7.1
  • paper_trail: 3.0-10.0 → 12.0, 15.0
  • CI: Updated actions (checkout v4, ruby/setup-ruby v1), bundler-cache
  • Gemspec: required_ruby_version >= 3.1, Rails >= 6.1, < 8.0
  • Dev deps: factory_girl → factory_bot, rspec-rails 3 → 6, rake 12 → 13
  • Gemfiles: Removed 34 obsolete Appraisal gemfiles, added 8 modern ones
  • Added .ruby-version (3.3.0)

Test Plan

  • CI matrix runs 3 Ruby versions × 8 gemfiles = 24 combinations
  • Covers both kaminari and will_paginate pagination
  • Validates compatibility across Rails 6.1/7.0/7.1 with paper_trail 12/15

Note

CI will likely fail on first run — the codebase itself needs updates for Rails 7.x and paper_trail 15 compatibility (issues #52, #53). This PR establishes the correct CI infrastructure for that work.

Closes #51

- Remove Ruby 2.5/2.6 (EOL) from CI matrix
- Remove Rails 4.2, 5.0, 5.1, 5.2, 6.0 (EOL) from test matrix
- Add Rails 6.1, 7.0, 7.1 with paper_trail 12.0 and 15.0
- Update gemspec: require Ruby >= 3.1, Rails >= 6.1 < 8.0
- Replace factory_girl_rails with factory_bot_rails
- Update rspec-rails to ~> 6.0
- Update actions/checkout to v4, ruby/setup-ruby@v1
- Add .ruby-version (3.3.0)
- Remove 34 obsolete Appraisal gemfiles, add 8 modern ones

Refs #51
@fusion94 fusion94 merged commit 7365b9b into master Mar 15, 2026
0 of 24 checks passed
@fusion94 fusion94 deleted the fix/51-modernize-ci-matrix branch March 15, 2026 04:35
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.

Upgrade CI matrix to modern Ruby versions

1 participant