Skip to content

fix: Ruby 3 keyword argument forwarding compatibility#1

Draft
khasinski wants to merge 1 commit intocombinaut:masterfrom
khasinski:ruby-3-compat
Draft

fix: Ruby 3 keyword argument forwarding compatibility#1
khasinski wants to merge 1 commit intocombinaut:masterfrom
khasinski:ruby-3-compat

Conversation

@khasinski
Copy link

Summary

  • Use **options instead of extracting kwargs from trailing Hash in *objects
  • Forward **options to transaction_without_retry

In Ruby 3, kwargs are no longer auto-converted from a trailing positional Hash. This change is backward-compatible with Ruby 2.5+.

Use **options instead of extracting kwargs from *objects trailing hash.
In Ruby 3, kwargs are no longer auto-converted from a trailing Hash in
the positional args splat.

Backward-compatible with Ruby 2.7.
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