nicinfo 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nicinfo/bootstrap.rb +5 -4
- data/lib/nicinfo/bsfiles/asn.json +2316 -2312
- data/lib/nicinfo/bsfiles/dns.json +8 -27
- data/lib/nicinfo/bsfiles/entity.json +39 -41
- data/lib/nicinfo/bsfiles/ipv4.json +250 -230
- data/lib/nicinfo/bsfiles/ipv6.json +64 -83
- data/lib/nicinfo/config.rb +2 -0
- data/lib/nicinfo/constants.rb +2 -2
- metadata +1 -1
@@ -1,98 +1,79 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
"description": "RDAP bootstrap file for IPv6 address allocations",
|
3
|
+
"publication": "2016-03-22T15:40:01Z",
|
4
|
+
"services": [
|
5
|
+
[
|
6
6
|
[
|
7
|
-
|
8
|
-
|
9
|
-
"2001:3c00::/22",
|
10
|
-
"2d00:0000::/8",
|
11
|
-
"2e00:0000::/7",
|
12
|
-
"3000:0000::/4",
|
13
|
-
"3ffe::/16",
|
14
|
-
"5f00::/8"
|
15
|
-
],
|
16
|
-
[
|
17
|
-
"https://rdap.iana.org",
|
18
|
-
"http://rdap.iana.org"
|
19
|
-
]
|
7
|
+
"2001:4200::/23",
|
8
|
+
"2c00::/12"
|
20
9
|
],
|
21
10
|
[
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
11
|
+
"https://rdap.afrinic.net/rdap/",
|
12
|
+
"http://rdap.afrinic.net/rdap/"
|
13
|
+
]
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"2001:200::/23",
|
18
|
+
"2001:4400::/23",
|
19
|
+
"2001:8000::/19",
|
20
|
+
"2001:a000::/20",
|
21
|
+
"2001:b000::/20",
|
22
|
+
"2001:c00::/23",
|
23
|
+
"2001:e00::/23",
|
24
|
+
"2400::/12"
|
36
25
|
],
|
37
26
|
[
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
]
|
27
|
+
"https://rdap.apnic.net/"
|
28
|
+
]
|
29
|
+
],
|
30
|
+
[
|
31
|
+
[
|
32
|
+
"2001:1800::/23",
|
33
|
+
"2001:400::/23",
|
34
|
+
"2001:4800::/23",
|
35
|
+
"2600::/12",
|
36
|
+
"2610::/23",
|
37
|
+
"2620::/23"
|
50
38
|
],
|
51
39
|
[
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
40
|
+
"https://rdap.arin.net/registry",
|
41
|
+
"http://rdap.arin.net/registry"
|
42
|
+
]
|
43
|
+
],
|
44
|
+
[
|
45
|
+
[
|
46
|
+
"2001:1400::/23",
|
47
|
+
"2001:1600::/23",
|
48
|
+
"2001:1a00::/23",
|
49
|
+
"2001:1c00::/22",
|
50
|
+
"2001:2000::/20",
|
51
|
+
"2001:3000::/21",
|
52
|
+
"2001:3800::/22",
|
53
|
+
"2001:4000::/23",
|
54
|
+
"2001:4600::/23",
|
55
|
+
"2001:4a00::/23",
|
56
|
+
"2001:4c00::/23",
|
57
|
+
"2001:5000::/20",
|
58
|
+
"2001:600::/23",
|
59
|
+
"2001:800::/23",
|
60
|
+
"2001:a00::/23",
|
61
|
+
"2003::/18",
|
62
|
+
"2a00::/12"
|
75
63
|
],
|
76
64
|
[
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
]
|
65
|
+
"https://rdap.db.ripe.net/"
|
66
|
+
]
|
67
|
+
],
|
68
|
+
[
|
69
|
+
[
|
70
|
+
"2001:1200::/23",
|
71
|
+
"2800::/12"
|
85
72
|
],
|
86
73
|
[
|
87
|
-
|
88
|
-
"2001:4200::/23",
|
89
|
-
"2c00:0000::/12"
|
90
|
-
],
|
91
|
-
[
|
92
|
-
"https://rdap.rd.me.afrinic.net/whois/AFRINIC",
|
93
|
-
"http://rdap.rd.me.afrinic.net/whois/AFRINIC"
|
94
|
-
]
|
74
|
+
"https://rdap.lacnic.net/rdap/"
|
95
75
|
]
|
96
76
|
]
|
97
|
-
|
77
|
+
],
|
78
|
+
"version": "1.0"
|
98
79
|
}
|
data/lib/nicinfo/config.rb
CHANGED
@@ -197,6 +197,8 @@ module NicInfo
|
|
197
197
|
data_dir = File.join(ENV['HOME'], ".NicInfo")
|
198
198
|
elsif RUBY_PLATFORM =~ /freebsd/
|
199
199
|
data_dir = File.join(ENV['HOME'], ".NicInfo")
|
200
|
+
elsif RUBY_PLATFORM =~ /cygwin/
|
201
|
+
data_dir = File.join(ENV['HOME'], ".NicInfo")
|
200
202
|
else
|
201
203
|
raise ScriptError, "system platform is not recognized."
|
202
204
|
end
|
data/lib/nicinfo/constants.rb
CHANGED
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
module NicInfo
|
20
20
|
|
21
|
-
VERSION = "1.1.
|
21
|
+
VERSION = "1.1.1"
|
22
22
|
VERSION_LABEL = "NicInfo v." + VERSION
|
23
|
-
COPYRIGHT = "Copyright (c) 2011
|
23
|
+
COPYRIGHT = "Copyright (c) 2011-2016 American Registry for Internet Numbers (ARIN)"
|
24
24
|
CONFIG_VERSION = 3
|
25
25
|
|
26
26
|
# regular expressions
|