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
Mattia
614c26fe9d
Limits rack to v2.0.x ( #1127 )
...
Fixes #1119
2020-02-06 20:31:26 +00:00
Olle Jonsson
099dd45f63
Merge pull request #1116 from vvo/docs/add-documentation-search
...
docs(website): add search to the website
2020-01-22 11:03:36 +01:00
Vincent Voyer
47dcf037a7
Merge branch 'master' into docs/add-documentation-search
2020-01-21 12:38:59 +01:00
Vincent Voyer
008321b24f
docs(website): add search to the website
...
This commit adds documentation search to the whole website using Algolia's
DocSearch project: https://community.algolia.com/docsearch/ .
Analytics are available via an Algolia account, ask vincent@codeagain.com for
more information.
I tried to be as close as the Faraday design as possible.
2020-01-21 12:38:12 +01:00
Olle Jonsson
e346b8bdb4
README: Link the logo to the website ( #1112 )
2020-01-09 11:45:11 +00:00
Olle Jonsson
b30ec73e99
docs(retry): precise usage of retry-after ( #1111 )
...
* docs(retry): precise usage of retry-after
Fixes https://github.com/lostisland/faraday/pull/1109#issuecomment-572448991
2020-01-09 10:46:43 +01:00
Olle Jonsson
6015ae97d6
[docs] Use "including" wording
...
By mentioning "including" instead of "configuring like this", we avoid the possible understanding "replace the whole list".
2020-01-09 10:37:22 +01:00
Vincent Voyer
024bfebd1a
docs(retry): precise usage of retry-after
...
fixes https://github.com/lostisland/faraday/pull/1109#issuecomment-572448991
2020-01-09 09:48:13 +01:00
Mattia
8a43a47919
Retry middleware documentation fix ( #1109 )
...
Fixes https://github.com/lostisland/faraday/pull/773#issuecomment-571089608
2020-01-08 20:20:44 +00:00
risk danger olson
ff9dc1d121
Merge pull request #1101 from lostisland/ship-1.0
...
Ship 1.0
v1.0.0
2019-12-31 17:03:26 -07:00
technoweenie
cd9f83d86c
indent so yard-junk doesn't think it's a 'tag'
2019-12-31 16:51:53 -07:00
risk danger olson
9f8e13753b
Update CHANGELOG.md
2019-12-31 16:41:38 -07:00
technoweenie
94e4e48ef4
Merge branch 'master' into ship-1.0
2019-12-31 08:55:20 -07:00
risk danger olson
bf454e6369
Update CHANGELOG.md
2019-12-31 08:54:02 -07:00
risk danger olson
688d5706b4
Merge pull request #1095 from lostisland/upstream-error-init
...
improve error initializer consistency
2019-12-31 08:21:09 -07:00
Mattia
41bc84e15f
Merge branch 'master' into upstream-error-init
2019-12-31 10:15:48 +00:00
Olle Jonsson
dac0eee62d
Merge pull request #1104 from lostisland/remove-connect-method
...
remove CONNECT method
2019-12-31 07:27:27 +01:00
technoweenie
df5fc690df
remove ruby 2.7 deprecation
...
spec/faraday/response/logger_spec.rb:73: warning: Using the last argument as
keyword parameters is deprecated; maybe ** should be added to the call
lib/faraday/logging/formatter.rb:13: warning: The called method 'initialize'
is defined here
2019-12-30 08:11:59 -07:00
technoweenie
5b6f9d87d3
remove CONNECT method
2019-12-30 08:09:02 -07:00
technoweenie
61d466df87
start on changelog update
2019-12-29 23:32:53 -07:00
technoweenie
a0fd827dc5
version 1.0.0
2019-12-29 23:26:10 -07:00
technoweenie
d2372224f2
bump documented support up to ruby 2.4
2019-12-29 23:25:16 -07:00
risk danger olson
aea390a67c
Merge pull request #1084 from mrexox/fix-empty-body-for-flat-params-encoder
...
Fix empty array for FlatParamsEncoder {key: []} -> "key="
2019-12-29 23:18:21 -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
technoweenie
e4aee9f7f2
improve error initializer consistency
2019-12-27 12:25:22 -07:00
Mattia
3301356e7d
Merge branch 'master' into fix-empty-body-for-flat-params-encoder
2019-12-27 17:02:59 +00:00
Amr El-Bakry
9726bc2029
Add log_level option to logger default formatter ( #1079 )
2019-12-27 17:02:08 +00:00
Samuel Williams
15595d0370
Add Adapter#close
so that derived classes can call super. ( #1091 )
2019-12-27 16:48:45 +00:00
Mattia
a53a4360e2
Adds compatibility with latest rubocop ( #1093 )
2019-12-27 16:43:11 +00:00
Mattia
465b1db267
Adds info about error classes hierarchy changes
2019-12-27 16:20:52 +00:00
Valentine Kiselev
7856e18a31
Merge branch 'master' into fix-empty-body-for-flat-params-encoder
2019-12-11 10:50:11 +03:00
Julien Kirch
073bc25cd4
Very small fix in adapter documentation
2019-12-11 06:54:35 +01:00
Valentine Kiselev
970a1922c0
Merge branch 'master' into fix-empty-body-for-flat-params-encoder
2019-12-10 10:46:07 +03:00
Kiselev Valentine
f1768df507
Fix CI for Ruby 2.3
...
Support for github action of ruby 2.3 was removed. Now according to
https://github.com/actions/setup-ruby/blob/master/action.yml
theminimal version is 2.4.
2019-12-10 08:45:05 +01:00
Kiselev Valentine
475ddeab13
Fix empty array for FlatParamsEncoder {key: []} -> "key="
2019-12-09 14:05:01 +03:00
risk danger olson
0ebc233513
Merge pull request #1072 from lostisland/changelog
...
bring release notes back to changelog.md
2019-11-13 15:58:19 -07:00
risk danger olson
69f3078825
Merge pull request #1069 from ioquatix/patch-1
...
Add default implementation of `Middleware#close`.
2019-11-13 10:06:07 -07:00
Samuel Williams
4d49b031cd
It was off by 1.
2019-11-13 09:40:40 +09:00
Samuel Williams
0b9552e707
Expose Connection#close
.
2019-11-12 08:58:47 +09:00
Samuel Williams
9379c716d4
Add spec for Middleware#close
.
2019-11-11 11:14:39 +09:00
Samuel Williams
e7ddc2d298
Issue warning if #close
is not implemented.
2019-11-11 10:58:01 +09:00
rick olson
108a0a7b74
[ ok ]
2019-11-06 13:33:49 -07:00