resolv 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resolv.rb +27 -2
- data/resolv.gemspec +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: 240a66a5e747e1f666b2a6b95ddf8eb4eb14c5c8ac158d271917ac4a1b2399ec
|
4
|
+
data.tar.gz: 6a8aaab87f6106d158e19fa3238d05d6c01570e1f3d0a47e1ff5d38feb163627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e92ffff6b41c6c3fc835a0b486e52dd882d3182eb2d5b33cce7b44194d85de3bf0d654e1cf7a41e20c52d6f8e22733ea3d32e323dcd2b57a6f8bb77a7a25f898
|
7
|
+
data.tar.gz: 254f8a2de06257d8acdd6eb980a70b06910f83c49f8d404a4082047bf90abbc63443968f1e585c3fc3ff331235d2a80a78089e73c9208f3cf8b367a1da0396bd
|
data/lib/resolv.rb
CHANGED
@@ -706,7 +706,7 @@ class Resolv
|
|
706
706
|
end
|
707
707
|
|
708
708
|
def sender_for(addr, msg)
|
709
|
-
@senders[
|
709
|
+
@senders.delete([addr,msg.id])
|
710
710
|
end
|
711
711
|
|
712
712
|
def close
|
@@ -2459,6 +2459,28 @@ class Resolv
|
|
2459
2459
|
(\d+)\.(\d+)\.(\d+)\.(\d+)
|
2460
2460
|
\z/x
|
2461
2461
|
|
2462
|
+
##
|
2463
|
+
# IPv6 link local address format fe80:b:c:d:e:f:g:h%em1
|
2464
|
+
Regex_8HexLinkLocal = /\A
|
2465
|
+
[Ff][Ee]80
|
2466
|
+
(?::[0-9A-Fa-f]{1,4}){7}
|
2467
|
+
%[0-9A-Za-z]+
|
2468
|
+
\z/x
|
2469
|
+
|
2470
|
+
##
|
2471
|
+
# Compressed IPv6 link local address format fe80::b%em1
|
2472
|
+
|
2473
|
+
Regex_CompressedHexLinkLocal = /\A
|
2474
|
+
[Ff][Ee]80:
|
2475
|
+
(?:
|
2476
|
+
((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?) ::
|
2477
|
+
((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)
|
2478
|
+
|
|
2479
|
+
:((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)
|
2480
|
+
)?
|
2481
|
+
:[0-9A-Fa-f]{1,4}%[0-9A-Za-z.]+
|
2482
|
+
\z/x
|
2483
|
+
|
2462
2484
|
##
|
2463
2485
|
# A composite IPv6 address Regexp.
|
2464
2486
|
|
@@ -2466,7 +2488,10 @@ class Resolv
|
|
2466
2488
|
(?:#{Regex_8Hex}) |
|
2467
2489
|
(?:#{Regex_CompressedHex}) |
|
2468
2490
|
(?:#{Regex_6Hex4Dec}) |
|
2469
|
-
(?:#{Regex_CompressedHex4Dec})
|
2491
|
+
(?:#{Regex_CompressedHex4Dec}) |
|
2492
|
+
(?:#{Regex_8HexLinkLocal}) |
|
2493
|
+
(?:#{Regex_CompressedHexLinkLocal})
|
2494
|
+
/x
|
2470
2495
|
|
2471
2496
|
##
|
2472
2497
|
# Creates a new IPv6 address from +arg+ which may be:
|
data/resolv.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resolv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanaka Akira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Thread-aware DNS resolver library in Ruby.
|
14
14
|
email:
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '0'
|
51
51
|
requirements: []
|
52
|
-
rubygems_version: 3.2.
|
52
|
+
rubygems_version: 3.2.2
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: Thread-aware DNS resolver library in Ruby.
|