1775 Commits

Author SHA1 Message Date
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
rick olson
5a9644937e appease rubocop 2019-11-06 13:26:20 -07:00
rick olson
0c873c1500 add changelog 2019-11-06 13:14:47 -07:00
Samuel Williams
f33e2fa1f8
Add default implementation of Middleware#close. 2019-11-02 08:31:02 +13:00
risk danger olson
d5eaa4ffe0
Merge pull request #1063 from lostisland/proxy-settings
remove temp_proxy and improve proxy tests
2019-10-23 11:23:34 -06:00
rick olson
b5f9936dbe remove temp_proxy and improve proxy tests 2019-10-18 11:10:41 -06:00
risk danger olson
e4b4b97307
Merge pull request #1057 from lostisland/actions-revert
0.1x-specific workflow changes will be recorded in the appropriate branch
2019-10-17 14:09:13 -06:00
rick olson
27a6509797 0.1x-specific workflow changes will be recorded in the appropriate branch, not master 2019-10-17 11:44:13 -06:00
risk danger olson
c638dbcb4b
Merge pull request #1056 from lostisland/actions-0.1x
[0.1x] skip rubocop and yard linting on faraday 0.1x related branches
2019-10-17 11:33:47 -06:00
rick olson
4e358a6741 skip codeclimate on 0.1x 2019-10-17 11:13:08 -06:00
rick olson
2c4087d78f gh actions: skip rubocop and yard linting on faraday 0.1x related branches 2019-10-17 11:07:15 -06:00
risk danger olson
520e3578d4
Merge pull request #1023 from lostisland/cleanup-adapter-connections
Cleanup adapter connections
2019-10-17 10:39:24 -06:00
rick olson
c82135056b lint: Layout/EmptyLines, Style/BracesAroundHashParameters 2019-10-17 10:26:12 -06:00
rick olson
b1b617e53f Correct documentation to show #connection returns the block return value.
This is so that it returns an HTTP response object from the client lib.
2019-10-17 10:24:03 -06:00
rick olson
0294fed33c Forgot to git-add these 2019-10-17 10:23:28 -06:00
rick olson
43cd327f19 Merge branch 'master' into cleanup-adapter-connections
Update for latest #request_timeout changes.
2019-10-17 10:19:03 -06:00
risk danger olson
9e4fa74515
Merge pull request #1022 from lostisland/springerigor-read-timeout-request-option
read timeout request option (part 2)
2019-10-17 10:09:34 -06:00
rick olson
68c53c448f prefer Hash#fetch 2019-10-17 10:05:09 -06:00
Mattia
48e6c3f820
Merge branch 'master' into springerigor-read-timeout-request-option 2019-10-17 11:26:41 +01:00
Bobby McDonald
e331955fd8 Fix instances of frozen empty string literals (#1040) 2019-10-17 11:25:15 +01:00
Mattia
b5bbf1f2d2
Improves CI workflow
* Allow CC test reporter step to fail (currently not working on fork)
* Only trigger workflow for pushes against master
2019-10-17 11:17:22 +01:00
Mattia
9de70e0184
Merge branch 'master' into springerigor-read-timeout-request-option 2019-10-17 11:02:23 +01:00
Mattia
9c3b8f40cb
Adds pull_request to events triggering the CI 2019-10-17 10:55:31 +01:00
risk danger olson
993a483ec3
Merge pull request #1053 from lostisland/raise-error-nil
Raise error nil
2019-10-16 10:42:20 -06:00
risk danger olson
c844e4c53e
Merge branch 'master' into raise-error-nil 2019-10-16 10:35:24 -06:00
Mattia
e78a1e022a
Merge branch 'master' into cleanup-adapter-connections 2019-10-16 10:59:18 +01:00
Mattia
708ca5b9ab
Use GitHub Actions for CI (#1051) 2019-10-16 10:57:42 +01:00
rick olson
f7f91b7077 raise_error: update docs to mention nil status code 2019-10-15 13:37:41 -06:00
rick olson
232ec3892e the nil status is extremely rare, so check it last 2019-10-15 13:23:33 -06:00
risk danger olson
a91581a04e
Update lib/faraday/adapter/net_http.rb
Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
2019-10-15 10:35:10 -06:00
risk danger olson
296f336b62
Update lib/faraday/adapter/net_http.rb
Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
2019-10-15 10:35:03 -06:00
Jonny
07ddcb93f5 Pass the exception correctly 2019-10-15 10:26:10 -06:00
Michael Herold
72b917c8be Raise exception on nil status 2019-10-15 10:26:06 -06:00
rick olson
83d933a61e fix bad merge 2019-10-14 14:35:14 -06:00
rick olson
75b9804e33 unused 2019-10-14 14:21:19 -06:00
rick olson
18c204e3a5 lint fixes 2019-10-14 14:18:03 -06:00
risk danger olson
edcbd9f8e4
Merge branch 'master' into cleanup-adapter-connections 2019-10-14 14:13:02 -06:00
rick olson
b85589c72a Merge branch 'master' into springerigor-read-timeout-request-option 2019-10-14 14:08:02 -06:00
rick olson
0aea513d72 teach rack adapter to use #request_timeout 2019-10-14 14:07:42 -06:00
rick olson
6394bc08a5 teach patron adapter how to use #request_timeout 2019-10-14 14:06:07 -06:00
rick olson
711c257295 teach httpclient adapter how to use #request_timeout 2019-10-14 14:03:29 -06:00
rick olson
55c0b742ec test current httpclient timeout behavior 2019-10-14 11:19:48 -06:00
Stanisław Pitucha
cccc145e2f Describe clearing cached stubs
This was the solution proposed in https://github.com/lostisland/faraday/issues/1041
2019-10-07 19:48:59 +02:00
Orien Madgwick
940e01ce38 Add project metadata to the gemspec (#1046)
As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the changelog. These
`bug_tracker_uri`, `changelog_uri`, `documentation_uri`, `wiki_uri` and
`source_code_uri` links will appear on the rubygems page at
https://rubygems.org/gems/faraday and be available via the rubygems
API after the next release.
2019-10-07 19:21:28 +02:00
Olle Jonsson
6c7bf772b9 Rubocop: Lint/SendWithMixinArgument (#1047)
Same as 0ac691abaf1f78185f025ea8c8711f3970b49ebc, credits to @BobbyMcWho
2019-10-07 17:54:17 +01:00
risk danger olson
dcae077607
Merge pull request #1029 from lostisland/rel-v0.16.0
release v0.16.0
v0.16.0
2019-09-27 10:34:02 -06:00
rick olson
9882080737 release v0.16.0 2019-09-27 10:26:47 -06:00
risk danger olson
435e45b154
Merge pull request #1000 from lostisland/add-testing-examples
Add testing examples
2019-09-22 09:50:58 -06:00