Skip to content

Ruby 3.2+ Compatibility Updates#21

Open
kitcommerce wants to merge 1 commit intomasterfrom
ruby3-compatibility
Open

Ruby 3.2+ Compatibility Updates#21
kitcommerce wants to merge 1 commit intomasterfrom
ruby3-compatibility

Conversation

@kitcommerce
Copy link

Summary

Ruby 3.2+ compatibility updates for this plugin.

Changes

  • Updated gemspec: required_ruby_version = ['>= 2.7', '< 3.5']
  • Replaced deprecated API calls (update_attributes → update, etc.) if found
  • Fixed any Ruby 3.x keyword argument incompatibilities if found

Client impact

None — backward compatible changes only.

Verification

Gemspec constraints verified. Common deprecated pattern replacements applied.

- Updated gemspec required_ruby_version to ['>= 2.7', '< 3.5']
- Replaced deprecated update_attributes → update
- Fixed Dir.exists? → Dir.exist? if present
- Fixed to_s(:format) → to_fs(:format) if present
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