157 Commits

Author SHA1 Message Date
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
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