whois 3.4.3 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/README.md +3 -5
- data/lib/whois.rb +1 -1
- data/lib/whois/client.rb +1 -1
- data/lib/whois/errors.rb +1 -1
- data/lib/whois/record.rb +1 -1
- data/lib/whois/record/contact.rb +1 -1
- data/lib/whois/record/nameserver.rb +1 -1
- data/lib/whois/record/parser.rb +1 -1
- data/lib/whois/record/parser/base.rb +1 -1
- data/lib/whois/record/parser/base_afilias.rb +1 -1
- data/lib/whois/record/parser/base_cocca.rb +1 -1
- data/lib/whois/record/parser/base_cocca2.rb +1 -1
- data/lib/whois/record/parser/base_icann_compliant.rb +1 -1
- data/lib/whois/record/parser/base_icb.rb +3 -4
- data/lib/whois/record/parser/base_iisse.rb +1 -1
- data/lib/whois/record/parser/base_shared1.rb +1 -1
- data/lib/whois/record/parser/base_shared2.rb +1 -1
- data/lib/whois/record/parser/base_shared3.rb +1 -1
- data/lib/whois/record/parser/base_verisign.rb +2 -2
- data/lib/whois/record/parser/base_whoisd.rb +1 -1
- data/lib/whois/record/parser/blank.rb +1 -1
- data/lib/whois/record/parser/ccwhois.verisign-grs.com.rb +1 -1
- data/lib/whois/record/parser/example.rb +1 -1
- data/lib/whois/record/parser/jobswhois.verisign-grs.com.rb +1 -1
- data/lib/whois/record/parser/kero.yachay.pe.rb +1 -1
- data/lib/whois/record/parser/whois.1und1.info.rb +1 -1
- data/lib/whois/record/parser/whois.adamsnames.tc.rb +1 -1
- data/lib/whois/record/parser/whois.aeda.net.ae.rb +1 -1
- data/lib/whois/record/parser/whois.aero.rb +1 -1
- data/lib/whois/record/parser/whois.afilias-grs.info.rb +1 -1
- data/lib/whois/record/parser/whois.afilias.info.rb +1 -1
- data/lib/whois/record/parser/whois.ai.rb +1 -1
- data/lib/whois/record/parser/whois.arnes.si.rb +1 -1
- data/lib/whois/record/parser/whois.ascio.com.rb +1 -1
- data/lib/whois/record/parser/whois.ati.tn.rb +1 -1
- data/lib/whois/record/parser/whois.audns.net.au.rb +1 -1
- data/lib/whois/record/parser/whois.ax.rb +1 -1
- data/lib/whois/record/parser/whois.biz.rb +1 -1
- data/lib/whois/record/parser/whois.bn.rb +1 -1
- data/lib/whois/record/parser/whois.cat.rb +1 -1
- data/lib/whois/record/parser/whois.cctld.by.rb +1 -1
- data/lib/whois/record/parser/whois.cctld.uz.rb +1 -1
- data/lib/whois/record/parser/whois.centralnic.com.rb +1 -1
- data/lib/whois/record/parser/whois.cira.ca.rb +1 -1
- data/lib/whois/record/parser/whois.cmc.iq.rb +1 -1
- data/lib/whois/record/parser/whois.cnnic.cn.rb +1 -1
- data/lib/whois/record/parser/whois.co.ca.rb +1 -1
- data/lib/whois/record/parser/whois.co.pl.rb +1 -1
- data/lib/whois/record/parser/whois.co.ug.rb +1 -1
- data/lib/whois/record/parser/whois.comlaude.com.rb +1 -1
- data/lib/whois/record/parser/whois.denic.de.rb +2 -2
- data/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +1 -1
- data/lib/whois/record/parser/whois.dns.be.rb +1 -1
- data/lib/whois/record/parser/whois.dns.hr.rb +1 -1
- data/lib/whois/record/parser/whois.dns.lu.rb +7 -9
- data/lib/whois/record/parser/whois.dns.pl.rb +1 -1
- data/lib/whois/record/parser/whois.dns.pt.rb +1 -1
- data/lib/whois/record/parser/whois.domain-registry.nl.rb +1 -1
- data/lib/whois/record/parser/whois.domain.kg.rb +1 -1
- data/lib/whois/record/parser/whois.domainregistry.ie.rb +2 -2
- data/lib/whois/record/parser/whois.domainregistry.my.rb +1 -1
- data/lib/whois/record/parser/whois.domreg.lt.rb +1 -1
- data/lib/whois/record/parser/whois.dot.cf.rb +1 -1
- data/lib/whois/record/parser/whois.dot.tk.rb +1 -1
- data/lib/whois/record/parser/whois.dotmobiregistry.net.rb +1 -1
- data/lib/whois/record/parser/whois.dotpostregistry.net.rb +1 -1
- data/lib/whois/record/parser/whois.dreamhost.com.rb +1 -1
- data/lib/whois/record/parser/whois.educause.edu.rb +1 -1
- data/lib/whois/record/parser/whois.eenet.ee.rb +1 -1
- data/lib/whois/record/parser/whois.enom.com.rb +1 -1
- data/lib/whois/record/parser/whois.eu.org.rb +1 -1
- data/lib/whois/record/parser/whois.eu.rb +1 -1
- data/lib/whois/record/parser/whois.fi.rb +1 -1
- data/lib/whois/record/parser/whois.gandi.net.rb +1 -1
- data/lib/whois/record/parser/whois.gg.rb +1 -1
- data/lib/whois/record/parser/whois.godaddy.com.rb +1 -1
- data/lib/whois/record/parser/whois.gov.za.rb +1 -1
- data/lib/whois/record/parser/whois.hkirc.hk.rb +1 -1
- data/lib/whois/record/parser/whois.iam.net.ma.rb +1 -1
- data/lib/whois/record/parser/whois.iana.org.rb +1 -1
- data/lib/whois/record/parser/whois.iis.nu.rb +1 -1
- data/lib/whois/record/parser/whois.iis.se.rb +1 -1
- data/lib/whois/record/parser/whois.in.ua.rb +1 -1
- data/lib/whois/record/parser/whois.isnic.is.rb +1 -1
- data/lib/whois/record/parser/whois.isoc.org.il.rb +1 -1
- data/lib/whois/record/parser/whois.ja.net.rb +1 -1
- data/lib/whois/record/parser/whois.je.rb +1 -1
- data/lib/whois/record/parser/whois.jprs.jp.rb +1 -1
- data/lib/whois/record/parser/whois.kenic.or.ke.rb +1 -1
- data/lib/whois/record/parser/whois.kr.rb +1 -1
- data/lib/whois/record/parser/whois.markmonitor.com.rb +1 -1
- data/lib/whois/record/parser/whois.meridiantld.net.rb +1 -1
- data/lib/whois/record/parser/whois.monic.mo.rb +1 -1
- data/lib/whois/record/parser/whois.museum.rb +1 -1
- data/lib/whois/record/parser/whois.na-nic.com.na.rb +1 -1
- data/lib/whois/record/parser/whois.nc.rb +1 -1
- data/lib/whois/record/parser/whois.netcom.cm.rb +1 -1
- data/lib/whois/record/parser/whois.networksolutions.com.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ac.rb +1 -1
- data/lib/whois/record/parser/whois.nic.af.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ag.rb +1 -1
- data/lib/whois/record/parser/whois.nic.am.rb +1 -1
- data/lib/whois/record/parser/whois.nic.as.rb +1 -1
- data/lib/whois/record/parser/whois.nic.asia.rb +1 -1
- data/lib/whois/record/parser/whois.nic.at.rb +1 -1
- data/lib/whois/record/parser/whois.nic.bj.rb +1 -1
- data/lib/whois/record/parser/whois.nic.bo.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cd.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ch.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ci.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ck.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.co.rb +1 -1
- data/lib/whois/record/parser/whois.nic.coop.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cx.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cz.rb +1 -1
- data/lib/whois/record/parser/whois.nic.dm.rb +1 -1
- data/lib/whois/record/parser/whois.nic.dz.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ec.rb +1 -1
- data/lib/whois/record/parser/whois.nic.es.rb +1 -1
- data/lib/whois/record/parser/whois.nic.fo.rb +1 -1
- data/lib/whois/record/parser/whois.nic.fr.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gd.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gov.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gs.rb +1 -1
- data/lib/whois/record/parser/whois.nic.hn.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ht.rb +1 -1
- data/lib/whois/record/parser/whois.nic.hu.rb +1 -1
- data/lib/whois/record/parser/whois.nic.im.rb +1 -1
- data/lib/whois/record/parser/whois.nic.io.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ir.rb +1 -1
- data/lib/whois/record/parser/whois.nic.it.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ki.rb +1 -1
- data/lib/whois/record/parser/whois.nic.kz.rb +1 -1
- data/lib/whois/record/parser/whois.nic.la.rb +1 -1
- data/lib/whois/record/parser/whois.nic.li.rb +1 -1
- data/lib/whois/record/parser/whois.nic.lk.rb +1 -1
- data/lib/whois/record/parser/whois.nic.lv.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ly.rb +1 -1
- data/lib/whois/record/parser/whois.nic.md.rb +1 -1
- data/lib/whois/record/parser/whois.nic.me.rb +1 -1
- data/lib/whois/record/parser/whois.nic.mg.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ms.rb +1 -1
- data/lib/whois/record/parser/whois.nic.mu.rb +1 -1
- data/lib/whois/record/parser/whois.nic.mx.rb +1 -1
- data/lib/whois/record/parser/whois.nic.name.rb +1 -1
- data/lib/whois/record/parser/whois.nic.net.ng.rb +1 -1
- data/lib/whois/record/parser/whois.nic.net.sa.rb +1 -1
- data/lib/whois/record/parser/whois.nic.net.sb.rb +1 -1
- data/lib/whois/record/parser/whois.nic.nf.rb +1 -1
- data/lib/whois/record/parser/whois.nic.org.uy.rb +1 -1
- data/lib/whois/record/parser/whois.nic.pr.rb +1 -1
- data/lib/whois/record/parser/whois.nic.priv.at.rb +1 -1
- data/lib/whois/record/parser/whois.nic.pw.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sh.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sm.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sn.rb +1 -1
- data/lib/whois/record/parser/whois.nic.so.rb +1 -1
- data/lib/whois/record/parser/whois.nic.st.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tel.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tm.rb +6 -48
- data/lib/whois/record/parser/whois.nic.tr.rb +1 -1
- data/lib/whois/record/parser/whois.nic.travel.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tv.rb +1 -1
- data/lib/whois/record/parser/whois.nic.uk.rb +1 -1
- data/lib/whois/record/parser/whois.nic.us.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ve.rb +1 -1
- data/lib/whois/record/parser/whois.nic.xxx.rb +1 -1
- data/lib/whois/record/parser/whois.norid.no.rb +1 -1
- data/lib/whois/record/parser/whois.org.za.rb +1 -1
- data/lib/whois/record/parser/whois.pairnic.com.rb +1 -1
- data/lib/whois/record/parser/whois.pandi.or.id.rb +1 -1
- data/lib/whois/record/parser/whois.pir.org.rb +56 -6
- data/lib/whois/record/parser/whois.pnina.ps.rb +1 -1
- data/lib/whois/record/parser/whois.register.bg.rb +1 -1
- data/lib/whois/record/parser/whois.register.com.rb +1 -1
- data/lib/whois/record/parser/whois.registro.br.rb +1 -1
- data/lib/whois/record/parser/whois.registry.gy.rb +1 -1
- data/lib/whois/record/parser/whois.registry.hm.rb +1 -1
- data/lib/whois/record/parser/whois.registry.in.rb +1 -1
- data/lib/whois/record/parser/whois.registry.net.za.rb +1 -1
- data/lib/whois/record/parser/whois.registry.om.rb +1 -1
- data/lib/whois/record/parser/whois.registry.qa.rb +1 -1
- data/lib/whois/record/parser/whois.registrypro.pro.rb +1 -1
- data/lib/whois/record/parser/whois.ripe.net.rb +1 -1
- data/lib/whois/record/parser/whois.rnids.rs.rb +1 -1
- data/lib/whois/record/parser/whois.rotld.ro.rb +1 -1
- data/lib/whois/record/parser/whois.rrpproxy.net.rb +1 -1
- data/lib/whois/record/parser/whois.schlund.info.rb +1 -1
- data/lib/whois/record/parser/whois.sgnic.sg.rb +1 -1
- data/lib/whois/record/parser/whois.sk-nic.sk.rb +1 -1
- data/lib/whois/record/parser/whois.smallregistry.net.rb +1 -1
- data/lib/whois/record/parser/whois.srs.net.nz.rb +1 -1
- data/lib/whois/record/parser/whois.sx.rb +1 -1
- data/lib/whois/record/parser/whois.tcinet.ru.rb +1 -1
- data/lib/whois/record/parser/whois.thnic.co.th.rb +1 -1
- data/lib/whois/record/parser/whois.tld.ee.rb +1 -1
- data/lib/whois/record/parser/whois.tld.sy.rb +1 -1
- data/lib/whois/record/parser/whois.tonic.to.rb +1 -1
- data/lib/whois/record/parser/whois.tucows.com.rb +1 -1
- data/lib/whois/record/parser/whois.twnic.net.tw.rb +1 -1
- data/lib/whois/record/parser/whois.tznic.or.tz.rb +1 -1
- data/lib/whois/record/parser/whois.ua.rb +1 -1
- data/lib/whois/record/parser/whois.udag.net.rb +1 -1
- data/lib/whois/record/parser/whois.usp.ac.fj.rb +1 -1
- data/lib/whois/record/parser/whois.verisign-grs.com.rb +1 -1
- data/lib/whois/record/parser/whois.website.ws.rb +1 -1
- data/lib/whois/record/parser/whois.wildwestdomains.com.rb +1 -1
- data/lib/whois/record/parser/whois.yoursrs.com.rb +1 -1
- data/lib/whois/record/parser/whois.za.net.rb +1 -1
- data/lib/whois/record/parser/whois.za.org.rb +1 -1
- data/lib/whois/record/parser/whois1.nic.bi.rb +1 -1
- data/lib/whois/record/part.rb +1 -1
- data/lib/whois/record/registrar.rb +1 -1
- data/lib/whois/record/scanners/base.rb +1 -1
- data/lib/whois/record/scanners/base_afilias.rb +1 -1
- data/lib/whois/record/scanners/base_cocca2.rb +1 -1
- data/lib/whois/record/scanners/base_icann_compliant.rb +1 -1
- data/lib/whois/record/scanners/base_iisse.rb +1 -1
- data/lib/whois/record/scanners/base_shared1.rb +1 -1
- data/lib/whois/record/scanners/base_shared2.rb +1 -1
- data/lib/whois/record/scanners/base_shared3.rb +1 -1
- data/lib/whois/record/scanners/base_whoisd.rb +1 -1
- data/lib/whois/record/scanners/iana.rb +1 -1
- data/lib/whois/record/scanners/scannable.rb +1 -1
- data/lib/whois/record/scanners/verisign.rb +1 -1
- data/lib/whois/record/scanners/whois.ati.tn.rb +1 -1
- data/lib/whois/record/scanners/whois.audns.net.au.rb +1 -1
- data/lib/whois/record/scanners/whois.cctld.by.rb +1 -1
- data/lib/whois/record/scanners/whois.centralnic.com.rb +1 -1
- data/lib/whois/record/scanners/whois.cira.ca.rb +1 -1
- data/lib/whois/record/scanners/whois.cnnic.cn.rb +1 -1
- data/lib/whois/record/scanners/whois.denic.de.rb +1 -1
- data/lib/whois/record/scanners/whois.dns.hr.rb +1 -1
- data/lib/whois/record/scanners/whois.domainregistry.ie.rb +1 -1
- data/lib/whois/record/scanners/whois.fi.rb +1 -1
- data/lib/whois/record/scanners/whois.nc.rb +1 -1
- data/lib/whois/record/scanners/whois.nic.cz.rb +1 -1
- data/lib/whois/record/scanners/whois.nic.it.rb +1 -1
- data/lib/whois/record/scanners/whois.pir.org.rb +29 -0
- data/lib/whois/record/scanners/whois.registry.net.za.rb +1 -1
- data/lib/whois/record/scanners/whois.rnids.rs.rb +1 -1
- data/lib/whois/record/scanners/whois.smallregistry.net.rb +1 -1
- data/lib/whois/record/scanners/whois.srs.net.nz.rb +1 -1
- data/lib/whois/record/scanners/whois.sx.rb +1 -1
- data/lib/whois/record/scanners/whois.tucows.com.rb +1 -1
- data/lib/whois/record/scanners/whois.yoursrs.com.rb +1 -1
- data/lib/whois/record/super_struct.rb +1 -1
- data/lib/whois/server.rb +1 -1
- data/lib/whois/server/adapters/afilias.rb +1 -1
- data/lib/whois/server/adapters/arin.rb +1 -1
- data/lib/whois/server/adapters/arpa.rb +1 -1
- data/lib/whois/server/adapters/base.rb +1 -1
- data/lib/whois/server/adapters/formatted.rb +1 -1
- data/lib/whois/server/adapters/none.rb +1 -1
- data/lib/whois/server/adapters/not_implemented.rb +1 -1
- data/lib/whois/server/adapters/standard.rb +1 -1
- data/lib/whois/server/adapters/verisign.rb +1 -1
- data/lib/whois/server/adapters/web.rb +1 -1
- data/lib/whois/server/socket_handler.rb +1 -1
- data/lib/whois/version.rb +2 -2
- data/whois.gemspec +4 -5
- metadata +3 -2
@@ -3,69 +3,27 @@
|
|
3
3
|
#
|
4
4
|
# An intelligent pure Ruby WHOIS client and parser.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2009-
|
6
|
+
# Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
|
7
7
|
#++
|
8
8
|
|
9
9
|
|
10
|
-
require 'whois/record/parser/
|
10
|
+
require 'whois/record/parser/base_icb'
|
11
11
|
|
12
12
|
|
13
13
|
module Whois
|
14
14
|
class Record
|
15
15
|
class Parser
|
16
16
|
|
17
|
-
#
|
18
|
-
# = whois.nic.tm parser
|
19
|
-
#
|
20
17
|
# Parser for the whois.nic.tm server.
|
21
18
|
#
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
property_supported :domain do
|
28
|
-
if content_for_scanner =~ /Domain "(.+?)"/
|
29
|
-
$1.downcase
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
property_not_supported :domain_id
|
34
|
-
|
35
|
-
|
36
|
-
property_supported :status do
|
37
|
-
if available?
|
38
|
-
:available
|
39
|
-
else
|
40
|
-
:registered
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
property_supported :available? do
|
45
|
-
!!(content_for_scanner =~ /- Available/)
|
46
|
-
end
|
47
|
-
|
48
|
-
property_supported :registered? do
|
49
|
-
!available?
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
property_not_supported :created_on
|
54
|
-
|
55
|
-
property_not_supported :updated_on
|
19
|
+
# @see Whois::Record::Parser::Example
|
20
|
+
# The Example parser for the list of all available methods.
|
21
|
+
#
|
22
|
+
class WhoisNicTm < BaseIcb
|
56
23
|
|
57
24
|
property_not_supported :expires_on
|
58
25
|
|
59
26
|
|
60
|
-
property_not_supported :registrar
|
61
|
-
|
62
|
-
property_not_supported :registrant_contacts
|
63
|
-
|
64
|
-
property_not_supported :admin_contacts
|
65
|
-
|
66
|
-
property_not_supported :technical_contacts
|
67
|
-
|
68
|
-
|
69
27
|
property_not_supported :nameservers
|
70
28
|
|
71
29
|
end
|