dependency on faraday_middleware, which is deprecated/obsolete
Hi,
According to https://github.com/lostisland/faraday_middleware/README.md, that component is deprecated and should be moved away from. Are there plans to do so for faraday-http-cache?
Thanks!
I'll take a look. Thanks for the info.
Any updates I'll post here.
Hello @Apteryks, sorry for my late reply.
faraday_middleware gem is only a development dependency when ENV['FARADAY_VERSION'] is set to <= 1.0, faraday-http-cache will pick the proper "Middleware" class according to Faraday version you're using dynamically.
https://github.com/sourcelevel/faraday-http-cache/blob/3f1bf705c9b6050cf48d382b33bc0ee402012ccd/lib/faraday/http_cache.rb#L351-L355
So it should work in all versions, but if you get any issue please let me know.