faraday-net_http 3.4.2 → 3.4.4
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/adapter/net_http.rb +1 -2
- data/lib/faraday/net_http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68682d9505a93d5cc0421b7122a8d3b6e049197e4e871b563b12be8f7f68ca15
|
|
4
|
+
data.tar.gz: b0b11d54d7d4fb8023b0763508c38a444038a219cc31ba5705e694e9756d5623
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb892fe233941b262589c18134f1041d63d01ca19c38f583c19bf9562dde269b7714555c5b5f80703f19210aa407b2d4631def6958f958dfefa60a77cf5622d7
|
|
7
|
+
data.tar.gz: b9179ac1c840a6e01b1f98625132fc913c15beb106112fee48bf29b1d3b5a0d88d54e64eaf6f40c05e669dd6c109ea963165e92adf15a43cfe604f2bd63f7b86
|
|
@@ -190,8 +190,7 @@ module Faraday
|
|
|
190
190
|
body = http_response.body || +''
|
|
191
191
|
/\bcharset=([^;]+)/.match(http_response['Content-Type']) do |match|
|
|
192
192
|
content_charset = ::Encoding.find(match[1].strip)
|
|
193
|
-
body = body.dup
|
|
194
|
-
body.force_encoding(content_charset)
|
|
193
|
+
body = body.dup.force_encoding(content_charset)
|
|
195
194
|
rescue ArgumentError
|
|
196
195
|
nil
|
|
197
196
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faraday-net_http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan van der Pas
|
|
@@ -41,7 +41,7 @@ licenses:
|
|
|
41
41
|
metadata:
|
|
42
42
|
homepage_uri: https://github.com/lostisland/faraday-net_http
|
|
43
43
|
source_code_uri: https://github.com/lostisland/faraday-net_http
|
|
44
|
-
changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.4.
|
|
44
|
+
changelog_uri: https://github.com/lostisland/faraday-net_http/releases/tag/v3.4.4
|
|
45
45
|
rubygems_mfa_required: 'true'
|
|
46
46
|
rdoc_options: []
|
|
47
47
|
require_paths:
|