Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
whois.nic.hu parser raises a NoMethodError when trying to access 'reg…
…istrant' property for personal domains (closes #19).
- Loading branch information
Showing
6 changed files
with
269 additions
and
29 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
65 changes: 65 additions & 0 deletions
65
test/testcases/responses/whois.nic.hu/property_registrant_as_company.txt
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,65 @@ | ||
% Whois server 1.99C | ||
|
||
Rights restricted by copyright. Szerzõi jog fenntartva. | ||
-Legal usage of this service requires that you agree to | ||
abide by the rules and conditions set forth at | ||
http://www.domain.hu/domain/English/domainsearch/feltetelek.html | ||
-A szolgaltatas csak a | ||
http://www.domain.hu/domain/domainsearch/feltetelek.html címen | ||
elérhetõ feltételek elfogadása és betartása mellett | ||
használható legálisan. | ||
|
||
domain: google.hu | ||
org: org_name_eng: Google, Inc. | ||
org: org_name_hun: Google, Inc. | ||
address: Amphitheatre Pkwy 1600. | ||
address: CA-94043 Mountain View | ||
address: US | ||
phone: +1 650 253 0000 | ||
fax-no: +1 650 253 0001 | ||
hun-id: 0000219547 | ||
admin-c: 2000466366 | ||
tech-c: 2000578125 | ||
zone-c: 2000578125 | ||
nameserver: ns1.google.com | ||
nameserver: ns4.google.com | ||
nameserver: ns3.google.com | ||
nameserver: ns2.google.com | ||
registered: 2000.03.25 23:20:39 | ||
changed: 2009.08.25 10:11:32 | ||
registrar: 1960108002 | ||
|
||
person: 3C Kft. (Registrar) | ||
address: Konkoly Thege út 29-33. | ||
address: H-1121 Budapest | ||
address: HU | ||
phone: +36 1 275 52 00 | ||
fax-no: +36 1 275 58 87 | ||
hun-id: 2000466366 | ||
|
||
person: Markmonitor | ||
address: Overland Road 10400, PMB155 | ||
address: ID-83709 Boise | ||
address: US | ||
phone: + 1 208 389 5798 | ||
fax-no: + 1 208 389 5771 | ||
e-mail: ccops@markmonitor.com | ||
hun-id: 2000578125 | ||
|
||
person: Markmonitor | ||
address: Overland Road 10400, PMB155 | ||
address: ID-83709 Boise | ||
address: US | ||
phone: + 1 208 389 5798 | ||
fax-no: + 1 208 389 5771 | ||
hun-id: 2000578125 | ||
|
||
org: org_name_eng: 3C Ltd. | ||
org: org_name_hun: 3C Kft. (Registrar) | ||
address: Konkoly Thege út 29-33. | ||
address: H-1121 Budapest | ||
address: HU | ||
phone: +36 1 275 52 00 | ||
fax-no: +36 1 275 58 87 | ||
hun-id: 1960108002 | ||
|
58 changes: 58 additions & 0 deletions
58
test/testcases/responses/whois.nic.hu/property_registrant_as_private_person.txt
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,58 @@ | ||
% Whois server 1.99C | ||
|
||
Rights restricted by copyright. Szerzõi jog fenntartva. | ||
-Legal usage of this service requires that you agree to | ||
abide by the rules and conditions set forth at | ||
http://www.domain.hu/domain/English/domainsearch/feltetelek.html | ||
-A szolgaltatas csak a | ||
http://www.domain.hu/domain/domainsearch/feltetelek.html címen | ||
elérhetõ feltételek elfogadása és betartása mellett | ||
használható legálisan. | ||
|
||
domain: js.hu | ||
org: Private person | ||
org: org_name_hun: Buruzs Tamás | ||
hun-id: 0000273611 | ||
admin-c: 2000230092 | ||
tech-c: 2960712001 | ||
zone-c: 2960712001 | ||
nameserver: a.ns.e-media.hu | ||
nameserver: b.ns.e-media.hu | ||
registered: 2001.01.18 02:00:41 | ||
changed: 2001.10.10 21:59:01 | ||
registrar: 1990917022 | ||
|
||
person: Buruzs Tamás | ||
address: Pöttyös u. 3. | ||
address: 1098 Budapest | ||
address: HU | ||
phone: (20) 996-8428 | ||
fax-no: | ||
hun-id: 2000230092 | ||
|
||
person: Barna György | ||
address: Városmajor u. 1/c. | ||
address: 1122 Budapest | ||
address: HU | ||
phone: (70) 3-11111-7 | ||
fax-no: (1) 438-4568 | ||
e-mail: barna83456@kibernet.hu | ||
hun-id: 2960712001 | ||
|
||
person: Barna György | ||
address: Városmajor u. 1/c. | ||
address: 1122 Budapest | ||
address: HU | ||
phone: (70) 3-11111-7 | ||
fax-no: (1) 438-4568 | ||
hun-id: 2960712001 | ||
|
||
org: org_name_eng: CyberNet Ltd. | ||
org: org_name_hun: KiberNet Kft. (Registrar) | ||
address: Városmajor u. 1/c | ||
address: 1122 Budapest | ||
address: HU | ||
phone: +36 1 4384567 | ||
fax-no: +36 1 4384568 | ||
hun-id: 1990917022 | ||
|
58 changes: 58 additions & 0 deletions
58
test/testcases/responses/whois.nic.hu/property_registrant_without_address.txt
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,58 @@ | ||
% Whois server 1.99C | ||
|
||
Rights restricted by copyright. Szerzõi jog fenntartva. | ||
-Legal usage of this service requires that you agree to | ||
abide by the rules and conditions set forth at | ||
http://www.domain.hu/domain/English/domainsearch/feltetelek.html | ||
-A szolgaltatas csak a | ||
http://www.domain.hu/domain/domainsearch/feltetelek.html címen | ||
elérhetõ feltételek elfogadása és betartása mellett | ||
használható legálisan. | ||
|
||
domain: js.hu | ||
org: Private person | ||
org: org_name_hun: Buruzs Tamás | ||
hun-id: 0000273611 | ||
admin-c: 2000230092 | ||
tech-c: 2960712001 | ||
zone-c: 2960712001 | ||
nameserver: a.ns.e-media.hu | ||
nameserver: b.ns.e-media.hu | ||
registered: 2001.01.18 02:00:41 | ||
changed: 2001.10.10 21:59:01 | ||
registrar: 1990917022 | ||
|
||
person: Buruzs Tamás | ||
address: Pöttyös u. 3. | ||
address: 1098 Budapest | ||
address: HU | ||
phone: (20) 996-8428 | ||
fax-no: | ||
hun-id: 2000230092 | ||
|
||
person: Barna György | ||
address: Városmajor u. 1/c. | ||
address: 1122 Budapest | ||
address: HU | ||
phone: (70) 3-11111-7 | ||
fax-no: (1) 438-4568 | ||
e-mail: barna83456@kibernet.hu | ||
hun-id: 2960712001 | ||
|
||
person: Barna György | ||
address: Városmajor u. 1/c. | ||
address: 1122 Budapest | ||
address: HU | ||
phone: (70) 3-11111-7 | ||
fax-no: (1) 438-4568 | ||
hun-id: 2960712001 | ||
|
||
org: org_name_eng: CyberNet Ltd. | ||
org: org_name_hun: KiberNet Kft. (Registrar) | ||
address: Városmajor u. 1/c | ||
address: 1122 Budapest | ||
address: HU | ||
phone: +36 1 4384567 | ||
fax-no: +36 1 4384568 | ||
hun-id: 1990917022 | ||
|