whois 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +10 -0
- data/lib/whois/answer/parser/whois.cira.ca.rb +1 -0
- data/lib/whois/answer/parser/whois.dns.pt.rb +2 -1
- data/lib/whois/answer/parser/whois.domain-registry.nl.rb +0 -1
- data/lib/whois/answer/parser/whois.nic.ve.rb +6 -0
- data/lib/whois/version.rb +1 -1
- data/whois.gemspec +5 -2
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
= Changelog
|
2
2
|
|
3
|
+
|
4
|
+
== Release 1.6.5
|
5
|
+
|
6
|
+
* FIXED: whois.nic.ve must support :suspended status.
|
7
|
+
|
8
|
+
* FIXED: whois.dns.pt must support :reserved status.
|
9
|
+
|
10
|
+
* FIXED: whois.cira.ca must support :redemption status as :registered.
|
11
|
+
|
12
|
+
|
3
13
|
== Release 1.6.4
|
4
14
|
|
5
15
|
* FIXED: With some .pl domains, whois.dns.pl parser returns invalid values for nameservers.
|
@@ -35,9 +35,10 @@ module Whois
|
|
35
35
|
class WhoisDnsPt < Base
|
36
36
|
|
37
37
|
property_supported :status do
|
38
|
-
@status ||= if content_for_scanner =~
|
38
|
+
@status ||= if content_for_scanner =~ /^Estado \/ Status:\s+(.+)\n/
|
39
39
|
case $1.downcase
|
40
40
|
when "active" then :registered
|
41
|
+
when "reserved" then :reserved
|
41
42
|
else
|
42
43
|
Whois.bug!(ParserError, "Unknown status `#{$1}'.")
|
43
44
|
end
|
@@ -38,6 +38,7 @@ module Whois
|
|
38
38
|
@status ||= if content_for_scanner =~ /Estatus del dominio: (.+?)\n/
|
39
39
|
case $1.downcase
|
40
40
|
when "activo" then :registered
|
41
|
+
when "suspendido" then :suspended
|
41
42
|
else
|
42
43
|
Whois.bug!(ParserError, "Unknown status `#{$1}'.")
|
43
44
|
end
|
@@ -81,6 +82,11 @@ module Whois
|
|
81
82
|
end
|
82
83
|
end
|
83
84
|
|
85
|
+
|
86
|
+
# NEWPROPERTY
|
87
|
+
# def suspended?
|
88
|
+
# end
|
89
|
+
|
84
90
|
end
|
85
91
|
|
86
92
|
end
|
data/lib/whois/version.rb
CHANGED
data/whois.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{whois}
|
5
|
-
s.version = "1.6.
|
5
|
+
s.version = "1.6.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Simone Carletti"]
|
9
|
-
s.date = %q{2010-11-
|
9
|
+
s.date = %q{2010-11-23}
|
10
10
|
s.default_executable = %q{ruby-whois}
|
11
11
|
s.description = %q{ Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, parse and convert responses into easy-to-use Ruby objects.
|
12
12
|
}
|
@@ -27,11 +27,14 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.specification_version = 3
|
28
28
|
|
29
29
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
30
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
|
30
31
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
31
32
|
else
|
33
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
32
34
|
s.add_dependency(%q<mocha>, [">= 0"])
|
33
35
|
end
|
34
36
|
else
|
37
|
+
s.add_dependency(%q<rspec>, ["~> 2.1.0"])
|
35
38
|
s.add_dependency(%q<mocha>, [">= 0"])
|
36
39
|
end
|
37
40
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whois
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 1.6.
|
9
|
+
- 5
|
10
|
+
version: 1.6.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Simone Carletti
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-07 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|