codingjester/tumblr_client — pull request #5 by bvass (2012-04-16 23:36:24+00:00)
Title: Fixed JSON Parsing; switched faraday_stack to faraday_middleware

With rails gem installed, user gets "TypeError: can't convert Hash into String" after performing:

$ tumblr
>> client = Tumblr.new
>> client.info

JSON was being double-parsed in request.rb; response.body was already in JSON format. Reordered Faraday elements to suggested Request, Response and switched faraday_stack to faraday_middleware.