mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Faraday 2 was released in early 2022. As part of this major release, authentication helper methods (such as basic_auth) were removed from the Connection object and into middleware. This commit updates vmfloaty's dependency on Faraday to ~> 2 and updates the Http class to use the new authentication middleware. This upgrade is helpful because, in a CI context, vmfloaty is often installed alongside other gems that use Faraday >= 2, and vmfloaty's current dependency on Faraday ~> 1.5, >= 1.5.1 can cause unexpected dependency resolution. You can read more about this unexpected dependency behavior in this GitHub issue: https://github.com/puppetlabs/orchestrator_client-ruby/issues/41 |
||
|---|---|---|
| .. | ||
| vmfloaty | ||
| vmfloaty.rb | ||