mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-16 00:03:37 -04:00
[1.0] UPGRADING.md: Mention Ruby 2.3+ (#829)
This commit is contained in:
parent
3ff3dbc43e
commit
ec3ccb128c
@ -1,7 +1,7 @@
|
|||||||
## Faraday 1.0
|
## Faraday 1.0
|
||||||
|
|
||||||
* Dropped support for jruby and Rubinius.
|
* Dropped support for jruby and Rubinius.
|
||||||
* Officially supports Ruby 2.2+
|
* Officially supports Ruby 2.3+
|
||||||
* In order to specify the adapter you now MUST use the `#adapter` method on the connection builder. If you don't do so and your adapter inherits from `Faraday::Adapter` then Faraday will raise an exception. Otherwise, Faraday will automatically push the default adapter at the end of the stack causing your request to be executed twice.
|
* In order to specify the adapter you now MUST use the `#adapter` method on the connection builder. If you don't do so and your adapter inherits from `Faraday::Adapter` then Faraday will raise an exception. Otherwise, Faraday will automatically push the default adapter at the end of the stack causing your request to be executed twice.
|
||||||
```ruby
|
```ruby
|
||||||
class OfficialAdapter < Faraday::Adapter
|
class OfficialAdapter < Faraday::Adapter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user