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.0: split positional/keyword args #143

Merged
merged 1 commit into from Mar 3, 2021

Conversation

bpo
Copy link
Contributor

@bpo bpo commented Mar 3, 2021

The current version of the gem converts keyword args to a hash arg in Ruby 3.0. I changed the tests to cause a warning in Ruby 2.7 and failure in Ruby 3.0 without the fix.

The proposed fix in wrapper.rb is backwards compatible with 2.2.0 (minimum version from the gemspec).

Alternately, maybe cut a new major version that requires Ruby 2.7+?

Let me know what you think.

@mperham
Copy link
Owner

mperham commented Mar 3, 2021

LGTM

@mperham
Copy link
Owner

mperham commented Mar 3, 2021

I'll cut a Ruby 3.0+ release in about 2030. 😆

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.

None yet

2 participants