adelevie / parse-ruby-client

A simple Ruby client for the parse.com REST API
MIT License
415 stars 137 forks source link

NoMethodError occuered during retry request. #227

Closed kyokutyo closed 4 years ago

kyokutyo commented 4 years ago

I'm using parse-ruby-client (1.0.0.alpha3) and faraday (0.15.4). I found NoMethodError occurred during retry request.

sleep_amount method in Faraday's Request::Retry is removed by this pull request. Faraday 0.15.0: https://github.com/lostisland/faraday/releases/tag/v0.15.0

With current code base, should version-range of faraday be ['>= 0.9.2', '< 0.15.0'] in parse-ruby-client.gemspec?

olleolleolle commented 4 years ago

That's a good attempt, could you make an experimental PR? Update: I made one.

olleolleolle commented 4 years ago

@kyokutyo Thank you for the analysis, I made the suggested change, and it passes the tests, now!