team-telnyx / telnyx-ruby

Telnyx API Ruby Client
https://developers.telnyx.com/docs/api/v2/overview
MIT License
24 stars 17 forks source link

Faraday dependency: allow using 1.x #57

Closed ledbettj closed 3 years ago

ledbettj commented 3 years ago

This widens the permitted faraday version from ~> 0.13 (with some restrictions) to >= 0.13, < 2.0. Tests pass locally using both Faraday = 0.17.3 as well as using ~> 1.0.

The only breaking change I found was related to restructuring the error hierarchy, which necessitated a single minor code change that appears to be backwards compatible.

With this change, the only dependency holding back ruby 3.0 support is net-http-persistent.

ledbettj commented 3 years ago

Test failures are due to https://github.com/team-telnyx/telnyx-mock/issues/19