Anton Ilin
6ddf9c3b80
Retry middleware improvements (honour Retry-After header, retry statuses) ( #773 )
2018-02-22 21:08:09 +00:00
Gergely Borsothy-Gaal
c6a2098e08
Added retry block option to retry middleware. ( #770 )
2018-02-15 15:00:17 +00:00
Arun Kumar
c0e65d5e4e
Fix minor typo in README ( #760 )
2018-02-04 11:17:00 +00:00
Luis Edymerchk Laverde
162932650f
Remove unused class error ( #767 )
2018-02-04 11:13:50 +00:00
iMacTia
7c1c1caecb
Fixes an issue with Travis deployment to Rubygems
v0.14.0
2018-01-19 18:06:55 +00: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
Joseph Page
8635eaf69f
Adds Ruby 2.5 and switch to Trusty dist on Travis ( #756 )
2018-01-08 16:22:55 +00:00
Christian
397166eda0
Handle all connection timeout messages in Patron ( #687 )
...
* Include more of cURL's connection timeout messages
2017-12-13 18:56:13 +00:00
Mattia
60b862ddc5
Fixes issue on Travis for test ConnectionTest#test_dynamic_proxy ( #753 )
2017-12-13 16:41:26 +00:00
Mattia
50d03b8c14
Delete UPGRADING.md
2017-11-22 13:57:30 +00:00
Mattia
ab94d2d384
Create UPGRADING.md
2017-11-22 10:07:04 +00:00
Jesper Josefsson
817a1759ef
Fix CONTRIBUTING link in README ( #749 )
2017-11-18 09:47:29 +00:00
Mattia
b302d708ea
External Typhoeus Adapter Compatibility ( #748 )
2017-11-17 09:54:24 +00:00
Érik Escobedo
53b5e087e9
Faraday::Adapter::Test stubs now support entire urls (with host) ( #741 )
2017-11-13 15:24:15 +00:00
iMacTia
32ab739d2e
Moves github files under the .github folder
2017-11-10 12:50:50 +00:00
Mattia
0fa3ae14d7
Create PULL_REQUEST_TEMPLATE.md
2017-11-10 12:40:57 +00:00
Mattia
43336d45b5
Create CODE_OF_CONDUCT.md
2017-11-10 11:16:48 +00:00
Mattia
c8abc30488
Create ISSUE_TEMPLATE.md
2017-11-10 10:55:06 +00:00
Phil Sturgeon
86ee246840
Mention the externl typhoeus adapter ( #740 )
2017-11-10 10:33:57 +00:00
Anthony Dmitriyev
936e57879b
Warn about adapter being unset when making a request ( #743 )
2017-11-06 10:21:38 +00:00
Olle Jonsson
e63ef9b830
Remove Typhoeus adapter ( #715 )
2017-11-02 09:57:49 +00:00
Harald Sitter
2b580148fd
Fixes the behaviour for Excon's open_timeout (not setting write_timeout anymore) ( #731 )
2017-10-30 11:36:43 +00:00
Mattia
4d1ddc130b
If proxy is manually provided, this takes priority over find_proxy ( #724 )
...
Fixes #723
2017-10-30 09:07:41 +00:00
Mattia Giuffrida
7acc82b6a5
Asks Travis to use Ubuntu Precise
2017-10-30 09:02:58 +00:00
Mattia
29feeb92e3
Version bump (0.13.1)
v0.13.1
2017-08-18 17:16:25 +01:00
Mattia
b09c6db315
Fixes an incompatibility with new proxy detection and Addressable::URI gem ( #722 )
...
fixes #721
2017-08-18 13:43:41 +01:00
Mattia
ead6e342f6
Version bump (0.13.0)
v0.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
ad7a8e5e26
Fixes an edge-case issue with response headers parsing (missing HTTP header) ( #719 )
...
Fixes https://github.com/lostisland/faraday/pull/681#discussion_r129608099
2017-08-11 15:47:47 +01:00
Olle Jonsson
f8892b1301
Adapter support for Net::HTTP::Persistent v3.0.0 ( #619 )
2017-07-28 15:25:59 +01:00
Brandon Dunne
923f90558c
Prefer #hostname over #host. ( #714 )
2017-07-26 15:40:46 +01:00
Mattia
d18cc04be5
Environment proxy refactoring ( #712 )
...
* Dynamically reloads the proxy when performing a request on an absolute domain
Fixes #701
* Removes `proxy` attr_reader to avoid warning. Reintroduce it when removing the `get/set proxy`
* Request proxy is set in `run_request` and not `build_request` anymore, as url is not available in `build_reqeust`, had to remove a test for this.
* Adds new tests to check proxy working with `Faraday.get`
2017-07-24 10:14:52 +01:00
Mattia
e04b6d0b61
Update README.md
...
Adds Coverage and Codeclimate badges
Removes the TODO section
Adds Contribute section
2017-07-23 12:00:03 +01:00
Mattia
5ba7c30a7b
Version bump (0.12.2)
v0.12.2
2017-07-21 12:51:09 +01:00
Mattia
cf6f2b10ac
Fixes an issue with Options.merge! and Faraday instrumentation middleware ( #711 )
...
Fixes #710
2017-07-19 18:34:34 +01:00
Mattia
debc8e938b
Update CONTRIBUTING.md
2017-07-13 17:07:40 +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
33547461d2
Fixes an issue with Options having a nil value ( #706 )
...
Fixes #694
2017-07-12 16:58:32 +01:00
Mattia
94097a7f66
Fixes YAML serialization/deserialization for Faraday::Utils::Headers ( #705 )
...
Fixes #690
2017-07-12 16:57:47 +01:00
Mattia
375ea71a9f
fixes #702 ( #703 )
2017-06-25 15:23:21 +01:00
Taiki Ono
4206d48f54
Missing request middleware in README ( #696 )
...
* Missing request middleware in README
Faraday's default middleware stack has url_encoded middleware but when
we use block to build middleware stack, the stack lacks the middleware
then following example codes will fail with NoMethodError.
* Note about default middleware stack
2017-05-31 10:44:36 +01:00
Christian
8049a5feb2
Do not use :insecure option by default in Patron ( #691 )
...
* Do not use :insecure option by default in Patron
The session.insecure option is set to true by default. This disables
the ssl verification of the host and, according to the Patron
documentation, one should "think twice before using this option".
See also
http://www.rubydoc.info/gems/patron/0.8.0/Patron%2FSession%3Ainsecure
* Add ca-certificates package to travis.yml
Inspired by https://github.com/travis-ci/travis-ci/issues/6142
* Support ssl-verify and ca-file option for Patron
2017-05-11 16:48:05 +01:00
Oliver Peate
067be864a6
Guard against invalid middleware configuration with warning ( #685 )
2017-04-28 18:14:00 +02:00
Andrew Roetker
b2e8bcc04f
Parse headers from aggregated proxy requests/responses ( #681 )
2017-04-25 19:18:50 +02:00
DavidKnott
e1e50f5eb4
Add Authentication Section to the ReadMe ( #678 )
v0.12.1
2017-04-21 11:11:47 +02:00
Craig Day
81c72afd95
expose wrapped_exception in all client errors ( #686 )
2017-04-21 11:06:44 +02:00
Mattia Giuffrida
ecd8841f51
version bump (0.12.1)
2017-04-11 13:29:10 +01:00
Mattia Giuffrida
e29ec08545
fixes #683
...
fixes #684
2017-04-11 13:12:36 +01:00
Mattia
a5f027e1ce
Update patron_test.rb
...
Fixed patron test which was erroneously executed for ruby as well.
2017-04-02 10:35:24 +01:00