Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information