faraday 2.13.2 → 2.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/faraday/error.rb +1 -1
- data/lib/faraday/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fccc2d2f3f22b9ba2504be3288089a738dc48d781bc319876f9728f5aa2651b9
|
4
|
+
data.tar.gz: 790f7f98b93bd899b1fe0fb70ca2daa688b58c59c4879ad96c40646a68938142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9accbcc5fbbb03ad5f4626a8fd608908a67daf31fad850642002ebdab21fcfe5d5ee2a38a93422ea0a7d5272f995001ba765c9ef6973c7f6c68b3a4295594876
|
7
|
+
data.tar.gz: 13beb88b10ad5dd9e3ef116f73928d04436e18d9409265af74570258834eca99952bf73bc33ae3e0b1ddafdcb0851747e2b9212851778d0cc5936a0e8e0f1823
|
data/lib/faraday/error.rb
CHANGED
@@ -81,7 +81,7 @@ module Faraday
|
|
81
81
|
def exc_msg_and_response(exc, response = nil)
|
82
82
|
if exc.is_a?(Exception)
|
83
83
|
[exc, exc.message, response]
|
84
|
-
elsif exc.is_a?(Hash)
|
84
|
+
elsif exc.is_a?(Hash) || exc.is_a?(Faraday::Env)
|
85
85
|
http_status = exc.fetch(:status)
|
86
86
|
|
87
87
|
request = exc.fetch(:request, nil)
|
data/lib/faraday/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.13.
|
4
|
+
version: 2.13.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "@technoweenie"
|
@@ -144,7 +144,7 @@ licenses:
|
|
144
144
|
- MIT
|
145
145
|
metadata:
|
146
146
|
homepage_uri: https://lostisland.github.io/faraday
|
147
|
-
changelog_uri: https://github.com/lostisland/faraday/releases/tag/v2.13.
|
147
|
+
changelog_uri: https://github.com/lostisland/faraday/releases/tag/v2.13.3
|
148
148
|
source_code_uri: https://github.com/lostisland/faraday
|
149
149
|
bug_tracker_uri: https://github.com/lostisland/faraday/issues
|
150
150
|
rubygems_mfa_required: 'true'
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.6.
|
166
|
+
rubygems_version: 3.6.9
|
167
167
|
specification_version: 4
|
168
168
|
summary: HTTP/REST API client library.
|
169
169
|
test_files: []
|