centrifugal / rubycent

Ruby gem to communicate with Centrifugo HTTP API
MIT License
20 stars 16 forks source link

Can't be used with Faraday 2 #22

Closed GarrisonD closed 7 months ago

GarrisonD commented 7 months ago

cent requires faraday_middleware that can be used only with faraday 1.x.

Could not find compatible versions

Because cent >= 2.0.0 depends on faraday_middleware >= 1.0, < 2.A
  and faraday_middleware >= 1.0.0.rc1 depends on faraday ~> 1.0,
  cent >= 2.0.0 requires faraday ~> 1.0.
So, because Gemfile depends on cent ~> 2.2
  and Gemfile depends on faraday ~> 2.9,
  version solving has failed.
FZambia commented 7 months ago

@GarrisonD hello,

Could you check https://github.com/centrifugal/rubycent/pull/23 ? Hopefully will fix the issue, I am not Ruby dev - so if you can review PR would be nice.

@prikha FYI

GarrisonD commented 7 months ago

Done ✅

prikha commented 7 months ago

Glad they dropped it, it was one of the most confusing parts of Faraday. ✅

FZambia commented 7 months ago

Thanks guys, released v3.0.0.