Skip to content

WA-NEW-032: Audit and update gem dependency version constraints #693

@kitcommerce

Description

@kitcommerce

Summary

The gemspec has ~40 dependencies, many pinned to very specific versions (~> X.Y.Z). Some of these pins may block Rails 7 or Ruby 3.4. Audit all constraints and loosen where safe.

High-risk pins to check:

  • money-rails ~> 1.13.0 — needs 1.15+ for Rails 7
  • sassc-rails ~> 2.1.0 — may need update
  • premailer-rails ~> 1.11.0 — check Rails 7 compat
  • dragonfly ~> 1.3.0 — check for Ruby 3.x issues
  • All *-rails JS/CSS asset gems (many are abandoned)

Approach

For each dependency:

  1. Check if current pin works with Rails 7 + Ruby 3.2
  2. Check latest version compatibility
  3. Loosen constraint to allow compatible upgrades
  4. Document abandoned/unmaintained gems that may need replacement

Objective

Remove version pins that block the Rails 7 / Ruby 3.4 upgrade.

Client impact

Low — loosening constraints allows upgrades but doesn't force them.

Acceptance Criteria

  • All deps audited and documented
  • Constraints loosened where safe
  • bundle install resolves on Rails 6.1 (regression)
  • Document any deps that are hard blockers

Verification Plan

  1. bundle install succeeds before and after changes
  2. Run full test suite to catch any breakage from updated deps
  3. Publish audit results in docs/research/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions