ip_contact_finder 1.0.0 → 1.0.1

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: 56453e0103dc26bab7dbf041936a9c6aafa823c2da31e98a9383b1378284235b
4
- data.tar.gz: 66233f5dfc5ab34cd4210a12905f554bc1da5e37b09d4e36aea645b8546f3907
3
+ metadata.gz: da98d2b498193e6fb166d143130e51196d00ddc46d0829e51f0c59c2c15b6f9c
4
+ data.tar.gz: ef89cad1449dddff6ea9d50fcb057d25d95cb992283336387f1e7f12c72dbbf7
5
5
  SHA512:
6
- metadata.gz: 7c41c1295eef832f06c55fb1c6cb6158694414d3d248a9e12912e251079a05c549de6896829b2cebc7336dd94f232c35346f1a27e649703290d6eaca85c25499
7
- data.tar.gz: 3603874df594ad899b4f9d97bd270c7f337e5be66230dffb017b81e2b48348469e18b545a60ba960d36fc9663d43454cffa6cfb260af5202032f68f006970f23
6
+ metadata.gz: d2ace3a77aa71adfe3c04bc97e3510866cf9edf971172c06ea85adfb858ca03e7e1bfd8fe3bd4e9e5f964b52081416b9b211436b1079c7d572f9c9f106d3bdff
7
+ data.tar.gz: 81c066f2d36a0473bacbec2e6a3032c4eec4f0cb561a18b713e15b1d7bc2df63e0a407489eb639123f1bbfb3f01d8f66fda95a419784d43fd6a93f54401c3f7d
@@ -55,6 +55,7 @@ module IPContactFinder
55
55
 
56
56
  @logger&.info "Making request to #{uri}"
57
57
 
58
+ http.start
58
59
  response = http.request(request)
59
60
  @logger&.info "Got response #{response.code}"
60
61
 
@@ -74,6 +75,8 @@ module IPContactFinder
74
75
  rescue SocketError, Errno::ECONNRESET, EOFError, Errno::EINVAL, Errno::ENETUNREACH, Errno::EHOSTUNREACH,
75
76
  Errno::ECONNREFUSED, OpenSSL::SSL::SSLError, Timeout::Error => e
76
77
  raise RequestError, "#{e.message} (#{e.class})"
78
+ ensure
79
+ http.finish
77
80
  end
78
81
  end
79
82
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ip_contact_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubygems_version: 3.3.7
200
+ rubygems_version: 3.3.27
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: A Ruby library to resolve IP addresses and AS numbers to responsible email