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
@@ -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-06-13 17:17:40 UTC")
|
32
32
|
|
33
33
|
#updated_on
|
34
|
-
should: %s (time)
|
34
|
+
should: %s CLASS(time)
|
35
35
|
should: %s == Time.parse("2009-06-10 11:00:13 UTC")
|
36
36
|
|
37
37
|
#expires_on
|
38
|
-
should: %s (time)
|
38
|
+
should: %s CLASS(time)
|
39
39
|
should: %s == Time.parse("2013-06-13 17:17:40 UTC")
|
40
40
|
|
41
41
|
|
42
42
|
#registrar
|
43
|
-
should: %s (registrar)
|
43
|
+
should: %s CLASS(registrar)
|
44
44
|
should: %s.id == "R45-ME"
|
45
45
|
should: %s.name == "MarkMonitor Inc"
|
46
46
|
should: %s.organization == "MarkMonitor Inc"
|
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 == "mmr-32097"
|
55
55
|
should: %s[0].name == "DNS Admin"
|
@@ -64,9 +64,9 @@
|
|
64
64
|
should: %s[0].email == "dotme@markmonitor.com"
|
65
65
|
|
66
66
|
#admin_contacts
|
67
|
-
should: %s (array)
|
68
|
-
should: %s
|
69
|
-
should: %s[0] (contact)
|
67
|
+
should: %s CLASS(array)
|
68
|
+
should: %s SIZE(1)
|
69
|
+
should: %s[0] CLASS(contact)
|
70
70
|
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
71
71
|
should: %s[0].id == "mmr-32097"
|
72
72
|
should: %s[0].name == "DNS Admin"
|
@@ -81,9 +81,9 @@
|
|
81
81
|
should: %s[0].email == "dotme@markmonitor.com"
|
82
82
|
|
83
83
|
#technical_contacts
|
84
|
-
should: %s (array)
|
85
|
-
should: %s
|
86
|
-
should: %s[0] (contact)
|
84
|
+
should: %s CLASS(array)
|
85
|
+
should: %s SIZE(1)
|
86
|
+
should: %s[0] CLASS(contact)
|
87
87
|
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
88
88
|
should: %s[0].id == "mmr-32097"
|
89
89
|
should: %s[0].name == "DNS Admin"
|
@@ -99,13 +99,13 @@
|
|
99
99
|
|
100
100
|
|
101
101
|
#nameservers
|
102
|
-
should: %s (array)
|
103
|
-
should: %s
|
104
|
-
should: %s[0] (nameserver)
|
102
|
+
should: %s CLASS(array)
|
103
|
+
should: %s SIZE(4)
|
104
|
+
should: %s[0] CLASS(nameserver)
|
105
105
|
should: %s[0].name == "ns2.google.com"
|
106
|
-
should: %s[1] (nameserver)
|
106
|
+
should: %s[1] CLASS(nameserver)
|
107
107
|
should: %s[1].name == "ns1.google.com"
|
108
|
-
should: %s[2] (nameserver)
|
108
|
+
should: %s[2] CLASS(nameserver)
|
109
109
|
should: %s[2].name == "ns4.google.com"
|
110
|
-
should: %s[3] (nameserver)
|
110
|
+
should: %s[3] CLASS(nameserver)
|
111
111
|
should: %s[3].name == "ns3.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("2001-11-10 15:23:42 UTC")
|
14
14
|
|
15
15
|
#updated_on
|
16
|
-
should: %s (time)
|
16
|
+
should: %s CLASS(time)
|
17
17
|
should: %s == Time.parse("2002-04-04 17:48:43 UTC")
|
18
18
|
|
19
19
|
#expires_on
|
20
|
-
should: %s (time)
|
20
|
+
should: %s CLASS(time)
|
21
21
|
should: %s == Time.parse("2003-07-31 11:00:00 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 == "nic.frd.se"
|
29
29
|
should: %s[0].ipv4 == nil
|
30
|
-
should: %s[1] (nameserver)
|
30
|
+
should: %s[1] CLASS(nameserver)
|
31
31
|
should: %s[1].name == "nic.museum"
|
32
32
|
should: %s[1].ipv4 == "130.242.24.5"
|
@@ -16,22 +16,22 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
#created_on
|
19
|
-
should: %s (time)
|
19
|
+
should: %s CLASS(time)
|
20
20
|
should: %s == Time.parse("2007-03-28")
|
21
21
|
|
22
22
|
#updated_on
|
23
|
-
should: %s (time)
|
23
|
+
should: %s CLASS(time)
|
24
24
|
should: %s == Time.parse("2010-10-12")
|
25
25
|
|
26
26
|
#expires_on
|
27
|
-
should: %s (time)
|
27
|
+
should: %s CLASS(time)
|
28
28
|
should: %s == Time.parse("2011-08-20")
|
29
29
|
|
30
30
|
|
31
31
|
#nameservers
|
32
|
-
should: %s (array)
|
33
|
-
should: %s
|
34
|
-
should: %s[0] (nameserver)
|
32
|
+
should: %s CLASS(array)
|
33
|
+
should: %s SIZE(2)
|
34
|
+
should: %s[0] CLASS(nameserver)
|
35
35
|
should: %s[0].name == "ns2.google.com"
|
36
|
-
should: %s[1] (nameserver)
|
36
|
+
should: %s[1] CLASS(nameserver)
|
37
37
|
should: %s[1].name == "ns1.google.com"
|
@@ -0,0 +1,55 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == nil
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
10
|
+
|
11
|
+
|
12
|
+
#referral_url
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_whois
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
19
|
+
#status
|
20
|
+
should: %s == :available
|
21
|
+
|
22
|
+
#available?
|
23
|
+
should: %s == true
|
24
|
+
|
25
|
+
#registered?
|
26
|
+
should: %s == false
|
27
|
+
|
28
|
+
|
29
|
+
#created_on
|
30
|
+
should: %s == nil
|
31
|
+
|
32
|
+
#updated_on
|
33
|
+
should: %s == nil
|
34
|
+
|
35
|
+
#expires_on
|
36
|
+
should: %s == nil
|
37
|
+
|
38
|
+
|
39
|
+
#registrar
|
40
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
41
|
+
|
42
|
+
#registrant_contacts
|
43
|
+
should: %s CLASS(array)
|
44
|
+
should: %s == []
|
45
|
+
|
46
|
+
#admin_contacts
|
47
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
48
|
+
|
49
|
+
#technical_contacts
|
50
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
51
|
+
|
52
|
+
|
53
|
+
#nameservers
|
54
|
+
should: %s CLASS(array)
|
55
|
+
should: %s == []
|
@@ -0,0 +1,76 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == "domaine.nc"
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
10
|
+
|
11
|
+
|
12
|
+
#referral_url
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_whois
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
19
|
+
#status
|
20
|
+
should: %s == :registered
|
21
|
+
|
22
|
+
#available?
|
23
|
+
should: %s == false
|
24
|
+
|
25
|
+
#registered?
|
26
|
+
should: %s == true
|
27
|
+
|
28
|
+
|
29
|
+
#created_on
|
30
|
+
should: %s CLASS(time)
|
31
|
+
should: %s == Time.parse("2006-05-14")
|
32
|
+
|
33
|
+
#updated_on
|
34
|
+
should: %s CLASS(time)
|
35
|
+
should: %s == Time.parse("2012-02-13")
|
36
|
+
|
37
|
+
#expires_on
|
38
|
+
should: %s CLASS(time)
|
39
|
+
should: %s == Time.parse("2016-05-14")
|
40
|
+
|
41
|
+
|
42
|
+
#registrar
|
43
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
44
|
+
|
45
|
+
#registrant_contacts
|
46
|
+
should: %s CLASS(array)
|
47
|
+
should: %s SIZE(1)
|
48
|
+
should: %s[0] CLASS(contact)
|
49
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
50
|
+
should: %s[0].name == "CCTLD"
|
51
|
+
should: %s[0].organization == nil
|
52
|
+
should: %s[0].address == "1 RUE MONCHOVET\n7 EME ETAGE\nLE WARUNA 1"
|
53
|
+
should: %s[0].city == "NOUMEA CEDEX"
|
54
|
+
should: %s[0].zip == "98841"
|
55
|
+
should: %s[0].state == nil
|
56
|
+
should: %s[0].country == "NEW CALEDONIA"
|
57
|
+
should: %s[0].phone == nil
|
58
|
+
should: %s[0].fax == nil
|
59
|
+
should: %s[0].email == nil
|
60
|
+
|
61
|
+
#admin_contacts
|
62
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
63
|
+
|
64
|
+
#technical_contacts
|
65
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
66
|
+
|
67
|
+
|
68
|
+
#nameservers
|
69
|
+
should: %s CLASS(array)
|
70
|
+
should: %s SIZE(3)
|
71
|
+
should: %s[0] CLASS(nameserver)
|
72
|
+
should: %s[0].name == "any-ns1.nc"
|
73
|
+
should: %s[1] CLASS(nameserver)
|
74
|
+
should: %s[1].name == "ns1.nc"
|
75
|
+
should: %s[2] CLASS(nameserver)
|
76
|
+
should: %s[2].name == "ns2.nc"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
Whois .NC
|
3
|
+
|
4
|
+
Domain : domaine.nc
|
5
|
+
Created on : 2006-05-14
|
6
|
+
Expires on : 2016-05-14
|
7
|
+
Last updated on : 2012-02-13
|
8
|
+
|
9
|
+
Domain server 1 : any-ns1.nc
|
10
|
+
Domain server 2 : ns1.nc
|
11
|
+
Domain server 3 : ns2.nc
|
12
|
+
|
13
|
+
Registrant name : CCTLD
|
14
|
+
Registrant type : Societe (CCTLD.NC)
|
15
|
+
Registrant address 1 : 1 RUE MONCHOVET
|
16
|
+
Registrant address 2 : 7 EME ETAGE
|
17
|
+
Registrant address 3 : LE WARUNA 1
|
18
|
+
Registrant address 4 : 98841 NOUMEA CEDEX
|
19
|
+
Registrant address 5 : NEW CALEDONIA
|
20
|
+
|
21
|
+
Contact firstname : Pascal
|
22
|
+
Contact lastname : Schiavo
|
23
|
+
|
24
|
+
more details on http://www.whois.nc
|
@@ -9,26 +9,26 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
#created_on
|
12
|
-
should: %s (time)
|
12
|
+
should: %s CLASS(time)
|
13
13
|
should: %s == Time.parse("2009-10-07")
|
14
14
|
|
15
15
|
#updated_on
|
16
|
-
should: %s (time)
|
16
|
+
should: %s CLASS(time)
|
17
17
|
should: %s == Time.parse("2010-02-12")
|
18
18
|
|
19
19
|
#expires_on
|
20
|
-
should: %s (time)
|
20
|
+
should: %s CLASS(time)
|
21
21
|
should: %s == Time.parse("2010-10-07")
|
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(4)
|
27
|
+
should: %s[0] CLASS(nameserver)
|
28
28
|
should: %s[0].name == "ns1.google.com"
|
29
|
-
should: %s[1] (nameserver)
|
29
|
+
should: %s[1] CLASS(nameserver)
|
30
30
|
should: %s[1].name == "ns2.google.com"
|
31
|
-
should: %s[2] (nameserver)
|
31
|
+
should: %s[2] CLASS(nameserver)
|
32
32
|
should: %s[2].name == "ns3.google.com"
|
33
|
-
should: %s[3] (nameserver)
|
33
|
+
should: %s[3] CLASS(nameserver)
|
34
34
|
should: %s[3].name == "ns4.google.com"
|
@@ -1,11 +1,11 @@
|
|
1
1
|
#nameservers
|
2
|
-
should: %s (array)
|
3
|
-
should: %s
|
4
|
-
should: %s[0] (nameserver)
|
2
|
+
should: %s CLASS(array)
|
3
|
+
should: %s SIZE(4)
|
4
|
+
should: %s[0] CLASS(nameserver)
|
5
5
|
should: %s[0] == _nameserver.new(:name => "ns2.loopia.se", :ipv4 => "93.188.0.21")
|
6
|
-
should: %s[1] (nameserver)
|
6
|
+
should: %s[1] CLASS(nameserver)
|
7
7
|
should: %s[1] == _nameserver.new(:name => "ns4.loopia.se", :ipv4 => "93.188.0.20")
|
8
|
-
should: %s[2] (nameserver)
|
8
|
+
should: %s[2] CLASS(nameserver)
|
9
9
|
should: %s[2] == _nameserver.new(:name => "ns3.loopia.se", :ipv4 => "93.188.0.21")
|
10
|
-
should: %s[3] (nameserver)
|
10
|
+
should: %s[3] CLASS(nameserver)
|
11
11
|
should: %s[3] == _nameserver.new(:name => "ns1.loopia.se", :ipv4 => "93.188.0.20")
|