whois 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/NOTES +5 -0
- data/lib/data/ipv4.yaml +3 -3
- data/lib/data/ipv6.yaml +1 -1
- data/lib/server/server.rb +0 -7
- data/test/test_whois.rb +3 -1
- metadata +4 -4
data/NOTES
CHANGED
data/lib/data/ipv4.yaml
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
160.124.0.0/16: Afrinic
|
19
19
|
214.0.0.0/7: Arin
|
20
20
|
210.242.0.0/15: Twnic
|
21
|
+
186.0.0.0/7: Lacnic
|
21
22
|
61.192.0.0/12: Nicad
|
22
23
|
163.156.0.0/14: Ripe
|
23
24
|
171.16.0.0/12: Ripe
|
@@ -82,6 +83,7 @@
|
|
82
83
|
211.16.0.0/14: Nicad
|
83
84
|
210.92.0.0/14: Nicor
|
84
85
|
202.32.0.0/14: Nicad
|
86
|
+
114.0.0.0/7: Apnic
|
85
87
|
220.103.0.0/16: Nicor
|
86
88
|
211.75.0.0/16: Twnic
|
87
89
|
202.20.128.0/17: Nicor
|
@@ -135,8 +137,8 @@
|
|
135
137
|
210.241.0.0/15: Twnic
|
136
138
|
210.216.0.0/13: Nicor
|
137
139
|
61.72.0.0/13: Nicor
|
140
|
+
80.0.0.0/4: Ripe
|
138
141
|
192.114.0.0/15: Ripe
|
139
|
-
80.0.0.0/5: Ripe
|
140
142
|
210.188.0.0/14: Nicad
|
141
143
|
210.178.0.0/15: Nicor
|
142
144
|
210.90.0.0/15: Nicor
|
@@ -165,7 +167,6 @@
|
|
165
167
|
210.160.0.0/12: Nicad
|
166
168
|
210.65.0.0/16: Twnic
|
167
169
|
160.216.0.0/14: Ripe
|
168
|
-
92.0.0.0/7: Ripe
|
169
170
|
164.148.0.0/14: Afrinic
|
170
171
|
189.0.0.0/8: Lacnic
|
171
172
|
202.23.0.0/16: Nicad
|
@@ -195,7 +196,6 @@
|
|
195
196
|
203.224.0.0/11: Nicor
|
196
197
|
77.0.0.0/8: Ripe
|
197
198
|
120.0.0.0/6: Apnic
|
198
|
-
88.0.0.0/6: Ripe
|
199
199
|
188.0.0.0/8: Ripe
|
200
200
|
202.13.0.0/16: Nicad
|
201
201
|
78.0.0.0/7: Ripe
|
data/lib/data/ipv6.yaml
CHANGED
data/lib/server/server.rb
CHANGED
data/test/test_whois.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
#! /usr/bin/ruby -w
|
2
|
+
|
1
3
|
require 'test/unit'
|
2
4
|
require 'lib/whois'
|
3
5
|
require 'ipaddr'
|
@@ -100,7 +102,7 @@ class TestWhois < Test::Unit::TestCase
|
|
100
102
|
end
|
101
103
|
|
102
104
|
def test_Ipv6_not_host
|
103
|
-
ip = IPAddr.new 'a13e:1678:129b:7341'
|
105
|
+
ip = IPAddr.new 'a13e:1678:129b:7341::0/64'
|
104
106
|
assert_raise Whois::WhoisException do
|
105
107
|
w = Whois::Whois.new ip
|
106
108
|
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.4
|
3
3
|
specification_version: 1
|
4
4
|
name: whois
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.4.1
|
7
|
+
date: 2007-11-23 00:00:00 +01:00
|
8
8
|
summary: Whois provides a library for request whois server
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -29,8 +29,8 @@ post_install_message:
|
|
29
29
|
authors:
|
30
30
|
- Cyril Mougel
|
31
31
|
files:
|
32
|
-
- test/test_whois.rb
|
33
32
|
- test/example.rb
|
33
|
+
- test/test_whois.rb
|
34
34
|
- lib/server
|
35
35
|
- lib/server/server.rb
|
36
36
|
- lib/data
|