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
@@ -0,0 +1 @@
|
|
1
|
+
%ERROR:103: Domain is not registered
|
@@ -0,0 +1,94 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == "google.rs"
|
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("2008-03-10 12:31:19")
|
32
|
+
|
33
|
+
#updated_on
|
34
|
+
should: %s CLASS(time)
|
35
|
+
should: %s == Time.parse("2012-02-28 04:30:05")
|
36
|
+
|
37
|
+
#expires_on
|
38
|
+
should: %s CLASS(time)
|
39
|
+
should: %s == Time.parse("2013-03-10 12:31:19")
|
40
|
+
|
41
|
+
|
42
|
+
#registrar
|
43
|
+
should: %s CLASS(registrar)
|
44
|
+
should: %s.id == nil
|
45
|
+
should: %s.name == "NINET Company d.o.o."
|
46
|
+
should: %s.organization == nil
|
47
|
+
should: %s.url == nil
|
48
|
+
|
49
|
+
#registrant_contacts
|
50
|
+
should: %s CLASS(array)
|
51
|
+
should: %s SIZE(1)
|
52
|
+
should: %s[0] CLASS(contact)
|
53
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
54
|
+
should: %s[0].id == nil
|
55
|
+
should: %s[0].name == "Google Inc."
|
56
|
+
should: %s[0].address == "1600 Amphitheatre Parkway, Mountain View, United States of America"
|
57
|
+
should: %s[0].email == nil
|
58
|
+
|
59
|
+
#admin_contacts
|
60
|
+
should: %s CLASS(array)
|
61
|
+
should: %s SIZE(1)
|
62
|
+
should: %s[0] CLASS(contact)
|
63
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
64
|
+
should: %s[0].id == nil
|
65
|
+
should: %s[0].name == "Domain Administrator, Drustvo za marketing Google DOO"
|
66
|
+
should: %s[0].address == "Marsala Birjuzova 47/18, Beograd, Serbia"
|
67
|
+
should: %s[0].email == nil
|
68
|
+
|
69
|
+
#technical_contacts
|
70
|
+
should: %s CLASS(array)
|
71
|
+
should: %s SIZE(1)
|
72
|
+
should: %s[0] CLASS(contact)
|
73
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
74
|
+
should: %s[0].id == nil
|
75
|
+
should: %s[0].name == "Domain Provisioning, MarkMonitor"
|
76
|
+
should: %s[0].address == "10400 Overland Road, Boise, United States of America"
|
77
|
+
should: %s[0].email == nil
|
78
|
+
|
79
|
+
|
80
|
+
#nameservers
|
81
|
+
should: %s CLASS(array)
|
82
|
+
should: %s SIZE(4)
|
83
|
+
should: %s[0] CLASS(nameserver)
|
84
|
+
should: %s[0].name == "ns1.google.com"
|
85
|
+
should: %s[0].ipv4 == nil
|
86
|
+
should: %s[1] CLASS(nameserver)
|
87
|
+
should: %s[1].name == "ns2.google.com"
|
88
|
+
should: %s[1].ipv4 == nil
|
89
|
+
should: %s[2] CLASS(nameserver)
|
90
|
+
should: %s[2].name == "ns3.google.com"
|
91
|
+
should: %s[2].ipv4 == "216.239.36.10"
|
92
|
+
should: %s[3] CLASS(nameserver)
|
93
|
+
should: %s[3].name == "ns4.google.com"
|
94
|
+
should: %s[3].ipv4 == "216.239.38.10"
|
@@ -0,0 +1,44 @@
|
|
1
|
+
%
|
2
|
+
%This is the RNIDS Whois server.
|
3
|
+
%
|
4
|
+
% Date Format : DD.MM.YYYY
|
5
|
+
% Whois Server Version: 1.0.0
|
6
|
+
%
|
7
|
+
% Rights restricted by copyright.
|
8
|
+
% See http://www.rnids.rs/whois_en
|
9
|
+
%
|
10
|
+
%
|
11
|
+
%
|
12
|
+
% Ovo je odgovor od RNIDS Whois servera.
|
13
|
+
%
|
14
|
+
% Format datuma : DD.MM.YYYY
|
15
|
+
% Verzija Whois Servera : 1.0.0
|
16
|
+
%
|
17
|
+
% Sva prava zadržana. Za više informacija.
|
18
|
+
% pogledajte http://www.rnids.rs/whois_sr
|
19
|
+
|
20
|
+
Domain name: google.rs.
|
21
|
+
Domain status: Active
|
22
|
+
Registration date: 10.03.2008 12:31:19
|
23
|
+
Modification date: 28.02.2012 04:30:05
|
24
|
+
Expiration date: 10.03.2013 12:31:19
|
25
|
+
Registrar: NINET Company d.o.o.
|
26
|
+
|
27
|
+
|
28
|
+
Owner: Google Inc.
|
29
|
+
Address: 1600 Amphitheatre Parkway, Mountain View, United States of America
|
30
|
+
ID Number:
|
31
|
+
Tax ID:
|
32
|
+
|
33
|
+
|
34
|
+
DNS: ns1.google.com. -
|
35
|
+
DNS: ns2.google.com. -
|
36
|
+
DNS: ns3.google.com. - 216.239.36.10
|
37
|
+
DNS: ns4.google.com. - 216.239.38.10
|
38
|
+
|
39
|
+
|
40
|
+
Administrative contact: Domain Administrator, Drustvo za marketing Google DOO
|
41
|
+
Address: Marsala Birjuzova 47/18, Beograd, Serbia
|
42
|
+
|
43
|
+
Technical contact: Domain Provisioning, MarkMonitor
|
44
|
+
Address: 10400 Overland Road, Boise, United States of America
|
@@ -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,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("2002-03-03")
|
14
14
|
|
15
15
|
#updated_on
|
16
|
-
should: %s (time)
|
16
|
+
should: %s CLASS(time)
|
17
17
|
should: %s == Time.parse("2008-12-08")
|
18
18
|
|
19
19
|
#expires_on
|
20
|
-
should: %s (time)
|
20
|
+
should: %s CLASS(time)
|
21
21
|
should: %s == Time.parse("2010-03-03")
|
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].name == "ns1.google.com"
|
6
|
-
should: %s[1] (nameserver)
|
6
|
+
should: %s[1] CLASS(nameserver)
|
7
7
|
should: %s[1].name == "ns2.google.com"
|
8
|
-
should: %s[2] (nameserver)
|
8
|
+
should: %s[2] CLASS(nameserver)
|
9
9
|
should: %s[2].name == "ns3.google.com"
|
10
|
-
should: %s[3] (nameserver)
|
10
|
+
should: %s[3] CLASS(nameserver)
|
11
11
|
should: %s[3].name == "ns4.google.com"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
#nameservers
|
2
|
-
should: %s (array)
|
3
|
-
should: %s
|
4
|
-
should: %s[0] (nameserver)
|
2
|
+
should: %s CLASS(array)
|
3
|
+
should: %s SIZE(3)
|
4
|
+
should: %s[0] CLASS(nameserver)
|
5
5
|
should: %s[0].name == "dnssec1.singnet.com.sg"
|
6
6
|
should: %s[0].ipv4 == "165.21.83.11"
|
7
|
-
should: %s[1] (nameserver)
|
7
|
+
should: %s[1] CLASS(nameserver)
|
8
8
|
should: %s[1].name == "dnssec2.singnet.com.sg"
|
9
9
|
should: %s[1].ipv4 == "195.13.10.226"
|
10
|
-
should: %s[2] (nameserver)
|
10
|
+
should: %s[2] CLASS(nameserver)
|
11
11
|
should: %s[2].name == "dnssec3.singnet.com.sg"
|
12
12
|
should: %s[2].ipv4 == "165.21.100.11"
|
@@ -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].name == "ns1.google.com"
|
6
|
-
should: %s[1] (nameserver)
|
6
|
+
should: %s[1] CLASS(nameserver)
|
7
7
|
should: %s[1].name == "ns2.google.com"
|
8
|
-
should: %s[2] (nameserver)
|
8
|
+
should: %s[2] CLASS(nameserver)
|
9
9
|
should: %s[2].name == "ns3.google.com"
|
10
|
-
should: %s[3] (nameserver)
|
10
|
+
should: %s[3] CLASS(nameserver)
|
11
11
|
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-01-03 12:00:00")
|
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("2012-01-03 00:00:00")
|
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,22 +12,22 @@
|
|
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("2010-06-28")
|
17
17
|
|
18
18
|
#expires_on
|
19
|
-
should: %s (time)
|
19
|
+
should: %s CLASS(time)
|
20
20
|
should: %s == Time.parse("2011-07-23")
|
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"
|
@@ -33,18 +33,18 @@
|
|
33
33
|
should: %s == nil
|
34
34
|
|
35
35
|
#registrant_contacts
|
36
|
-
should: %s (array)
|
36
|
+
should: %s CLASS(array)
|
37
37
|
should: %s == []
|
38
38
|
|
39
39
|
#admin_contacts
|
40
|
-
should: %s (array)
|
40
|
+
should: %s CLASS(array)
|
41
41
|
should: %s == []
|
42
42
|
|
43
43
|
#technical_contacts
|
44
|
-
should: %s (array)
|
44
|
+
should: %s CLASS(array)
|
45
45
|
should: %s == []
|
46
46
|
|
47
47
|
|
48
48
|
#nameservers
|
49
|
-
should: %s (array)
|
49
|
+
should: %s CLASS(array)
|
50
50
|
should: %s == []
|
@@ -20,29 +20,29 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
#created_on
|
23
|
-
should: %s (time)
|
23
|
+
should: %s CLASS(time)
|
24
24
|
should: %s == Time.parse("2011-01-13 15:45:18 +01:00")
|
25
25
|
|
26
26
|
#expires_on
|
27
|
-
should: %s (time)
|
27
|
+
should: %s CLASS(time)
|
28
28
|
should: %s == Time.parse("2013-01-13 15:45:18 +01:00")
|
29
29
|
|
30
30
|
#updated_on
|
31
|
-
should: %s (time)
|
31
|
+
should: %s CLASS(time)
|
32
32
|
should: %s == Time.parse("2012-01-13 16:00:09 +01:00")
|
33
33
|
|
34
34
|
|
35
35
|
#registrar
|
36
|
-
should: %s (registrar)
|
36
|
+
should: %s CLASS(registrar)
|
37
37
|
should: %s.id == nil
|
38
38
|
should: %s.name == "GOOGLE"
|
39
39
|
should: %s.organization == "GOOGLE"
|
40
40
|
should: %s.url == "http://www.google.com"
|
41
41
|
|
42
42
|
#registrant_contacts
|
43
|
-
should: %s (array)
|
43
|
+
should: %s CLASS(array)
|
44
44
|
should: %s have(1).item
|
45
|
-
should: %s[0] (contact)
|
45
|
+
should: %s[0] CLASS(contact)
|
46
46
|
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
47
47
|
should: %s[0].id == "FBB1-SMALL"
|
48
48
|
should: %s[0].name == "FOO BAR BAZ"
|
@@ -53,9 +53,9 @@
|
|
53
53
|
should: %s[0].updated_on == Time.parse("2011-01-13 15:45:18 +01:00")
|
54
54
|
|
55
55
|
#admin_contacts
|
56
|
-
should: %s (array)
|
56
|
+
should: %s CLASS(array)
|
57
57
|
should: %s have(1).item
|
58
|
-
should: %s[0] (contact)
|
58
|
+
should: %s[0] CLASS(contact)
|
59
59
|
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
60
60
|
should: %s[0].id == "QR1-SMALL"
|
61
61
|
should: %s[0].name == nil
|
@@ -65,9 +65,9 @@
|
|
65
65
|
should: %s[0].updated_on == Time.parse("2010-08-02 14:48:21 +02:00")
|
66
66
|
|
67
67
|
#technical_contacts
|
68
|
-
should: %s (array)
|
68
|
+
should: %s CLASS(array)
|
69
69
|
should: %s have(1).item
|
70
|
-
should: %s[0] (contact)
|
70
|
+
should: %s[0] CLASS(contact)
|
71
71
|
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
72
72
|
should: %s[0].id == "GOOG-SMALL"
|
73
73
|
should: %s[0].name == nil
|
@@ -79,13 +79,13 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
#nameservers
|
82
|
-
should: %s (array)
|
83
|
-
should: %s
|
84
|
-
should: %s[0] (nameserver)
|
82
|
+
should: %s CLASS(array)
|
83
|
+
should: %s SIZE(4)
|
84
|
+
should: %s[0] CLASS(nameserver)
|
85
85
|
should: %s[0].name == "ns1.google.com"
|
86
|
-
should: %s[1] (nameserver)
|
86
|
+
should: %s[1] CLASS(nameserver)
|
87
87
|
should: %s[1].name == "ns2.google.com"
|
88
|
-
should: %s[2] (nameserver)
|
88
|
+
should: %s[2] CLASS(nameserver)
|
89
89
|
should: %s[2].name == "ns3.google.com"
|
90
|
-
should: %s[3] (nameserver)
|
90
|
+
should: %s[3] CLASS(nameserver)
|
91
91
|
should: %s[3].name == "ns4.google.com"
|