1775 Commits

Author SHA1 Message Date
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
Olle Jonsson
968dfc18ba
CHANGELOG: add releases after 1.0 (#1225) 2020-12-29 13:06:21 +01: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 v1.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
Michael Grosser
ebbbab5c2e
test against ruby head (#1208)
* CI: add "head" Ruby to matrix

* Gemfile: Allow Ruby 3 to use net-http-client 4.x

* Gemfile: Select net-http-persistent 4 differently

Check for Ruby version 3+

* Gemfile: doc net-http-persistent has no gemspec

* redo

Co-authored-by: Olle Jonsson <olle.jonsson@auctionet.com>
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
2020-11-28 09:24:02 +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
Tijmen Brommet
95667f848a
Update documentation on using the logger (#1196)
`Faraday::Logging::Formatter` is the correct class to subclass.
2020-10-26 09:17:27 +01:00
Olle Jonsson
4e9f4b06f1
Fix a typo re: on_response -> on_complete 2020-10-23 17:28:00 +02:00
Olle Jonsson
0977306827
docs: Fix typo in markdown
Missing backtick ruined some formatting.
2020-10-22 20:23:25 +02:00
Matt
d56742a174
Introduces on_request and on_complete methods in Faraday::Middleware. (#1194) 2020-10-22 15:04:46 +01:00
Olle Jonsson
7326cd8bfd
docs: Adapters, how to create them (#1193)
This begins a new section, probably we want to move the Parallel section to its own "Advanced Adapter authoring" or a subject-specific text. Anyway, we have started!
2020-10-22 11:55:46 +02:00
Matt
680407daa9
Add comment in gemspec to explain exposure of examples and spec folders. (#1192)
Fixes #1190
2020-10-21 09:22:52 +01:00
Matt
571dc11c2f
Version bump to 1.1.0 v1.1.0 2020-10-17 11:49:07 +01:00
Igor Victor
0461c4b321
Upgrade CI to ruby/setup-ruby (#1187)
This replaces rvm in GitHub Actions.
2020-10-13 16:22:53 +02:00
Joel Stimson
85b46bef6c
Remove retry_change_requests from documentation (#1185) 2020-10-06 10:33:29 +01:00
Utkarsh Gupta
a5b7a6bc81
Drop git ls-files in gemspec (#1183) 2020-09-23 11:20:37 +02: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
Matt
9af091f9c4
Improves documentation on how to contribute to the site by using Docker. (#1175) 2020-09-01 16:32:18 +01:00
Vít Ondruch
6521a1606e Properly fix test failure with Rack 2.1+.
Rack is not to blame, just naive test case which was enough so far.

Fixes #1119
2020-07-25 01:51:43 +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
Alexander Popov
f6130995eb
Update typhoeus to new stable version (1.4) (#1159) 2020-05-27 17:34:43 +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
Mattia
019e1a8417
Limits net-http-persistent version to < 4.0 (#1156) 2020-05-07 23:34:48 +01:00
Olle Jonsson
41c0dc7edf
Add 1.0 release to wording in CONTRIBUTING (#1155) 2020-05-07 14:28:57 +01:00
Alexander Popov
87ecaf9682 Return tests of Test adapter 2020-04-20 08:27:04 +02:00
Alexander Popov
680b9f8a6c Add EditorConfig file
Resolve issues.

More info here: https://editorconfig.org/
2020-04-19 22:56:50 +02: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
LuckyWind_sck
3b3de79e3d Fix typo for RSpec 2020-04-06 12:34:24 +02:00
Olle Jonsson
3ca146de4d Update year markers to 2020 for a lively look 2020-04-03 18:18:51 +02:00
Olle Jonsson
e33c559345
Link from GitHub Actions badge to CI workflow (#1141) 2020-04-03 17:02:01 +01:00
Olle Jonsson
f0c76f826f Remove Codeclimate coverage badge
- Until it supports SimpleCov 0.18, we drop this from our CI and README
2020-04-02 10:40:38 +02:00
Mattia
5547e9131a
Bump version to 1.0.1 v1.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
Mattia
b4ad6e386e
Update publish.yml
Replace deprecated `version` with `ruby-version`
2020-03-29 11:12:08 +01:00
Olle Jonsson
f6401225a4 Adapter Registry reads also use mutex 2020-03-25 12:58:36 +01:00
Olle Jonsson
5d24afc373 External adapters exposed
- this was inadvertently removed in 0c873c1500b0849cafcc6a0c4d7ccfeedcc7a48a
  - the feature was introduced in #941
2020-03-07 06:40:32 +01:00
Marjan Povolni
e2c56e90c9 docs(website): fix request/response mix-up in text 2020-02-24 09:36:13 +01:00
Olle Jonsson
52e30bf8e8 spec: JRuby-proof a test about error messages 2020-02-10 16:04:04 +01:00
Olle Jonsson
284d920cf3 specs: JRuby-Skip EM specs 2020-02-10 16:04:04 +01:00
Olle Jonsson
e80b829976 specs: JRuby-Skip Patron specs 2020-02-10 16:04:04 +01:00