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
Mattia
68e88a90b1
Update faraday.rb
...
Version bump to 0.12.0.1
2017-04-02 10:18:33 +01:00
Mattia Giuffrida
617c909c9c
Adds support for context
request options, including test coverage and Readme section.
...
Version bump 0.12.0
2017-03-21 10:51:02 +00:00
Cohen Carlisle
378350d5c4
Options deep merge ( #662 )
...
* fixes an issue with options that was causing new options to override defaults ones unexpectedly
2017-02-09 17:45:01 +00:00
Mattia
e74f24d852
version bump (0.11.0)
2017-01-13 14:45:25 +00:00
Mattia
389c503a39
version bump 0.10.1
2016-12-29 15:22:43 +00:00
Cohen Carlisle
e66210bd9d
handle default connection options set with hash ( #629 )
...
* handle default connection options set with hash
2016-12-05 18:11:47 +00:00
Mattia
974e0e122c
Version bump to v0.10.0 in faraday.rb
2016-11-11 10:52:50 +00:00
Scott Walkinshaw
80245b0bef
Object#tap no longer required after dropping 1.8.7 ( #610 )
...
Since Faraday only supports Ruby 1.9+, `Object#tap` is a core method and
this monkey patch is no longer needed.
2016-09-30 15:24:39 +01:00
Leon Miller-Out
a712938071
Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. ( #600 )
...
* Drop support for Ruby 1.9.2, which no-one should be using any more.
* Constraint gem versions for Ruby 1.9.3
* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.
* Remove conditionals checking for Ruby 1.8.7
* Document Ruby version dependency
2016-08-26 21:45:28 +01:00
Josh Lubaway
2ed4908308
Pass on the include_private
parameter in Faraday.respond_to?
2016-04-05 22:36:11 -07:00
Josh Lubaway
4f0e5455d5
Use respond_to?
for compatibility.
...
Older versions of Ruby do not support `respond_to_missing?`. In order
to reach a wider audience, we simply define `respond_to?`.
2016-04-04 22:33:17 -07:00
Josh Lubaway
1735907954
Define respond_to_missing?
instead of respond_to?
...
If you define `respond_to_missing?` you can use `object.method(:foo)`
as well.
cf: https://robots.thoughtbot.com/always-define-respond-to-missing-when-overriding
2016-04-03 07:59:37 -07:00
Josh Lubaway
a1520b6c92
Add Faraday.respond_to?
.
...
There are some methods that Faraday _does_ respond to because of
`method_missing`, but it does not report that it does actually respond
to some of those methods.
2016-01-11 11:32:40 -08:00
Mislav Marohnić
f97f1874e4
faraday 0.9.2
2015-10-06 18:30:31 +02:00
Ben Maraney
7ea98de998
Version bump.
2015-01-04 10:22:31 +02:00
Erik Michaels-Ober
b8d90a59ba
Release 0.9.0
2014-01-16 06:07:24 +01:00
Erik Michaels-Ober
40bee8fed7
Release 0.9.0.rc7
2014-01-10 01:56:30 +01:00
Erik Michaels-Ober
edcd7d61f3
Make formatting of then, yield, and super consistent
2014-01-09 02:59:12 +01:00
rick
2f64974b55
bump rc version
2013-11-09 08:54:57 -07:00
rick
7a23e7b877
Autoloads by default, but makes it easy to disable.
2013-10-13 15:50:18 -06:00
Mislav Marohnić
a23124ea7b
avoid ruby syntax warnings
2013-06-25 04:11:31 +02:00
rick
f4e3fc3440
Release 0.9.0.rc5
2013-05-13 15:21:10 -06:00