Skip to content

Use hash-literal in package_test over kwarg#427

Open
cosgroveb wants to merge 1 commit intoShopify:mainfrom
cosgroveb:hash_kwarg_deprecation
Open

Use hash-literal in package_test over kwarg#427
cosgroveb wants to merge 1 commit intoShopify:mainfrom
cosgroveb:hash_kwarg_deprecation

Conversation

@cosgroveb
Copy link

It is deprecated in Ruby 3.3 and removed in 3.4.

What are you trying to accomplish?

I am building and packaging Packwerk internally for Ruby 3.4.

This will be necessary in the future for upstream and so I am
contributing this minor change back.

What approach did you choose and why?

Hash-literal

What should reviewers focus on?

N/A

Type of Change

  • Bugfix
  • New feature
  • Non-breaking change (a change that doesn't alter functionality - i.e., code refactor, configs, etc.)

Checklist

  • I have updated the documentation accordingly. (N/A)
  • I have added tests to cover my changes. (N/A)
  • It is safe to rollback this change.

It is deprecated in Ruby 3.3 and removed in 3.4.
@cosgroveb cosgroveb requested a review from a team as a code owner March 6, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant