165 Commits

Author SHA1 Message Date
Matt
4b6162d364
Move json middleware (request and response) from faraday_middleware (#1300) 2021-08-09 08:52:02 +01:00
Matt
08b7d4d3b7
Autoloading, dependency loading and middleware registry cleanup (#1301) 2021-08-09 08:25:02 +01:00
Matt
6333b73d13
Begin v2 release (#1297)
* Update UPGRADING.md to highlight adapters being moved out
* Cleanup tests
* Cleanup Gemfile
* Update CI
2021-08-01 17:09:03 +01:00
Matt
fd1007ae33
Use external Rack adapter (#1296) 2021-08-01 09:01:13 +01:00
Pavel Rosický
6ed220cabf
Fix jruby incompatibility after moving out EM adapters (#1294) 2021-07-11 11:02:52 +01:00
Matt
bc4eb877c9
Use external patron adapter (#1290) 2021-07-04 19:50:59 +01:00
Matt
274f5fa6ba
Use external httpclient adapter (#1289) 2021-07-04 16:55:22 +01:00
Matt
67c5f7b239
Use external em_http and em_synchrony adapters (#1274) 2021-04-26 11:57:10 +02: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
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
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
Matt
571dc11c2f
Version bump to 1.1.0 2020-10-17 11:49:07 +01:00
Mattia
5547e9131a
Bump version to 1.0.1 2020-03-29 14:46:47 +01:00
Olle Jonsson
d77c9efee9
Fully qualify constants to be checked (#1122) 2020-02-07 15:57:00 +00:00
technoweenie
94e4e48ef4 Merge branch 'master' into ship-1.0 2019-12-31 08:55:20 -07: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
rick olson
9882080737 release v0.16.0 2019-09-27 10:26:47 -06:00
rick olson
6fdc48e163 add specs for FilePart 2019-09-18 14:25:21 -06:00
Jeremy ISRAEL
7dded89b33 Create PartParams class to allow multipart posts with JSON content and IO content in the same request 2019-09-17 10:29:22 +02:00
rick olson
275d1e3daa bump version to 1.0.0-rc1 2019-06-25 10:57:44 -06:00
risk danger olson
bd322bba6b chore: rubocop lint Metrics/LineLength (#938) 2019-03-08 17:45:12 +00:00
Geoff Hubbard
e342992751 chore: Rubocop lint Style/MissingRespondToMissing (#930) 2019-03-04 23:25:25 +01:00
Geoff Hubbard
c5ceb2679c chore: RuboCop lint Style/MethodMissingSuper (#928) 2019-03-04 21:07:33 +00:00
Mattia
ef4044281d chore: RuboCop lint Style/IfUnlessModifier (#926)
* Fixes Rubocop Style/IfUnlessModifier

* Update lib/faraday/adapter/httpclient.rb

Co-Authored-By: iMacTia <iMacTia@users.noreply.github.com>

* Update lib/faraday/request/retry.rb

Co-Authored-By: iMacTia <iMacTia@users.noreply.github.com>
2019-03-04 14:49:25 +01:00
iMacTia
f3e9adba3b Fixes Rubocop Style/MutableConstant 2019-03-04 12:55:20 +00:00
James Herdman
4c7e0a7717 More Cops On Patrol (#901) 2019-03-01 15:28:19 +00:00
rick olson
190467254e fix Lint/UnneededRequireStatement offenses 2019-02-27 14:46:02 -07:00
James Herdman
62cfe5bed1 chore: RuboCop Layout/EmptyLinesAroundAccessModifier (#881) 2019-02-26 17:08:17 +01:00
Mattia
aa4e33ff50 chore: Fix RuboCop Style/HashSyntax (#878)
* Fixes rubocop Style/HashSyntax issues.

* Fixes rubocop Style/HashSyntax issues in comments as well.
2019-02-26 12:10:35 +01:00
Olle Jonsson
00765145a3 chore: RuboCop Style/StringLiteral 2019-02-25 23:11:57 +01:00
risk danger olson
e00e900486 Connection methods (#861) 2019-02-25 15:40:41 +00:00
htwroclau
de0e96054d chore: Fix RuboCop Layout/AlignParameters (#867) 2019-02-25 13:38:48 +00:00
Mattia
b427091f0e chore: RuboCop: Support Frozen String Literals (#868) 2019-02-24 20:35:12 +01:00
htwroclau
671e9de604 chore: Fix RuboCop Layout/AccessModifierIndentation (#862) 2019-02-24 01:20:12 +01:00
Mattia
6e4a2aaa05 Refactor Adapter as final endpoints (#846)
* Refactors Adapters:
* They're now final endpoints.
* They don't need to call `@app.call` anymore.
* They don't inherit from `Faraday::Middleware` anymore.
2019-02-19 10:48:52 +01:00
iMacTia
5ace0ea5ab [Ruby 2.7] Stops using &Proc.new for block forwarding. 2019-01-13 17:39:29 +00:00
iMacTia
e14fb01063 Removes deprecated Faraday::Builder.
Refactors options into multiple files.
2019-01-13 16:59:12 +00:00
Mattia
f1b2657523
Feature/#762 rspec (#832) 2018-11-26 17:11:35 +00:00
iMacTia
afe53e9020 Merge branch 'master' of https://github.com/lostisland/faraday into 1.0
# Conflicts:
#	.travis.yml
#	lib/faraday/options.rb
2018-09-21 09:29:29 +01:00
Mattia
81274c93a2
Version bump to 0.15.3 2018-09-19 16:10:22 +01:00
Olle Jonsson
7974c7a95c [1.0] YARD docs for error classes (#819) 2018-09-11 12:48:58 +01:00
Mattia Giuffrida
82a8a0bd13 Merge branch 'master' of https://github.com/lostisland/faraday into 1.0
# Conflicts:
#	lib/faraday/request.rb
2018-07-21 15:11:12 +01:00
Mattia
8ba0797af9
Version bump to 0.15.2 2018-05-23 16:15:54 +01:00
Mattia
e8589f9db6
version bump to 0.15.1 2018-05-10 16:35:29 +01:00
iMacTia
5ee253a9a3 Merge branch 'master' of https://github.com/lostisland/faraday into 1.0
# Conflicts:
#	lib/faraday/adapter/patron.rb
2018-05-10 10:09:43 +01:00
Mattia
4381c2d62d
Version bump to 0.15.0 2018-04-19 14:06:45 +01:00
Olle Jonsson
5cdb17cf10 [1.0] YARD docblocks annotation - a beginning in a single file (#758) 2018-01-21 11:41:10 +00:00