whois 2.0.7 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +84 -10
- data/Rakefile +0 -7
- data/lib/core_ext.rb +9 -45
- data/lib/core_ext/array/extract_options.rb +29 -0
- data/lib/core_ext/array/wrap.rb +48 -0
- data/lib/core_ext/class/attribute.rb +115 -0
- data/lib/core_ext/date_time/conversions.rb +15 -0
- data/lib/core_ext/kernel/singleton_class.rb +13 -0
- data/lib/core_ext/module/remove_method.rb +16 -0
- data/lib/whois.rb +0 -4
- data/lib/whois/definitions/tlds.rb +10 -5
- data/lib/whois/record.rb +0 -3
- data/lib/whois/record/parser.rb +3 -3
- data/lib/whois/record/parser/NOTES.txt +15 -8
- data/lib/whois/record/parser/base.rb +12 -35
- data/lib/whois/record/parser/base_afilias.rb +156 -0
- data/lib/whois/record/parser/example.rb +8 -4
- data/lib/whois/record/parser/jobswhois.verisign-grs.com.rb +2 -2
- data/lib/whois/record/parser/scanners/afilias.rb +13 -4
- data/lib/whois/record/parser/{features → scanners}/ast.rb +1 -1
- data/lib/whois/record/parser/scanners/base.rb +9 -0
- data/lib/whois/record/parser/scanners/cnnic.rb +2 -2
- data/lib/whois/record/parser/scanners/{whoisbiz.rb → whois.biz.rb} +2 -8
- data/lib/whois/record/parser/scanners/whois.denic.de.rb +117 -0
- data/lib/whois/record/parser/scanners/whois.nic.hu.rb +187 -0
- data/lib/whois/record/parser/scanners/{whoisit.rb → whois.nic.it.rb} +2 -2
- data/lib/whois/record/parser/scanners/whois.registry.qa.rb +54 -0
- data/lib/whois/record/parser/scanners/whois.tld.ee.rb +41 -0
- data/lib/whois/record/parser/whois.aero.rb +8 -46
- data/lib/whois/record/parser/whois.afilias-grs.info.rb +2 -51
- data/lib/whois/record/parser/whois.afilias.info.rb +2 -126
- data/lib/whois/record/parser/whois.biz.rb +6 -6
- data/lib/whois/record/parser/whois.cnnic.cn.rb +5 -5
- data/lib/whois/record/parser/whois.crsnic.net.rb +2 -2
- data/lib/whois/record/parser/whois.denic.de.rb +8 -105
- data/lib/whois/record/parser/whois.dotmobiregistry.net.rb +2 -51
- data/lib/whois/record/parser/whois.godaddy.com.rb +138 -0
- data/lib/whois/record/parser/whois.iana.org.rb +2 -2
- data/lib/whois/record/parser/whois.markmonitor.com.rb +13 -12
- data/lib/whois/record/parser/whois.meregistry.net.rb +45 -30
- data/lib/whois/record/parser/whois.nic.af.rb +6 -2
- data/lib/whois/record/parser/whois.nic.ag.rb +2 -51
- data/lib/whois/record/parser/whois.nic.asia.rb +47 -38
- data/lib/whois/record/parser/whois.nic.cc.rb +2 -2
- data/lib/whois/record/parser/whois.nic.hu.rb +7 -174
- data/lib/whois/record/parser/whois.nic.it.rb +6 -6
- data/lib/whois/record/parser/whois.nic.name.rb +1 -5
- data/lib/whois/record/parser/whois.nic.travel.rb +4 -12
- data/lib/whois/record/parser/whois.nic.tv.rb +2 -2
- data/lib/whois/record/parser/whois.nic.us.rb +4 -4
- data/lib/whois/record/parser/whois.nic.xxx.rb +5 -112
- data/lib/whois/record/parser/whois.publicinterestregistry.net.rb +8 -168
- data/lib/whois/record/parser/whois.registry.in.rb +2 -60
- data/lib/whois/record/parser/whois.registry.qa.rb +117 -0
- data/lib/whois/record/parser/whois.ripn.net.rb +4 -84
- data/lib/whois/record/parser/whois.sgnic.sg.rb +13 -5
- data/lib/whois/record/parser/whois.tcinet.ru.rb +102 -0
- data/lib/whois/record/parser/whois.tld.ee.rb +5 -26
- data/lib/whois/record/parser/whois.tonic.to.rb +0 -8
- data/lib/whois/server/adapters/base.rb +23 -10
- data/lib/whois/version.rb +2 -2
- data/spec/fixtures/responses/FIND.txt +1 -0
- data/spec/fixtures/responses/whois.aero/status_available.expected +35 -1
- data/spec/fixtures/responses/whois.aero/status_registered.expected +77 -1
- data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected +39 -2
- data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.txt +2 -82
- data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected +57 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.dotmobiregistry.net/status_available.expected +35 -0
- data/spec/fixtures/responses/whois.dotmobiregistry.net/status_available.txt +1 -25
- data/spec/fixtures/responses/whois.dotmobiregistry.net/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.educause.edu/{properties_updated_on_unknown.expected → property_updated_on_unknown.expected} +0 -0
- data/spec/fixtures/responses/whois.educause.edu/{properties_updated_on_unknown.txt → property_updated_on_unknown.txt} +0 -0
- data/spec/fixtures/responses/whois.godaddy.com/status_registered.expected +87 -0
- data/spec/fixtures/responses/whois.godaddy.com/status_registered.txt +60 -0
- data/spec/fixtures/responses/whois.markmonitor.com/{properties_empty_contacts.expected → property_contacts_are_blank.expected} +0 -0
- data/spec/fixtures/responses/whois.markmonitor.com/{properties_empty_contacts.txt → property_contacts_are_blank.txt} +0 -0
- data/spec/fixtures/responses/whois.meregistry.net/{property_nameservers_is_missing.expected → property_nameservers_is_blank.expected} +0 -0
- data/spec/fixtures/responses/whois.meregistry.net/{property_nameservers_is_missing.txt → property_nameservers_is_blank.txt} +0 -0
- data/spec/fixtures/responses/whois.meregistry.net/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.meregistry.net/status_registered.expected +77 -0
- data/spec/fixtures/responses/whois.meregistry.net/status_registered.txt +1 -1
- data/spec/fixtures/responses/{whois.nic.asia/property_status_client_delete_prohibited.expected → whois.nic.af/property_status_active.expected} +0 -0
- data/spec/fixtures/responses/whois.nic.af/property_status_active.txt +56 -0
- data/spec/fixtures/responses/{whois.nic.asia/property_status_client_transfer_prohibited.expected → whois.nic.af/property_status_delegated.expected} +0 -0
- data/spec/fixtures/responses/whois.nic.af/property_status_delegated.txt +46 -0
- data/spec/fixtures/responses/whois.nic.af/property_status_not_registered.expected +8 -0
- data/spec/fixtures/responses/whois.nic.af/property_status_not_registered.txt +13 -0
- data/spec/fixtures/responses/whois.nic.ag/status_available.expected +34 -0
- data/spec/fixtures/responses/whois.nic.ag/status_registered.expected +76 -0
- data/spec/fixtures/responses/whois.nic.asia/property_status_multiple.expected +8 -0
- data/spec/fixtures/responses/whois.nic.asia/{property_status_client_delete_prohibited.txt → property_status_multiple.txt} +0 -0
- data/spec/fixtures/responses/whois.nic.asia/property_status_single.expected +8 -0
- data/spec/fixtures/responses/whois.nic.asia/{property_status_client_transfer_prohibited.txt → property_status_single.txt} +76 -76
- data/spec/fixtures/responses/whois.nic.asia/status_available.expected +35 -1
- data/spec/fixtures/responses/whois.nic.asia/status_registered.expected +78 -1
- data/spec/fixtures/responses/whois.nic.dz/{status_available.expected → dz/status_available.expected} +0 -0
- data/spec/fixtures/responses/whois.nic.dz/{status_available.txt → dz/status_available.txt} +0 -0
- data/spec/fixtures/responses/whois.nic.dz/{status_registered.expected → dz/status_registered.expected} +0 -0
- data/spec/fixtures/responses/whois.nic.dz/{status_registered.txt → dz/status_registered.txt} +0 -0
- data/spec/fixtures/responses/whois.nic.name/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.name/status_registered.expected +1 -1
- data/spec/fixtures/responses/whois.nic.travel/property_status_multiple.expected +2 -0
- data/spec/fixtures/responses/whois.nic.travel/property_status_multiple.txt +83 -0
- data/spec/fixtures/responses/whois.nic.travel/property_status_single.expected +2 -0
- data/spec/fixtures/responses/whois.nic.travel/property_status_single.txt +75 -0
- data/spec/fixtures/responses/whois.nic.travel/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.nic.travel/status_registered.expected +1 -1
- data/spec/fixtures/responses/whois.nic.xxx/property_updated_on_blank.expected +2 -0
- data/spec/fixtures/responses/whois.nic.xxx/property_updated_on_blank.txt +98 -0
- data/spec/fixtures/responses/whois.nic.xxx/status_registered.expected +45 -46
- data/spec/fixtures/responses/whois.nic.xxx/status_registered.txt +61 -61
- data/spec/fixtures/responses/whois.publicinterestregistry.net/status_available.expected +1 -1
- data/spec/fixtures/responses/whois.publicinterestregistry.net/status_registered.expected +8 -1
- data/spec/fixtures/responses/whois.registry.in/property_status_missing.expected +1 -1
- data/spec/fixtures/responses/whois.registry.in/property_status_multiple.expected +1 -1
- data/spec/fixtures/responses/whois.registry.in/property_status_ok.expected +1 -1
- data/spec/fixtures/responses/whois.registry.in/status_available.expected +31 -1
- data/spec/fixtures/responses/whois.registry.in/status_registered.expected +70 -1
- data/spec/fixtures/responses/whois.registry.qa/qa/status_available.expected +56 -0
- data/spec/fixtures/responses/whois.registry.qa/qa/status_available.txt +1 -0
- data/spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected +91 -0
- data/spec/fixtures/responses/whois.registry.qa/qa/status_registered.txt +23 -0
- data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip.expected +12 -0
- data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip.txt +94 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/property_nameservers_with_ip.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/property_nameservers_with_ip.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/status_available.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/status_available.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/status_registered.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/ru/status_registered.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/su/status_available.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/su/status_available.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/su/status_registered.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/su/status_registered.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_available.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_available.txt +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_registered.expected +0 -0
- data/spec/fixtures/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_registered.txt +0 -0
- data/spec/integration_spec.rb +29 -12
- data/spec/support/helpers/spec_helper.rb +0 -10
- data/spec/tlds +1 -1
- data/spec/whois/record/parser/base_spec.rb +23 -51
- data/spec/whois/record/parser/responses/whois.aero/status_available_spec.rb +49 -1
- data/spec/whois/record/parser/responses/whois.aero/status_registered_spec.rb +91 -1
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_registered_spec.rb +53 -2
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/hn/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/hn/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.dotmobiregistry.net/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.dotmobiregistry.net/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.educause.edu/{properties_updated_on_unknown_spec.rb → property_updated_on_unknown_spec.rb} +3 -3
- data/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb +131 -0
- data/spec/whois/record/parser/responses/whois.markmonitor.com/{properties_empty_contacts_spec.rb → property_contacts_are_blank_spec.rb} +3 -3
- data/spec/whois/record/parser/responses/whois.meregistry.net/{property_nameservers_is_missing_spec.rb → property_nameservers_is_blank_spec.rb} +3 -3
- data/spec/whois/record/parser/responses/whois.meregistry.net/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.meregistry.net/status_registered_spec.rb +91 -0
- data/spec/whois/record/parser/responses/whois.nic.af/property_status_active_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.af/property_status_delegated_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.af/property_status_not_registered_spec.rb +39 -0
- data/spec/whois/record/parser/responses/whois.nic.ag/status_available_spec.rb +48 -0
- data/spec/whois/record/parser/responses/whois.nic.ag/status_registered_spec.rb +90 -0
- data/spec/whois/record/parser/responses/whois.nic.asia/{property_status_client_delete_prohibited_spec.rb → property_status_multiple_spec.rb} +4 -4
- data/spec/whois/record/parser/responses/whois.nic.asia/{property_status_client_transfer_prohibited_spec.rb → property_status_single_spec.rb} +4 -4
- data/spec/whois/record/parser/responses/whois.nic.asia/status_available_spec.rb +49 -1
- data/spec/whois/record/parser/responses/whois.nic.asia/status_registered_spec.rb +92 -1
- data/spec/whois/record/parser/responses/whois.nic.dz/{status_available_spec.rb → dz/status_available_spec.rb} +2 -2
- data/spec/whois/record/parser/responses/whois.nic.dz/{status_registered_spec.rb → dz/status_registered_spec.rb} +2 -2
- data/spec/whois/record/parser/responses/whois.nic.name/status_available_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.nic.name/status_registered_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.nic.travel/property_status_multiple_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.nic.travel/property_status_single_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.nic.travel/status_available_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.nic.travel/status_registered_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.nic.xxx/property_updated_on_blank_spec.rb +29 -0
- data/spec/whois/record/parser/responses/whois.nic.xxx/status_registered_spec.rb +45 -46
- data/spec/whois/record/parser/responses/whois.publicinterestregistry.net/status_available_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.publicinterestregistry.net/status_registered_spec.rb +11 -1
- data/spec/whois/record/parser/responses/whois.registry.in/property_status_missing_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.registry.in/property_status_multiple_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.registry.in/property_status_ok_spec.rb +1 -1
- data/spec/whois/record/parser/responses/whois.registry.in/status_available_spec.rb +44 -1
- data/spec/whois/record/parser/responses/whois.registry.in/status_registered_spec.rb +83 -1
- data/spec/whois/record/parser/responses/whois.registry.qa/qa/status_available_spec.rb +107 -0
- data/spec/whois/record/parser/responses/whois.registry.qa/qa/status_registered_spec.rb +142 -0
- data/spec/whois/record/parser/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip_spec.rb +39 -0
- data/spec/whois/record/parser/responses/{whois.ripn.net → whois.tcinet.ru}/ru/property_nameservers_with_ip_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net/su → whois.tcinet.ru/ru}/status_available_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net → whois.tcinet.ru}/ru/status_registered_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net/ru → whois.tcinet.ru/su}/status_available_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net → whois.tcinet.ru}/su/status_registered_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_available_spec.rb +4 -4
- data/spec/whois/record/parser/responses/{whois.ripn.net → whois.tcinet.ru}/xn--p1ai/status_registered_spec.rb +4 -4
- data/spec/whois/record_spec.rb +4 -4
- data/spec/whois/server/adapters/afilias_spec.rb +3 -3
- data/spec/whois/server/adapters/base_spec.rb +50 -10
- data/spec/whois/server/adapters/formatted_spec.rb +4 -4
- data/spec/whois/server/adapters/pir_spec.rb +3 -3
- data/spec/whois/server/adapters/standard_spec.rb +4 -4
- data/spec/whois/server/adapters/verisign_spec.rb +7 -7
- data/whois.gemspec +4 -4
- metadata +101 -57
- data/lib/whois/answer.rb +0 -14
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == nil
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == nil
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == nil
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == []
|
3
21
|
|
@@ -18,6 +36,22 @@
|
|
18
36
|
should: %s == nil
|
19
37
|
|
20
38
|
|
39
|
+
#registrar
|
40
|
+
should: %s == nil
|
41
|
+
|
42
|
+
#registrant_contacts
|
43
|
+
should: %s be_a(Array)
|
44
|
+
should: %s == []
|
45
|
+
|
46
|
+
#admin_contacts
|
47
|
+
should: %s be_a(Array)
|
48
|
+
should: %s == []
|
49
|
+
|
50
|
+
#technical_contacts
|
51
|
+
should: %s be_a(Array)
|
52
|
+
should: %s == []
|
53
|
+
|
54
|
+
|
21
55
|
#nameservers
|
22
56
|
should: %s be_a(Array)
|
23
57
|
should: %s == []
|
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy."
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == "google.hn"
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == "D351-LRCC"
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]
|
3
21
|
|
@@ -21,6 +39,64 @@
|
|
21
39
|
should: %s == Time.parse("2010-03-07 05:00:00 UTC")
|
22
40
|
|
23
41
|
|
42
|
+
#registrar
|
43
|
+
should: %s be_a(_registrar)
|
44
|
+
should: %s.id == "R22-LRCC"
|
45
|
+
should: %s.name == "MarkMonitor, Inc."
|
46
|
+
should: %s.organization == "MarkMonitor, Inc."
|
47
|
+
|
48
|
+
#registrant_contacts
|
49
|
+
should: %s be_a(Array)
|
50
|
+
should: %s have(1).items
|
51
|
+
should: %s[0] be_a(_contact)
|
52
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
53
|
+
should: %s[0].id == "122496"
|
54
|
+
should: %s[0].name == "Rose Hagan"
|
55
|
+
should: %s[0].organization == "Google Inc."
|
56
|
+
should: %s[0].address == "2400 E. Bayshore Pkwy Mountain View CA 94043"
|
57
|
+
should: %s[0].city == "Mountain"
|
58
|
+
should: %s[0].zip == "2400"
|
59
|
+
should: %s[0].state == ""
|
60
|
+
should: %s[0].country_code == "US"
|
61
|
+
should: %s[0].phone == "+1.65033001"
|
62
|
+
should: %s[0].fax == ""
|
63
|
+
should: %s[0].email == "dns-admin@google.com"
|
64
|
+
|
65
|
+
#admin_contacts
|
66
|
+
should: %s be_a(Array)
|
67
|
+
should: %s have(1).items
|
68
|
+
should: %s[0] be_a(_contact)
|
69
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
70
|
+
should: %s[0].id == "122498"
|
71
|
+
should: %s[0].name == "Alldomains.com"
|
72
|
+
should: %s[0].organization == "Alldomains.com"
|
73
|
+
should: %s[0].address == "1800 Sutter St. Suite 100 Concord"
|
74
|
+
should: %s[0].city == "Concord,"
|
75
|
+
should: %s[0].zip == "94520"
|
76
|
+
should: %s[0].state == "CA"
|
77
|
+
should: %s[0].country_code == "US"
|
78
|
+
should: %s[0].phone == "+1.92568596"
|
79
|
+
should: %s[0].fax == ""
|
80
|
+
should: %s[0].email == "dnbilling@alldomains.com"
|
81
|
+
|
82
|
+
#technical_contacts
|
83
|
+
should: %s be_a(Array)
|
84
|
+
should: %s have(1).items
|
85
|
+
should: %s[0] be_a(_contact)
|
86
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
87
|
+
should: %s[0].id == "122497"
|
88
|
+
should: %s[0].name == "NA"
|
89
|
+
should: %s[0].organization == "Alldomains.com"
|
90
|
+
should: %s[0].address == "1800 Sutter St. Suite 100 Concord"
|
91
|
+
should: %s[0].city == "Concord,"
|
92
|
+
should: %s[0].zip == "94520"
|
93
|
+
should: %s[0].state == "CA"
|
94
|
+
should: %s[0].country_code == "US"
|
95
|
+
should: %s[0].phone == "+1.92568596"
|
96
|
+
should: %s[0].fax == ""
|
97
|
+
should: %s[0].email == "dnbilling@alldomains.com"
|
98
|
+
|
99
|
+
|
24
100
|
#nameservers
|
25
101
|
should: %s be_a(Array)
|
26
102
|
should: %s have(2).items
|
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == nil
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == nil
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == nil
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == []
|
3
21
|
|
@@ -18,6 +36,22 @@
|
|
18
36
|
should: %s == nil
|
19
37
|
|
20
38
|
|
39
|
+
#registrar
|
40
|
+
should: %s == nil
|
41
|
+
|
42
|
+
#registrant_contacts
|
43
|
+
should: %s be_a(Array)
|
44
|
+
should: %s == []
|
45
|
+
|
46
|
+
#admin_contacts
|
47
|
+
should: %s be_a(Array)
|
48
|
+
should: %s == []
|
49
|
+
|
50
|
+
#technical_contacts
|
51
|
+
should: %s be_a(Array)
|
52
|
+
should: %s == []
|
53
|
+
|
54
|
+
|
21
55
|
#nameservers
|
22
56
|
should: %s be_a(Array)
|
23
57
|
should: %s == []
|
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy."
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == "nic.lc"
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == "D946482-LRCC"
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == ["OK"]
|
3
21
|
|
@@ -21,6 +39,64 @@
|
|
21
39
|
should: %s == Time.parse("2009-12-08 00:00:00 UTC")
|
22
40
|
|
23
41
|
|
42
|
+
#registrar
|
43
|
+
should: %s be_a(_registrar)
|
44
|
+
should: %s.id == "R144-LRCC"
|
45
|
+
should: %s.name == "NicLc Registrar"
|
46
|
+
should: %s.organization == "NicLc Registrar"
|
47
|
+
|
48
|
+
#registrant_contacts
|
49
|
+
should: %s be_a(Array)
|
50
|
+
should: %s have(1).items
|
51
|
+
should: %s[0] be_a(_contact)
|
52
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
53
|
+
should: %s[0].id == "LC-54921"
|
54
|
+
should: %s[0].name == "Nic LC Admin"
|
55
|
+
should: %s[0].organization == "Nic LC"
|
56
|
+
should: %s[0].address == "#4 Colony House\nJohn Compton Hwy"
|
57
|
+
should: %s[0].city == "Castries"
|
58
|
+
should: %s[0].zip == "Not Provided"
|
59
|
+
should: %s[0].state == "Not Provided"
|
60
|
+
should: %s[0].country_code == "LC"
|
61
|
+
should: %s[0].phone == "+758.4520220"
|
62
|
+
should: %s[0].fax == ""
|
63
|
+
should: %s[0].email == "nic@nic.lc"
|
64
|
+
|
65
|
+
#admin_contacts
|
66
|
+
should: %s be_a(Array)
|
67
|
+
should: %s have(1).items
|
68
|
+
should: %s[0] be_a(_contact)
|
69
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
70
|
+
should: %s[0].id == "LC-51893"
|
71
|
+
should: %s[0].name == "Nic LC Hostmaster"
|
72
|
+
should: %s[0].organization == "Nic LC"
|
73
|
+
should: %s[0].address == "#4 Colony House\nNot Provided"
|
74
|
+
should: %s[0].city == "Castries"
|
75
|
+
should: %s[0].zip == "Not Provided"
|
76
|
+
should: %s[0].state == "Not Provided"
|
77
|
+
should: %s[0].country_code == "LC"
|
78
|
+
should: %s[0].phone == "+758.4520220"
|
79
|
+
should: %s[0].fax == ""
|
80
|
+
should: %s[0].email == "hostmaster@nic.lc"
|
81
|
+
|
82
|
+
#technical_contacts
|
83
|
+
should: %s be_a(Array)
|
84
|
+
should: %s have(1).items
|
85
|
+
should: %s[0] be_a(_contact)
|
86
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
87
|
+
should: %s[0].id == "LC-53407"
|
88
|
+
should: %s[0].name == "Nic LC Technical"
|
89
|
+
should: %s[0].organization == "Nic LC"
|
90
|
+
should: %s[0].address == "#4 Colony House\nNot Provided"
|
91
|
+
should: %s[0].city == "Castries"
|
92
|
+
should: %s[0].zip == "Not Provided"
|
93
|
+
should: %s[0].state == "Not Provided"
|
94
|
+
should: %s[0].country_code == "LC"
|
95
|
+
should: %s[0].phone == "+758.4520220"
|
96
|
+
should: %s[0].fax == ""
|
97
|
+
should: %s[0].email == "technical@nic.lc"
|
98
|
+
|
99
|
+
|
24
100
|
#nameservers
|
25
101
|
should: %s be_a(Array)
|
26
102
|
should: %s have(2).items
|
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == nil
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == nil
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == nil
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == []
|
3
21
|
|
@@ -18,6 +36,22 @@
|
|
18
36
|
should: %s == nil
|
19
37
|
|
20
38
|
|
39
|
+
#registrar
|
40
|
+
should: %s == nil
|
41
|
+
|
42
|
+
#registrant_contacts
|
43
|
+
should: %s be_a(Array)
|
44
|
+
should: %s == []
|
45
|
+
|
46
|
+
#admin_contacts
|
47
|
+
should: %s be_a(Array)
|
48
|
+
should: %s == []
|
49
|
+
|
50
|
+
#technical_contacts
|
51
|
+
should: %s be_a(Array)
|
52
|
+
should: %s == []
|
53
|
+
|
54
|
+
|
21
55
|
#nameservers
|
22
56
|
should: %s be_a(Array)
|
23
57
|
should: %s == []
|
@@ -1,3 +1,21 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == "Access to CCTLD WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Afilias registry database. The data in this record is provided by Afilias Limited for informational purposes only, and Afilias does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Afilias reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy."
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == "google.mn"
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == "D444956-LRCC"
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
1
19
|
#status
|
2
20
|
should: %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]
|
3
21
|
|
@@ -21,6 +39,64 @@
|
|
21
39
|
should: %s == Time.parse("2010-04-07 00:00:00 UTC")
|
22
40
|
|
23
41
|
|
42
|
+
#registrar
|
43
|
+
should: %s be_a(_registrar)
|
44
|
+
should: %s.id == "R22-LRCC"
|
45
|
+
should: %s.name == "MarkMonitor, Inc."
|
46
|
+
should: %s.organization == "MarkMonitor, Inc."
|
47
|
+
|
48
|
+
#registrant_contacts
|
49
|
+
should: %s be_a(Array)
|
50
|
+
should: %s have(1).items
|
51
|
+
should: %s[0] be_a(_contact)
|
52
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
|
53
|
+
should: %s[0].id == "MNM-11332"
|
54
|
+
should: %s[0].name == "DNS Admin"
|
55
|
+
should: %s[0].organization == "Google Inc."
|
56
|
+
should: %s[0].address == "1600 Amphitheatre Parkway"
|
57
|
+
should: %s[0].city == "Mountain View"
|
58
|
+
should: %s[0].zip == "94043"
|
59
|
+
should: %s[0].state == "CA"
|
60
|
+
should: %s[0].country_code == "US"
|
61
|
+
should: %s[0].phone == "+165.03300100"
|
62
|
+
should: %s[0].fax == "+165.06188571"
|
63
|
+
should: %s[0].email == "dns-admin@google.com"
|
64
|
+
|
65
|
+
#admin_contacts
|
66
|
+
should: %s be_a(Array)
|
67
|
+
should: %s have(1).items
|
68
|
+
should: %s[0] be_a(_contact)
|
69
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
|
70
|
+
should: %s[0].id == "MNM-11332"
|
71
|
+
should: %s[0].name == "DNS Admin"
|
72
|
+
should: %s[0].organization == "Google Inc."
|
73
|
+
should: %s[0].address == "1600 Amphitheatre Parkway"
|
74
|
+
should: %s[0].city == "Mountain View"
|
75
|
+
should: %s[0].zip == "94043"
|
76
|
+
should: %s[0].state == "CA"
|
77
|
+
should: %s[0].country_code == "US"
|
78
|
+
should: %s[0].phone == "+165.03300100"
|
79
|
+
should: %s[0].fax == "+165.06188571"
|
80
|
+
should: %s[0].email == "dns-admin@google.com"
|
81
|
+
|
82
|
+
#technical_contacts
|
83
|
+
should: %s be_a(Array)
|
84
|
+
should: %s have(1).items
|
85
|
+
should: %s[0] be_a(_contact)
|
86
|
+
should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
|
87
|
+
should: %s[0].id == "MNM-11333"
|
88
|
+
should: %s[0].name == "Domain Provisioning"
|
89
|
+
should: %s[0].organization == "Markmonitor"
|
90
|
+
should: %s[0].address == "10400 Overland RoadPMB 155"
|
91
|
+
should: %s[0].city == "Boise"
|
92
|
+
should: %s[0].zip == "83709"
|
93
|
+
should: %s[0].state == "ID"
|
94
|
+
should: %s[0].country_code == "US"
|
95
|
+
should: %s[0].phone == "+1.2083895740"
|
96
|
+
should: %s[0].fax == "+1.2083895799"
|
97
|
+
should: %s[0].email == "ccops@markmonitor.com"
|
98
|
+
|
99
|
+
|
24
100
|
#nameservers
|
25
101
|
should: %s be_a(Array)
|
26
102
|
should: %s have(4).items
|
@@ -1,3 +1,60 @@
|
|
1
|
+
#disclaimer
|
2
|
+
should: %s == nil
|
3
|
+
|
4
|
+
|
5
|
+
#domain
|
6
|
+
should: %s == nil
|
7
|
+
|
8
|
+
#domain_id
|
9
|
+
should: %s == nil
|
10
|
+
|
11
|
+
|
12
|
+
#referral_whois
|
13
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
14
|
+
|
15
|
+
#referral_url
|
16
|
+
should: %s raise_error(Whois::PropertyNotSupported)
|
17
|
+
|
18
|
+
|
19
|
+
#status
|
20
|
+
should: %s == []
|
21
|
+
|
22
|
+
#available?
|
23
|
+
should: %s == true
|
24
|
+
|
25
|
+
#registered?
|
26
|
+
should: %s == false
|
27
|
+
|
28
|
+
|
29
|
+
#created_on
|
30
|
+
should: %s == nil
|
31
|
+
|
32
|
+
#updated_on
|
33
|
+
should: %s == nil
|
34
|
+
|
35
|
+
#expires_on
|
36
|
+
should: %s == nil
|
37
|
+
|
38
|
+
|
39
|
+
#registrar
|
40
|
+
should: %s == nil
|
41
|
+
|
42
|
+
#registrant_contacts
|
43
|
+
should: %s be_a(Array)
|
44
|
+
should: %s == []
|
45
|
+
|
46
|
+
#admin_contacts
|
47
|
+
should: %s be_a(Array)
|
48
|
+
should: %s == []
|
49
|
+
|
50
|
+
#technical_contacts
|
51
|
+
should: %s be_a(Array)
|
52
|
+
should: %s == []
|
53
|
+
|
54
|
+
|
55
|
+
#nameservers
|
56
|
+
should: %s be_a(Array)
|
57
|
+
should: %s == []
|
1
58
|
#status
|
2
59
|
should: %s == []
|
3
60
|
|