Skip to content

Update gem dependencies and drop old versions of rails and ruby#318

Open
invalidusrname wants to merge 35 commits intocharlotte-ruby:masterfrom
invalidusrname:loosen-development-dependencies
Open

Update gem dependencies and drop old versions of rails and ruby#318
invalidusrname wants to merge 35 commits intocharlotte-ruby:masterfrom
invalidusrname:loosen-development-dependencies

Conversation

@invalidusrname
Copy link
Member

@invalidusrname invalidusrname commented Feb 8, 2026

In an attempt to bring this gem up to date, I'm proposing we drop support for versions of ruby and rails that are no longer maintained:

Ruby changes

Ruby Versions Dropped:

  • 2.7.5 - End of life, no longer receiving security updates
  • 3.1.2 - Removed from CI test matrix

Ruby Versions Supported:

  • 3.3.10 - Currently maintained stable version
  • 4.0.1 - Latest stable version

Rails Versions Dropped:

Rails Versions Supported

  • 7.2+

Other notable changes

  • Updated CI matrix from ['3.1.2', '2.7.5'] to ["3.3.10", "4.0.1"]

  • Removed bundler as a dev dependency

  • Updated RuboCop configuration and linting

  • Updated development dependencies (rspec-rails ~> 8.0, capybara > 3.40, sqlite3 > 2.9)

  • Fixed Rails migration compatibility issues (removed timestamped_migrations check)

Dependencies Updated:

  • friendly_id: unspecified → ~> 5.6
  • nokogiri: conditional version logic → ~> 1.19
  • Added MFA requirement for gem publishing

Deprecation Removals:

  • Removed legacy counter_caching? method

@invalidusrname invalidusrname force-pushed the loosen-development-dependencies branch from 83e59c2 to c833158 Compare February 8, 2026 19:35
@invalidusrname invalidusrname marked this pull request as ready for review February 8, 2026 19:36
@invalidusrname
Copy link
Member Author

I did some initial testing with a new rails 8.1.2 app. Initializer and migrations seem ok using sqlite. I added logged a few impressions. If anyone else wants to give this a whirl, feel free to try it out and let me know if you find any problems. If not, I'll likely merge this into master in the upcoming week and put a full release out soon after

Screenshot 2026-02-08 at 11 04 38 PM

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