24 Commits

Author SHA1 Message Date
rick
b0941f3dc2 add rough ActionDispatch adapter for testing Rails 3 APIs with Faraday 2010-06-07 11:43:13 -04:00
rick
bbab11d606 Add Faraday::Connection#basic_auth and Faraday::Connection#token_auth for specifying Authorization headers 2010-04-27 10:53:05 -04:00
rick
3cbff597d3 Add shortcut methods on Faraday for using a default Faraday::Connection instance 2010-04-27 10:21:57 -04:00
rick
6220abd088 use net/http by default if no middleware is set 2010-04-27 10:03:13 -04:00
rick
c438392a6c fix Patron module shortcut 2010-04-22 13:39:35 -04:00
rick
67d619d780 rename Alice => Faraday. 2010-01-12 17:03:34 -08:00
Zack Hobson
cf2589a626 Support for custom request encoding (e.g. POST or JSON). 2009-12-31 14:38:58 -08:00
rick
a85ab797bb add autoload_all helper 2009-12-19 16:26:56 -08:00
rick
8ed4c74d4c define a basic Faraday::TestConnection 2009-12-19 16:20:02 -08:00
rick
92accb2b8e merge 2009-12-11 18:31:07 -08:00
rick
26e6c7ec70 small docs 2009-12-11 18:27:13 -08:00
rick
376e9bd863 get parallel tests running on net/http (parallel methods are a no-op) 2009-12-11 18:25:31 -08:00
rick
75bec559d6 dont require typhoeus for tests 2009-12-11 18:18:42 -08:00
Zack Hobson
0a7ce75588 MockRequest test adapter, connection error. 2009-12-11 11:34:10 -08:00
rick
381c134a85 pull in Object#tap. what a fun ruby 1.9/ActiveSupport method! 2009-12-10 17:02:32 -08:00
Zack Hobson
47fc27ac6d Make API match the README, remove StringResponse.
For YajlResponse the JSON body was being returned directly instead of
the response object, which conflicted with the README. I also removed
the StringResponse class since it wasn't really being used.
2009-12-10 12:46:50 -08:00
rick
3c8a7daca6 add Typhoeus adapter, with parallel support 2009-12-10 08:59:53 -08:00
rick
d46bbceb07 add support for configurable Faraday::Connection#response_class 2009-12-10 07:14:06 -08:00
rick
46dfd02f26 use a cleaner block syntax for building the Faraday::Response 2009-12-10 07:00:57 -08:00
rick
c5e155f178 add streaming support 2009-12-10 06:55:35 -08:00
rick
a7416caeeb add basic NetHttp adapter with GET support. supply sinatra server for testing 2009-12-10 06:21:41 -08:00
rick
0a217b7248 paranoid about thread safety 2009-12-10 05:50:11 -08:00
rick
e1667ee024 add initial Faraday::Connection with #get method 2009-12-10 05:14:53 -08:00
rick
f6bf1677af Initial commit to faraday. 2009-12-10 04:43:53 -08:00