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
@@ -19,13 +19,13 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
#nameservers
|
22
|
-
should: %s (array)
|
23
|
-
should: %s
|
24
|
-
should: %s[0] (nameserver)
|
22
|
+
should: %s CLASS(array)
|
23
|
+
should: %s SIZE(4)
|
24
|
+
should: %s[0] CLASS(nameserver)
|
25
25
|
should: %s[0].name == "ns1.google.com"
|
26
|
-
should: %s[1] (nameserver)
|
26
|
+
should: %s[1] CLASS(nameserver)
|
27
27
|
should: %s[1].name == "ns2.google.com"
|
28
|
-
should: %s[2] (nameserver)
|
28
|
+
should: %s[2] CLASS(nameserver)
|
29
29
|
should: %s[2].name == "ns3.google.com"
|
30
|
-
should: %s[3] (nameserver)
|
30
|
+
should: %s[3] CLASS(nameserver)
|
31
31
|
should: %s[3].name == "ns4.google.com"
|
@@ -9,25 +9,25 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
#created_on
|
12
|
-
should: %s (time)
|
12
|
+
should: %s CLASS(time)
|
13
13
|
should: %s == Time.parse("2005-04-04")
|
14
14
|
|
15
15
|
#updated_on
|
16
16
|
should: %s raise_error(Whois::PropertyNotSupported)
|
17
17
|
|
18
18
|
#expires_on
|
19
|
-
should: %s (time)
|
19
|
+
should: %s CLASS(time)
|
20
20
|
should: %s == Time.parse("2010-07-19")
|
21
21
|
|
22
22
|
|
23
23
|
#nameservers
|
24
|
-
should: %s (array)
|
25
|
-
should: %s
|
26
|
-
should: %s[0] (nameserver)
|
24
|
+
should: %s CLASS(array)
|
25
|
+
should: %s SIZE(4)
|
26
|
+
should: %s[0] CLASS(nameserver)
|
27
27
|
should: %s[0].name == "ns1.google.com"
|
28
|
-
should: %s[1] (nameserver)
|
28
|
+
should: %s[1] CLASS(nameserver)
|
29
29
|
should: %s[1].name == "ns2.google.com"
|
30
|
-
should: %s[2] (nameserver)
|
30
|
+
should: %s[2] CLASS(nameserver)
|
31
31
|
should: %s[2].name == "ns3.google.com"
|
32
|
-
should: %s[3] (nameserver)
|
32
|
+
should: %s[3] CLASS(nameserver)
|
33
33
|
should: %s[3].name == "ns4.google.com"
|
@@ -12,7 +12,7 @@
|
|
12
12
|
should: %s raise_error(Whois::PropertyNotSupported)
|
13
13
|
|
14
14
|
#updated_on
|
15
|
-
should: %s (time)
|
15
|
+
should: %s CLASS(time)
|
16
16
|
should: %s == Time.parse("2009-10-12 16:05:44 UTC")
|
17
17
|
|
18
18
|
#expires_on
|
@@ -20,13 +20,13 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
#nameservers
|
23
|
-
should: %s (array)
|
24
|
-
should: %s
|
25
|
-
should: %s[0] (nameserver)
|
23
|
+
should: %s CLASS(array)
|
24
|
+
should: %s SIZE(4)
|
25
|
+
should: %s[0] CLASS(nameserver)
|
26
26
|
should: %s[0].name == "ns1.google.com"
|
27
|
-
should: %s[1] (nameserver)
|
27
|
+
should: %s[1] CLASS(nameserver)
|
28
28
|
should: %s[1].name == "ns2.google.com"
|
29
|
-
should: %s[2] (nameserver)
|
29
|
+
should: %s[2] CLASS(nameserver)
|
30
30
|
should: %s[2].name == "ns3.google.com"
|
31
|
-
should: %s[3] (nameserver)
|
31
|
+
should: %s[3] CLASS(nameserver)
|
32
32
|
should: %s[3].name == "ns4.google.com"
|
@@ -36,18 +36,18 @@
|
|
36
36
|
should: %s == nil
|
37
37
|
|
38
38
|
#registrant_contacts
|
39
|
-
should: %s (array)
|
39
|
+
should: %s CLASS(array)
|
40
40
|
should: %s == []
|
41
41
|
|
42
42
|
#admin_contacts
|
43
|
-
should: %s (array)
|
43
|
+
should: %s CLASS(array)
|
44
44
|
should: %s == []
|
45
45
|
|
46
46
|
#technical_contacts
|
47
|
-
should: %s (array)
|
47
|
+
should: %s CLASS(array)
|
48
48
|
should: %s == []
|
49
49
|
|
50
50
|
|
51
51
|
#nameservers
|
52
|
-
should: %s (array)
|
52
|
+
should: %s CLASS(array)
|
53
53
|
should: %s == []
|
@@ -23,47 +23,47 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
#created_on
|
26
|
-
should: %s (time)
|
26
|
+
should: %s CLASS(time)
|
27
27
|
should: %s == Time.parse("2002-03-27 00:01:00 UTC")
|
28
28
|
|
29
29
|
#updated_on
|
30
|
-
should: %s (time)
|
30
|
+
should: %s CLASS(time)
|
31
31
|
should: %s == Time.parse("2009-03-01 12:01:04 UTC")
|
32
32
|
|
33
33
|
#expires_on
|
34
|
-
should: %s (time)
|
34
|
+
should: %s CLASS(time)
|
35
35
|
should: %s == Time.parse("2010-03-26 23:59:59 UTC")
|
36
36
|
|
37
37
|
|
38
38
|
#registrar
|
39
|
-
should: %s (registrar)
|
39
|
+
should: %s CLASS(registrar)
|
40
40
|
should: %s.id == "292"
|
41
41
|
should: %s.name == "MARKMONITOR, INC."
|
42
42
|
|
43
43
|
#registrant_contacts
|
44
|
-
should: %s (array)
|
45
|
-
should: %s
|
46
|
-
should: %s[0] (contact)
|
44
|
+
should: %s CLASS(array)
|
45
|
+
should: %s SIZE(1)
|
46
|
+
should: %s[0] CLASS(contact)
|
47
47
|
|
48
48
|
#admin_contacts
|
49
|
-
should: %s (array)
|
50
|
-
should: %s
|
51
|
-
should: %s[0] (contact)
|
49
|
+
should: %s CLASS(array)
|
50
|
+
should: %s SIZE(1)
|
51
|
+
should: %s[0] CLASS(contact)
|
52
52
|
|
53
53
|
#technical_contacts
|
54
|
-
should: %s (array)
|
55
|
-
should: %s
|
56
|
-
should: %s[0] (contact)
|
54
|
+
should: %s CLASS(array)
|
55
|
+
should: %s SIZE(1)
|
56
|
+
should: %s[0] CLASS(contact)
|
57
57
|
|
58
58
|
|
59
59
|
#nameservers
|
60
|
-
should: %s (array)
|
61
|
-
should: %s
|
62
|
-
should: %s[0] (nameserver)
|
60
|
+
should: %s CLASS(array)
|
61
|
+
should: %s SIZE(4)
|
62
|
+
should: %s[0] CLASS(nameserver)
|
63
63
|
should: %s[0] == _nameserver.new(:name => "ns1.google.com")
|
64
|
-
should: %s[1] (nameserver)
|
64
|
+
should: %s[1] CLASS(nameserver)
|
65
65
|
should: %s[1] == _nameserver.new(:name => "ns2.google.com")
|
66
|
-
should: %s[2] (nameserver)
|
66
|
+
should: %s[2] CLASS(nameserver)
|
67
67
|
should: %s[2] == _nameserver.new(:name => "ns3.google.com")
|
68
|
-
should: %s[3] (nameserver)
|
68
|
+
should: %s[3] CLASS(nameserver)
|
69
69
|
should: %s[3] == _nameserver.new(:name => "ns4.google.com")
|
@@ -9,24 +9,24 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
#created_on
|
12
|
-
should: %s (time)
|
12
|
+
should: %s CLASS(time)
|
13
13
|
should: %s == Time.parse("2006-02-14 09:12:37 UTC")
|
14
14
|
|
15
15
|
#updated_on
|
16
|
-
should: %s (time)
|
16
|
+
should: %s CLASS(time)
|
17
17
|
should: %s == Time.parse("2009-03-31 16:22:42 UTC")
|
18
18
|
|
19
19
|
#expires_on
|
20
|
-
should: %s (time)
|
20
|
+
should: %s CLASS(time)
|
21
21
|
should: %s == Time.parse("2010-02-14 09:12:37 UTC")
|
22
22
|
|
23
23
|
|
24
24
|
#nameservers
|
25
|
-
should: %s (array)
|
26
|
-
should: %s
|
27
|
-
should: %s[0] (nameserver)
|
25
|
+
should: %s CLASS(array)
|
26
|
+
should: %s SIZE(2)
|
27
|
+
should: %s[0] CLASS(nameserver)
|
28
28
|
should: %s[0].name == "dns2.gencat.cat"
|
29
29
|
should: %s[0].ipv4 == "83.247.132.4"
|
30
|
-
should: %s[1] (nameserver)
|
30
|
+
should: %s[1] CLASS(nameserver)
|
31
31
|
should: %s[1].name == "dns.gencat.net"
|
32
32
|
should: %s[1].ipv4 == nil
|
@@ -9,21 +9,21 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
#created_on
|
12
|
-
should: %s (time)
|
12
|
+
should: %s CLASS(time)
|
13
13
|
should: %s == Time.parse("2006-04-13")
|
14
14
|
|
15
15
|
#updated_on
|
16
16
|
should: %s raise_error(Whois::PropertyNotSupported)
|
17
17
|
|
18
18
|
#expires_on
|
19
|
-
should: %s (time)
|
19
|
+
should: %s CLASS(time)
|
20
20
|
should: %s == Time.parse("2011-05-01")
|
21
21
|
|
22
22
|
|
23
23
|
#nameservers
|
24
|
-
should: %s (array)
|
25
|
-
should: %s
|
26
|
-
should: %s[0] (nameserver)
|
24
|
+
should: %s CLASS(array)
|
25
|
+
should: %s SIZE(2)
|
26
|
+
should: %s[0] CLASS(nameserver)
|
27
27
|
should: %s[0].name == "ns1.google.com"
|
28
|
-
should: %s[1] (nameserver)
|
28
|
+
should: %s[1] CLASS(nameserver)
|
29
29
|
should: %s[1].name == "ns2.google.com"
|
@@ -40,18 +40,18 @@
|
|
40
40
|
should: %s == nil
|
41
41
|
|
42
42
|
#registrant_contacts
|
43
|
-
should: %s (array)
|
43
|
+
should: %s CLASS(array)
|
44
44
|
should: %s == []
|
45
45
|
|
46
46
|
#admin_contacts
|
47
|
-
should: %s (array)
|
47
|
+
should: %s CLASS(array)
|
48
48
|
should: %s == []
|
49
49
|
|
50
50
|
#technical_contacts
|
51
|
-
should: %s (array)
|
51
|
+
should: %s CLASS(array)
|
52
52
|
should: %s == []
|
53
53
|
|
54
54
|
|
55
55
|
#nameservers
|
56
|
-
should: %s (array)
|
56
|
+
should: %s CLASS(array)
|
57
57
|
should: %s == []
|
@@ -27,29 +27,29 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
#created_on
|
30
|
-
should: %s (time)
|
30
|
+
should: %s CLASS(time)
|
31
31
|
should: %s == Time.parse("2010-10-11 12:08:35 UTC")
|
32
32
|
|
33
33
|
#updated_on
|
34
|
-
should: %s (time)
|
34
|
+
should: %s CLASS(time)
|
35
35
|
should: %s == Time.parse("2011-01-11 11:13:32 UTC")
|
36
36
|
|
37
37
|
#expires_on
|
38
|
-
should: %s (time)
|
38
|
+
should: %s CLASS(time)
|
39
39
|
should: %s == Time.parse("2012-10-11 23:59:59 UTC")
|
40
40
|
|
41
41
|
|
42
42
|
#registrar
|
43
|
-
should: %s (registrar)
|
43
|
+
should: %s CLASS(registrar)
|
44
44
|
should: %s.id == "H269407"
|
45
45
|
should: %s.name == nil
|
46
46
|
should: %s.organization == "Public Domain Registry Inc."
|
47
47
|
should: %s.url == "www.publicdomainregistry.com"
|
48
48
|
|
49
49
|
#registrant_contacts
|
50
|
-
should: %s (array)
|
51
|
-
should: %s
|
52
|
-
should: %s[0] (contact)
|
50
|
+
should: %s CLASS(array)
|
51
|
+
should: %s SIZE(1)
|
52
|
+
should: %s[0] CLASS(contact)
|
53
53
|
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
54
54
|
should: %s[0].id == "H280468"
|
55
55
|
should: %s[0].name == "Domain Admin"
|
@@ -65,9 +65,9 @@
|
|
65
65
|
should: %s[0].email == "contact@privacyprotect.org"
|
66
66
|
|
67
67
|
#admin_contacts
|
68
|
-
should: %s (array)
|
69
|
-
should: %s
|
70
|
-
should: %s[0] (contact)
|
68
|
+
should: %s CLASS(array)
|
69
|
+
should: %s SIZE(1)
|
70
|
+
should: %s[0] CLASS(contact)
|
71
71
|
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
72
72
|
should: %s[0].id == "H280468"
|
73
73
|
should: %s[0].name == "Domain Admin"
|
@@ -83,9 +83,9 @@
|
|
83
83
|
should: %s[0].email == "contact@privacyprotect.org"
|
84
84
|
|
85
85
|
#technical_contacts
|
86
|
-
should: %s (array)
|
87
|
-
should: %s
|
88
|
-
should: %s[0] (contact)
|
86
|
+
should: %s CLASS(array)
|
87
|
+
should: %s SIZE(1)
|
88
|
+
should: %s[0] CLASS(contact)
|
89
89
|
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
90
90
|
should: %s[0].id == "H280468"
|
91
91
|
should: %s[0].name == "Domain Admin"
|
@@ -102,9 +102,9 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
#nameservers
|
105
|
-
should: %s (array)
|
106
|
-
should: %s
|
107
|
-
should: %s[0] (nameserver)
|
105
|
+
should: %s CLASS(array)
|
106
|
+
should: %s SIZE(2)
|
107
|
+
should: %s[0] CLASS(nameserver)
|
108
108
|
should: %s[0].name == "ns50.hosting-uae.com"
|
109
|
-
should: %s[1] (nameserver)
|
109
|
+
should: %s[1] CLASS(nameserver)
|
110
110
|
should: %s[1].name == "ns49.hosting-uae.com"
|
@@ -40,18 +40,18 @@
|
|
40
40
|
should: %s == nil
|
41
41
|
|
42
42
|
#registrant_contacts
|
43
|
-
should: %s (array)
|
43
|
+
should: %s CLASS(array)
|
44
44
|
should: %s == []
|
45
45
|
|
46
46
|
#admin_contacts
|
47
|
-
should: %s (array)
|
47
|
+
should: %s CLASS(array)
|
48
48
|
should: %s == []
|
49
49
|
|
50
50
|
#technical_contacts
|
51
|
-
should: %s (array)
|
51
|
+
should: %s CLASS(array)
|
52
52
|
should: %s == []
|
53
53
|
|
54
54
|
|
55
55
|
#nameservers
|
56
|
-
should: %s (array)
|
56
|
+
should: %s CLASS(array)
|
57
57
|
should: %s == []
|
@@ -27,29 +27,29 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
#created_on
|
30
|
-
should: %s (time)
|
30
|
+
should: %s CLASS(time)
|
31
31
|
should: %s == Time.parse("2008-04-25 16:22:13 UTC")
|
32
32
|
|
33
33
|
#updated_on
|
34
|
-
should: %s (time)
|
34
|
+
should: %s CLASS(time)
|
35
35
|
should: %s == Time.parse("2011-04-26 00:15:12 UTC")
|
36
36
|
|
37
37
|
#expires_on
|
38
|
-
should: %s (time)
|
38
|
+
should: %s CLASS(time)
|
39
39
|
should: %s == Time.parse("2012-04-25 23:59:59 UTC")
|
40
40
|
|
41
41
|
|
42
42
|
#registrar
|
43
|
-
should: %s (registrar)
|
43
|
+
should: %s CLASS(registrar)
|
44
44
|
should: %s.id == "H1323241"
|
45
45
|
should: %s.name == nil
|
46
46
|
should: %s.organization == "CentralNic Ltd"
|
47
47
|
should: %s.url == nil
|
48
48
|
|
49
49
|
#registrant_contacts
|
50
|
-
should: %s (array)
|
51
|
-
should: %s
|
52
|
-
should: %s[0] (contact)
|
50
|
+
should: %s CLASS(array)
|
51
|
+
should: %s SIZE(1)
|
52
|
+
should: %s[0] CLASS(contact)
|
53
53
|
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
54
54
|
should: %s[0].id == "H1323241"
|
55
55
|
should: %s[0].name == "Reserved Domains"
|
@@ -65,9 +65,9 @@
|
|
65
65
|
should: %s[0].email == "domains@centralnic.com"
|
66
66
|
|
67
67
|
#admin_contacts
|
68
|
-
should: %s (array)
|
69
|
-
should: %s
|
70
|
-
should: %s[0] (contact)
|
68
|
+
should: %s CLASS(array)
|
69
|
+
should: %s SIZE(1)
|
70
|
+
should: %s[0] CLASS(contact)
|
71
71
|
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
72
72
|
should: %s[0].id == "H1323241"
|
73
73
|
should: %s[0].name == "Reserved Domains"
|
@@ -83,9 +83,9 @@
|
|
83
83
|
should: %s[0].email == "domains@centralnic.com"
|
84
84
|
|
85
85
|
#technical_contacts
|
86
|
-
should: %s (array)
|
87
|
-
should: %s
|
88
|
-
should: %s[0] (contact)
|
86
|
+
should: %s CLASS(array)
|
87
|
+
should: %s SIZE(1)
|
88
|
+
should: %s[0] CLASS(contact)
|
89
89
|
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
90
90
|
should: %s[0].id == "H1323241"
|
91
91
|
should: %s[0].name == "Reserved Domains"
|
@@ -102,17 +102,17 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
#nameservers
|
105
|
-
should: %s (array)
|
106
|
-
should: %s
|
107
|
-
should: %s[0] (nameserver)
|
105
|
+
should: %s CLASS(array)
|
106
|
+
should: %s SIZE(6)
|
107
|
+
should: %s[0] CLASS(nameserver)
|
108
108
|
should: %s[0].name == "ns0.centralnic-dns.com"
|
109
|
-
should: %s[1] (nameserver)
|
109
|
+
should: %s[1] CLASS(nameserver)
|
110
110
|
should: %s[1].name == "ns1.centralnic-dns.com"
|
111
|
-
should: %s[2] (nameserver)
|
111
|
+
should: %s[2] CLASS(nameserver)
|
112
112
|
should: %s[2].name == "ns2.centralnic-dns.com"
|
113
|
-
should: %s[3] (nameserver)
|
113
|
+
should: %s[3] CLASS(nameserver)
|
114
114
|
should: %s[3].name == "ns3.centralnic-dns.com"
|
115
|
-
should: %s[4] (nameserver)
|
115
|
+
should: %s[4] CLASS(nameserver)
|
116
116
|
should: %s[4].name == "ns4.centralnic-dns.com"
|
117
|
-
should: %s[5] (nameserver)
|
117
|
+
should: %s[5] CLASS(nameserver)
|
118
118
|
should: %s[5].name == "ns5.centralnic-dns.com"
|