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

Add support for Ruby 3.2.0 in Faraday v1.x (#1483) #1

Closed
wants to merge 1 commit into from

Conversation

bolshakov
Copy link
Member

I backported this fix to v1.4.1 lostisland#1483 f

* Run tests against Ruby 3.2

* Declare `DependencyLoader#new` with `ruby2_keywords` to fix Ruby 3.2.0

When adding a middleware that receives keyword arguments in the
constructor, the call from `DependencyLoader#new` fails because
the method is not defined using `ruby2_keywords`.

This adds the required `ruby2_keywords` declaration to
`DependencyLoader#new`, fixing the tests and getting Faraday v1.x
working with Ruby 3.2.0.

Fixes lostisland#1479.

Co-authored-by: Matt <iMacTia@users.noreply.github.com>
@bolshakov bolshakov marked this pull request as draft March 22, 2023 13:53
@bolshakov bolshakov closed this Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants