Zack Hobson
5bee1485f2
Merge remote branch 'technoweenie/master'
2009-12-11 17:20:40 -08:00
Zack Hobson
be824614b3
Added note about testing to the README.
2009-12-11 17:20:02 -08:00
rick
ba8632bcd0
force + to be uri-encoded
2009-12-11 16:48:34 -08:00
Zack Hobson
0a7ce75588
MockRequest test adapter, connection error.
2009-12-11 11:34:10 -08:00
Zack Hobson
6656d37569
Added summary and desc to gemspec.
2009-12-11 11:22:17 -08:00
Zack Hobson
aeaa56fb2b
tap {|a| a.flatten!} -> flatten!
2009-12-11 09:55:02 -08:00
rick
8430add4c7
Extract Typhoeus header parsing logic to Faraday::Adapter::Typhoeus#parse_response_headers. Add test for Location header (multiple colons) at court3nay's suggestion.
2009-12-10 17:20:28 -08:00
rick
8128ad5ad6
eradicate final traces of Faraday::Response#content
2009-12-10 17:10:15 -08:00
rick
68aa1f2d6b
better spacing?
2009-12-10 17:06:40 -08:00
rick
283696e242
remove final traces of unused response subclasses
2009-12-10 17:04:25 -08:00
rick
cd68a2e609
fixing bugs in the Typhoeus response header parsing
2009-12-10 17:03:01 -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
53df67955a
That is slightly better.
2009-12-10 13:25:24 -08:00
Zack Hobson
356f279781
Do not load ruby-debug.
2009-12-10 13:22:14 -08:00
Zack Hobson
97491e66dd
Header processing for the Typhoeus adapter, fixes broken test.
2009-12-10 13:21:23 -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
dc25245ced
note the alpha quality of the lib
2009-12-10 09:14:03 -08:00
rick
cbeacbbdfd
Version bump to 0.0.1
2009-12-10 09:13:21 -08:00
rick
d91e3b17ec
Version bump to 0.0.0
2009-12-10 09:13:16 -08:00
rick
15f9bfe5db
tests for the DelayedYajlResponse
2009-12-10 09:12:40 -08:00
rick
43884ec7d9
add support for parallel json parsing
2009-12-10 09:06:28 -08:00
rick
9b0d33fa85
quick docs
2009-12-10 09:00:37 -08:00
rick
3c8a7daca6
add Typhoeus adapter, with parallel support
2009-12-10 08:59:53 -08:00
rick
93d08dd305
parse @scheme from the uri in Faraday::Connection
2009-12-10 08:31:48 -08:00
rick
899837f181
add YajlResponse
2009-12-10 07:54:50 -08:00
rick
07d9de223d
add StringResponse + tests
2009-12-10 07:44:32 -08:00
rick
4930276c63
using TestConnection in ConnectionTest is unnecessary
2009-12-10 07:44:20 -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
5e05987404
fix rake test pattern
2009-12-10 06:21:16 -08:00
rick
637909c690
set default Faraday::Connection#path_prefix
2009-12-10 06:11:11 -08:00
rick
f5128bad51
rename test classes
2009-12-10 05:54:12 -08:00
rick
0a217b7248
paranoid about thread safety
2009-12-10 05:50:11 -08:00
rick
f6d7be4a1d
add Faraday::Connection initializer for setting default @host/@port/@path_prefix options
2009-12-10 05:41:42 -08:00
rick
78a6e7331d
move uri logic to Faraday::Connection#build_uri. add #path_prefix option.
2009-12-10 05:36:52 -08:00
rick
e1667ee024
add initial Faraday::Connection with #get method
2009-12-10 05:14:53 -08:00
rick
5b500c5307
remove generated test
2009-12-10 05:13:57 -08:00
rick
f6bf1677af
Initial commit to faraday.
2009-12-10 04:43:53 -08:00