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

Fix use with kwargs #1505

Merged
merged 1 commit into from Jan 22, 2020
Merged

Fix use with kwargs #1505

merged 1 commit into from Jan 22, 2020

Conversation

kamipo
Copy link
Contributor

@kamipo kamipo commented Jan 22, 2020

Rails also has similar issue and is already fixed in
rails/rails#38091.

Rails also has similar issue and is already fixed in
rails/rails#38091.
@ioquatix ioquatix merged commit 8dad949 into rack:master Jan 22, 2020
@ioquatix
Copy link
Member

Thanks!

@kamipo kamipo deleted the fix_use_with_kwargs branch January 22, 2020 04:34
walro added a commit to walro/sinatra that referenced this pull request May 28, 2021
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
walro added a commit to walro/sinatra that referenced this pull request May 28, 2021
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
jkowens pushed a commit to sinatra/sinatra that referenced this pull request Jun 2, 2021
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
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