Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 3 KwArgs: Fix HCA Validations spec #12006

Merged
merged 0 commits into from
Mar 8, 2023
Merged

Conversation

ericboehs
Copy link
Contributor

Ruby 2.7 deprecated automatic casting of a hash passed as the last argument of a method to keyword arguments. You must now use actual keyword arguments (foo(bar: 'baz') instead of foo({bar: 'baz'})) or cast the hash to keyword args using the double splat (foo(**{bar: 'baz'})).

In preparation for upgrading to Ruby 3.0, we're implementing the new syntax for HCA::Validations spec.

@ericboehs ericboehs requested review from a team as code owners March 7, 2023 22:51
@va-vfs-bot va-vfs-bot temporarily deployed to eb-r3ka-hca-validations/main/main March 7, 2023 22:52 Inactive
@ericboehs ericboehs enabled auto-merge (squash) March 7, 2023 22:53
@va-vfs-bot va-vfs-bot temporarily deployed to eb-r3ka-hca-validations/main/main March 7, 2023 23:05 Inactive
@ericboehs ericboehs force-pushed the eb-r3ka-hca-validations branch from 8ea9f14 to 994e084 Compare March 7, 2023 23:17
@ericboehs ericboehs merged commit b27ad9c into master Mar 8, 2023
@ericboehs ericboehs deleted the eb-r3ka-hca-validations branch March 8, 2023 15:18
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.

3 participants