Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
2,809 additions
and
855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.cnnic.cn/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s == nil | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
22 changes: 22 additions & 0 deletions
22
spec/fixtures/responses/whois.cnnic.cn/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#registrar | ||
should: %s be_a(_registrar) | ||
should: %s.id == "MarkMonitor, Inc." | ||
should: %s.name == "MarkMonitor, Inc." | ||
should: %s.organization == nil | ||
|
||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_REGISTRANT | ||
should: %s.id == nil | ||
should: %s.name == "Domain Admin" | ||
should: %s.organization == "Google Ireland Holdings" | ||
|
||
#admin_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_ADMIN | ||
should: %s.id == nil | ||
should: %s.name == nil | ||
should: %s.email == "dns-admin@google.com" | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.co.pl/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.co.pl/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.coza.net.za/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.coza.net.za/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s == nil | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s == nil |
43 changes: 43 additions & 0 deletions
43
spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#registrar | ||
should: %s be_a(_registrar) | ||
should: %s.id == nil | ||
should: %s.name == "Domain Billing" | ||
should: %s.organization == "MarkMonitor" | ||
|
||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_REGISTRANT | ||
should: %s.id == nil | ||
should: %s.name == "Google Inc." | ||
should: %s.city == "Mountain View" | ||
should: %s.zip == "94043" | ||
should: %s.state == nil | ||
should: %s.phone == nil | ||
should: %s.fax == nil | ||
should: %s.email == nil | ||
|
||
#admin_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_ADMIN | ||
should: %s.id == nil | ||
should: %s.name == "Lena Tangermann" | ||
should: %s.organization == "Google Germany GmbH" | ||
should: %s.address == "ABC-Strasse 19" | ||
should: %s.city == "Hamburg" | ||
should: %s.zip == "20354" | ||
should: %s.state == nil | ||
should: %s.phone == nil | ||
should: %s.fax == nil | ||
should: %s.email == nil | ||
|
||
#technical_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_TECHNICAL | ||
should: %s.id == nil | ||
should: %s.name == "Google Inc." | ||
should: %s.city == "Mountain View" | ||
should: %s.zip == "94043" | ||
should: %s.state == nil | ||
should: %s.phone == "+1-6503300100" | ||
should: %s.fax == "+1-6506188571" | ||
should: %s.email == "dns-admin@google.com" |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s == nil | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s == nil |
23 changes: 23 additions & 0 deletions
23
spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#registrar | ||
should: %s be_a(_registrar) | ||
should: %s.id == nil | ||
should: %s.name == "Domain Billing" | ||
should: %s.organization == "MarkMonitor" | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_TECHNICAL | ||
should: %s.id == nil | ||
should: %s.name == "Google Inc." | ||
should: %s.city == "Mountain View" | ||
should: %s.zip == "94043" | ||
should: %s.state == nil | ||
should: %s.phone == "+1-6503300100" | ||
should: %s.fax == "+1-6506188571" | ||
should: %s.email == "dns-admin@google.com" |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.denic.de/schema-2.0/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s == nil | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s == nil |
28 changes: 28 additions & 0 deletions
28
spec/fixtures/responses/whois.denic.de/schema-2.0/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
#registrar | ||
should: %s be_a(_registrar) | ||
should: %s.id == nil | ||
should: %s.name == "Domain Admin" | ||
should: %s.organization == "MarkMonitor Inc" | ||
|
||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_TECHNICAL | ||
should: %s.id == nil | ||
should: %s.name == "DNS Admin" | ||
should: %s.organization == "Google Inc." | ||
should: %s.address == "1600 Amphitheatre Parkway" | ||
should: %s.city == "Mountain View" | ||
should: %s.zip == "94043" | ||
should: %s.state == nil | ||
should: %s.country_code == "US" | ||
should: %s.phone == "+1.6502530000" | ||
should: %s.fax == "+1.6506188571" | ||
should: %s.email == "dns-admin@google.com" | ||
|
||
|
||
#response_throttled? | ||
should: %s == false |
8 changes: 8 additions & 0 deletions
8
spec/fixtures/responses/whois.iana.org/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s == nil |
8 changes: 8 additions & 0 deletions
8
spec/fixtures/responses/whois.iana.org/status_not_assigned.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#registrant_contact | ||
should: %s == nil | ||
|
||
#admin_contact | ||
should: %s == nil | ||
|
||
#technical_contact | ||
should: %s == nil |
File renamed without changes.
38 changes: 38 additions & 0 deletions
38
spec/fixtures/responses/whois.iana.org/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_REGISTRANT | ||
should: %s.id == nil | ||
should: %s.name == nil | ||
should: %s.organization == "North Atlantic Treaty Organization" | ||
should: %s.address == "Blvd Leopold III" | ||
should: %s.city == "1110 Brussels" | ||
should: %s.zip == "Brussels" | ||
should: %s.country == "Belgium" | ||
|
||
#admin_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_ADMIN | ||
should: %s.id == nil | ||
should: %s.name == "Aidan Murdock" | ||
should: %s.organization == nil | ||
should: %s.address == "SHAPE" | ||
should: %s.city == "NCSA/SDD/SAL" | ||
should: %s.zip == "Casteau Hainaut 7010" | ||
should: %s.country == "Belgium" | ||
should: %s.phone == "+32 65 44 7244" | ||
should: %s.fax == "+32 65 44 7221" | ||
should: %s.email == "aidan.murdock@ncsa.nato.int" | ||
|
||
#technical_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_TECHNICAL | ||
should: %s.id == nil | ||
should: %s.name == "Jack Smits" | ||
should: %s.organization == nil | ||
should: %s.address == "SHAPE" | ||
should: %s.city == "NCSA/SMD" | ||
should: %s.zip == "Casteau Hainaut 7010" | ||
should: %s.country == "Belgium" | ||
should: %s.phone == "+32 65 44 7534" | ||
should: %s.fax == "+32 65 44 7556" | ||
should: %s.email == "jack.smits@ncsa.nato.int" |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.nic.ac/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
11 changes: 11 additions & 0 deletions
11
spec/fixtures/responses/whois.nic.ac/status_registered.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#registrar | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#registrant_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#admin_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) | ||
|
||
#technical_contact | ||
should: %s raise_error(Whois::PropertyNotSupported) |
14 changes: 14 additions & 0 deletions
14
spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_company.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_REGISTRANT | ||
should: %s.id == nil | ||
should: %s.name == "Google, Inc." | ||
should: %s.organization == "Google, Inc." | ||
should: %s.address == "Amphitheatre Pkwy 1600." | ||
should: %s.city == "Mountain View" | ||
should: %s.zip == "CA-94043" | ||
should: %s.state == nil | ||
should: %s.country_code == "US" | ||
should: %s.phone == "+1 650 253 0000" | ||
should: %s.fax == "+1 650 253 0001" | ||
should: %s.email == nil |
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_private_person.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.type == Whois::Answer::Contact::TYPE_REGISTRANT | ||
should: %s.id == nil | ||
should: %s.name =~ /Buruzs/ | ||
should: %s.organization == nil | ||
should: %s.address == nil | ||
should: %s.city == nil | ||
should: %s.zip == nil | ||
should: %s.state == nil | ||
should: %s.country_code == nil | ||
should: %s.phone == nil | ||
should: %s.fax == nil | ||
should: %s.email == nil |
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_without_address.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#registrant_contact | ||
should: %s be_a(_contact) | ||
should: %s.address == nil | ||
should: %s.city == nil | ||
should: %s.zip == nil | ||
should: %s.state == nil | ||
should: %s.country_code == nil |
File renamed without changes.
Oops, something went wrong.