whois 2.5.1 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +1537 -0
- data/README.md +212 -0
- data/Rakefile +3 -3
- data/lib/whois.rb +26 -1
- data/lib/whois/definitions/tlds.rb +3 -2
- data/lib/whois/record.rb +2 -2
- data/lib/whois/record/parser/base_afilias.rb +2 -2
- data/lib/whois/record/parser/base_cocca.rb +9 -1
- data/lib/whois/record/parser/jobswhois.verisign-grs.com.rb +6 -2
- data/lib/whois/record/parser/kero.yachay.pe.rb +1 -1
- data/lib/whois/record/parser/whois.adamsnames.tc.rb +1 -1
- data/lib/whois/record/parser/whois.aeda.net.ae.rb +1 -1
- data/lib/whois/record/parser/whois.ai.rb +1 -1
- data/lib/whois/record/parser/whois.arnes.si.rb +1 -1
- data/lib/whois/record/parser/whois.ati.tn.rb +133 -0
- data/lib/whois/record/parser/whois.biz.rb +1 -1
- data/lib/whois/record/parser/whois.cat.rb +1 -1
- data/lib/whois/record/parser/whois.cctld.uz.rb +4 -3
- data/lib/whois/record/parser/whois.centralnic.com.rb +1 -3
- data/lib/whois/record/parser/whois.cnnic.cn.rb +1 -1
- data/lib/whois/record/parser/whois.co.ca.rb +1 -1
- data/lib/whois/record/parser/whois.co.pl.rb +1 -1
- data/lib/whois/record/parser/whois.co.ug.rb +13 -12
- data/lib/whois/record/parser/whois.crsnic.net.rb +6 -2
- data/lib/whois/record/parser/whois.denic.de.rb +1 -1
- data/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +1 -1
- data/lib/whois/record/parser/whois.dns.be.rb +2 -2
- data/lib/whois/record/parser/whois.dns.lu.rb +2 -2
- data/lib/whois/record/parser/whois.dns.pl.rb +2 -2
- data/lib/whois/record/parser/whois.dns.pt.rb +1 -1
- data/lib/whois/record/parser/whois.domain-registry.nl.rb +1 -1
- data/lib/whois/record/parser/whois.domain.kg.rb +1 -1
- data/lib/whois/record/parser/whois.domainregistry.my.rb +1 -1
- data/lib/whois/record/parser/whois.domreg.lt.rb +2 -2
- data/lib/whois/record/parser/whois.dot.tk.rb +1 -1
- data/lib/whois/record/parser/whois.dreamhost.com.rb +1 -1
- data/lib/whois/record/parser/whois.educause.edu.rb +128 -20
- data/lib/whois/record/parser/whois.eenet.ee.rb +1 -1
- data/lib/whois/record/parser/whois.eu.rb +2 -2
- data/lib/whois/record/parser/whois.fi.rb +1 -1
- data/lib/whois/record/parser/whois.gg.rb +1 -1
- data/lib/whois/record/parser/whois.godaddy.com.rb +1 -1
- data/lib/whois/record/parser/whois.hkirc.hk.rb +12 -13
- data/lib/whois/record/parser/whois.iana.org.rb +2 -1
- data/lib/whois/record/parser/whois.in.ua.rb +1 -1
- data/lib/whois/record/parser/whois.isnic.is.rb +1 -1
- data/lib/whois/record/parser/whois.isoc.org.il.rb +1 -1
- data/lib/whois/record/parser/whois.ja.net.rb +2 -1
- data/lib/whois/record/parser/whois.je.rb +1 -1
- data/lib/whois/record/parser/whois.jprs.jp.rb +1 -1
- data/lib/whois/record/parser/whois.kenic.or.ke.rb +1 -1
- data/lib/whois/record/parser/whois.markmonitor.com.rb +1 -1
- data/lib/whois/record/parser/whois.meregistry.net.rb +1 -1
- data/lib/whois/record/parser/whois.museum.rb +1 -1
- data/lib/whois/record/parser/whois.na-nic.com.na.rb +1 -0
- data/lib/whois/record/parser/whois.netcom.cm.rb +1 -1
- data/lib/whois/record/parser/whois.nic-se.se.rb +1 -1
- data/lib/whois/record/parser/whois.nic.am.rb +1 -1
- data/lib/whois/record/parser/whois.nic.as.rb +1 -1
- data/lib/whois/record/parser/whois.nic.asia.rb +1 -1
- data/lib/whois/record/parser/whois.nic.at.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cc.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cd.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ch.rb +2 -2
- data/lib/whois/record/parser/whois.nic.ci.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ck.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.co.rb +1 -1
- data/lib/whois/record/parser/whois.nic.coop.rb +1 -1
- data/lib/whois/record/parser/whois.nic.cz.rb +11 -9
- data/lib/whois/record/parser/whois.nic.ec.rb +1 -1
- data/lib/whois/record/parser/whois.nic.gl.rb +2 -63
- data/lib/whois/record/parser/whois.nic.hu.rb +3 -3
- data/lib/whois/record/parser/whois.nic.im.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ir.rb +1 -1
- data/lib/whois/record/parser/whois.nic.it.rb +4 -4
- data/lib/whois/record/parser/whois.nic.kz.rb +1 -1
- data/lib/whois/record/parser/whois.nic.li.rb +1 -1
- data/lib/whois/record/parser/whois.nic.lv.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ly.rb +1 -1
- data/lib/whois/record/parser/whois.nic.md.rb +5 -5
- data/lib/whois/record/parser/whois.nic.mg.rb +1 -1
- data/lib/whois/record/parser/whois.nic.mx.rb +1 -1
- data/lib/whois/record/parser/whois.nic.net.sa.rb +1 -1
- data/lib/whois/record/parser/whois.nic.nu.rb +1 -1
- data/lib/whois/record/parser/whois.nic.org.uy.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sl.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sm.rb +1 -1
- data/lib/whois/record/parser/whois.nic.sn.rb +6 -3
- data/lib/whois/record/parser/whois.nic.so.rb +1 -1
- data/lib/whois/record/parser/whois.nic.st.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tel.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tr.rb +2 -1
- data/lib/whois/record/parser/whois.nic.travel.rb +1 -1
- data/lib/whois/record/parser/whois.nic.tv.rb +1 -1
- data/lib/whois/record/parser/whois.nic.uk.rb +11 -4
- data/lib/whois/record/parser/whois.nic.us.rb +1 -1
- data/lib/whois/record/parser/whois.nic.ve.rb +5 -3
- data/lib/whois/record/parser/whois.pandi.or.id.rb +5 -4
- data/lib/whois/record/parser/whois.pnina.ps.rb +8 -8
- data/lib/whois/record/parser/whois.register.bg.rb +6 -5
- data/lib/whois/record/parser/whois.registry.hm.rb +1 -1
- data/lib/whois/record/parser/whois.registry.om.rb +125 -0
- data/lib/whois/record/parser/whois.registrypro.pro.rb +1 -1
- data/lib/whois/record/parser/whois.ripe.net.rb +1 -1
- data/lib/whois/record/parser/whois.rnids.rs.rb +1 -1
- data/lib/whois/record/parser/whois.rotld.ro.rb +5 -4
- data/lib/whois/record/parser/whois.samoanic.ws.rb +1 -1
- data/lib/whois/record/parser/whois.sgnic.sg.rb +16 -16
- data/lib/whois/record/parser/whois.sk-nic.sk.rb +15 -8
- data/lib/whois/record/parser/whois.smallregistry.net.rb +10 -2
- data/lib/whois/record/parser/whois.srs.net.nz.rb +38 -20
- data/lib/whois/record/parser/whois.tcinet.ru.rb +4 -2
- data/lib/whois/record/parser/whois.thnic.co.th.rb +5 -4
- data/lib/whois/record/parser/whois.tld.ee.rb +7 -7
- data/lib/whois/record/parser/whois.tonic.to.rb +2 -3
- data/lib/whois/record/parser/whois.twnic.net.tw.rb +1 -1
- data/lib/whois/record/parser/whois.tznic.or.tz.rb +8 -4
- data/lib/whois/record/parser/whois.usp.ac.fj.rb +5 -4
- data/lib/whois/record/parser/whois.za.net.rb +1 -1
- data/lib/whois/record/parser/whois.za.org.rb +1 -1
- data/lib/whois/record/scanners/whois.ati.tn.rb +46 -0
- data/lib/whois/record/scanners/whois.cira.ca.rb +0 -1
- data/lib/whois/record/scanners/whois.registry.om.rb +39 -0
- data/lib/whois/record/scanners/whois.rnids.rs.rb +5 -0
- data/lib/whois/record/super_struct.rb +8 -5
- data/lib/whois/server/adapters/base.rb +53 -53
- data/lib/whois/version.rb +2 -2
- data/spec/fixtures/responses/whois.ati.tn/status_available.expected +57 -0
- data/spec/fixtures/responses/whois.ati.tn/status_available.txt +4 -0
- data/spec/fixtures/responses/whois.ati.tn/status_registered.expected +122 -0
- data/spec/fixtures/responses/whois.ati.tn/status_registered.txt +36 -0
- data/spec/fixtures/responses/whois.cctld.uz/property_expires_on_dash.expected +2 -0
- data/spec/fixtures/responses/whois.cctld.uz/property_expires_on_dash.txt +123 -0
- data/spec/fixtures/responses/whois.cctld.uz/property_status_reserved.expected +8 -0
- data/spec/fixtures/responses/whois.cctld.uz/property_status_reserved.txt +123 -0
- data/spec/fixtures/responses/{whois.nic.uk/property_status_registered.expected → whois.co.ug/property_status_active.expected} +0 -0
- data/spec/fixtures/responses/whois.co.ug/property_status_active.txt +35 -0
- data/spec/fixtures/responses/whois.co.ug/property_status_unconfirmed.expected +8 -0
- data/spec/fixtures/responses/whois.co.ug/property_status_unconfirmed.txt +30 -0
- data/spec/fixtures/responses/whois.dns.be/{response_throttled.expected → response_throttled_hourly.expected} +0 -0
- data/spec/fixtures/responses/whois.dns.be/{response_throttled_max.txt → response_throttled_hourly.txt} +0 -0
- data/spec/fixtures/responses/whois.dns.be/{response_throttled_max.expected → response_throttled_limit.expected} +0 -0
- data/spec/fixtures/responses/whois.dns.be/{response_throttled.txt → response_throttled_limit.txt} +0 -0
- data/spec/fixtures/responses/whois.dns.hr/status_registered.expected +13 -11
- data/spec/fixtures/responses/whois.domain-registry.nl/status_available.expected +4 -0
- data/spec/fixtures/responses/whois.domain-registry.nl/status_redemption.expected +4 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture1.txt +63 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture2.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture3.txt +67 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture4.txt +68 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture5.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/fixture6.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant.expected +27 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant.txt +63 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.expected +28 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected +26 -0
- data/spec/fixtures/responses/whois.educause.edu/{property_registrant_without_address.txt → property_contact_registrant_without_address.txt} +0 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_zip.expected +27 -0
- data/spec/fixtures/responses/whois.educause.edu/{property_registrant_without_zip.txt → property_contact_registrant_without_zip.txt} +0 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts.expected +31 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts.txt +63 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case1.expected +31 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case1.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case2.expected +32 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case2.txt +67 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case3.expected +32 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case3.txt +66 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case4.expected +32 -0
- data/spec/fixtures/responses/whois.educause.edu/property_contacts_case4.txt +68 -0
- data/spec/fixtures/responses/whois.educause.edu/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.educause.edu/status_registered.expected +70 -8
- data/spec/fixtures/responses/whois.hkirc.hk/property_expires_on_null.expected +2 -0
- data/spec/fixtures/responses/whois.hkirc.hk/property_expires_on_null.txt +104 -0
- data/spec/fixtures/responses/whois.na-nic.com.na/property_status_active.expected +8 -0
- data/spec/fixtures/responses/whois.na-nic.com.na/property_status_active.txt +54 -0
- data/spec/fixtures/responses/whois.na-nic.com.na/property_status_delegated.expected +8 -0
- data/spec/fixtures/responses/whois.na-nic.com.na/property_status_delegated.txt +86 -0
- data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.expected +9 -2
- data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.txt +17 -7
- data/spec/fixtures/responses/whois.nc/property_contact_without_state.txt +21 -0
- data/spec/fixtures/responses/whois.nic.af/status_registered.expected +14 -3
- data/spec/fixtures/responses/whois.nic.af/status_registered.txt +59 -40
- data/spec/fixtures/responses/whois.nic.cx/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.gl/status_available.expected +7 -0
- data/spec/fixtures/responses/whois.nic.gl/status_registered.expected +14 -0
- data/spec/fixtures/responses/whois.nic.gs/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.ht/status_registered.expected +9 -2
- data/spec/fixtures/responses/whois.nic.ht/status_registered.txt +58 -44
- data/spec/fixtures/responses/whois.nic.ki/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.ms/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.mu/status_registered.expected +9 -2
- data/spec/fixtures/responses/whois.nic.mu/status_registered.txt +52 -8
- data/spec/fixtures/responses/whois.nic.net.nf/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.net.ng/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.net.sb/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.nic.tl/status_registered.expected +9 -2
- data/spec/fixtures/responses/whois.nic.tl/status_registered.txt +42 -5
- data/spec/fixtures/responses/whois.nic.uk/property_nameservers_with_ip.txt +11 -7
- data/spec/fixtures/responses/whois.nic.uk/property_registrant_type_individual.txt +45 -0
- data/spec/fixtures/responses/whois.nic.uk/{property_status_registered.txt → property_registrant_type_unknown.txt} +5 -5
- data/spec/fixtures/responses/whois.nic.uk/property_status_missing.txt +2 -2
- data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.txt +2 -2
- data/spec/fixtures/responses/whois.nic.uk/property_status_registered_until_expiry_date.txt +18 -13
- data/spec/fixtures/responses/whois.nic.uk/property_status_suspended.txt +51 -51
- data/spec/fixtures/responses/whois.nic.uk/status_available.txt +2 -2
- data/spec/fixtures/responses/whois.nic.uk/status_invalid.txt +2 -2
- data/spec/fixtures/responses/whois.nic.uk/status_registered.expected +2 -2
- data/spec/fixtures/responses/whois.nic.uk/status_registered.txt +5 -5
- data/spec/fixtures/responses/whois.nic.uk/status_reserved.expected +1 -1
- data/spec/fixtures/responses/whois.nic.uk/status_reserved.txt +2 -2
- data/spec/fixtures/responses/whois.nic.uk/status_suspended.expected +1 -1
- data/spec/fixtures/responses/whois.nic.uk/status_suspended.txt +51 -51
- data/spec/fixtures/responses/whois.registry.gy/status_registered.expected +7 -0
- data/spec/fixtures/responses/whois.registry.om/status_available.expected +56 -0
- data/spec/fixtures/responses/whois.registry.om/status_available.txt +1 -0
- data/spec/fixtures/responses/whois.registry.om/status_registered.expected +100 -0
- data/spec/fixtures/responses/whois.registry.om/status_registered.txt +18 -0
- data/spec/fixtures/responses/whois.rnids.rs/property_nameservers_hyphenated.expected +9 -0
- data/spec/fixtures/responses/whois.rnids.rs/property_nameservers_hyphenated.txt +36 -0
- data/spec/fixtures/responses/whois.rnids.rs/token_whois_privacy.expected +11 -0
- data/spec/fixtures/responses/whois.rnids.rs/token_whois_privacy.txt +36 -0
- data/spec/fixtures/responses/whois.srs.net.nz/response_throttled.expected +2 -0
- data/spec/fixtures/responses/whois.srs.net.nz/response_throttled.txt +27 -0
- data/spec/fixtures/responses/whois.srs.net.nz/status_available.expected +4 -0
- data/spec/fixtures/responses/whois.srs.net.nz/status_available.txt +2 -3
- data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.expected +4 -0
- data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.txt +2 -3
- data/spec/fixtures/responses/whois.srs.net.nz/status_registered.expected +6 -2
- data/spec/fixtures/responses/whois.srs.net.nz/status_registered.txt +5 -4
- data/spec/fixtures/responses/whois.tznic.or.tz/property_status_expired.expected +8 -0
- data/spec/fixtures/responses/whois.tznic.or.tz/property_status_expired.txt +56 -0
- data/spec/support/helpers/spec_helper.rb +0 -5
- data/spec/tlds +4 -2
- data/spec/whois/record/contact_spec.rb +8 -8
- data/spec/whois/record/nameserver_spec.rb +6 -6
- data/spec/whois/record/parser/base_spec.rb +11 -11
- data/spec/whois/record/parser/blank_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.ati.tn/status_available_spec.rb +108 -0
- data/spec/whois/record/parser/responses/whois.ati.tn/status_registered_spec.rb +173 -0
- data/spec/whois/record/parser/responses/whois.cctld.uz/property_expires_on_dash_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.cctld.uz/property_status_reserved_spec.rb +39 -0
- data/spec/whois/record/parser/responses/{whois.nic.uk/property_status_registered_spec.rb → whois.co.ug/property_status_active_spec.rb} +4 -4
- data/spec/whois/record/parser/responses/whois.co.ug/property_status_unconfirmed_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.dns.be/{response_throttled_spec.rb → response_throttled_hourly_spec.rb} +3 -3
- data/spec/whois/record/parser/responses/whois.dns.be/{response_throttled_max_spec.rb → response_throttled_limit_spec.rb} +3 -3
- data/spec/whois/record/parser/responses/whois.dns.hr/status_registered_spec.rb +13 -11
- data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_available_spec.rb +5 -0
- data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_redemption_spec.rb +5 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_spec.rb +44 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_with_additional_organization_spec.rb +44 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_without_address_spec.rb +44 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_without_zip_spec.rb +44 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case1_spec.rb +43 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case2_spec.rb +43 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case3_spec.rb +43 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case4_spec.rb +43 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_spec.rb +43 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/status_registered_spec.rb +83 -8
- data/spec/whois/record/parser/responses/whois.hkirc.hk/property_expires_on_null_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.na-nic.com.na/property_status_active_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.na-nic.com.na/property_status_delegated_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.na-nic.com.na/status_registered_spec.rb +10 -2
- data/spec/whois/record/parser/responses/whois.nic.af/status_registered_spec.rb +15 -3
- data/spec/whois/record/parser/responses/whois.nic.cx/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.gl/status_available_spec.rb +10 -0
- data/spec/whois/record/parser/responses/whois.nic.gl/status_registered_spec.rb +18 -0
- data/spec/whois/record/parser/responses/whois.nic.gs/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.ht/status_registered_spec.rb +10 -2
- data/spec/whois/record/parser/responses/whois.nic.ki/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.ms/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.mu/status_registered_spec.rb +10 -2
- data/spec/whois/record/parser/responses/whois.nic.net.nf/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.net.ng/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.net.sb/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.nic.tl/status_registered_spec.rb +10 -2
- data/spec/whois/record/parser/responses/whois.nic.uk/status_registered_spec.rb +2 -2
- data/spec/whois/record/parser/responses/whois.nic.uk/status_reserved_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.nic.uk/status_suspended_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.registry.gy/status_registered_spec.rb +8 -0
- data/spec/whois/record/parser/responses/whois.registry.om/status_available_spec.rb +107 -0
- data/spec/whois/record/parser/responses/whois.registry.om/status_registered_spec.rb +151 -0
- data/spec/whois/record/parser/responses/whois.rnids.rs/property_nameservers_hyphenated_spec.rb +36 -0
- data/spec/whois/record/parser/responses/whois.rnids.rs/token_whois_privacy_spec.rb +42 -0
- data/spec/whois/record/parser/responses/whois.srs.net.nz/response_throttled_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.srs.net.nz/status_available_spec.rb +5 -0
- data/spec/whois/record/parser/responses/whois.srs.net.nz/status_invalid_spec.rb +5 -0
- data/spec/whois/record/parser/responses/whois.srs.net.nz/status_registered_spec.rb +7 -2
- data/spec/whois/record/parser/responses/whois.tznic.or.tz/property_status_expired_spec.rb +39 -0
- data/spec/whois/record/parser_spec.rb +25 -25
- data/spec/whois/record/part_spec.rb +5 -5
- data/spec/whois/record/registrar_spec.rb +8 -8
- data/spec/whois/record/super_struct_spec.rb +0 -1
- data/spec/whois/record_spec.rb +12 -12
- data/spec/whois/server/adapters/afilias_spec.rb +2 -2
- data/spec/whois/server/adapters/formatted_spec.rb +1 -1
- data/spec/whois/server/adapters/pir_spec.rb +2 -2
- data/spec/whois/server/adapters/standard_spec.rb +1 -1
- data/spec/whois/server/adapters/verisign_spec.rb +2 -2
- data/whois.gemspec +6 -6
- metadata +97 -20
- data/.rspec +0 -1
- data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_address.expected +0 -11
- data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_zip.expected +0 -12
- data/spec/whois/record/parser/responses/whois.educause.edu/property_registrant_without_address_spec.rb +0 -38
- data/spec/whois/record/parser/responses/whois.educause.edu/property_registrant_without_zip_spec.rb +0 -39
@@ -0,0 +1,66 @@
|
|
1
|
+
|
2
|
+
This Registry database contains ONLY .EDU domains.
|
3
|
+
The data in the EDUCAUSE Whois database is provided
|
4
|
+
by EDUCAUSE for information purposes in order to
|
5
|
+
assist in the process of obtaining information about
|
6
|
+
or related to .edu domain registration records.
|
7
|
+
|
8
|
+
The EDUCAUSE Whois database is authoritative for the
|
9
|
+
.EDU domain.
|
10
|
+
|
11
|
+
A Web interface for the .EDU EDUCAUSE Whois Server is
|
12
|
+
available at: http://whois.educause.net
|
13
|
+
|
14
|
+
By submitting a Whois query, you agree that this information
|
15
|
+
will not be used to allow, enable, or otherwise support
|
16
|
+
the transmission of unsolicited commercial advertising or
|
17
|
+
solicitations via e-mail. The use of electronic processes to
|
18
|
+
harvest information from this server is generally prohibited
|
19
|
+
except as reasonably necessary to register or modify .edu
|
20
|
+
domain names.
|
21
|
+
|
22
|
+
You may use "%" as a wildcard in your search. For further
|
23
|
+
information regarding the use of this WHOIS server, please
|
24
|
+
type: help
|
25
|
+
|
26
|
+
--------------------------
|
27
|
+
|
28
|
+
Domain Name: HARVARD.EDU
|
29
|
+
|
30
|
+
Registrant:
|
31
|
+
Harvard University
|
32
|
+
HUIT Network Services
|
33
|
+
60 Oxford Street
|
34
|
+
Cambridge, MA 02138
|
35
|
+
UNITED STATES
|
36
|
+
|
37
|
+
Administrative Contact:
|
38
|
+
Jacques N Laflamme
|
39
|
+
Director, Network Services
|
40
|
+
Harvard University
|
41
|
+
60 Oxford Street
|
42
|
+
Cambridge, MA 02138
|
43
|
+
UNITED STATES
|
44
|
+
(617) 384-6663
|
45
|
+
jacques_laflamme@harvard.edu
|
46
|
+
|
47
|
+
Technical Contact:
|
48
|
+
Network Operations
|
49
|
+
Harvard University
|
50
|
+
HUIT Network Services
|
51
|
+
60 Oxford Street
|
52
|
+
Cambridge, MA 02138
|
53
|
+
UNITED STATES
|
54
|
+
(617) 495-7777
|
55
|
+
netmanager@harvard.edu
|
56
|
+
|
57
|
+
Name Servers:
|
58
|
+
EXTERNALDNS-C1.HARVARD.EDU 128.103.200.35
|
59
|
+
EXTERNALDNS-C2.HARVARD.EDU 128.103.200.51
|
60
|
+
EXTERNALDNS-C3.BR.HARVARD.EDU 128.119.3.185
|
61
|
+
|
62
|
+
Domain record activated: 27-Jun-1985
|
63
|
+
Domain record last updated: 19-Mar-2012
|
64
|
+
Domain expires: 31-Jul-2012
|
65
|
+
|
66
|
+
|
data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
// Description:
|
2
|
+
// The registrant contact property is missing the address.
|
3
|
+
|
4
|
+
// This case follows this schema:
|
5
|
+
//
|
6
|
+
// [ORGANIZATION]
|
7
|
+
// [CITY, ST ZIP]
|
8
|
+
// [COUNTRY]
|
9
|
+
|
10
|
+
#registrant_contacts
|
11
|
+
should: %s CLASS(array)
|
12
|
+
should: %s SIZE(1)
|
13
|
+
should: %s[0] CLASS(contact)
|
14
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
15
|
+
should: %s[0].id == nil
|
16
|
+
should: %s[0].name == nil
|
17
|
+
should: %s[0].organization == "Massachusetts Institute of Technology"
|
18
|
+
should: %s[0].address == nil
|
19
|
+
should: %s[0].city == "Cambridge"
|
20
|
+
should: %s[0].zip == "02139"
|
21
|
+
should: %s[0].state == "MA"
|
22
|
+
should: %s[0].country == "UNITED STATES"
|
23
|
+
should: %s[0].country_code == nil
|
24
|
+
should: %s[0].phone == nil
|
25
|
+
should: %s[0].fax == nil
|
26
|
+
should: %s[0].email == nil
|
File without changes
|
data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_zip.expected
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
// Description:
|
2
|
+
// The registrant contact property is missing the ZIP.
|
3
|
+
|
4
|
+
// This case follows this schema:
|
5
|
+
//
|
6
|
+
// [ORGANIZATION]
|
7
|
+
// [ADDRESS]*
|
8
|
+
// [CITY]
|
9
|
+
// [COUNTRY]
|
10
|
+
|
11
|
+
#registrant_contacts
|
12
|
+
should: %s CLASS(array)
|
13
|
+
should: %s SIZE(1)
|
14
|
+
should: %s[0] CLASS(contact)
|
15
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
16
|
+
should: %s[0].id == nil
|
17
|
+
should: %s[0].name == nil
|
18
|
+
should: %s[0].organization == "The American University of the Caribbean School of Medicine"
|
19
|
+
should: %s[0].address == "c/o Campbell Corporate Services, Ltd.\nScotiabank Building, P. O. Box 268"
|
20
|
+
should: %s[0].city == "Grand Cayman"
|
21
|
+
should: %s[0].zip == nil
|
22
|
+
should: %s[0].state == nil
|
23
|
+
should: %s[0].country == "CAYMAN ISLANDS"
|
24
|
+
should: %s[0].country_code == nil
|
25
|
+
should: %s[0].phone == nil
|
26
|
+
should: %s[0].fax == nil
|
27
|
+
should: %s[0].email == nil
|
File without changes
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Description:
|
2
|
+
// The standard contact property.
|
3
|
+
|
4
|
+
// The standard contact follows this schema:
|
5
|
+
//
|
6
|
+
// [NAME]
|
7
|
+
// [ROLE]
|
8
|
+
// [ORGANIZATION]
|
9
|
+
// [ADDRESS]
|
10
|
+
// [CITY, ST ZIP]
|
11
|
+
// [COUNTRY]
|
12
|
+
// [PHONE]
|
13
|
+
// [EMAIL]
|
14
|
+
|
15
|
+
#technical_contacts
|
16
|
+
should: %s CLASS(array)
|
17
|
+
should: %s SIZE(1)
|
18
|
+
should: %s[0] CLASS(contact)
|
19
|
+
// should: %s[0].type == ANYTHING
|
20
|
+
should: %s[0].id == nil
|
21
|
+
should: %s[0].name == "Dennis L Noordam\nWindows System Administrator\nNorth Idaho College"
|
22
|
+
should: %s[0].organization == nil
|
23
|
+
should: %s[0].address == "1000 W. Garden Avenue"
|
24
|
+
should: %s[0].city == "Coeur d Alene"
|
25
|
+
should: %s[0].zip == "83814"
|
26
|
+
should: %s[0].state == "ID"
|
27
|
+
should: %s[0].country == "UNITED STATES"
|
28
|
+
should: %s[0].country_code == nil
|
29
|
+
should: %s[0].phone == "(208) 769-7860"
|
30
|
+
should: %s[0].fax == nil
|
31
|
+
should: %s[0].email == "dlnoordam@nic.edu"
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
This Registry database contains ONLY .EDU domains.
|
3
|
+
The data in the EDUCAUSE Whois database is provided
|
4
|
+
by EDUCAUSE for information purposes in order to
|
5
|
+
assist in the process of obtaining information about
|
6
|
+
or related to .edu domain registration records.
|
7
|
+
|
8
|
+
The EDUCAUSE Whois database is authoritative for the
|
9
|
+
.EDU domain.
|
10
|
+
|
11
|
+
A Web interface for the .EDU EDUCAUSE Whois Server is
|
12
|
+
available at: http://whois.educause.net
|
13
|
+
|
14
|
+
By submitting a Whois query, you agree that this information
|
15
|
+
will not be used to allow, enable, or otherwise support
|
16
|
+
the transmission of unsolicited commercial advertising or
|
17
|
+
solicitations via e-mail. The use of electronic processes to
|
18
|
+
harvest information from this server is generally prohibited
|
19
|
+
except as reasonably necessary to register or modify .edu
|
20
|
+
domain names.
|
21
|
+
|
22
|
+
You may use "%" as a wildcard in your search. For further
|
23
|
+
information regarding the use of this WHOIS server, please
|
24
|
+
type: help
|
25
|
+
|
26
|
+
--------------------------
|
27
|
+
|
28
|
+
Domain Name: NIC.EDU
|
29
|
+
|
30
|
+
Registrant:
|
31
|
+
North Idaho College
|
32
|
+
1000 W. Garden Avenue
|
33
|
+
Coeur d'Alene, ID 83814
|
34
|
+
UNITED STATES
|
35
|
+
|
36
|
+
Administrative Contact:
|
37
|
+
NetAdmin
|
38
|
+
North Idaho College
|
39
|
+
1000 W. Garden Avenue
|
40
|
+
Coeur d Alene, ID 83814
|
41
|
+
UNITED STATES
|
42
|
+
(208) 769-7860
|
43
|
+
netsys@nic.edu
|
44
|
+
|
45
|
+
Technical Contact:
|
46
|
+
Dennis L Noordam
|
47
|
+
Windows System Administrator
|
48
|
+
North Idaho College
|
49
|
+
1000 W. Garden Avenue
|
50
|
+
Coeur d Alene, ID 83814
|
51
|
+
UNITED STATES
|
52
|
+
(208) 769-7860
|
53
|
+
dlnoordam@nic.edu
|
54
|
+
|
55
|
+
Name Servers:
|
56
|
+
NICNS1.NIC.EDU 198.187.233.211
|
57
|
+
NICNS2.NIC.EDU 198.187.233.212
|
58
|
+
|
59
|
+
Domain record activated: 20-Dec-1996
|
60
|
+
Domain record last updated: 29-Jun-2010
|
61
|
+
Domain expires: 31-Jul-2012
|
62
|
+
|
63
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Description:
|
2
|
+
// The contact property does not contain the job position, but it contains a multiple street.
|
3
|
+
// The final token count is the same of a standard contact (8 tokens).
|
4
|
+
|
5
|
+
// This case follows this schema:
|
6
|
+
//
|
7
|
+
// [NAME]
|
8
|
+
// [ORGANIZATION]
|
9
|
+
// [ADDRESS]*
|
10
|
+
// [CITY, ST ZIP]
|
11
|
+
// [COUNTRY]
|
12
|
+
// [PHONE]
|
13
|
+
// [EMAIL]
|
14
|
+
|
15
|
+
#technical_contacts
|
16
|
+
should: %s CLASS(array)
|
17
|
+
should: %s SIZE(1)
|
18
|
+
should: %s[0] CLASS(contact)
|
19
|
+
// should: %s[0].type == ANYTHING
|
20
|
+
should: %s[0].id == nil
|
21
|
+
should: %s[0].name == "Information Technology\nEDUCAUSE"
|
22
|
+
should: %s[0].organization == nil
|
23
|
+
should: %s[0].address == "4772 Walnut Street\nSte 206"
|
24
|
+
should: %s[0].city == "Boulder"
|
25
|
+
should: %s[0].zip == "80301"
|
26
|
+
should: %s[0].state == "CO"
|
27
|
+
should: %s[0].country == "UNITED STATES"
|
28
|
+
should: %s[0].country_code == nil
|
29
|
+
should: %s[0].phone == "(303) 449-4430"
|
30
|
+
should: %s[0].fax == nil
|
31
|
+
should: %s[0].email == "netadmin@educause.edu"
|
@@ -0,0 +1,66 @@
|
|
1
|
+
|
2
|
+
This Registry database contains ONLY .EDU domains.
|
3
|
+
The data in the EDUCAUSE Whois database is provided
|
4
|
+
by EDUCAUSE for information purposes in order to
|
5
|
+
assist in the process of obtaining information about
|
6
|
+
or related to .edu domain registration records.
|
7
|
+
|
8
|
+
The EDUCAUSE Whois database is authoritative for the
|
9
|
+
.EDU domain.
|
10
|
+
|
11
|
+
A Web interface for the .EDU EDUCAUSE Whois Server is
|
12
|
+
available at: http://whois.educause.net
|
13
|
+
|
14
|
+
By submitting a Whois query, you agree that this information
|
15
|
+
will not be used to allow, enable, or otherwise support
|
16
|
+
the transmission of unsolicited commercial advertising or
|
17
|
+
solicitations via e-mail. The use of electronic processes to
|
18
|
+
harvest information from this server is generally prohibited
|
19
|
+
except as reasonably necessary to register or modify .edu
|
20
|
+
domain names.
|
21
|
+
|
22
|
+
You may use "%" as a wildcard in your search. For further
|
23
|
+
information regarding the use of this WHOIS server, please
|
24
|
+
type: help
|
25
|
+
|
26
|
+
--------------------------
|
27
|
+
|
28
|
+
Domain Name: EDUCAUSE.EDU
|
29
|
+
|
30
|
+
Registrant:
|
31
|
+
EDUCAUSE
|
32
|
+
4772 Walnut Street
|
33
|
+
Suite 206
|
34
|
+
Boulder, CO 80301
|
35
|
+
UNITED STATES
|
36
|
+
|
37
|
+
Administrative Contact:
|
38
|
+
Information Technology
|
39
|
+
EDUCAUSE
|
40
|
+
4772 Walnut Street
|
41
|
+
Ste 206
|
42
|
+
Boulder, CO 80301
|
43
|
+
UNITED STATES
|
44
|
+
(303) 449-4430
|
45
|
+
netadmin@educause.edu
|
46
|
+
|
47
|
+
Technical Contact:
|
48
|
+
Information Technology
|
49
|
+
EDUCAUSE
|
50
|
+
4772 Walnut Street
|
51
|
+
Ste 206
|
52
|
+
Boulder, CO 80301
|
53
|
+
UNITED STATES
|
54
|
+
(303) 449-4430
|
55
|
+
netadmin@educause.edu
|
56
|
+
|
57
|
+
Name Servers:
|
58
|
+
NS3.EDUCAUSE.EDU 198.59.61.50
|
59
|
+
NS4.EDUCAUSE.EDU 192.52.179.69
|
60
|
+
NS5.EDUCAUSE.EDU 198.59.61.50
|
61
|
+
|
62
|
+
Domain record activated: 11-Mar-1998
|
63
|
+
Domain record last updated: 02-Oct-2009
|
64
|
+
Domain expires: 31-Jul-2010
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Description:
|
2
|
+
// The contact property contains an empty organization name.
|
3
|
+
// The final token count is the same of a standard contact (8 tokens).
|
4
|
+
|
5
|
+
// This case follows this schema:
|
6
|
+
//
|
7
|
+
// [NAME]
|
8
|
+
// [ROLE]
|
9
|
+
// [ORGANIZATION]
|
10
|
+
// [ADDRESS]
|
11
|
+
// [CITY, ST ZIP]
|
12
|
+
// [COUNTRY]
|
13
|
+
// [PHONE]
|
14
|
+
// [EMAIL]
|
15
|
+
|
16
|
+
#technical_contacts
|
17
|
+
should: %s CLASS(array)
|
18
|
+
should: %s SIZE(1)
|
19
|
+
should: %s[0] CLASS(contact)
|
20
|
+
// should: %s[0].type == ANYTHING
|
21
|
+
should: %s[0].id == nil
|
22
|
+
should: %s[0].name == "Domain Admin\nStanford University"
|
23
|
+
should: %s[0].organization == nil
|
24
|
+
should: %s[0].address == "241 Panama Street Pine Hall, Room 115"
|
25
|
+
should: %s[0].city == "Stanford"
|
26
|
+
should: %s[0].zip == "94305-4122"
|
27
|
+
should: %s[0].state == "CA"
|
28
|
+
should: %s[0].country == "UNITED STATES"
|
29
|
+
should: %s[0].country_code == nil
|
30
|
+
should: %s[0].phone == "(650) 723-4328"
|
31
|
+
should: %s[0].fax == nil
|
32
|
+
should: %s[0].email == "sunet-admin@stanford.edu"
|
@@ -0,0 +1,67 @@
|
|
1
|
+
|
2
|
+
This Registry database contains ONLY .EDU domains.
|
3
|
+
The data in the EDUCAUSE Whois database is provided
|
4
|
+
by EDUCAUSE for information purposes in order to
|
5
|
+
assist in the process of obtaining information about
|
6
|
+
or related to .edu domain registration records.
|
7
|
+
|
8
|
+
The EDUCAUSE Whois database is authoritative for the
|
9
|
+
.EDU domain.
|
10
|
+
|
11
|
+
A Web interface for the .EDU EDUCAUSE Whois Server is
|
12
|
+
available at: http://whois.educause.net
|
13
|
+
|
14
|
+
By submitting a Whois query, you agree that this information
|
15
|
+
will not be used to allow, enable, or otherwise support
|
16
|
+
the transmission of unsolicited commercial advertising or
|
17
|
+
solicitations via e-mail. The use of electronic processes to
|
18
|
+
harvest information from this server is generally prohibited
|
19
|
+
except as reasonably necessary to register or modify .edu
|
20
|
+
domain names.
|
21
|
+
|
22
|
+
You may use "%" as a wildcard in your search. For further
|
23
|
+
information regarding the use of this WHOIS server, please
|
24
|
+
type: help
|
25
|
+
|
26
|
+
--------------------------
|
27
|
+
|
28
|
+
Domain Name: STANFORD.EDU
|
29
|
+
|
30
|
+
Registrant:
|
31
|
+
Stanford University
|
32
|
+
The Board of Trustees of the Leland Stanford Junior University
|
33
|
+
241 Panama Street, Pine Hall, Room 115
|
34
|
+
Stanford, CA 94305-4122
|
35
|
+
UNITED STATES
|
36
|
+
|
37
|
+
Administrative Contact:
|
38
|
+
|
39
|
+
Domain Admin
|
40
|
+
Stanford University
|
41
|
+
241 Panama Street Pine Hall, Room 115
|
42
|
+
Stanford, CA 94305-4122
|
43
|
+
UNITED STATES
|
44
|
+
(650) 723-4328
|
45
|
+
sunet-admin@stanford.edu
|
46
|
+
|
47
|
+
Technical Contact:
|
48
|
+
|
49
|
+
Domain Admin
|
50
|
+
Stanford University
|
51
|
+
241 Panama Street Pine Hall, Room 115
|
52
|
+
Stanford, CA 94305-4122
|
53
|
+
UNITED STATES
|
54
|
+
(650) 723-4328
|
55
|
+
sunet-admin@stanford.edu
|
56
|
+
|
57
|
+
Name Servers:
|
58
|
+
ARGUS.STANFORD.EDU 171.64.7.115, 2607:f6d0:0:9113::ab40:773
|
59
|
+
AVALLONE.STANFORD.EDU 171.64.7.88, 2607:f6d0:0:9116::ab40:758
|
60
|
+
ATALANTE.STANFORD.EDU 171.64.7.61, 2607:f6d0:0:d32::ab40:73d
|
61
|
+
AERATHEA.STANFORD.EDU 152.3.104.250
|
62
|
+
|
63
|
+
Domain record activated: 04-Oct-1985
|
64
|
+
Domain record last updated: 07-May-2009
|
65
|
+
Domain expires: 31-Jul-2013
|
66
|
+
|
67
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Description:
|
2
|
+
// The contact property contains a ZIP code of XXXXX-XXXX.
|
3
|
+
// The final token count is the same of a standard contact (8 tokens).
|
4
|
+
|
5
|
+
// This case follows this schema:
|
6
|
+
//
|
7
|
+
// [NAME]
|
8
|
+
// [ROLE]
|
9
|
+
// [ORGANIZATION]
|
10
|
+
// [ADDRESS]
|
11
|
+
// [CITY, ST ZIP]
|
12
|
+
// [COUNTRY]
|
13
|
+
// [PHONE]
|
14
|
+
// [EMAIL]
|
15
|
+
|
16
|
+
#admin_contacts
|
17
|
+
should: %s CLASS(array)
|
18
|
+
should: %s SIZE(1)
|
19
|
+
should: %s[0] CLASS(contact)
|
20
|
+
// should: %s[0].type == ANYTHING
|
21
|
+
should: %s[0].id == nil
|
22
|
+
should: %s[0].name == "Tracy L. Smith\nUniversity of Illinois at Urbana-Champaign\nCITES 2105 Digital Computer Laboratory"
|
23
|
+
should: %s[0].organization == nil
|
24
|
+
should: %s[0].address == "1304 West Springfield Avenue"
|
25
|
+
should: %s[0].city == "Urbana"
|
26
|
+
should: %s[0].zip == "61801-4399"
|
27
|
+
should: %s[0].state == "IL"
|
28
|
+
should: %s[0].country == "UNITED STATES"
|
29
|
+
should: %s[0].country_code == nil
|
30
|
+
should: %s[0].phone == "(217) 244-2032"
|
31
|
+
should: %s[0].fax == nil
|
32
|
+
should: %s[0].email == "edu-admin@listserv.illinois.edu"
|