whois 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +13 -17
- data/lib/whois.rb +1 -1
- data/lib/whois/client.rb +1 -1
- data/lib/{core_ext.rb → whois/core_ext.rb} +4 -4
- data/lib/{core_ext → whois/core_ext}/array/extract_options.rb +0 -0
- data/lib/{core_ext → whois/core_ext}/array/wrap.rb +0 -0
- data/lib/{core_ext → whois/core_ext}/class/attribute.rb +3 -3
- data/lib/{core_ext → whois/core_ext}/date_time/conversions.rb +0 -0
- data/lib/{core_ext → whois/core_ext}/kernel/singleton_class.rb +0 -0
- data/lib/{core_ext → whois/core_ext}/module/remove_method.rb +0 -0
- data/lib/whois/definitions/ipv4.rb +4 -0
- data/lib/whois/definitions/tlds.rb +29 -29
- data/lib/whois/record.rb +14 -4
- data/lib/whois/record/parser.rb +17 -5
- data/lib/whois/record/parser/base.rb +11 -8
- data/lib/whois/record/parser/scanners/whois.centralnic.com.rb +1 -1
- data/lib/whois/record/parser/scanners/whois.dns.hr.rb +41 -0
- data/lib/whois/record/parser/scanners/whois.nc.rb +48 -0
- data/lib/whois/record/parser/scanners/whois.nic.hu.rb +2 -2
- data/lib/whois/record/parser/scanners/whois.rnids.rs.rb +78 -0
- data/lib/whois/record/parser/whois.biz.rb +2 -2
- data/lib/whois/record/parser/whois.dns.hr.rb +112 -0
- data/lib/whois/record/parser/whois.dreamhost.com.rb +120 -0
- data/lib/whois/record/parser/whois.fi.rb +76 -0
- data/lib/whois/record/parser/whois.ficora.fi.rb +3 -55
- data/lib/whois/record/parser/whois.godaddy.com.rb +3 -3
- data/lib/whois/record/parser/whois.markmonitor.com.rb +6 -9
- data/lib/whois/record/parser/whois.nc.rb +135 -0
- data/lib/whois/record/parser/whois.net.ua.rb +3 -57
- data/lib/whois/record/parser/whois.nic.gl.rb +5 -6
- data/lib/whois/record/parser/whois.nic.it.rb +12 -9
- data/lib/whois/record/parser/whois.nic.lk.rb +118 -0
- data/lib/whois/record/parser/whois.nic.mg.rb +2 -0
- data/lib/whois/record/parser/whois.nic.uk.rb +32 -12
- data/lib/whois/record/parser/whois.registry.qa.rb +2 -1
- data/lib/whois/record/parser/whois.rnids.rs.rb +143 -0
- data/lib/whois/record/parser/whois.ua.rb +75 -0
- data/lib/whois/version.rb +1 -1
- data/spec/fixtures/responses/jobswhois.verisign-grs.com/property_nameserver_no_nameserver.expected +1 -1
- data/spec/fixtures/responses/jobswhois.verisign-grs.com/status_available.expected +1 -1
- data/spec/fixtures/responses/jobswhois.verisign-grs.com/status_registered.expected +8 -8
- data/spec/fixtures/responses/kero.yachay.pe/status_available.expected +1 -1
- data/spec/fixtures/responses/kero.yachay.pe/status_inactive.expected +2 -2
- data/spec/fixtures/responses/kero.yachay.pe/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.adamsnames.tc/gd/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.adamsnames.tc/gd/status_registered.expected +4 -4
- data/spec/fixtures/responses/whois.adamsnames.tc/tc/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.adamsnames.tc/tc/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.adamsnames.tc/vg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.adamsnames.tc/vg/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.aeda.net.ae/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.aeda.net.ae/status_registered.expected +4 -4
- data/spec/fixtures/responses/whois.aero/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.aero/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected +5 -5
- data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.afilias.info/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.afilias.info/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.ai/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ai/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.arnes.si/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.arnes.si/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.audns.net.au/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.audns.net.au/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.biz/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.biz/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.cat/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.cat/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.cctld.uz/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.cctld.uz/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected +21 -21
- data/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected +18 -18
- data/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected +20 -20
- data/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected +20 -20
- data/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/no.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected +18 -18
- data/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.cira.ca/schema-1/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected +10 -10
- data/spec/fixtures/responses/whois.cira.ca/schema-2/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.cira.ca/schema-2/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.cnnic.cn/status_available.expected +3 -3
- data/spec/fixtures/responses/whois.cnnic.cn/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.co.ca/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.co.ca/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.co.pl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.co.pl/status_registered.expected +5 -5
- data/spec/fixtures/responses/whois.co.ug/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.co.ug/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.crsnic.net/property_nameserver_no_nameserver.expected +1 -1
- data/spec/fixtures/responses/whois.crsnic.net/property_registrar_with_multiple_entries.expected +1 -1
- data/spec/fixtures/responses/whois.crsnic.net/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.crsnic.net/status_registered.expected +10 -10
- data/spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_invalid.expected +4 -4
- data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.denic.de/schema-2.0/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_invalid.expected +4 -4
- data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.dk-hostmaster.dk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dk-hostmaster.dk/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.dns.be/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.dns.be/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dns.be/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.dns.hr/status_available.expected +54 -0
- data/spec/fixtures/responses/whois.dns.hr/status_available.txt +1 -0
- data/spec/fixtures/responses/whois.dns.hr/status_registered.expected +67 -0
- data/spec/fixtures/responses/whois.dns.hr/status_registered.txt +7 -0
- data/spec/fixtures/responses/whois.dns.lu/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.dns.lu/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dns.lu/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.dns.pl/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.dns.pl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dns.pl/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.dns.pt/property_nameservers.expected +6 -6
- data/spec/fixtures/responses/whois.dns.pt/property_nameservers_without_host.expected +6 -6
- data/spec/fixtures/responses/whois.dns.pt/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dns.pt/status_inactive.expected +4 -4
- data/spec/fixtures/responses/whois.dns.pt/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.dns.pt/status_reserved.expected +2 -2
- data/spec/fixtures/responses/whois.domain-registry.nl/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.domain-registry.nl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.domain-registry.nl/status_redemption.expected +1 -1
- data/spec/fixtures/responses/whois.domain-registry.nl/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.domain.kg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.domain.kg/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.domainregistry.ie/property_nameservers_with_ip.expected +8 -8
- data/spec/fixtures/responses/whois.domainregistry.ie/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.domainregistry.ie/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.domainregistry.my/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.domainregistry.my/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.domreg.lt/property_nameservers_with_ip.expected +6 -6
- data/spec/fixtures/responses/whois.domreg.lt/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.domreg.lt/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.dot.tk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.dot.tk/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.dotmobiregistry.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.dotmobiregistry.net/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected +47 -0
- data/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.txt +75 -0
- data/spec/fixtures/responses/whois.dreamhost.com/status_registered.expected +87 -0
- data/spec/fixtures/responses/whois.dreamhost.com/status_registered.txt +79 -0
- data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_address.expected +3 -3
- data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_zip.expected +3 -3
- data/spec/fixtures/responses/whois.educause.edu/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.educause.edu/status_registered.expected +11 -11
- data/spec/fixtures/responses/whois.eenet.ee/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.eenet.ee/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.eu/property_nameservers.expected +7 -7
- data/spec/fixtures/responses/whois.eu/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.eu/status_registered.expected +6 -6
- data/spec/fixtures/responses/{whois.net.ua → whois.fi}/status_available.expected +3 -3
- data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_available.txt +0 -0
- data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_registered.expected +8 -8
- data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_registered.txt +0 -0
- data/spec/fixtures/responses/whois.gg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.gg/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.godaddy.com/status_registered.expected +22 -22
- data/spec/fixtures/responses/whois.godaddy.com/status_registered.txt +11 -11
- data/spec/fixtures/responses/whois.gov.za/status_registered.expected +1 -1
- data/spec/fixtures/responses/whois.hkirc.hk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.hkirc.hk/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.iam.net.ma/status_registered.expected +2 -2
- data/spec/fixtures/responses/whois.iana.org/int/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.iana.org/int/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected +5 -5
- data/spec/fixtures/responses/whois.in.ua/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.in.ua/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.isnic.is/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.isnic.is/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.isoc.org.il/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.isoc.org.il/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.je/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.je/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected +1 -1
- data/spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected +2 -2
- data/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.kenic.or.ke/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.kenic.or.ke/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.kr/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.kr/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.kr/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.markmonitor.com/property_contacts_are_blank.expected +7 -7
- data/spec/fixtures/responses/whois.markmonitor.com/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.meregistry.net/property_nameservers_is_blank.expected +1 -1
- data/spec/fixtures/responses/whois.meregistry.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.meregistry.net/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.museum/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.museum/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.na-nic.com.na/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nc/status_available.expected +55 -0
- data/spec/fixtures/responses/whois.nc/status_available.txt +6 -0
- data/spec/fixtures/responses/whois.nc/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.nc/status_registered.txt +24 -0
- data/spec/fixtures/responses/whois.netcom.cm/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.netcom.cm/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic-se.se/property_datetime_is_dash.expected +2 -2
- data/spec/fixtures/responses/whois.nic-se.se/property_nameservers_with_ip.expected +6 -6
- data/spec/fixtures/responses/whois.nic-se.se/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic-se.se/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.af/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.af/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.ag/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.ag/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.nic.am/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.am/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.as/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.as/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.asia/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.asia/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.nic.at/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.at/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.bo/status_registered.expected +2 -2
- data/spec/fixtures/responses/whois.nic.cc/property_nameserver_no_nameserver.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cc/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cc/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.cd/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cd/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.ch/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.nic.ch/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ch/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.ci/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ci/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.ck/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ck/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.cl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cl/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.co/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.co/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.coop/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.coop/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.cx/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cx/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.cz/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.nic.cz/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.cz/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.ec/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ec/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected +2 -2
- data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected +6 -6
- data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected +8 -8
- data/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected +5 -5
- data/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected +5 -5
- data/spec/fixtures/responses/whois.nic.fr/re/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.nic.gl/property_status_active.expected +8 -0
- data/spec/fixtures/responses/whois.nic.gl/property_status_active.txt +47 -0
- data/spec/fixtures/responses/whois.nic.gl/property_status_delegated.expected +8 -0
- data/spec/fixtures/responses/whois.nic.gl/property_status_delegated.txt +48 -0
- data/spec/fixtures/responses/whois.nic.gl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.gl/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.gl/status_registered.txt +9 -5
- data/spec/fixtures/responses/whois.nic.gs/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.gs/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.ht/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ht/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_company.expected +3 -3
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_company.txt +2 -2
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_private_person.expected +2 -2
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_private_person.txt +1 -1
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_without_address.expected +3 -3
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_without_address.txt +1 -1
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_in_progress.expected +3 -3
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_registered.expected +23 -23
- data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_registered.txt +2 -2
- data/spec/fixtures/responses/whois.nic.hu/schema-current/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.hu/schema-current/status_registered.expected +4 -4
- data/spec/fixtures/responses/whois.nic.im/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.im/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.ir/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ir/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.it/property_contact_province.expected +3 -3
- data/spec/fixtures/responses/whois.nic.it/property_contact_with_company_in_address.expected +3 -3
- data/spec/fixtures/responses/whois.nic.it/property_contact_with_organization.expected +3 -3
- data/spec/fixtures/responses/whois.nic.it/property_status_pending-delete.expected +8 -0
- data/spec/fixtures/responses/whois.nic.it/property_status_pending-delete.txt +54 -0
- data/spec/fixtures/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod.expected +8 -0
- data/spec/fixtures/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod.txt +62 -0
- data/spec/fixtures/responses/whois.nic.it/property_technical_contact.expected +3 -3
- data/spec/fixtures/responses/whois.nic.it/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.it/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.nic.ki/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ki/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.kz/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.kz/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.la/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.la/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.nic.li/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.li/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.lk/lk/status_available.expected +55 -0
- data/spec/fixtures/responses/whois.nic.lk/lk/status_available.txt +1 -0
- data/spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected +70 -0
- data/spec/fixtures/responses/whois.nic.lk/lk/status_registered.txt +24 -0
- data/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_available.txt +0 -0
- data/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_registered.txt +18 -0
- data/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_available.txt +0 -0
- data/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_registered.txt +18 -0
- data/spec/fixtures/responses/whois.nic.lv/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.lv/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.ly/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ly/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.md/status_available.expected +2 -2
- data/spec/fixtures/responses/whois.nic.md/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.mg/property_status_active.expected +8 -0
- data/spec/fixtures/responses/whois.nic.mg/property_status_active.txt +65 -0
- data/spec/fixtures/responses/whois.nic.mg/property_status_delegated.expected +8 -0
- data/spec/fixtures/responses/whois.nic.mg/property_status_delegated.txt +78 -0
- data/spec/fixtures/responses/whois.nic.mg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.mg/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.ms/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ms/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.mu/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.mu/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.mx/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.nic.mx/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.mx/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.net.nf/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.net.nf/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.net.ng/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.net.ng/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.net.sa/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.net.sa/status_registered.expected +5 -5
- data/spec/fixtures/responses/whois.nic.net.sb/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.net.sb/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.nu/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.nu/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.org.uy/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.org.uy/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.pr/status_registered.expected +2 -2
- data/spec/fixtures/responses/whois.nic.priv.at/status_registered.expected +1 -1
- data/spec/fixtures/responses/whois.nic.sl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.sl/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.sm/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.sm/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.sn/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.sn/status_registered.expected +17 -17
- data/spec/fixtures/responses/whois.nic.so/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.so/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.st/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.st/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.nic.tel/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.tel/status_registered.expected +10 -10
- data/spec/fixtures/responses/whois.nic.tl/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.tl/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.tr/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.nic.tr/property_nameservers_with_trailing_space.expected +4 -4
- data/spec/fixtures/responses/whois.nic.tr/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.tr/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.nic.travel/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.travel/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.tv/property_nameserver_no_nameserver.expected +1 -1
- data/spec/fixtures/responses/whois.nic.tv/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.tv/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.nic.uk/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.nic.uk/property_registrar_without_trading_name.expected +1 -1
- data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.expected +8 -0
- data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.txt +48 -0
- data/spec/fixtures/responses/whois.nic.uk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.uk/status_registered.expected +13 -13
- data/spec/fixtures/responses/whois.nic.uk/status_reserved.expected +71 -0
- data/spec/fixtures/responses/whois.nic.uk/status_reserved.txt +48 -0
- data/spec/fixtures/responses/whois.nic.uk/status_suspended.expected +5 -5
- data/spec/fixtures/responses/whois.nic.us/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.us/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.nic.ve/property_nameservers.expected +4 -4
- data/spec/fixtures/responses/whois.nic.ve/property_nameservers_missing.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ve/property_updated_on.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ve/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.ve/status_inactive.expected +7 -7
- data/spec/fixtures/responses/whois.nic.ve/status_registered.expected +3 -3
- data/spec/fixtures/responses/whois.nic.xxx/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.nic.xxx/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.norid.no/status_registered.expected +2 -2
- data/spec/fixtures/responses/whois.pandi.or.id/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.pandi.or.id/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.pnina.ps/property_nameservers_with_nodns.expected +3 -3
- data/spec/fixtures/responses/whois.pnina.ps/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.pnina.ps/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.publicinterestregistry.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.publicinterestregistry.net/status_registered.expected +19 -19
- data/spec/fixtures/responses/whois.register.bg/property_nameservers_with_ip.expected +4 -4
- data/spec/fixtures/responses/whois.register.bg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.register.bg/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.registro.br/property_nameservers_with_ip.expected +6 -6
- data/spec/fixtures/responses/whois.registro.br/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.registro.br/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.registry.gy/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.registry.gy/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.registry.hm/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.registry.hm/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.registry.in/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.registry.in/status_registered.expected +15 -15
- data/spec/fixtures/responses/whois.registry.qa/property_nameservers_without_ips.expected +12 -0
- data/spec/fixtures/responses/whois.registry.qa/property_nameservers_without_ips.txt +22 -0
- data/spec/fixtures/responses/whois.registry.qa/{qa/status_available.expected → status_available.expected} +3 -3
- data/spec/fixtures/responses/whois.registry.qa/{qa/status_available.txt → status_available.txt} +0 -0
- data/spec/fixtures/responses/whois.registry.qa/{qa/status_registered.expected → status_registered.expected} +11 -11
- data/spec/fixtures/responses/whois.registry.qa/{qa/status_registered.txt → status_registered.txt} +0 -0
- data/spec/fixtures/responses/whois.registrypro.pro/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.registrypro.pro/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.ripe.net/fo/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ripe.net/fo/status_registered.expected +4 -4
- data/spec/fixtures/responses/whois.ripe.net/gm/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ripe.net/gm/status_registered.expected +4 -4
- data/spec/fixtures/responses/whois.ripe.net/mc/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ripe.net/mc/status_registered.expected +5 -5
- data/spec/fixtures/responses/whois.ripe.net/va/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.ripe.net/va/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.rnids.rs/status_available.expected +57 -0
- data/spec/fixtures/responses/whois.rnids.rs/status_available.txt +1 -0
- data/spec/fixtures/responses/whois.rnids.rs/status_registered.expected +94 -0
- data/spec/fixtures/responses/whois.rnids.rs/status_registered.txt +44 -0
- data/spec/fixtures/responses/whois.rotld.ro/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.rotld.ro/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.samoanic.ws/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.samoanic.ws/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1.expected +6 -6
- data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_2.expected +6 -6
- data/spec/fixtures/responses/whois.sgnic.sg/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.sgnic.sg/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.sk-nic.sk/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.sk-nic.sk/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.smallregistry.net/status_available.expected +4 -4
- data/spec/fixtures/responses/whois.smallregistry.net/status_registered.expected +16 -16
- data/spec/fixtures/responses/whois.srs.net.nz/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.expected +1 -1
- data/spec/fixtures/responses/whois.srs.net.nz/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected +5 -5
- data/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected +2 -2
- data/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected +12 -12
- data/spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected +2 -2
- data/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected +10 -10
- data/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected +2 -2
- data/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected +11 -11
- data/spec/fixtures/responses/whois.thnic.co.th/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.thnic.co.th/status_registered.expected +9 -9
- data/spec/fixtures/responses/whois.tld.ee/status_available.expected +3 -3
- data/spec/fixtures/responses/whois.tld.ee/status_expired.expected +6 -6
- data/spec/fixtures/responses/whois.tld.ee/status_registered.expected +14 -14
- data/spec/fixtures/responses/whois.twnic.net.tw/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.twnic.net.tw/status_registered.expected +8 -8
- data/spec/fixtures/responses/whois.tznic.or.tz/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.tznic.or.tz/status_registered.expected +7 -7
- data/spec/fixtures/responses/whois.ua/property_nameservers_uppercase.expected +9 -0
- data/spec/fixtures/responses/{whois.net.ua → whois.ua}/property_nameservers_uppercase.txt +0 -0
- data/spec/fixtures/responses/{whois.net.ua → whois.ua}/redirect_to_whois.in.ua.txt +0 -0
- data/spec/fixtures/responses/{whois.ficora.fi → whois.ua}/status_available.expected +3 -3
- data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_available.txt +0 -0
- data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_registered.expected +8 -8
- data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_registered.txt +0 -0
- data/spec/fixtures/responses/whois.usp.ac.fj/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.usp.ac.fj/status_registered.expected +5 -5
- data/spec/fixtures/responses/whois.za.net/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.za.net/status_registered.expected +6 -6
- data/spec/fixtures/responses/whois.za.org/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.za.org/status_registered.expected +7 -7
- data/spec/spec_helper.rb +1 -1
- data/spec/support/helpers/connectivity_helper.rb +2 -2
- data/spec/support/helpers/spec_helper.rb +20 -25
- data/spec/tlds +22 -18
- data/spec/whois/client_spec.rb +16 -9
- data/spec/whois/record/parser/base_spec.rb +8 -8
- data/spec/whois/record/parser/responses/whois.dns.hr/status_available_spec.rb +105 -0
- data/spec/whois/record/parser/responses/whois.dns.hr/status_registered_spec.rb +118 -0
- data/spec/whois/record/parser/responses/whois.dreamhost.com/property_contact_private_spec.rb +78 -0
- data/spec/whois/record/parser/responses/whois.dreamhost.com/status_registered_spec.rb +131 -0
- data/spec/whois/record/parser/responses/whois.fi/status_available_spec.rb +60 -0
- data/spec/whois/record/parser/responses/whois.fi/status_registered_spec.rb +70 -0
- data/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb +7 -7
- data/spec/whois/record/parser/responses/whois.nc/status_available_spec.rb +106 -0
- data/spec/whois/record/parser/responses/whois.nc/status_registered_spec.rb +127 -0
- data/spec/whois/record/parser/responses/whois.nic.gl/property_status_active_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.gl/property_status_delegated_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.gl/status_registered_spec.rb +2 -2
- data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/status_registered_spec.rb +3 -3
- data/spec/whois/record/parser/responses/whois.nic.it/property_status_pending-delete_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.lk/lk/status_available_spec.rb +106 -0
- data/spec/whois/record/parser/responses/whois.nic.lk/lk/status_registered_spec.rb +121 -0
- data/spec/whois/record/parser/responses/whois.nic.mg/property_status_active_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.mg/property_status_delegated_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.uk/property_status_no_status_listed_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.uk/status_reserved_spec.rb +114 -0
- data/spec/whois/record/parser/responses/whois.registry.qa/property_nameservers_without_ips_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.registry.qa/{qa/status_available_spec.rb → status_available_spec.rb} +2 -2
- data/spec/whois/record/parser/responses/whois.registry.qa/{qa/status_registered_spec.rb → status_registered_spec.rb} +2 -2
- data/spec/whois/record/parser/responses/whois.rnids.rs/status_available_spec.rb +108 -0
- data/spec/whois/record/parser/responses/whois.rnids.rs/status_registered_spec.rb +145 -0
- data/spec/whois/record/parser/responses/whois.ua/property_nameservers_uppercase_spec.rb +36 -0
- data/spec/whois/record/parser/responses/whois.ua/status_available_spec.rb +60 -0
- data/spec/whois/record/parser/responses/whois.ua/status_registered_spec.rb +70 -0
- data/spec/whois/record/parser_spec.rb +46 -25
- data/spec/whois/record_spec.rb +11 -3
- data/whois.gemspec +4 -4
- metadata +111 -35
- data/spec/fixtures/responses/whois.net.ua/property_nameservers_uppercase.expected +0 -9
data/Rakefile
CHANGED
@@ -5,12 +5,8 @@ require 'whois'
|
|
5
5
|
|
6
6
|
|
7
7
|
# Common package properties
|
8
|
-
PKG_NAME =
|
9
|
-
PKG_VERSION =
|
10
|
-
|
11
|
-
if ENV['SNAPSHOT'].to_i == 1
|
12
|
-
PKG_VERSION << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
|
13
|
-
end
|
8
|
+
PKG_NAME = Whois::GEM
|
9
|
+
PKG_VERSION = Whois::VERSION
|
14
10
|
|
15
11
|
|
16
12
|
# Run test by default.
|
@@ -55,6 +51,17 @@ task :gemspec do
|
|
55
51
|
File.open(file, "w") {|f| f << spec.to_ruby }
|
56
52
|
end
|
57
53
|
|
54
|
+
desc "Remove any temporary products, including gemspec"
|
55
|
+
task :clean => [:clobber] do
|
56
|
+
rm "#{spec.name}.gemspec" if File.file?("#{spec.name}.gemspec")
|
57
|
+
end
|
58
|
+
|
59
|
+
desc "Remove any generated file"
|
60
|
+
task :clobber => [:clobber_package]
|
61
|
+
|
62
|
+
desc "Package the library and generates the gemspec"
|
63
|
+
task :package => [:gemspec]
|
64
|
+
|
58
65
|
|
59
66
|
require 'rspec/core/rake_task'
|
60
67
|
|
@@ -92,17 +99,6 @@ namespace :multitest do
|
|
92
99
|
end
|
93
100
|
|
94
101
|
|
95
|
-
task :clean_gemspec do
|
96
|
-
rm "#{spec.name}.gemspec" rescue nil
|
97
|
-
end
|
98
|
-
|
99
|
-
task :clean => [:clean_gemspec]
|
100
|
-
task :clobber => [:clobber_package]
|
101
|
-
|
102
|
-
desc "Package the library and generates the gemspec"
|
103
|
-
task :package => [:gemspec]
|
104
|
-
|
105
|
-
|
106
102
|
require 'yard'
|
107
103
|
require 'yard/rake/yardoc_task'
|
108
104
|
|
data/lib/whois.rb
CHANGED
data/lib/whois/client.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3
|
2
2
|
require 'active_support/core_ext/array/wrap'
|
3
3
|
require 'active_support/core_ext/date_time/conversions'
|
4
|
-
require 'core_ext/class/attribute'
|
4
|
+
require 'whois/core_ext/class/attribute'
|
5
5
|
else
|
6
|
-
require 'core_ext/array/wrap'
|
7
|
-
require 'core_ext/date_time/conversions'
|
8
|
-
require 'core_ext/class/attribute'
|
6
|
+
require 'whois/core_ext/array/wrap'
|
7
|
+
require 'whois/core_ext/date_time/conversions'
|
8
|
+
require 'whois/core_ext/class/attribute'
|
9
9
|
end
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
|
-
require 'core_ext/kernel/singleton_class'
|
2
|
-
require 'core_ext/module/remove_method'
|
3
|
-
require 'core_ext/array/extract_options'
|
1
|
+
require 'whois/core_ext/kernel/singleton_class'
|
2
|
+
require 'whois/core_ext/module/remove_method'
|
3
|
+
require 'whois/core_ext/array/extract_options'
|
4
4
|
|
5
5
|
class Class
|
6
6
|
# Declare a class-level attribute whose value is inheritable by subclasses.
|
File without changes
|
File without changes
|
File without changes
|
@@ -72,6 +72,8 @@ Whois::Server.define :ipv4, "151.0.0.0/10", "whois.ripe.net"
|
|
72
72
|
Whois::Server.define :ipv4, "151.64.0.0/11", "whois.ripe.net"
|
73
73
|
Whois::Server.define :ipv4, "151.96.0.0/14", "whois.ripe.net"
|
74
74
|
Whois::Server.define :ipv4, "151.100.0.0/16", "whois.ripe.net"
|
75
|
+
Whois::Server.define :ipv4, "153.128.0.0/9", "whois.nic.ad.jp"
|
76
|
+
Whois::Server.define :ipv4, "153.0.0.0/8", "whois.apnic.net"
|
75
77
|
Whois::Server.define :ipv4, "154.0.0.0/8", "whois.afrinic.net"
|
76
78
|
Whois::Server.define :ipv4, "155.232.0.0/13", "whois.afrinic.net"
|
77
79
|
Whois::Server.define :ipv4, "155.240.0.0/16", "whois.afrinic.net"
|
@@ -88,6 +90,7 @@ Whois::Server.define :ipv4, "163.160.0.0/12", "whois.ripe.net"
|
|
88
90
|
Whois::Server.define :ipv4, "163.195.0.0/16", "whois.afrinic.net"
|
89
91
|
Whois::Server.define :ipv4, "163.196.0.0/14", "whois.afrinic.net"
|
90
92
|
Whois::Server.define :ipv4, "163.200.0.0/14", "whois.afrinic.net"
|
93
|
+
Whois::Server.define :ipv4, "163.0.0.0/8", "whois.apnic.net"
|
91
94
|
Whois::Server.define :ipv4, "164.0.0.0/11", "whois.ripe.net"
|
92
95
|
Whois::Server.define :ipv4, "164.32.0.0/13", "whois.ripe.net"
|
93
96
|
Whois::Server.define :ipv4, "164.40.0.0/16", "whois.ripe.net"
|
@@ -100,6 +103,7 @@ Whois::Server.define :ipv4, "165.148.0.0/15", "whois.afrinic.net"
|
|
100
103
|
Whois::Server.define :ipv4, "169.208.0.0/12", "whois.apnic.net"
|
101
104
|
Whois::Server.define :ipv4, "171.16.0.0/12", "whois.ripe.net"
|
102
105
|
Whois::Server.define :ipv4, "171.32.0.0/15", "whois.ripe.net"
|
106
|
+
Whois::Server.define :ipv4, "171.0.0.0/8", "whois.apnic.net"
|
103
107
|
Whois::Server.define :ipv4, "175.192.0.0/10", "whois.nic.or.kr"
|
104
108
|
Whois::Server.define :ipv4, "175.0.0.0/8", "whois.apnic.net"
|
105
109
|
Whois::Server.define :ipv4, "176.0.0.0/8", "whois.ripe.net"
|
@@ -89,7 +89,7 @@ Whois::Server.define :tld, ".bw", nil, { :adapter => Whois::Server::Adapters::No
|
|
89
89
|
Whois::Server.define :tld, ".bz", "whois.afilias-grs.info", { :adapter => Whois::Server::Adapters::Afilias }
|
90
90
|
Whois::Server.define :tld, ".co.ca", "whois.co.ca"
|
91
91
|
Whois::Server.define :tld, ".ca", "whois.cira.ca"
|
92
|
-
Whois::Server.define :tld, ".cc", "whois.nic.cc", { :adapter => Whois::Server::Adapters::Verisign}
|
92
|
+
Whois::Server.define :tld, ".cc", "whois.nic.cc", { :adapter => Whois::Server::Adapters::Verisign }
|
93
93
|
Whois::Server.define :tld, ".cd", "whois.nic.cd"
|
94
94
|
Whois::Server.define :tld, ".cf", nil, { :adapter => Whois::Server::Adapters::None }
|
95
95
|
Whois::Server.define :tld, ".cg", nil, { :web => "http://www.nic.cg/cgi-bin/whois.pl", :adapter => Whois::Server::Adapters::Web }
|
@@ -102,14 +102,14 @@ Whois::Server.define :tld, ".edu.cn", "whois.edu.cn"
|
|
102
102
|
Whois::Server.define :tld, ".cn", "whois.cnnic.cn"
|
103
103
|
Whois::Server.define :tld, ".co", "whois.nic.co"
|
104
104
|
Whois::Server.define :tld, ".cr", nil, { :web => "http://www.nic.cr/niccr_publico/showRegistroDominiosScreen.do", :adapter => Whois::Server::Adapters::Web }
|
105
|
-
Whois::Server.define :tld, ".cu", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.cu/"}
|
106
|
-
Whois::Server.define :tld, ".cv", nil, { :adapter => Whois::Server::Adapters::
|
105
|
+
Whois::Server.define :tld, ".cu", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.cu/" }
|
106
|
+
Whois::Server.define :tld, ".cv", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.dns.cv/" }
|
107
107
|
Whois::Server.define :tld, ".cx", "whois.nic.cx"
|
108
108
|
Whois::Server.define :tld, ".cy", nil, { :web => "http://www.nic.cy/nslookup/online_database.php", :adapter => Whois::Server::Adapters::Web }
|
109
109
|
Whois::Server.define :tld, ".cz", "whois.nic.cz"
|
110
110
|
Whois::Server.define :tld, ".de", "whois.denic.de", { :adapter => Whois::Server::Adapters::Formatted, :format => "-T dn,ace %s"}
|
111
|
-
Whois::Server.define :tld, ".dj", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.dj/whois.php"}
|
112
|
-
Whois::Server.define :tld, ".dk", "whois.dk-hostmaster.dk", { :adapter => Whois::Server::Adapters::Formatted, :format => "--show-handles %s"}
|
111
|
+
Whois::Server.define :tld, ".dj", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.dj/whois.php" }
|
112
|
+
Whois::Server.define :tld, ".dk", "whois.dk-hostmaster.dk", { :adapter => Whois::Server::Adapters::Formatted, :format => "--show-handles %s" }
|
113
113
|
Whois::Server.define :tld, ".dm", "whois.nic.dm"
|
114
114
|
Whois::Server.define :tld, ".do", nil, { :web => "http://www.nic.do/whois-h.php3", :adapter => Whois::Server::Adapters::Web }
|
115
115
|
Whois::Server.define :tld, ".dz", "whois.nic.dz"
|
@@ -120,12 +120,11 @@ Whois::Server.define :tld, ".er", nil, { :adapter => Whois::Server::Adapters::No
|
|
120
120
|
Whois::Server.define :tld, ".es", nil, { :web => "https://www.nic.es/", :adapter => Whois::Server::Adapters::Web }
|
121
121
|
Whois::Server.define :tld, ".et", nil, { :adapter => Whois::Server::Adapters::None }
|
122
122
|
Whois::Server.define :tld, ".eu", "whois.eu"
|
123
|
-
Whois::Server.define :tld, ".fi", "whois.
|
123
|
+
Whois::Server.define :tld, ".fi", "whois.fi"
|
124
124
|
Whois::Server.define :tld, ".fj", "whois.usp.ac.fj"
|
125
125
|
Whois::Server.define :tld, ".fk", nil, { :adapter => Whois::Server::Adapters::None }
|
126
126
|
Whois::Server.define :tld, ".fm", nil, { :web => "http://www.dot.fm/whois.html", :adapter => Whois::Server::Adapters::Web }
|
127
127
|
Whois::Server.define :tld, ".fo", "whois.ripe.net"
|
128
|
-
# keep before .fr
|
129
128
|
Whois::Server.define :tld, ".aeroport.fr", "whois.smallregistry.net"
|
130
129
|
Whois::Server.define :tld, ".avocat.fr", "whois.smallregistry.net"
|
131
130
|
Whois::Server.define :tld, ".chambagri.fr", "whois.smallregistry.net"
|
@@ -141,26 +140,26 @@ Whois::Server.define :tld, ".fr", "whois.nic.fr"
|
|
141
140
|
Whois::Server.define :tld, ".ga", nil, { :adapter => Whois::Server::Adapters::None }
|
142
141
|
Whois::Server.define :tld, ".gb", nil, { :adapter => Whois::Server::Adapters::None }
|
143
142
|
Whois::Server.define :tld, ".gd", "whois.adamsnames.tc"
|
144
|
-
Whois::Server.define :tld, ".ge", nil, { :web => "http://www.registration.ge/"
|
145
|
-
Whois::Server.define :tld, ".gf", nil, { :web => "
|
143
|
+
Whois::Server.define :tld, ".ge", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.registration.ge/" }
|
144
|
+
Whois::Server.define :tld, ".gf", nil, { :adapter => Whois::Server::Adapters::Web, :web => "https://www.dom-enic.com/whois.html" }
|
146
145
|
Whois::Server.define :tld, ".gg", "whois.gg"
|
147
|
-
Whois::Server.define :tld, ".gh", nil, { :web => "http://www.nic.gh/customer/search_c.htm"
|
146
|
+
Whois::Server.define :tld, ".gh", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.gh/customer/search_c.htm" }
|
148
147
|
Whois::Server.define :tld, ".gi", "whois.afilias-grs.info", { :adapter => Whois::Server::Adapters::Afilias }
|
149
148
|
Whois::Server.define :tld, ".gl", "whois.nic.gl"
|
150
|
-
Whois::Server.define :tld, ".gm", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.gm/htmlpages/whois.htm"}
|
149
|
+
Whois::Server.define :tld, ".gm", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.gm/htmlpages/whois.htm" }
|
151
150
|
Whois::Server.define :tld, ".gn", nil, { :adapter => Whois::Server::Adapters::None }
|
152
|
-
Whois::Server.define :tld, ".gp",
|
151
|
+
Whois::Server.define :tld, ".gp", nil, { :adapter => Whois::Server::Adapters::None }
|
153
152
|
Whois::Server.define :tld, ".gq", nil, { :adapter => Whois::Server::Adapters::None }
|
154
|
-
Whois::Server.define :tld, ".gr", nil, { :adapter => Whois::Server::Adapters::Web, :web => "https://grweb.ics.forth.gr/whois_en.jsp"}
|
153
|
+
Whois::Server.define :tld, ".gr", nil, { :adapter => Whois::Server::Adapters::Web, :web => "https://grweb.ics.forth.gr/whois_en.jsp" }
|
155
154
|
Whois::Server.define :tld, ".gs", "whois.nic.gs"
|
156
|
-
Whois::Server.define :tld, ".gt", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.gt/whois.html"}
|
157
|
-
Whois::Server.define :tld, ".gu", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://gadao.gov.gu/domainsearch.htm"}
|
155
|
+
Whois::Server.define :tld, ".gt", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.gt/whois.html" }
|
156
|
+
Whois::Server.define :tld, ".gu", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://gadao.gov.gu/domainsearch.htm" }
|
158
157
|
Whois::Server.define :tld, ".gw", nil, { :adapter => Whois::Server::Adapters::None }
|
159
158
|
Whois::Server.define :tld, ".gy", "whois.registry.gy"
|
160
159
|
Whois::Server.define :tld, ".hk", "whois.hkirc.hk"
|
161
160
|
Whois::Server.define :tld, ".hm", "whois.registry.hm"
|
162
161
|
Whois::Server.define :tld, ".hn", "whois.afilias-grs.info", { :adapter => Whois::Server::Adapters::Afilias }
|
163
|
-
Whois::Server.define :tld, ".hr",
|
162
|
+
Whois::Server.define :tld, ".hr", "whois.dns.hr"
|
164
163
|
Whois::Server.define :tld, ".ht", "whois.nic.ht"
|
165
164
|
Whois::Server.define :tld, ".hu", "whois.nic.hu"
|
166
165
|
Whois::Server.define :tld, ".id", "whois.pandi.or.id"
|
@@ -183,7 +182,7 @@ Whois::Server.define :tld, ".kh", nil, { :adapter => Whois::Server::Adapters::No
|
|
183
182
|
Whois::Server.define :tld, ".ki", "whois.nic.ki"
|
184
183
|
Whois::Server.define :tld, ".km", nil, { :adapter => Whois::Server::Adapters::None }
|
185
184
|
Whois::Server.define :tld, ".kn", nil, { :web => "http://www.nic.kn/", :adapter => Whois::Server::Adapters::Web }
|
186
|
-
Whois::Server.define :tld, ".kp",
|
185
|
+
Whois::Server.define :tld, ".kp", nil, { :adapter => Whois::Server::Adapters::None }
|
187
186
|
Whois::Server.define :tld, ".kr", "whois.nic.or.kr"
|
188
187
|
Whois::Server.define :tld, ".kw", nil, { :web => "http://www.kw/", :adapter => Whois::Server::Adapters::Web }
|
189
188
|
Whois::Server.define :tld, ".ky", nil, { :web => "http://kynseweb.messagesecure.com/kywebadmin/", :adapter => Whois::Server::Adapters::Web }
|
@@ -192,7 +191,7 @@ Whois::Server.define :tld, ".la", "whois.nic.la"
|
|
192
191
|
Whois::Server.define :tld, ".lb", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.aub.edu.lb/lbdr/"}
|
193
192
|
Whois::Server.define :tld, ".lc", "whois.afilias-grs.info", { :adapter => Whois::Server::Adapters::Afilias }
|
194
193
|
Whois::Server.define :tld, ".li", "whois.nic.li"
|
195
|
-
Whois::Server.define :tld, ".lk",
|
194
|
+
Whois::Server.define :tld, ".lk", "whois.nic.lk"
|
196
195
|
Whois::Server.define :tld, ".lr", nil, { :adapter => Whois::Server::Adapters::None }
|
197
196
|
Whois::Server.define :tld, ".ls", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.co.ls/co.asp"}
|
198
197
|
Whois::Server.define :tld, ".lt", "whois.domreg.lt"
|
@@ -205,13 +204,13 @@ Whois::Server.define :tld, ".md", "whois.nic.md"
|
|
205
204
|
Whois::Server.define :tld, ".me", "whois.meregistry.net"
|
206
205
|
Whois::Server.define :tld, ".mg", "whois.nic.mg"
|
207
206
|
Whois::Server.define :tld, ".mh", nil, { :adapter => Whois::Server::Adapters::None }
|
208
|
-
Whois::Server.define :tld, ".mk", nil, { :web => "http://dns.marnet.net.mk/registar.php"
|
207
|
+
Whois::Server.define :tld, ".mk", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://dns.marnet.net.mk/registar.php" }
|
209
208
|
Whois::Server.define :tld, ".ml", nil, { :adapter => Whois::Server::Adapters::None }
|
210
209
|
Whois::Server.define :tld, ".mm", nil, { :adapter => Whois::Server::Adapters::None }
|
211
210
|
Whois::Server.define :tld, ".mn", "whois.afilias-grs.info", { :adapter => Whois::Server::Adapters::Afilias }
|
212
211
|
Whois::Server.define :tld, ".mo", nil, { :web => "http://www.monic.net.mo/", :adapter => Whois::Server::Adapters::Web }
|
213
212
|
Whois::Server.define :tld, ".mp", nil, { :adapter => Whois::Server::Adapters::None }
|
214
|
-
Whois::Server.define :tld, ".mq", nil, { :adapter => Whois::Server::Adapters::
|
213
|
+
Whois::Server.define :tld, ".mq", nil, { :adapter => Whois::Server::Adapters::Web, :web => "https://www.dom-enic.com/whois.html" }
|
215
214
|
Whois::Server.define :tld, ".mr", nil, { :adapter => Whois::Server::Adapters::None }
|
216
215
|
Whois::Server.define :tld, ".ms", "whois.nic.ms"
|
217
216
|
Whois::Server.define :tld, ".mt", nil, { :web => "https://www.nic.org.mt/dotmt/", :adapter => Whois::Server::Adapters::Web }
|
@@ -222,7 +221,7 @@ Whois::Server.define :tld, ".mx", "whois.nic.mx"
|
|
222
221
|
Whois::Server.define :tld, ".my", "whois.domainregistry.my"
|
223
222
|
Whois::Server.define :tld, ".mz", nil, { :adapter => Whois::Server::Adapters::None }
|
224
223
|
Whois::Server.define :tld, ".na", "whois.na-nic.com.na"
|
225
|
-
Whois::Server.define :tld, ".nc",
|
224
|
+
Whois::Server.define :tld, ".nc", "whois.nc"
|
226
225
|
Whois::Server.define :tld, ".ne", nil, { :adapter => Whois::Server::Adapters::None }
|
227
226
|
Whois::Server.define :tld, ".nf", "whois.nic.net.nf"
|
228
227
|
Whois::Server.define :tld, ".ng", "whois.nic.net.ng"
|
@@ -252,7 +251,7 @@ Whois::Server.define :tld, ".py", nil, { :web => "http://www.nic.py/consultas.ht
|
|
252
251
|
Whois::Server.define :tld, ".qa", "whois.registry.qa"
|
253
252
|
Whois::Server.define :tld, ".re", "whois.nic.fr"
|
254
253
|
Whois::Server.define :tld, ".ro", "whois.rotld.ro"
|
255
|
-
Whois::Server.define :tld, ".rs",
|
254
|
+
Whois::Server.define :tld, ".rs", "whois.rnids.rs"
|
256
255
|
Whois::Server.define :tld, ".edu.ru", "whois.informika.ru"
|
257
256
|
Whois::Server.define :tld, ".ru", "whois.tcinet.ru"
|
258
257
|
Whois::Server.define :tld, ".rw", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.nic.rw/cgi-bin/whois.pl"}
|
@@ -273,7 +272,7 @@ Whois::Server.define :tld, ".so", "whois.nic.so"
|
|
273
272
|
Whois::Server.define :tld, ".sr", nil, { :adapter => Whois::Server::Adapters::None }
|
274
273
|
Whois::Server.define :tld, ".st", "whois.nic.st"
|
275
274
|
Whois::Server.define :tld, ".su", "whois.tcinet.ru"
|
276
|
-
Whois::Server.define :tld, ".sv", nil, { :web => "http://www.uca.edu.sv/dns/"
|
275
|
+
Whois::Server.define :tld, ".sv", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://www.uca.edu.sv/dns/" }
|
277
276
|
Whois::Server.define :tld, ".sy", nil, { :adapter => Whois::Server::Adapters::None }
|
278
277
|
Whois::Server.define :tld, ".sz", nil, { :adapter => Whois::Server::Adapters::None }
|
279
278
|
Whois::Server.define :tld, ".tc", "whois.adamsnames.tc"
|
@@ -294,7 +293,7 @@ Whois::Server.define :tld, ".tv", "whois.nic.tv", { :adapter => Whois::Server::A
|
|
294
293
|
Whois::Server.define :tld, ".tw", "whois.twnic.net.tw"
|
295
294
|
Whois::Server.define :tld, ".tz", "whois.tznic.or.tz"
|
296
295
|
Whois::Server.define :tld, ".in.ua", "whois.in.ua"
|
297
|
-
Whois::Server.define :tld, ".ua", "whois.
|
296
|
+
Whois::Server.define :tld, ".ua", "whois.ua"
|
298
297
|
Whois::Server.define :tld, ".ug", "whois.co.ug"
|
299
298
|
Whois::Server.define :tld, ".ac.uk", "whois.ja.net"
|
300
299
|
Whois::Server.define :tld, ".bl.uk", nil, { :adapter => Whois::Server::Adapters::None }
|
@@ -333,20 +332,23 @@ Whois::Server.define :tld, ".zw", nil, { :adapter => Whois::Server::Adapters::No
|
|
333
332
|
Whois::Server.define :tld, ".xxx", "whois.nic.xxx"
|
334
333
|
Whois::Server.define :tld, ".xn--3e0b707e", "whois.kr"
|
335
334
|
Whois::Server.define :tld, ".xn--45brj9c", nil, { :adapter => Whois::Server::Adapters::None }
|
335
|
+
Whois::Server.define :tld, ".xn--80ao21a", "whois.nic.kz"
|
336
336
|
Whois::Server.define :tld, ".xn--90a3ac", nil, { :adapter => Whois::Server::Adapters::None }
|
337
337
|
Whois::Server.define :tld, ".xn--clchc0ea0b2g2a9gcd", "whois.sgnic.sg"
|
338
338
|
Whois::Server.define :tld, ".xn--fiqs8s", "cwhois.cnnic.cn"
|
339
339
|
Whois::Server.define :tld, ".xn--fiqz9s", "cwhois.cnnic.cn"
|
340
340
|
Whois::Server.define :tld, ".xn--fpcrj9c3d", nil, { :adapter => Whois::Server::Adapters::None }
|
341
|
-
Whois::Server.define :tld, ".xn--fzc2c9e2c",
|
341
|
+
Whois::Server.define :tld, ".xn--fzc2c9e2c", "whois.nic.lk"
|
342
342
|
Whois::Server.define :tld, ".xn--gecrj9c", nil, { :adapter => Whois::Server::Adapters::None }
|
343
343
|
Whois::Server.define :tld, ".xn--h2brj9c", nil, { :adapter => Whois::Server::Adapters::None }
|
344
344
|
Whois::Server.define :tld, ".xn--j6w193g", "whois.hkirc.hk"
|
345
345
|
Whois::Server.define :tld, ".xn--kprw13d", "whois.twnic.net.tw"
|
346
346
|
Whois::Server.define :tld, ".xn--kpry57d", "whois.twnic.net.tw"
|
347
|
+
Whois::Server.define :tld, ".xn--lgbbat1ad8j", "whois.nic.dz"
|
347
348
|
Whois::Server.define :tld, ".xn--mgbaam7a8h", "whois.aeda.net.ae"
|
348
|
-
Whois::Server.define :tld, ".xn--mgbayh7gpa", nil, { :adapter => Whois::Server::Adapters::
|
349
|
+
Whois::Server.define :tld, ".xn--mgbayh7gpa", nil, { :adapter => Whois::Server::Adapters::Web, :web => "http://idn.jo/whois_a.aspx" }
|
349
350
|
Whois::Server.define :tld, ".xn--mgbbh1a71e", nil, { :adapter => Whois::Server::Adapters::None }
|
351
|
+
Whois::Server.define :tld, ".xn--mgbc0a9azcg", nil, { :adapter => Whois::Server::Adapters::None }
|
350
352
|
Whois::Server.define :tld, ".xn--mgberp4a5d4ar", "whois.nic.net.sa"
|
351
353
|
Whois::Server.define :tld, ".xn--o3cw4h", "whois.thnic.co.th"
|
352
354
|
Whois::Server.define :tld, ".xn--ogbpf8fl", nil, { :adapter => Whois::Server::Adapters::None }
|
@@ -355,9 +357,7 @@ Whois::Server.define :tld, ".xn--pgbs0dh", nil, { :adapter => Whois::Server::Ada
|
|
355
357
|
Whois::Server.define :tld, ".xn--s9brj9c", nil, { :adapter => Whois::Server::Adapters::None }
|
356
358
|
Whois::Server.define :tld, ".xn--wgbh1c", "whois.dotmasr.eg"
|
357
359
|
Whois::Server.define :tld, ".xn--wgbl6a", "whois.registry.qa"
|
358
|
-
Whois::Server.define :tld, ".xn--
|
359
|
-
Whois::Server.define :tld, ".xn--xkc2al3hye2a", nil, { :adapter => Whois::Server::Adapters::None }
|
360
|
+
Whois::Server.define :tld, ".xn--xkc2al3hye2a", "whois.nic.lk"
|
360
361
|
Whois::Server.define :tld, ".xn--xkc2dl3a5ee0h", nil, { :adapter => Whois::Server::Adapters::None }
|
361
|
-
Whois::Server.define :tld, ".xn--mgbc0a9azcg", nil, { :adapter => Whois::Server::Adapters::None }
|
362
362
|
Whois::Server.define :tld, ".xn--yfro4i67o", "whois.sgnic.sg"
|
363
363
|
Whois::Server.define :tld, ".xn--ygbi2ammx", "whois.pnina.ps"
|
data/lib/whois/record.rb
CHANGED
@@ -255,6 +255,16 @@ module Whois
|
|
255
255
|
end
|
256
256
|
|
257
257
|
|
258
|
+
# Checks whether this is an incomplete response.
|
259
|
+
#
|
260
|
+
# @return [Boolean]
|
261
|
+
#
|
262
|
+
# @see Whois::Record::Parser#response_incomplete?
|
263
|
+
#
|
264
|
+
def response_incomplete?
|
265
|
+
parser.response_incomplete?
|
266
|
+
end
|
267
|
+
|
258
268
|
# Checks whether this is a throttle response.
|
259
269
|
#
|
260
270
|
# @return [Boolean]
|
@@ -265,14 +275,14 @@ module Whois
|
|
265
275
|
parser.response_throttled?
|
266
276
|
end
|
267
277
|
|
268
|
-
# Checks whether this is an
|
278
|
+
# Checks whether this is an unavailable response.
|
269
279
|
#
|
270
280
|
# @return [Boolean]
|
271
281
|
#
|
272
|
-
# @see Whois::Record::Parser#
|
282
|
+
# @see Whois::Record::Parser#response_unavailable?
|
273
283
|
#
|
274
|
-
def
|
275
|
-
parser.
|
284
|
+
def response_unavailable?
|
285
|
+
parser.response_unavailable?
|
276
286
|
end
|
277
287
|
|
278
288
|
# @endgroup
|
data/lib/whois/record/parser.rb
CHANGED
@@ -223,6 +223,18 @@ module Whois
|
|
223
223
|
parsers.size == other.parsers.size && all_in_parallel?(parsers, other.parsers) { |one, two| one.unchanged?(two) }
|
224
224
|
end
|
225
225
|
|
226
|
+
# Loop through all the parts to check if at least
|
227
|
+
# one part is an incomplete response.
|
228
|
+
#
|
229
|
+
# @return [Boolean]
|
230
|
+
#
|
231
|
+
# @see Whois::Record#response_incomplete?
|
232
|
+
# @see Whois::Record::Parser::Base#response_incomplete?
|
233
|
+
#
|
234
|
+
def response_incomplete?
|
235
|
+
any_is?(parsers, :response_incomplete?)
|
236
|
+
end
|
237
|
+
|
226
238
|
# Loop through all the parts to check if at least
|
227
239
|
# one part is a throttle response.
|
228
240
|
#
|
@@ -236,15 +248,15 @@ module Whois
|
|
236
248
|
end
|
237
249
|
|
238
250
|
# Loop through all the parts to check if at least
|
239
|
-
# one part is an
|
251
|
+
# one part is an unavailable response.
|
240
252
|
#
|
241
253
|
# @return [Boolean]
|
242
254
|
#
|
243
|
-
# @see Whois::Record#
|
244
|
-
# @see Whois::Record::Parser::Base#
|
255
|
+
# @see Whois::Record#response_unavailable?
|
256
|
+
# @see Whois::Record::Parser::Base#response_unavailable?
|
245
257
|
#
|
246
|
-
def
|
247
|
-
any_is?(parsers, :
|
258
|
+
def response_unavailable?
|
259
|
+
any_is?(parsers, :response_unavailable?)
|
248
260
|
end
|
249
261
|
|
250
262
|
# @endgroup
|
@@ -299,30 +299,30 @@ module Whois
|
|
299
299
|
content_for_scanner == other.content_for_scanner
|
300
300
|
end
|
301
301
|
|
302
|
-
# Checks whether this is
|
302
|
+
# Checks whether this is an incomplete response.
|
303
303
|
#
|
304
304
|
# @return [Boolean]
|
305
305
|
#
|
306
306
|
# @abstract This method is just a stub.
|
307
307
|
# Define it in your parser class.
|
308
308
|
#
|
309
|
-
# @see Whois::Record#
|
310
|
-
# @see Whois::Record::Parser#
|
309
|
+
# @see Whois::Record#response_incomplete?
|
310
|
+
# @see Whois::Record::Parser#response_incomplete?
|
311
311
|
#
|
312
|
-
def
|
312
|
+
def response_incomplete?
|
313
313
|
end
|
314
314
|
|
315
|
-
# Checks whether this is
|
315
|
+
# Checks whether this is a throttle response.
|
316
316
|
#
|
317
317
|
# @return [Boolean]
|
318
318
|
#
|
319
319
|
# @abstract This method is just a stub.
|
320
320
|
# Define it in your parser class.
|
321
321
|
#
|
322
|
-
# @see Whois::Record#
|
323
|
-
# @see Whois::Record::Parser#
|
322
|
+
# @see Whois::Record#response_throttled?
|
323
|
+
# @see Whois::Record::Parser#response_throttled?
|
324
324
|
#
|
325
|
-
def
|
325
|
+
def response_throttled?
|
326
326
|
end
|
327
327
|
|
328
328
|
# Checks whether this response contains a message
|
@@ -336,6 +336,9 @@ module Whois
|
|
336
336
|
# @abstract This method is just a stub.
|
337
337
|
# Define it in your parser class.
|
338
338
|
#
|
339
|
+
# @see Whois::Record#response_unavailable?
|
340
|
+
# @see Whois::Record::Parser#response_unavailable?
|
341
|
+
#
|
339
342
|
def response_unavailable?
|
340
343
|
end
|
341
344
|
|