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 +4 -4
- data/lib/ip_contact_finder/rdap.rb +3 -0
- 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: da98d2b498193e6fb166d143130e51196d00ddc46d0829e51f0c59c2c15b6f9c
|
4
|
+
data.tar.gz: ef89cad1449dddff6ea9d50fcb057d25d95cb992283336387f1e7f12c72dbbf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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:
|
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.
|
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
|