Matt
67c5f7b239
Use external em_http and em_synchrony adapters ( #1274 )
2021-04-26 11:57:10 +02:00
Matt
048718fb79
Update version.rb
2021-04-18 19:22:24 +01:00
Matt
41d87d6225
Update version.rb
2021-04-16 11:27:04 +01:00
Matt
20be816bc8
Replace Excon adapter with Faraday::Excon gem, and fix autoloading issue with Faraday::NetHttpPersistent ( #1257 )
2021-04-12 11:36:09 +02:00
Mike Rogers
14d0dd70c4
Replacing Net::HTTP::Persistent with faraday-net_http_persistent ( #1250 )
2021-03-26 08:00:05 +00:00
Hiroshi Hatake
850155eb41
Handle IPv6 address String on Faraday::Connection#proxy_from_env ( #1252 )
2021-03-22 11:30:22 +00:00
yarafan
0ed6480f6e
escape colon in path segment ( #1237 )
2021-01-18 16:18:21 +00:00
Matt
f68a821dde
Version bump to 1.3.0
2020-12-31 13:13:52 +00:00
Matt
023cc41335
Improves consistency with Faraday::Error and Faraday::RaiseError ( #1229 )
2020-12-31 13:07:21 +00:00
Matt
453b26f1f0
Improves retry middleware documentation. ( #1228 )
2020-12-31 11:25:20 +00:00
Matt
687108bb4d
Adds Ruby 3.0 to CI Matrix ( #1226 )
2020-12-31 10:51:03 +00:00
brian p o'rourke
d67d012dd5
Don't assign to global ::Timer ( #1227 )
2020-12-31 09:34:59 +00:00
Matt
e41668ee59
Move out Net::HTTP adapter ( #1222 )
2020-12-29 11:29:21 +00:00
Mattia Giuffrida
2457525702
Version bump to 1.2.0
2020-12-23 14:39:22 +00:00
Matt
97a3bc2386
Fix #1219 Net::HTTP still uses env proxy ( #1221 )
2020-12-23 14:00:45 +00:00
Michael Grosser
e111db34c3
Avoid 1 use of keyword hackery ( #1211 )
2020-12-02 07:06:38 +01:00
Olle Jonsson
47411d8154
EmHttp adapter: drop superfluous loaded? check ( #1213 )
...
We are loaded in this section.
2020-12-01 10:21:42 +01:00
Kyle Keesling
b766d1f848
Update call to em_http_ssl_patch ( #1202 )
2020-11-19 14:45:40 +01:00
Matt
1595e6fc05
Fix rdebug recursion issue ( #1205 )
...
Co-authored-by: @native-api
2020-11-13 09:00:18 +00:00
Rusty Geldmacher
8c746f68e3
Require 'date' to avoid retry exception
...
Without requiring 'date', we get an exception in the retry middleware
when it tries to use DateTime for handling the Retry-After header.
2020-11-13 07:26:33 +01:00
Nathan Beyer
01c25e880c
Adjust the retry documentation and spec to align with implementation ( #1197 ) ( #1198 )
2020-10-27 06:11:38 +01:00
Matt
d56742a174
Introduces on_request and on_complete methods in Faraday::Middleware. ( #1194 )
2020-10-22 15:04:46 +01:00
Matt
571dc11c2f
Version bump to 1.1.0
2020-10-17 11:49:07 +01:00
Sandro Damilano
8ee406d788
Include request info in exceptions raised by RaiseError Middleware ( #1181 )
2020-09-17 16:45:25 +02:00
Matt
868fe9bb18
Fix linting bumping Rubocop to 0.90.0 ( #1182 )
2020-09-17 16:02:47 +02:00
Mattia
5acab36239
Introduces flat_encode
option for multipart adapter. ( #1163 )
...
Fixes #1157
2020-07-09 10:43:09 +01:00
John W Higgins
e02a8c1009
Makes parameters sorting configurable ( #1162 )
2020-07-07 10:02:50 +01:00
Olle Jonsson
90b4564cec
Rubocop linting with 0.84.0 ( #1160 )
2020-05-27 17:26:31 +01:00
Daniel George Holz
722821fab7
Avoid 'last arg as keyword param' warning when building user middleware on Ruby 2.7 ( #1153 )
2020-05-15 15:32:38 +01:00
Alexander Popov
c26df87b86
Update RuboCop
...
Require its specific version in `Gemfile`.
Fix it's installation in CI.
Enable new cops.
Resolve new offenses.
Drop support of Ruby 2.3
(it's not supported by RuboCop and by MRI:https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ )
Deprecate `Faraday::Request#method`, replace it with `#http_method`.
2020-04-19 17:44:07 +02:00
Mattia
5547e9131a
Bump version to 1.0.1
2020-03-29 14:46:47 +01:00
Karl Entwistle
864a7e52f3
Encode Spaces in Query Strings as '%20' Instead of '+' ( #1125 )
2020-03-29 11:48:15 +01:00
Olle Jonsson
f6401225a4
Adapter Registry reads also use mutex
2020-03-25 12:58:36 +01:00
nic-lan
1042a45618
Allows parse
method to be private/protected in response middleware ( #1123 )
2020-02-10 14:38:27 +00:00
Bobby McDonald
a4837c8509
Update org name for typhoeus repo
2020-02-07 18:14:34 +01:00
Olle Jonsson
d77c9efee9
Fully qualify constants to be checked ( #1122 )
2020-02-07 15:57:00 +00:00
Justin Bull
8560572d16
Use Net::HTTP#start(&block) to ensure closed TCP connections ( #1117 )
...
Co-authored-by: Byron Wolfman <byronwolfman@users.noreply.github.com>
2020-02-07 14:54:18 +00:00
technoweenie
cd9f83d86c
indent so yard-junk doesn't think it's a 'tag'
2019-12-31 16:51:53 -07:00
technoweenie
94e4e48ef4
Merge branch 'master' into ship-1.0
2019-12-31 08:55:20 -07:00
Mattia
41bc84e15f
Merge branch 'master' into upstream-error-init
2019-12-31 10:15:48 +00:00
technoweenie
5b6f9d87d3
remove CONNECT method
2019-12-30 08:09:02 -07:00
technoweenie
a0fd827dc5
version 1.0.0
2019-12-29 23:26:10 -07:00
risk danger olson
cbedb826c9
Merge branch 'master' into fix-empty-body-for-flat-params-encoder
2019-12-29 23:08:05 -07:00
technoweenie
b4b328b720
Merge branch 'master' into upstream-error-init
2019-12-29 22:44:04 -07:00
risk danger olson
5a2bb2e5e6
Ci: ruby 2.7 ( #1100 )
...
* ci: run against ruby 2.7
* fix ruby 2.7 warning
lib/faraday/adapter/net_http_persistent.rb:13: warning: Using the last
argument as keyword parameters is deprecated; maybe ** should be added to the
call
https://github.com/lostisland/faraday/pull/1099/checks?check_run_id=367324080
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
* use rvm to install ruby 2.7
2019-12-29 22:43:23 -07:00
technoweenie
b322331923
revert error subclass changes
2019-12-29 18:37:05 -07:00
technoweenie
7ba417400f
how do i get this to init
2019-12-27 13:14:08 -07:00
technoweenie
6833062a5c
dont re-init them
2019-12-27 13:04:11 -07:00
technoweenie
5efd43f749
init these ivars
2019-12-27 12:46:56 -07:00
technoweenie
24b99b8231
don't force response to be {}
2019-12-27 12:35:23 -07:00