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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07406453bacb702787a228be27841c6b0f05b5a490b36831034690162d6dc016
4
- data.tar.gz: a0ff2baf14c20a12f8e1c32ccc491cbb05878c1d6a43811908014cb0343051b0
3
+ metadata.gz: 619c4a4efc7daf30961e09303c2618d592714ccacd16b8e2567592eb3517c68c
4
+ data.tar.gz: bddecc90a89dc8af8b3bde08d75ade78a164b246b8de0c03df15b344613bb888
5
5
  SHA512:
6
- metadata.gz: 853991efa85334ac125bae28cd8ff4d0338580d36814dfc3a9c7a25ae7ecbb55e15ac0dc055dad8ad06e7659e95ed82a9680025226fac4c625bb765cb918e655
7
- data.tar.gz: 7c0921846b6382aa94a5f24ec6a0a301c7674fe4d3bc957744958b29bc84672c2b086468043ec49fa5074bfdee9abae8ae822a49dbcbf39b782e4bc7adbcc162
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.new
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Excon
4
- VERSION = '0.108.0'
4
+ VERSION = '0.109.0'
5
5
  end
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.108.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: 2023-12-15 00:00:00.000000000 Z
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.3.26
254
+ rubygems_version: 3.4.10
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: speed, persistence, http(s)