technoweenie/faraday — pull request #208 by technoweenie (2012-10-29 00:55:00+00:00)
Title: Deprecate old middleware

If #207 is acceptable, this moves all of the current middleware/adapters into the RackBuilder namespace. Really ugly, but gives us a simple way to keep legacy compatibility with 0.8.5, and remove everything for 1.0.

I was able to get the [github/github-services](/github/github-services) tests passing with a few tweaks:

* Cut a custom Faraday release like v0.8.9.pre (so that gems like Tinder and FaradayMiddleware pick it up)
* `require 'faraday/legacy'` before other Faraday gems can load Faraday