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

Merged
merged 3 commits into from
Jan 18, 2023

Commits on Jan 18, 2023

  1. Run tests against Ruby 3.2

    timrogers committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    68025fa View commit details
    Browse the repository at this point in the history
  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.
    timrogers committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    d064c47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    012f510 View commit details
    Browse the repository at this point in the history