excon 0.108.0 → 0.109.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/excon/socket.rb +2 -2
- data/lib/excon/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: 619c4a4efc7daf30961e09303c2618d592714ccacd16b8e2567592eb3517c68c
|
4
|
+
data.tar.gz: bddecc90a89dc8af8b3bde08d75ade78a164b246b8de0c03df15b344613bb888
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5995d37357a44359685cf48946e30fcc4b2fb4f10ab8e6a818404554305bac72e6edf6b908baad25b7860d72141473c1b0d03f2d52ca24a90cc6585ec8dc7e1
|
7
|
+
data.tar.gz: e7dd12e91db7c4c09ef2727c8fd1e49460cd591d4288f1a6e9b7693b3682bf6b96ff638fc51a082395b535e4381c7af667df49c782b00cd17ee0304f97e318ff
|
data/lib/excon/socket.rb
CHANGED
@@ -132,14 +132,14 @@ module Excon
|
|
132
132
|
family = @data[:proxy][:family]
|
133
133
|
end
|
134
134
|
|
135
|
-
resolver = @data[:resolv_resolver] || Resolv
|
135
|
+
resolver = @data[:resolv_resolver] || Resolv::DefaultResolver
|
136
136
|
|
137
137
|
# Deprecated
|
138
138
|
if @data[:dns_timeouts]
|
139
139
|
Excon.display_warning('dns_timeouts is deprecated, use resolv_resolver instead.')
|
140
140
|
dns_resolver = Resolv::DNS.new
|
141
141
|
dns_resolver.timeouts = @data[:dns_timeouts]
|
142
|
-
resolver = Resolv.new([Resolv::Hosts.new, dns_resolver])
|
142
|
+
resolver = Resolv.new([Resolv::Hosts.new, dns_resolver])
|
143
143
|
end
|
144
144
|
|
145
145
|
resolver.each_address(hostname) do |ip|
|
data/lib/excon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.109.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0'
|
253
253
|
requirements: []
|
254
|
-
rubygems_version: 3.
|
254
|
+
rubygems_version: 3.4.10
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: speed, persistence, http(s)
|