Fix use with keyword arguments for Ruby 3.0#1701
Conversation
The added test case would, prior to the fix, fail, under Ruby 3.0, with the following error: ``` MiddlewareTest#test_handles_keyword_arguments_0: ArgumentError: wrong number of arguments (given 2, expected 1) ``` The change itself was inspired by rack/rack#1505
|
The failure on Ruby-head seems unrelated to the changes here. |
|
@zzak it looks like we have a couple issues with the CI. For some reason native extensions are failing on ruby-head, and we're missing a secret for |
I think that's because of "PRs from forks" are not allowed to access secrets (consider someone doing something like
To my understanding, nothing like Travis CI's I will submit a PR later today. |
See #1703 Edit: That PR did not solve "fails on ruby-head", but it at least disables |
|
Thanks for your contributions! |
The added test case would, prior to the fix, fail under Ruby 3.0, with the following error:
The change itself was inspired by rack/rack#1505