116 Commits

Author SHA1 Message Date
Mattia
4381c2d62d
Version bump to 0.15.0 2018-04-19 14:06:45 +01:00
iMacTia
2f91e9da6e Version bump to 0.14.0 2018-01-19 17:41:05 +00:00
Mattia
e6311bd286
Allow overriding env proxy (#754)
* Allows to ignore env proxy by setting Faraday.ignore_env_proxy to true
* Improved readme adding a new Proxy section
2018-01-19 17:28:00 +00:00
Mattia
29feeb92e3 Version bump (0.13.1) 2017-08-18 17:16:25 +01:00
Mattia
ead6e342f6 Version bump (0.13.0) 2017-08-15 10:54:52 +01:00
Mattia
d1b05653a5 Version bump (0.12.3) 2017-08-15 10:50:52 +01:00
Mattia
5ba7c30a7b Version bump (0.12.2) 2017-07-21 12:51:09 +01:00
Mattia
4e6296a6ee Fixes an issue with Faraday.default_connection not using Faraday.default_connection_options (#707)
Fixes #698
2017-07-12 17:00:07 +01:00
Mattia Giuffrida
ecd8841f51 version bump (0.12.1) 2017-04-11 13:29:10 +01:00
Mattia
68e88a90b1 Update faraday.rb
Version bump to 0.12.0.1
2017-04-02 10:18:33 +01:00
Mattia Giuffrida
617c909c9c Adds support for context request options, including test coverage and Readme section.
Version bump 0.12.0
2017-03-21 10:51:02 +00:00
Cohen Carlisle
378350d5c4 Options deep merge (#662)
* fixes an issue with options that was causing new options to override defaults ones unexpectedly
2017-02-09 17:45:01 +00:00
Mattia
e74f24d852 version bump (0.11.0) 2017-01-13 14:45:25 +00:00
Mattia
389c503a39 version bump 0.10.1 2016-12-29 15:22:43 +00:00
Cohen Carlisle
e66210bd9d handle default connection options set with hash (#629)
* handle default connection options set with hash
2016-12-05 18:11:47 +00:00
Mattia
974e0e122c Version bump to v0.10.0 in faraday.rb 2016-11-11 10:52:50 +00:00
Scott Walkinshaw
80245b0bef Object#tap no longer required after dropping 1.8.7 (#610)
Since Faraday only supports Ruby 1.9+, `Object#tap` is a core method and
this monkey patch is no longer needed.
2016-09-30 15:24:39 +01:00
Leon Miller-Out
a712938071 Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. (#600)
* Drop support for Ruby 1.9.2, which no-one should be using any more.

* Constraint gem versions for Ruby 1.9.3

* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.

* Remove conditionals checking for Ruby 1.8.7

* Document Ruby version dependency
2016-08-26 21:45:28 +01:00
Josh Lubaway
2ed4908308 Pass on the include_private parameter in Faraday.respond_to? 2016-04-05 22:36:11 -07:00
Josh Lubaway
4f0e5455d5 Use respond_to? for compatibility.
Older versions of Ruby do not support `respond_to_missing?`. In order
to reach a wider audience, we simply define `respond_to?`.
2016-04-04 22:33:17 -07:00
Josh Lubaway
1735907954 Define respond_to_missing? instead of respond_to?
If you define `respond_to_missing?` you can use `object.method(:foo)`
as well.

cf: https://robots.thoughtbot.com/always-define-respond-to-missing-when-overriding
2016-04-03 07:59:37 -07:00
Josh Lubaway
a1520b6c92 Add Faraday.respond_to?.
There are some methods that Faraday _does_ respond to because of
`method_missing`, but it does not report that it does actually respond
to some of those methods.
2016-01-11 11:32:40 -08:00
Mislav Marohnić
f97f1874e4 faraday 0.9.2 2015-10-06 18:30:31 +02:00
Ben Maraney
7ea98de998 Version bump. 2015-01-04 10:22:31 +02:00
Erik Michaels-Ober
b8d90a59ba Release 0.9.0 2014-01-16 06:07:24 +01:00
Erik Michaels-Ober
40bee8fed7 Release 0.9.0.rc7 2014-01-10 01:56:30 +01:00
Erik Michaels-Ober
edcd7d61f3 Make formatting of then, yield, and super consistent 2014-01-09 02:59:12 +01:00
rick
2f64974b55 bump rc version 2013-11-09 08:54:57 -07:00
rick
7a23e7b877 Autoloads by default, but makes it easy to disable. 2013-10-13 15:50:18 -06:00
Mislav Marohnić
a23124ea7b avoid ruby syntax warnings 2013-06-25 04:11:31 +02:00
rick
f4e3fc3440 Release 0.9.0.rc5 2013-05-13 15:21:10 -06:00
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