whois 2.6.4 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +39 -0
- data/LICENSE +2 -2
- data/README.md +1 -1
- data/lib/whois/definitions/tlds.rb +5 -4
- data/lib/whois/record/parser/NOTES.txt +0 -8
- data/lib/whois/record/parser/base_afilias.rb +2 -3
- data/lib/whois/record/parser/base_cocca.rb +6 -4
- data/lib/whois/record/parser/base_shared1.rb +120 -0
- data/lib/whois/record/parser/base_shared2.rb +143 -0
- data/lib/whois/record/parser/base_whoisd.rb +3 -3
- data/lib/whois/record/parser/whois.biz.rb +6 -113
- data/lib/whois/record/parser/whois.centralnic.com.rb +0 -1
- data/lib/whois/record/parser/whois.cmc.iq.rb +24 -0
- data/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +10 -9
- data/lib/whois/record/parser/whois.dns.pl.rb +5 -1
- data/lib/whois/record/parser/whois.domain-registry.nl.rb +15 -12
- data/lib/whois/record/parser/whois.godaddy.com.rb +3 -2
- data/lib/whois/record/parser/whois.jprs.jp.rb +2 -0
- data/lib/whois/record/parser/whois.monic.mo.rb +90 -0
- data/lib/whois/record/parser/whois.na-nic.com.na.rb +8 -4
- data/lib/whois/record/parser/whois.netcom.cm.rb +2 -64
- data/lib/whois/record/parser/whois.networksolutions.com.rb +3 -0
- data/lib/whois/record/parser/whois.nic.co.rb +4 -49
- data/lib/whois/record/parser/whois.nic.dm.rb +142 -0
- data/lib/whois/record/parser/whois.nic.fo.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gs.rb +9 -5
- data/lib/whois/record/parser/whois.nic.name.rb +26 -12
- data/lib/whois/record/parser/whois.nic.net.nf.rb +13 -7
- data/lib/whois/record/parser/whois.register.com.rb +158 -0
- data/lib/whois/record/parser/whois.registry.om.rb +2 -99
- data/lib/whois/record/parser/whois.registry.qa.rb +5 -95
- data/lib/whois/record/parser/whois.tld.ee.rb +1 -1
- data/lib/whois/record/parser/whois1.nic.bi.rb +23 -0
- data/lib/whois/record/scanners/base.rb +4 -0
- data/lib/whois/record/scanners/{afilias.rb → base_afilias.rb} +2 -2
- data/lib/whois/record/scanners/{whois.registry.om.rb → base_shared1.rb} +2 -5
- data/lib/whois/record/scanners/{whois.biz.rb → base_shared2.rb} +4 -3
- data/lib/whois/record/scanners/{whoisd.rb → base_whoisd.rb} +2 -2
- data/lib/whois/record/scanners/whois.nic.dm.rb +52 -0
- data/lib/whois/version.rb +2 -2
- data/whois.gemspec +4 -4
- metadata +15 -8
- data/lib/whois/record/scanners/whois.registry.qa.rb +0 -39
@@ -1,39 +0,0 @@
|
|
1
|
-
#--
|
2
|
-
# Ruby Whois
|
3
|
-
#
|
4
|
-
# An intelligent pure Ruby WHOIS client and parser.
|
5
|
-
#
|
6
|
-
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
|
7
|
-
#++
|
8
|
-
|
9
|
-
|
10
|
-
require 'whois/record/scanners/base'
|
11
|
-
|
12
|
-
|
13
|
-
module Whois
|
14
|
-
class Record
|
15
|
-
module Scanners
|
16
|
-
|
17
|
-
# Scanner for the whois.registry.qa record.
|
18
|
-
#
|
19
|
-
# @since 2.1.0
|
20
|
-
class WhoisRegistryQa < Base
|
21
|
-
|
22
|
-
self.tokenizers += [
|
23
|
-
:skip_empty_line,
|
24
|
-
:scan_available,
|
25
|
-
:scan_keyvalue,
|
26
|
-
]
|
27
|
-
|
28
|
-
|
29
|
-
tokenizer :scan_available do
|
30
|
-
if @input.scan(/^No Data Found\n/)
|
31
|
-
@ast["status:available"] = true
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|