mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-03 00:02:48 -04:00
Compare commits
2 Commits
43d6797770
...
b3b922949d
Author | SHA1 | Date | |
---|---|---|---|
|
b3b922949d | ||
|
89b1fe3da9 |
@ -283,7 +283,11 @@ module Faraday
|
||||
else
|
||||
stub.block.call(env, meta)
|
||||
end
|
||||
save_response(env, status, body, headers)
|
||||
|
||||
# We need to explicitly pass `reason_phrase = nil` here to avoid keyword args conflicts.
|
||||
# See https://github.com/lostisland/faraday/issues/1444
|
||||
# TODO: remove `nil` explicit reason_phrase once Ruby 3.0 becomes minimum req. version
|
||||
save_response(env, status, body, headers, nil)
|
||||
|
||||
@app.call(env)
|
||||
end
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Faraday
|
||||
VERSION = '2.5.1'
|
||||
VERSION = '2.5.2'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user