TheGiftsProject/restafari — pull request #1 by yelled3 (2012-10-04 12:22:52+00:00)
Title: Json parsing fix

Restafari::Response JSON.parse was throwing:

# (JSON::ParserError) "A JSON text must at least contain two octets!"

when trying to parse invalid values.
see:
http://stackoverflow.com/questions/8390256/a-json-text-must-at-least-contain-two-octets