135 Commits

Author SHA1 Message Date
rick
50023ad11d Release 0.9.0.rc4 2013-05-13 15:18:40 -06:00
rick
eb2a411cd0 Release 0.9.0.rc3 2013-05-13 14:41:08 -06:00
rick
e35819bbec Release 0.9.0.rc2 2013-05-13 13:32:06 -06:00
risk danger olson
baac8f0aab Release 0.9.0.rc1 2013-05-08 08:10:41 -06:00
Vijay Ramesh
7b9d583b62 Reset Faraday.default_connection on Faraday.default_adapter update 2013-05-06 14:31:10 -07:00
technoweenie
cc27ff9fb4 add Faraday::Builder warning 2012-12-30 11:47:48 -07:00
technoweenie
0431614bfe require monitor lazily 2012-12-28 02:06:46 -07:00
technoweenie
7e57b5eb2b lets try a monitor instead of a mutex 2012-12-28 02:01:54 -07:00
technoweenie
1aed2d1b17 Don't let nested mutex deadlock the thread. 2012-12-28 01:43:01 -07:00
technoweenie
77d7546d6d Builder => RackBuilder 2012-10-28 11:00:33 -06:00
technoweenie
bbc69369e5 merge 2012-10-27 10:27:50 -06:00
technoweenie
b2eded6f1c Env options 2012-10-21 14:23:46 -06:00
technoweenie
4d63592675 basic Faraday::Connections::Options object 2012-10-21 12:05:36 -06:00
technoweenie
a57c45f3b4 load the options from faraday 2012-10-21 11:07:30 -06:00
technoweenie
f3c1d06ad6 wrap writes to @registered_middleware in a mutex 2012-10-21 08:45:48 -06:00
technoweenie
223b160954 shove ruby autoloading to 'faraday/autoload' 2012-10-20 17:38:48 -06:00
technoweenie
497caa3c5e add some autoloading abilities to MiddlewareRegistry 2012-10-20 17:30:05 -06:00
technoweenie
14b458a9c9 remove Faraday.register_middleware 2012-10-20 16:58:06 -06:00
technoweenie
91dfa11d20 don't need this AutoloadHelper here 2012-10-20 16:50:47 -06:00
technoweenie
1e5284c5ad remove autoloading from Faraday 2012-10-20 16:50:33 -06:00
Mislav Marohnić
3bfadea707 mark as 0.9.0.pre 2012-08-15 19:43:30 +02:00
Erik Michaels-Ober
d9f2b894bf Release 0.8.3 2012-08-15 11:24:28 -04:00
Dan Dofter
f9eead9552 add ability to set default connection options for all connections 2012-05-29 08:55:04 -07:00
Vasily Mikhaylichenko
95a0cd03d0 fix typo in documentation 2012-05-14 12:26:10 +02:00
rick
b87aa9eacd forgot proxy documentation on Faraday.new 2012-05-06 10:13:29 -06:00
rick
f75de51d9a finish documenting faraday and faraday/connection 2012-05-06 09:44:28 -06:00
rick
a694190c4d tomdoc pass 1 2012-05-05 18:35:29 -06:00
Robert Jackson
add19ff55f Only require system_timer in MRI 1.8. 2012-04-26 10:54:36 -04:00
Robert Jackson
89453d754e Do not rely on RUBY_ENGINE being undefined in MRI. 2012-04-26 10:03:17 -04:00
Robert Jackson
5685065d9a Use RUBY_ENGINE to determine if system_timer is needed. 2012-04-26 08:57:52 -04:00
Robert Jackson
e8ca21f21f Do not suggest system_timer for JRuby. 2012-04-26 08:16:20 -04:00
rick
416016f31e Release 0.8.0 2012-04-22 22:04:36 -06:00
rick
8f78b836c6 add Faraday::Timer 2012-04-21 11:35:18 -06:00
Mislav Marohnić
4ce1bc511a Release 0.8.0.rc2 2012-01-29 00:08:18 +01:00
Mislav Marohnić
562fb16ff9 Release 0.8.0.rc 2012-01-28 23:10:39 +01:00
Mislav Marohnić
a81b7052cc add Faraday.register_middleware
Allows 3rd-party libraries to register named shortcuts to resolve to
fully qualified constant names for specific middleware.

Usage:
  Faraday.register_middleware :aloha => MyModule::Aloha
  Faraday.register_middleware :response, :boom => MyModule::Boom
  Faraday.register_middleware :lazy => lambda { MyModule::LazyLoaded }

Those shortcuts are then available in Builder:
  builder.use :aloha
  builder.response :boom
2012-01-02 15:47:52 +01:00
rick
bb507e4578 only insert the faraday root path for faraday files 2011-12-28 18:23:11 -07:00
rick
2d8c3619d8 faraday requires itself in tests, rather than the latest gems
It bugs me when libraries load themselves through ruby gems in tests.
I have
to go through the full rake repackage workflow to test my changes,
rather than
simply changing the files.  This also prevents a Faraday lib that's been
loaded outside of ruby gems from reloading the anincompatiblee Faraday
from
rubygems.
2011-12-28 10:58:28 -07:00
Erik Michaels-Ober
faee9997e8 Release 0.7.5 2011-10-04 09:12:00 -07:00
Mislav Marohnić
c3dc7fd43d release v0.7.4 to fix date issue in gem spec 2011-07-08 20:10:47 +02:00
Mislav Marohnić
0efca1c878 Release 0.7.3 2011-06-27 17:39:10 +02:00
risk
2ce28e9a81 Release 0.7.2 2011-06-12 14:10:29 -07:00
rick
41c3e49e67 Release 0.7.1 2011-06-09 09:35:11 -07:00
Erik Michaels-Ober
e778d39935 Bump version to 0.7.0 2011-05-10 11:21:16 -07:00
Erik Michaels-Ober
539ab74462 Release 0.6.1 2011-04-13 12:26:31 -04:00
rick
74c8201857 Release 0.6.0 2011-03-31 17:00:21 -07:00
rick
cb03cd2eb9 Release 0.5.7 2011-02-27 10:30:32 -08:00
rick
7d12ed5ddb Faraday.new shortcut 2011-02-27 10:20:18 -08:00
rick
deb794faad Release 0.5.6 2011-02-15 17:07:20 -08:00
Erik Michaels-Ober
00530a1352 Bump version to 0.5.5 2011-02-06 17:56:42 -05:00