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 CHANGED
@@ -1,5 +1,10 @@
1
1
  = Whois Release Notes
2
2
 
3
+ == 0.4.1
4
+
5
+ It's just an update of data from Whois-4.7.24 [http://ftp.debian.org/debian/pool/main/w/whois/]
6
+ of Marco D'ItrI
7
+
3
8
  == 0.4.0
4
9
 
5
10
  Now you can create a Whois Object with an object IPAddr (require 'ipaddr')
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
@@ -26,7 +26,7 @@
26
26
  2001:0000::/32: Teredo
27
27
  2A00:0000::/12: Ripe
28
28
  2001:4C00::/22: Ripe
29
- 2400:0000::/20: Kornet
29
+ 2400:0000::/20: Nicor
30
30
  2001:4800::/23: Arin
31
31
  2001:4400::/23: Apnic
32
32
  2001:1400::/22: Ripe
data/lib/server/server.rb CHANGED
@@ -87,13 +87,6 @@ module Server
87
87
  end
88
88
  end
89
89
 
90
- # Class for server whois.kornet.net
91
- class Kornet < Server
92
- def initialize
93
- @server = 'whois.kornet.net'
94
- end
95
- end
96
-
97
90
  # Class for server whois.v6nic.net
98
91
  class V6nic < Server
99
92
  def initialize
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.0
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.0
7
- date: 2007-04-29 00:00:00 +02:00
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