jnunemaker/twitter — pull request #269 by spagalloco (2012-06-12 15:51:34+00:00)
Title: define the middleware as a Faraday::Builder

Stemming from the discussion in b1c4dab39732cc73f93c9e89ebde5089e210a46b the middleware is now a `Faraday::Builder` instance. I added a test for the existence of the Builder/stack but stopped short of testing the middleware itself as that is already covered by faraday's tests.

In the process of working on this, I noticed that the tests that use the `media_endpoint` are now failing. It appears to have something to do with the `Requestable#connection`, I don't see how an alternate endpoint can be defined. Still investigating.