twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.35k stars 462 forks source link

fix: deprecation warning on Faraday #568

Closed ngouy closed 3 years ago

ngouy commented 3 years ago

warning:

WARNING: Faraday::Connection#basic_auth is deprecated; it will be removed in version 2.0. While initializing your connection, use #request(:basic_auth, ...) instead. See https://lostisland.github.io/faraday/middleware/authentication for more usage info.

image

silikone commented 2 years ago

Thanks to @ngouy for the contribution.

@JenniferMah - Can we please have an update to the dependency spec such that the gem now is no longer resisting Faraday 2.0 and above.

twilio-ruby.gemspec: spec.add_dependency('faraday', '>= 0.9', '< 2.0') could now read: spec.add_dependency('faraday', '>= 0.9', '< 3.0')

/S