Skip to content

WA-NEW-026: Plugin modernization Phase 2 — API and blog plugins #676

@kitcommerce

Description

@kitcommerce

Summary

Continue plugin modernization with the most commonly used plugins:

  • workarea-commerce/workarea-api
  • workarea-commerce/workarea-blog
  • workarea-commerce/workarea-reviews
  • workarea-commerce/workarea-gift-cards

These are the highest-traffic plugins after the core dependency gems (Phase 1, now done).

Scope per plugin

  1. Ensure gemspec allows Ruby 3.2+ (>= 2.7, < 3.5)
  2. Replace deprecated APIs (update_attributes, Dir.exists?, to_s(:format), etc.)
  3. Fix any Ruby 3.x incompatibilities
  4. Ensure tests pass on Ruby 2.7.8
  5. Open PRs on each repo

Objective

Modernize the 4 most-used Workarea plugins for Ruby 3.2+ compatibility.

Client impact

None — backward compatible changes only.

Acceptance Criteria

  • All 4 plugins pass tests on Ruby 2.7.8
  • Gemspecs allow Ruby >= 2.7, < 3.5
  • PRs opened on each repo

Verification Plan

  1. Clone each repo, run test suite locally
  2. Verify zero deprecated API usage in each
  3. Link PRs from this issue

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