Mattia Giuffrida
1a5b794b88
Disable new streaming API specific tests
2022-08-08 12:23:09 +01:00
Mattia Giuffrida
6799f5852d
Introduce new streaming API ( #1439 )
...
* Backwards-compatible
* Allow adapters to provide response info to on_call block
* Provide `stream_response` helper method
2022-08-08 12:23:09 +01:00
Mattia Giuffrida
cb47eca810
Remove multipart middleware and all its documentation and tests.
2022-01-03 09:40:52 +01:00
Olle Jonsson
b183095c52
Lint: Style/HashConversion
2021-08-17 08:44:04 +02:00
Matt
97a3bc2386
Fix #1219 Net::HTTP still uses env proxy ( #1221 )
2020-12-23 14:00:45 +00:00
Matt
868fe9bb18
Fix linting bumping Rubocop to 0.90.0 ( #1182 )
2020-09-17 16:02:47 +02: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
609d1768cb
Adds em-synchrony adapter to RSpec tests ( #936 )
2019-03-07 13:23:41 +00:00
iMacTia
ab33c8ace1
Adds em-http adapter to RSpec tests
2019-03-05 18:26:46 +00:00
iMacTia
f8f5985f3e
Fixes Rubocop Style/ParallelAssignment
2019-03-03 19:23:46 +00:00
iMacTia
5d4ed5e401
Fixes Rubocop Style/Proc
2019-03-03 19:08:54 +00:00
Mattia
d657e3d3c3
chore: RuboCop lints Style/R* ( #910 )
...
* Fixes Rubocop Style/RescueStandardError
* Fixes Rubocop Style/RegexpLiteral
* Fixes Rubocop Style/RaiseArgs
2019-03-03 10:50:49 +01:00
risk danger olson
4171215da7
chore: Rubocop lint Style/PercentLiteralDelimiters ( #905 )
2019-03-02 10:33:45 +01:00
Olle Jonsson
00765145a3
chore: RuboCop Style/StringLiteral
2019-02-25 23:11:57 +01:00
James Herdman
ff92c9ea04
[RuboCop] Resolve Layout/ElseAlignment
2019-02-25 14:19:19 -05:00
risk danger olson
e00e900486
Connection methods ( #861 )
2019-02-25 15:40:41 +00:00
Mattia
b427091f0e
chore: RuboCop: Support Frozen String Literals ( #868 )
2019-02-24 20:35:12 +01:00
Mattia
91ddced8b2
chore: RuboCop indentations ( #864 )
...
* chore: RuboCop lint Layout/CaseIndentation
* chore: RuboCop lint Layout/CommentIndentation
* chore: RuboCop lint Layout/IndentationWidth
* chore: RuboCop lint Layout/MultilineMethodCallIndentation
* chore: RuboCop lint Layout/MultilineOperationIndentation
2019-02-24 11:53:55 +01:00
Olle Jonsson
b2857e6e20
chore: RuboCop linting ( #860 )
...
* chore: RuboCop lint Layout/LeadingCommentSpace
* chore: RuboCop lint Layout/EmptyLineAfterGuardClause
* chore: RuboCop lint Layout/EmptyLineBetweenDefs
* chore: RuboCop lint Layout/EmptyLines
* chore: Regenerate RuboCop TODO
2019-02-20 22:44:57 +01:00
Mattia
6e3c40f159
Separate Request and Response bodies ( #847 )
2019-02-20 16:00:58 +00:00
Mattia
793e6ba9c9
Add new error classes ( #841 )
...
* Removes sub-class constants definition from `Faraday::Error`. A sub-class (e.g. `ClientError`) was previously accessible
either through the `Faraday` module (e.g. `Faraday::ClientError`) or through the `Faraday::Error` class (e.g. `Faraday::Error::ClientError`).
The latter is no longer available and the former should be used instead, so check your `rescue`s.
* Introduces a new `Faraday::ServerError` (5xx status codes) alongside the existing `Faraday::ClientError` (4xx status codes).
Please note `Faraday::ClientError` was previously used for both.
* Introduces new Errors that describe the most common REST status codes:
* Faraday::BadRequestError (400)
* Faraday::UnauthorizedError (401)
* Faraday::ForbiddenError (403)
* Faraday::ProxyAuthError (407). Please note this raised a `Faraday::ConnectionFailed` before.
* Faraday::UnprocessableEntityError (422)
2019-01-04 17:24:38 +00:00
Mattia
f1b2657523
Feature/#762 rspec ( #832 )
2018-11-26 17:11:35 +00:00