whois 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. data/Rakefile +13 -17
  2. data/lib/whois.rb +1 -1
  3. data/lib/whois/client.rb +1 -1
  4. data/lib/{core_ext.rb → whois/core_ext.rb} +4 -4
  5. data/lib/{core_ext → whois/core_ext}/array/extract_options.rb +0 -0
  6. data/lib/{core_ext → whois/core_ext}/array/wrap.rb +0 -0
  7. data/lib/{core_ext → whois/core_ext}/class/attribute.rb +3 -3
  8. data/lib/{core_ext → whois/core_ext}/date_time/conversions.rb +0 -0
  9. data/lib/{core_ext → whois/core_ext}/kernel/singleton_class.rb +0 -0
  10. data/lib/{core_ext → whois/core_ext}/module/remove_method.rb +0 -0
  11. data/lib/whois/definitions/ipv4.rb +4 -0
  12. data/lib/whois/definitions/tlds.rb +29 -29
  13. data/lib/whois/record.rb +14 -4
  14. data/lib/whois/record/parser.rb +17 -5
  15. data/lib/whois/record/parser/base.rb +11 -8
  16. data/lib/whois/record/parser/scanners/whois.centralnic.com.rb +1 -1
  17. data/lib/whois/record/parser/scanners/whois.dns.hr.rb +41 -0
  18. data/lib/whois/record/parser/scanners/whois.nc.rb +48 -0
  19. data/lib/whois/record/parser/scanners/whois.nic.hu.rb +2 -2
  20. data/lib/whois/record/parser/scanners/whois.rnids.rs.rb +78 -0
  21. data/lib/whois/record/parser/whois.biz.rb +2 -2
  22. data/lib/whois/record/parser/whois.dns.hr.rb +112 -0
  23. data/lib/whois/record/parser/whois.dreamhost.com.rb +120 -0
  24. data/lib/whois/record/parser/whois.fi.rb +76 -0
  25. data/lib/whois/record/parser/whois.ficora.fi.rb +3 -55
  26. data/lib/whois/record/parser/whois.godaddy.com.rb +3 -3
  27. data/lib/whois/record/parser/whois.markmonitor.com.rb +6 -9
  28. data/lib/whois/record/parser/whois.nc.rb +135 -0
  29. data/lib/whois/record/parser/whois.net.ua.rb +3 -57
  30. data/lib/whois/record/parser/whois.nic.gl.rb +5 -6
  31. data/lib/whois/record/parser/whois.nic.it.rb +12 -9
  32. data/lib/whois/record/parser/whois.nic.lk.rb +118 -0
  33. data/lib/whois/record/parser/whois.nic.mg.rb +2 -0
  34. data/lib/whois/record/parser/whois.nic.uk.rb +32 -12
  35. data/lib/whois/record/parser/whois.registry.qa.rb +2 -1
  36. data/lib/whois/record/parser/whois.rnids.rs.rb +143 -0
  37. data/lib/whois/record/parser/whois.ua.rb +75 -0
  38. data/lib/whois/version.rb +1 -1
  39. data/spec/fixtures/responses/jobswhois.verisign-grs.com/property_nameserver_no_nameserver.expected +1 -1
  40. data/spec/fixtures/responses/jobswhois.verisign-grs.com/status_available.expected +1 -1
  41. data/spec/fixtures/responses/jobswhois.verisign-grs.com/status_registered.expected +8 -8
  42. data/spec/fixtures/responses/kero.yachay.pe/status_available.expected +1 -1
  43. data/spec/fixtures/responses/kero.yachay.pe/status_inactive.expected +2 -2
  44. data/spec/fixtures/responses/kero.yachay.pe/status_registered.expected +6 -6
  45. data/spec/fixtures/responses/whois.adamsnames.tc/gd/status_available.expected +1 -1
  46. data/spec/fixtures/responses/whois.adamsnames.tc/gd/status_registered.expected +4 -4
  47. data/spec/fixtures/responses/whois.adamsnames.tc/tc/status_available.expected +1 -1
  48. data/spec/fixtures/responses/whois.adamsnames.tc/tc/status_registered.expected +6 -6
  49. data/spec/fixtures/responses/whois.adamsnames.tc/vg/status_available.expected +1 -1
  50. data/spec/fixtures/responses/whois.adamsnames.tc/vg/status_registered.expected +6 -6
  51. data/spec/fixtures/responses/whois.aeda.net.ae/status_available.expected +1 -1
  52. data/spec/fixtures/responses/whois.aeda.net.ae/status_registered.expected +4 -4
  53. data/spec/fixtures/responses/whois.aero/status_available.expected +4 -4
  54. data/spec/fixtures/responses/whois.aero/status_registered.expected +19 -19
  55. data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_available.expected +4 -4
  56. data/spec/fixtures/responses/whois.afilias-grs.info/bz/status_registered.expected +16 -16
  57. data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_available.expected +4 -4
  58. data/spec/fixtures/responses/whois.afilias-grs.info/gi/status_registered.expected +17 -17
  59. data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_available.expected +4 -4
  60. data/spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected +17 -17
  61. data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_available.expected +4 -4
  62. data/spec/fixtures/responses/whois.afilias-grs.info/lc/status_registered.expected +17 -17
  63. data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_available.expected +4 -4
  64. data/spec/fixtures/responses/whois.afilias-grs.info/mn/status_registered.expected +19 -19
  65. data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_available.expected +5 -5
  66. data/spec/fixtures/responses/whois.afilias-grs.info/sc/status_registered.expected +17 -17
  67. data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_available.expected +4 -4
  68. data/spec/fixtures/responses/whois.afilias-grs.info/vc/status_registered.expected +19 -19
  69. data/spec/fixtures/responses/whois.afilias.info/status_available.expected +4 -4
  70. data/spec/fixtures/responses/whois.afilias.info/status_registered.expected +19 -19
  71. data/spec/fixtures/responses/whois.ai/status_available.expected +1 -1
  72. data/spec/fixtures/responses/whois.ai/status_registered.expected +6 -6
  73. data/spec/fixtures/responses/whois.arnes.si/status_available.expected +1 -1
  74. data/spec/fixtures/responses/whois.arnes.si/status_registered.expected +8 -8
  75. data/spec/fixtures/responses/whois.audns.net.au/status_available.expected +1 -1
  76. data/spec/fixtures/responses/whois.audns.net.au/status_registered.expected +7 -7
  77. data/spec/fixtures/responses/whois.biz/status_available.expected +4 -4
  78. data/spec/fixtures/responses/whois.biz/status_registered.expected +19 -19
  79. data/spec/fixtures/responses/whois.cat/status_available.expected +1 -1
  80. data/spec/fixtures/responses/whois.cat/status_registered.expected +7 -7
  81. data/spec/fixtures/responses/whois.cctld.uz/status_available.expected +1 -1
  82. data/spec/fixtures/responses/whois.cctld.uz/status_registered.expected +6 -6
  83. data/spec/fixtures/responses/whois.centralnic.com/ae.org/status_available.expected +4 -4
  84. data/spec/fixtures/responses/whois.centralnic.com/ae.org/status_registered.expected +17 -17
  85. data/spec/fixtures/responses/whois.centralnic.com/ar.com/status_available.expected +4 -4
  86. data/spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected +21 -21
  87. data/spec/fixtures/responses/whois.centralnic.com/br.com/status_available.expected +4 -4
  88. data/spec/fixtures/responses/whois.centralnic.com/br.com/status_registered.expected +17 -17
  89. data/spec/fixtures/responses/whois.centralnic.com/cn.com/status_available.expected +4 -4
  90. data/spec/fixtures/responses/whois.centralnic.com/cn.com/status_registered.expected +17 -17
  91. data/spec/fixtures/responses/whois.centralnic.com/de.com/status_available.expected +4 -4
  92. data/spec/fixtures/responses/whois.centralnic.com/de.com/status_registered.expected +18 -18
  93. data/spec/fixtures/responses/whois.centralnic.com/eu.com/status_available.expected +4 -4
  94. data/spec/fixtures/responses/whois.centralnic.com/eu.com/status_registered.expected +17 -17
  95. data/spec/fixtures/responses/whois.centralnic.com/gb.com/status_available.expected +4 -4
  96. data/spec/fixtures/responses/whois.centralnic.com/gb.com/status_registered.expected +19 -19
  97. data/spec/fixtures/responses/whois.centralnic.com/gb.net/status_available.expected +4 -4
  98. data/spec/fixtures/responses/whois.centralnic.com/gb.net/status_registered.expected +19 -19
  99. data/spec/fixtures/responses/whois.centralnic.com/gr.com/status_available.expected +4 -4
  100. data/spec/fixtures/responses/whois.centralnic.com/gr.com/status_registered.expected +20 -20
  101. data/spec/fixtures/responses/whois.centralnic.com/hu.com/status_available.expected +4 -4
  102. data/spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected +17 -17
  103. data/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_available.expected +4 -4
  104. data/spec/fixtures/responses/whois.centralnic.com/jpn.com/status_registered.expected +17 -17
  105. data/spec/fixtures/responses/whois.centralnic.com/kr.com/status_available.expected +4 -4
  106. data/spec/fixtures/responses/whois.centralnic.com/kr.com/status_registered.expected +20 -20
  107. data/spec/fixtures/responses/whois.centralnic.com/no.com/status_available.expected +4 -4
  108. data/spec/fixtures/responses/whois.centralnic.com/no.com/status_registered.expected +17 -17
  109. data/spec/fixtures/responses/whois.centralnic.com/qc.com/status_available.expected +4 -4
  110. data/spec/fixtures/responses/whois.centralnic.com/qc.com/status_registered.expected +19 -19
  111. data/spec/fixtures/responses/whois.centralnic.com/ru.com/status_available.expected +4 -4
  112. data/spec/fixtures/responses/whois.centralnic.com/ru.com/status_registered.expected +16 -16
  113. data/spec/fixtures/responses/whois.centralnic.com/sa.com/status_available.expected +4 -4
  114. data/spec/fixtures/responses/whois.centralnic.com/sa.com/status_registered.expected +17 -17
  115. data/spec/fixtures/responses/whois.centralnic.com/se.com/status_available.expected +4 -4
  116. data/spec/fixtures/responses/whois.centralnic.com/se.com/status_registered.expected +19 -19
  117. data/spec/fixtures/responses/whois.centralnic.com/se.net/status_available.expected +4 -4
  118. data/spec/fixtures/responses/whois.centralnic.com/se.net/status_registered.expected +17 -17
  119. data/spec/fixtures/responses/whois.centralnic.com/uk.com/status_available.expected +4 -4
  120. data/spec/fixtures/responses/whois.centralnic.com/uk.com/status_registered.expected +17 -17
  121. data/spec/fixtures/responses/whois.centralnic.com/uk.net/status_available.expected +4 -4
  122. data/spec/fixtures/responses/whois.centralnic.com/uk.net/status_registered.expected +17 -17
  123. data/spec/fixtures/responses/whois.centralnic.com/us.com/status_available.expected +4 -4
  124. data/spec/fixtures/responses/whois.centralnic.com/us.com/status_registered.expected +18 -18
  125. data/spec/fixtures/responses/whois.centralnic.com/us.org/status_available.expected +4 -4
  126. data/spec/fixtures/responses/whois.centralnic.com/uy.com/status_available.expected +4 -4
  127. data/spec/fixtures/responses/whois.centralnic.com/uy.com/status_registered.expected +17 -17
  128. data/spec/fixtures/responses/whois.centralnic.com/za.com/status_available.expected +4 -4
  129. data/spec/fixtures/responses/whois.centralnic.com/za.com/status_registered.expected +17 -17
  130. data/spec/fixtures/responses/whois.cira.ca/schema-1/status_available.expected +1 -1
  131. data/spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected +10 -10
  132. data/spec/fixtures/responses/whois.cira.ca/schema-2/status_available.expected +1 -1
  133. data/spec/fixtures/responses/whois.cira.ca/schema-2/status_registered.expected +9 -9
  134. data/spec/fixtures/responses/whois.cnnic.cn/status_available.expected +3 -3
  135. data/spec/fixtures/responses/whois.cnnic.cn/status_registered.expected +16 -16
  136. data/spec/fixtures/responses/whois.co.ca/status_available.expected +1 -1
  137. data/spec/fixtures/responses/whois.co.ca/status_registered.expected +6 -6
  138. data/spec/fixtures/responses/whois.co.pl/status_available.expected +1 -1
  139. data/spec/fixtures/responses/whois.co.pl/status_registered.expected +5 -5
  140. data/spec/fixtures/responses/whois.co.ug/status_available.expected +1 -1
  141. data/spec/fixtures/responses/whois.co.ug/status_registered.expected +8 -8
  142. data/spec/fixtures/responses/whois.crsnic.net/property_nameserver_no_nameserver.expected +1 -1
  143. data/spec/fixtures/responses/whois.crsnic.net/property_registrar_with_multiple_entries.expected +1 -1
  144. data/spec/fixtures/responses/whois.crsnic.net/status_available.expected +1 -1
  145. data/spec/fixtures/responses/whois.crsnic.net/status_registered.expected +10 -10
  146. data/spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_available.expected +4 -4
  147. data/spec/fixtures/responses/whois.denic.de/schema-1.10.0/status_registered.expected +17 -17
  148. data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/property_nameservers_with_ip.expected +5 -5
  149. data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_available.expected +4 -4
  150. data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_invalid.expected +4 -4
  151. data/spec/fixtures/responses/whois.denic.de/schema-1.11.0/status_registered.expected +13 -13
  152. data/spec/fixtures/responses/whois.denic.de/schema-2.0/property_nameservers_with_ip.expected +5 -5
  153. data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_available.expected +4 -4
  154. data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_invalid.expected +4 -4
  155. data/spec/fixtures/responses/whois.denic.de/schema-2.0/status_registered.expected +13 -13
  156. data/spec/fixtures/responses/whois.dk-hostmaster.dk/status_available.expected +1 -1
  157. data/spec/fixtures/responses/whois.dk-hostmaster.dk/status_registered.expected +6 -6
  158. data/spec/fixtures/responses/whois.dns.be/property_nameservers_with_ip.expected +5 -5
  159. data/spec/fixtures/responses/whois.dns.be/status_available.expected +1 -1
  160. data/spec/fixtures/responses/whois.dns.be/status_registered.expected +7 -7
  161. data/spec/fixtures/responses/whois.dns.hr/status_available.expected +54 -0
  162. data/spec/fixtures/responses/whois.dns.hr/status_available.txt +1 -0
  163. data/spec/fixtures/responses/whois.dns.hr/status_registered.expected +67 -0
  164. data/spec/fixtures/responses/whois.dns.hr/status_registered.txt +7 -0
  165. data/spec/fixtures/responses/whois.dns.lu/property_nameservers_with_ip.expected +5 -5
  166. data/spec/fixtures/responses/whois.dns.lu/status_available.expected +1 -1
  167. data/spec/fixtures/responses/whois.dns.lu/status_registered.expected +7 -7
  168. data/spec/fixtures/responses/whois.dns.pl/property_nameservers_with_ip.expected +4 -4
  169. data/spec/fixtures/responses/whois.dns.pl/status_available.expected +1 -1
  170. data/spec/fixtures/responses/whois.dns.pl/status_registered.expected +6 -6
  171. data/spec/fixtures/responses/whois.dns.pt/property_nameservers.expected +6 -6
  172. data/spec/fixtures/responses/whois.dns.pt/property_nameservers_without_host.expected +6 -6
  173. data/spec/fixtures/responses/whois.dns.pt/status_available.expected +1 -1
  174. data/spec/fixtures/responses/whois.dns.pt/status_inactive.expected +4 -4
  175. data/spec/fixtures/responses/whois.dns.pt/status_registered.expected +8 -8
  176. data/spec/fixtures/responses/whois.dns.pt/status_reserved.expected +2 -2
  177. data/spec/fixtures/responses/whois.domain-registry.nl/property_nameservers_with_ip.expected +4 -4
  178. data/spec/fixtures/responses/whois.domain-registry.nl/status_available.expected +1 -1
  179. data/spec/fixtures/responses/whois.domain-registry.nl/status_redemption.expected +1 -1
  180. data/spec/fixtures/responses/whois.domain-registry.nl/status_registered.expected +8 -8
  181. data/spec/fixtures/responses/whois.domain.kg/status_available.expected +1 -1
  182. data/spec/fixtures/responses/whois.domain.kg/status_registered.expected +7 -7
  183. data/spec/fixtures/responses/whois.domainregistry.ie/property_nameservers_with_ip.expected +8 -8
  184. data/spec/fixtures/responses/whois.domainregistry.ie/status_available.expected +1 -1
  185. data/spec/fixtures/responses/whois.domainregistry.ie/status_registered.expected +6 -6
  186. data/spec/fixtures/responses/whois.domainregistry.my/status_available.expected +1 -1
  187. data/spec/fixtures/responses/whois.domainregistry.my/status_registered.expected +7 -7
  188. data/spec/fixtures/responses/whois.domreg.lt/property_nameservers_with_ip.expected +6 -6
  189. data/spec/fixtures/responses/whois.domreg.lt/status_available.expected +1 -1
  190. data/spec/fixtures/responses/whois.domreg.lt/status_registered.expected +6 -6
  191. data/spec/fixtures/responses/whois.dot.tk/status_available.expected +1 -1
  192. data/spec/fixtures/responses/whois.dot.tk/status_registered.expected +8 -8
  193. data/spec/fixtures/responses/whois.dotmobiregistry.net/status_available.expected +4 -4
  194. data/spec/fixtures/responses/whois.dotmobiregistry.net/status_registered.expected +19 -19
  195. data/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.expected +47 -0
  196. data/spec/fixtures/responses/whois.dreamhost.com/property_contact_private.txt +75 -0
  197. data/spec/fixtures/responses/whois.dreamhost.com/status_registered.expected +87 -0
  198. data/spec/fixtures/responses/whois.dreamhost.com/status_registered.txt +79 -0
  199. data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_address.expected +3 -3
  200. data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_zip.expected +3 -3
  201. data/spec/fixtures/responses/whois.educause.edu/status_available.expected +1 -1
  202. data/spec/fixtures/responses/whois.educause.edu/status_registered.expected +11 -11
  203. data/spec/fixtures/responses/whois.eenet.ee/status_available.expected +1 -1
  204. data/spec/fixtures/responses/whois.eenet.ee/status_registered.expected +6 -6
  205. data/spec/fixtures/responses/whois.eu/property_nameservers.expected +7 -7
  206. data/spec/fixtures/responses/whois.eu/status_available.expected +1 -1
  207. data/spec/fixtures/responses/whois.eu/status_registered.expected +6 -6
  208. data/spec/fixtures/responses/{whois.net.ua → whois.fi}/status_available.expected +3 -3
  209. data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_available.txt +0 -0
  210. data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_registered.expected +8 -8
  211. data/spec/fixtures/responses/{whois.ficora.fi → whois.fi}/status_registered.txt +0 -0
  212. data/spec/fixtures/responses/whois.gg/status_available.expected +1 -1
  213. data/spec/fixtures/responses/whois.gg/status_registered.expected +8 -8
  214. data/spec/fixtures/responses/whois.godaddy.com/status_registered.expected +22 -22
  215. data/spec/fixtures/responses/whois.godaddy.com/status_registered.txt +11 -11
  216. data/spec/fixtures/responses/whois.gov.za/status_registered.expected +1 -1
  217. data/spec/fixtures/responses/whois.hkirc.hk/status_available.expected +1 -1
  218. data/spec/fixtures/responses/whois.hkirc.hk/status_registered.expected +6 -6
  219. data/spec/fixtures/responses/whois.iam.net.ma/status_registered.expected +2 -2
  220. data/spec/fixtures/responses/whois.iana.org/int/status_available.expected +4 -4
  221. data/spec/fixtures/responses/whois.iana.org/int/status_registered.expected +17 -17
  222. data/spec/fixtures/responses/whois.iana.org/tld/status_not_assigned.expected +5 -5
  223. data/spec/fixtures/responses/whois.in.ua/status_available.expected +1 -1
  224. data/spec/fixtures/responses/whois.in.ua/status_registered.expected +7 -7
  225. data/spec/fixtures/responses/whois.isnic.is/status_available.expected +1 -1
  226. data/spec/fixtures/responses/whois.isnic.is/status_registered.expected +6 -6
  227. data/spec/fixtures/responses/whois.isoc.org.il/status_available.expected +1 -1
  228. data/spec/fixtures/responses/whois.isoc.org.il/status_registered.expected +9 -9
  229. data/spec/fixtures/responses/whois.ja.net/ac.uk/status_available.expected +1 -1
  230. data/spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected +9 -9
  231. data/spec/fixtures/responses/whois.ja.net/gov.uk/status_available.expected +1 -1
  232. data/spec/fixtures/responses/whois.ja.net/gov.uk/status_registered.expected +13 -13
  233. data/spec/fixtures/responses/whois.je/status_available.expected +1 -1
  234. data/spec/fixtures/responses/whois.je/status_registered.expected +8 -8
  235. data/spec/fixtures/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range.expected +1 -1
  236. data/spec/fixtures/responses/whois.jprs.jp/jp/status_available.expected +1 -1
  237. data/spec/fixtures/responses/whois.jprs.jp/jp/status_registered.expected +9 -9
  238. data/spec/fixtures/responses/whois.jprs.jp/jp/status_reserved.expected +2 -2
  239. data/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_available.expected +1 -1
  240. data/spec/fixtures/responses/whois.jprs.jp/ne.jp/status_registered.expected +8 -8
  241. data/spec/fixtures/responses/whois.kenic.or.ke/status_available.expected +1 -1
  242. data/spec/fixtures/responses/whois.kenic.or.ke/status_registered.expected +9 -9
  243. data/spec/fixtures/responses/whois.kr/property_nameservers_with_ip.expected +4 -4
  244. data/spec/fixtures/responses/whois.kr/status_available.expected +1 -1
  245. data/spec/fixtures/responses/whois.kr/status_registered.expected +7 -7
  246. data/spec/fixtures/responses/whois.markmonitor.com/property_contacts_are_blank.expected +7 -7
  247. data/spec/fixtures/responses/whois.markmonitor.com/status_registered.expected +19 -19
  248. data/spec/fixtures/responses/whois.meregistry.net/property_nameservers_is_blank.expected +1 -1
  249. data/spec/fixtures/responses/whois.meregistry.net/status_available.expected +4 -4
  250. data/spec/fixtures/responses/whois.meregistry.net/status_registered.expected +19 -19
  251. data/spec/fixtures/responses/whois.museum/status_available.expected +1 -1
  252. data/spec/fixtures/responses/whois.museum/status_registered.expected +7 -7
  253. data/spec/fixtures/responses/whois.na-nic.com.na/status_available.expected +1 -1
  254. data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.expected +7 -7
  255. data/spec/fixtures/responses/whois.nc/status_available.expected +55 -0
  256. data/spec/fixtures/responses/whois.nc/status_available.txt +6 -0
  257. data/spec/fixtures/responses/whois.nc/status_registered.expected +76 -0
  258. data/spec/fixtures/responses/whois.nc/status_registered.txt +24 -0
  259. data/spec/fixtures/responses/whois.netcom.cm/status_available.expected +1 -1
  260. data/spec/fixtures/responses/whois.netcom.cm/status_registered.expected +9 -9
  261. data/spec/fixtures/responses/whois.nic-se.se/property_datetime_is_dash.expected +2 -2
  262. data/spec/fixtures/responses/whois.nic-se.se/property_nameservers_with_ip.expected +6 -6
  263. data/spec/fixtures/responses/whois.nic-se.se/status_available.expected +1 -1
  264. data/spec/fixtures/responses/whois.nic-se.se/status_registered.expected +9 -9
  265. data/spec/fixtures/responses/whois.nic.af/status_available.expected +1 -1
  266. data/spec/fixtures/responses/whois.nic.af/status_registered.expected +7 -7
  267. data/spec/fixtures/responses/whois.nic.ag/status_available.expected +4 -4
  268. data/spec/fixtures/responses/whois.nic.ag/status_registered.expected +19 -19
  269. data/spec/fixtures/responses/whois.nic.am/status_available.expected +1 -1
  270. data/spec/fixtures/responses/whois.nic.am/status_registered.expected +9 -9
  271. data/spec/fixtures/responses/whois.nic.as/status_available.expected +1 -1
  272. data/spec/fixtures/responses/whois.nic.as/status_registered.expected +6 -6
  273. data/spec/fixtures/responses/whois.nic.asia/status_available.expected +4 -4
  274. data/spec/fixtures/responses/whois.nic.asia/status_registered.expected +17 -17
  275. data/spec/fixtures/responses/whois.nic.at/status_available.expected +1 -1
  276. data/spec/fixtures/responses/whois.nic.at/status_registered.expected +7 -7
  277. data/spec/fixtures/responses/whois.nic.bo/status_registered.expected +2 -2
  278. data/spec/fixtures/responses/whois.nic.cc/property_nameserver_no_nameserver.expected +1 -1
  279. data/spec/fixtures/responses/whois.nic.cc/status_available.expected +1 -1
  280. data/spec/fixtures/responses/whois.nic.cc/status_registered.expected +9 -9
  281. data/spec/fixtures/responses/whois.nic.cd/status_available.expected +1 -1
  282. data/spec/fixtures/responses/whois.nic.cd/status_registered.expected +8 -8
  283. data/spec/fixtures/responses/whois.nic.ch/property_nameservers_with_ip.expected +4 -4
  284. data/spec/fixtures/responses/whois.nic.ch/status_available.expected +1 -1
  285. data/spec/fixtures/responses/whois.nic.ch/status_registered.expected +6 -6
  286. data/spec/fixtures/responses/whois.nic.ci/status_available.expected +1 -1
  287. data/spec/fixtures/responses/whois.nic.ci/status_registered.expected +8 -8
  288. data/spec/fixtures/responses/whois.nic.ck/status_available.expected +1 -1
  289. data/spec/fixtures/responses/whois.nic.ck/status_registered.expected +6 -6
  290. data/spec/fixtures/responses/whois.nic.cl/status_available.expected +1 -1
  291. data/spec/fixtures/responses/whois.nic.cl/status_registered.expected +6 -6
  292. data/spec/fixtures/responses/whois.nic.co/status_available.expected +1 -1
  293. data/spec/fixtures/responses/whois.nic.co/status_registered.expected +9 -9
  294. data/spec/fixtures/responses/whois.nic.coop/status_available.expected +1 -1
  295. data/spec/fixtures/responses/whois.nic.coop/status_registered.expected +7 -7
  296. data/spec/fixtures/responses/whois.nic.cx/status_available.expected +1 -1
  297. data/spec/fixtures/responses/whois.nic.cx/status_registered.expected +9 -9
  298. data/spec/fixtures/responses/whois.nic.cz/property_nameservers_with_ip.expected +5 -5
  299. data/spec/fixtures/responses/whois.nic.cz/status_available.expected +1 -1
  300. data/spec/fixtures/responses/whois.nic.cz/status_registered.expected +9 -9
  301. data/spec/fixtures/responses/whois.nic.ec/status_available.expected +1 -1
  302. data/spec/fixtures/responses/whois.nic.ec/status_registered.expected +9 -9
  303. data/spec/fixtures/responses/whois.nic.fr/fr/property_contact_without_address.expected +2 -2
  304. data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers.expected +6 -6
  305. data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_multiple_ipv4.expected +4 -4
  306. data/spec/fixtures/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6.expected +8 -8
  307. data/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected +4 -4
  308. data/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected +17 -17
  309. data/spec/fixtures/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6.expected +5 -5
  310. data/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected +4 -4
  311. data/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected +13 -13
  312. data/spec/fixtures/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6.expected +5 -5
  313. data/spec/fixtures/responses/whois.nic.fr/re/status_available.expected +4 -4
  314. data/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected +13 -13
  315. data/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected +4 -4
  316. data/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected +16 -16
  317. data/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected +4 -4
  318. data/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected +16 -16
  319. data/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected +4 -4
  320. data/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected +16 -16
  321. data/spec/fixtures/responses/whois.nic.gl/property_status_active.expected +8 -0
  322. data/spec/fixtures/responses/whois.nic.gl/property_status_active.txt +47 -0
  323. data/spec/fixtures/responses/whois.nic.gl/property_status_delegated.expected +8 -0
  324. data/spec/fixtures/responses/whois.nic.gl/property_status_delegated.txt +48 -0
  325. data/spec/fixtures/responses/whois.nic.gl/status_available.expected +1 -1
  326. data/spec/fixtures/responses/whois.nic.gl/status_registered.expected +9 -9
  327. data/spec/fixtures/responses/whois.nic.gl/status_registered.txt +9 -5
  328. data/spec/fixtures/responses/whois.nic.gs/status_available.expected +1 -1
  329. data/spec/fixtures/responses/whois.nic.gs/status_registered.expected +7 -7
  330. data/spec/fixtures/responses/whois.nic.ht/status_available.expected +1 -1
  331. data/spec/fixtures/responses/whois.nic.ht/status_registered.expected +9 -9
  332. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_company.expected +3 -3
  333. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_company.txt +2 -2
  334. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_private_person.expected +2 -2
  335. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_private_person.txt +1 -1
  336. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_without_address.expected +3 -3
  337. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/property_contact_without_address.txt +1 -1
  338. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_available.expected +4 -4
  339. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_in_progress.expected +3 -3
  340. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_registered.expected +23 -23
  341. data/spec/fixtures/responses/whois.nic.hu/schema-1.99/status_registered.txt +2 -2
  342. data/spec/fixtures/responses/whois.nic.hu/schema-current/status_available.expected +4 -4
  343. data/spec/fixtures/responses/whois.nic.hu/schema-current/status_registered.expected +4 -4
  344. data/spec/fixtures/responses/whois.nic.im/status_available.expected +1 -1
  345. data/spec/fixtures/responses/whois.nic.im/status_registered.expected +7 -7
  346. data/spec/fixtures/responses/whois.nic.ir/status_available.expected +1 -1
  347. data/spec/fixtures/responses/whois.nic.ir/status_registered.expected +7 -7
  348. data/spec/fixtures/responses/whois.nic.it/property_contact_province.expected +3 -3
  349. data/spec/fixtures/responses/whois.nic.it/property_contact_with_company_in_address.expected +3 -3
  350. data/spec/fixtures/responses/whois.nic.it/property_contact_with_organization.expected +3 -3
  351. data/spec/fixtures/responses/whois.nic.it/property_status_pending-delete.expected +8 -0
  352. data/spec/fixtures/responses/whois.nic.it/property_status_pending-delete.txt +54 -0
  353. data/spec/fixtures/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod.expected +8 -0
  354. data/spec/fixtures/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod.txt +62 -0
  355. data/spec/fixtures/responses/whois.nic.it/property_technical_contact.expected +3 -3
  356. data/spec/fixtures/responses/whois.nic.it/status_available.expected +4 -4
  357. data/spec/fixtures/responses/whois.nic.it/status_registered.expected +19 -19
  358. data/spec/fixtures/responses/whois.nic.ki/status_available.expected +1 -1
  359. data/spec/fixtures/responses/whois.nic.ki/status_registered.expected +9 -9
  360. data/spec/fixtures/responses/whois.nic.kz/status_available.expected +1 -1
  361. data/spec/fixtures/responses/whois.nic.kz/status_registered.expected +6 -6
  362. data/spec/fixtures/responses/whois.nic.la/status_available.expected +4 -4
  363. data/spec/fixtures/responses/whois.nic.la/status_registered.expected +19 -19
  364. data/spec/fixtures/responses/whois.nic.li/status_available.expected +1 -1
  365. data/spec/fixtures/responses/whois.nic.li/status_registered.expected +6 -6
  366. data/spec/fixtures/responses/whois.nic.lk/lk/status_available.expected +55 -0
  367. data/spec/fixtures/responses/whois.nic.lk/lk/status_available.txt +1 -0
  368. data/spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected +70 -0
  369. data/spec/fixtures/responses/whois.nic.lk/lk/status_registered.txt +24 -0
  370. data/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_available.txt +0 -0
  371. data/spec/fixtures/responses/whois.nic.lk/xn--fzc2c9e2c/status_registered.txt +18 -0
  372. data/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_available.txt +0 -0
  373. data/spec/fixtures/responses/whois.nic.lk/xn--xkc2al3hye2a/status_registered.txt +18 -0
  374. data/spec/fixtures/responses/whois.nic.lv/status_available.expected +1 -1
  375. data/spec/fixtures/responses/whois.nic.lv/status_registered.expected +7 -7
  376. data/spec/fixtures/responses/whois.nic.ly/status_available.expected +1 -1
  377. data/spec/fixtures/responses/whois.nic.ly/status_registered.expected +9 -9
  378. data/spec/fixtures/responses/whois.nic.md/status_available.expected +2 -2
  379. data/spec/fixtures/responses/whois.nic.md/status_registered.expected +9 -9
  380. data/spec/fixtures/responses/whois.nic.mg/property_status_active.expected +8 -0
  381. data/spec/fixtures/responses/whois.nic.mg/property_status_active.txt +65 -0
  382. data/spec/fixtures/responses/whois.nic.mg/property_status_delegated.expected +8 -0
  383. data/spec/fixtures/responses/whois.nic.mg/property_status_delegated.txt +78 -0
  384. data/spec/fixtures/responses/whois.nic.mg/status_available.expected +1 -1
  385. data/spec/fixtures/responses/whois.nic.mg/status_registered.expected +9 -9
  386. data/spec/fixtures/responses/whois.nic.ms/status_available.expected +1 -1
  387. data/spec/fixtures/responses/whois.nic.ms/status_registered.expected +7 -7
  388. data/spec/fixtures/responses/whois.nic.mu/status_available.expected +1 -1
  389. data/spec/fixtures/responses/whois.nic.mu/status_registered.expected +9 -9
  390. data/spec/fixtures/responses/whois.nic.mx/property_nameservers_with_ip.expected +4 -4
  391. data/spec/fixtures/responses/whois.nic.mx/status_available.expected +1 -1
  392. data/spec/fixtures/responses/whois.nic.mx/status_registered.expected +8 -8
  393. data/spec/fixtures/responses/whois.nic.net.nf/status_available.expected +1 -1
  394. data/spec/fixtures/responses/whois.nic.net.nf/status_registered.expected +9 -9
  395. data/spec/fixtures/responses/whois.nic.net.ng/status_available.expected +1 -1
  396. data/spec/fixtures/responses/whois.nic.net.ng/status_registered.expected +9 -9
  397. data/spec/fixtures/responses/whois.nic.net.sa/status_available.expected +1 -1
  398. data/spec/fixtures/responses/whois.nic.net.sa/status_registered.expected +5 -5
  399. data/spec/fixtures/responses/whois.nic.net.sb/status_available.expected +1 -1
  400. data/spec/fixtures/responses/whois.nic.net.sb/status_registered.expected +7 -7
  401. data/spec/fixtures/responses/whois.nic.nu/status_available.expected +1 -1
  402. data/spec/fixtures/responses/whois.nic.nu/status_registered.expected +9 -9
  403. data/spec/fixtures/responses/whois.nic.org.uy/status_available.expected +1 -1
  404. data/spec/fixtures/responses/whois.nic.org.uy/status_registered.expected +6 -6
  405. data/spec/fixtures/responses/whois.nic.pr/status_registered.expected +2 -2
  406. data/spec/fixtures/responses/whois.nic.priv.at/status_registered.expected +1 -1
  407. data/spec/fixtures/responses/whois.nic.sl/status_available.expected +1 -1
  408. data/spec/fixtures/responses/whois.nic.sl/status_registered.expected +8 -8
  409. data/spec/fixtures/responses/whois.nic.sm/status_available.expected +1 -1
  410. data/spec/fixtures/responses/whois.nic.sm/status_registered.expected +8 -8
  411. data/spec/fixtures/responses/whois.nic.sn/status_available.expected +4 -4
  412. data/spec/fixtures/responses/whois.nic.sn/status_registered.expected +17 -17
  413. data/spec/fixtures/responses/whois.nic.so/status_available.expected +1 -1
  414. data/spec/fixtures/responses/whois.nic.so/status_registered.expected +9 -9
  415. data/spec/fixtures/responses/whois.nic.st/status_available.expected +1 -1
  416. data/spec/fixtures/responses/whois.nic.st/status_registered.expected +8 -8
  417. data/spec/fixtures/responses/whois.nic.tel/status_available.expected +1 -1
  418. data/spec/fixtures/responses/whois.nic.tel/status_registered.expected +10 -10
  419. data/spec/fixtures/responses/whois.nic.tl/status_available.expected +1 -1
  420. data/spec/fixtures/responses/whois.nic.tl/status_registered.expected +7 -7
  421. data/spec/fixtures/responses/whois.nic.tr/property_nameservers_with_ip.expected +5 -5
  422. data/spec/fixtures/responses/whois.nic.tr/property_nameservers_with_trailing_space.expected +4 -4
  423. data/spec/fixtures/responses/whois.nic.tr/status_available.expected +1 -1
  424. data/spec/fixtures/responses/whois.nic.tr/status_registered.expected +6 -6
  425. data/spec/fixtures/responses/whois.nic.travel/status_available.expected +1 -1
  426. data/spec/fixtures/responses/whois.nic.travel/status_registered.expected +7 -7
  427. data/spec/fixtures/responses/whois.nic.tv/property_nameserver_no_nameserver.expected +1 -1
  428. data/spec/fixtures/responses/whois.nic.tv/status_available.expected +1 -1
  429. data/spec/fixtures/responses/whois.nic.tv/status_registered.expected +7 -7
  430. data/spec/fixtures/responses/whois.nic.uk/property_nameservers_with_ip.expected +4 -4
  431. data/spec/fixtures/responses/whois.nic.uk/property_registrar_without_trading_name.expected +1 -1
  432. data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.expected +8 -0
  433. data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.txt +48 -0
  434. data/spec/fixtures/responses/whois.nic.uk/status_available.expected +1 -1
  435. data/spec/fixtures/responses/whois.nic.uk/status_registered.expected +13 -13
  436. data/spec/fixtures/responses/whois.nic.uk/status_reserved.expected +71 -0
  437. data/spec/fixtures/responses/whois.nic.uk/status_reserved.txt +48 -0
  438. data/spec/fixtures/responses/whois.nic.uk/status_suspended.expected +5 -5
  439. data/spec/fixtures/responses/whois.nic.us/status_available.expected +1 -1
  440. data/spec/fixtures/responses/whois.nic.us/status_registered.expected +9 -9
  441. data/spec/fixtures/responses/whois.nic.ve/property_nameservers.expected +4 -4
  442. data/spec/fixtures/responses/whois.nic.ve/property_nameservers_missing.expected +1 -1
  443. data/spec/fixtures/responses/whois.nic.ve/property_updated_on.expected +1 -1
  444. data/spec/fixtures/responses/whois.nic.ve/status_available.expected +1 -1
  445. data/spec/fixtures/responses/whois.nic.ve/status_inactive.expected +7 -7
  446. data/spec/fixtures/responses/whois.nic.ve/status_registered.expected +3 -3
  447. data/spec/fixtures/responses/whois.nic.xxx/status_available.expected +4 -4
  448. data/spec/fixtures/responses/whois.nic.xxx/status_registered.expected +16 -16
  449. data/spec/fixtures/responses/whois.norid.no/status_registered.expected +2 -2
  450. data/spec/fixtures/responses/whois.pandi.or.id/status_available.expected +1 -1
  451. data/spec/fixtures/responses/whois.pandi.or.id/status_registered.expected +9 -9
  452. data/spec/fixtures/responses/whois.pnina.ps/property_nameservers_with_nodns.expected +3 -3
  453. data/spec/fixtures/responses/whois.pnina.ps/status_available.expected +1 -1
  454. data/spec/fixtures/responses/whois.pnina.ps/status_registered.expected +7 -7
  455. data/spec/fixtures/responses/whois.publicinterestregistry.net/status_available.expected +4 -4
  456. data/spec/fixtures/responses/whois.publicinterestregistry.net/status_registered.expected +19 -19
  457. data/spec/fixtures/responses/whois.register.bg/property_nameservers_with_ip.expected +4 -4
  458. data/spec/fixtures/responses/whois.register.bg/status_available.expected +1 -1
  459. data/spec/fixtures/responses/whois.register.bg/status_registered.expected +8 -8
  460. data/spec/fixtures/responses/whois.registro.br/property_nameservers_with_ip.expected +6 -6
  461. data/spec/fixtures/responses/whois.registro.br/status_available.expected +1 -1
  462. data/spec/fixtures/responses/whois.registro.br/status_registered.expected +7 -7
  463. data/spec/fixtures/responses/whois.registry.gy/status_available.expected +1 -1
  464. data/spec/fixtures/responses/whois.registry.gy/status_registered.expected +9 -9
  465. data/spec/fixtures/responses/whois.registry.hm/status_available.expected +1 -1
  466. data/spec/fixtures/responses/whois.registry.hm/status_registered.expected +6 -6
  467. data/spec/fixtures/responses/whois.registry.in/status_available.expected +4 -4
  468. data/spec/fixtures/responses/whois.registry.in/status_registered.expected +15 -15
  469. data/spec/fixtures/responses/whois.registry.qa/property_nameservers_without_ips.expected +12 -0
  470. data/spec/fixtures/responses/whois.registry.qa/property_nameservers_without_ips.txt +22 -0
  471. data/spec/fixtures/responses/whois.registry.qa/{qa/status_available.expected → status_available.expected} +3 -3
  472. data/spec/fixtures/responses/whois.registry.qa/{qa/status_available.txt → status_available.txt} +0 -0
  473. data/spec/fixtures/responses/whois.registry.qa/{qa/status_registered.expected → status_registered.expected} +11 -11
  474. data/spec/fixtures/responses/whois.registry.qa/{qa/status_registered.txt → status_registered.txt} +0 -0
  475. data/spec/fixtures/responses/whois.registrypro.pro/status_available.expected +1 -1
  476. data/spec/fixtures/responses/whois.registrypro.pro/status_registered.expected +9 -9
  477. data/spec/fixtures/responses/whois.ripe.net/fo/status_available.expected +1 -1
  478. data/spec/fixtures/responses/whois.ripe.net/fo/status_registered.expected +4 -4
  479. data/spec/fixtures/responses/whois.ripe.net/gm/status_available.expected +1 -1
  480. data/spec/fixtures/responses/whois.ripe.net/gm/status_registered.expected +4 -4
  481. data/spec/fixtures/responses/whois.ripe.net/mc/status_available.expected +1 -1
  482. data/spec/fixtures/responses/whois.ripe.net/mc/status_registered.expected +5 -5
  483. data/spec/fixtures/responses/whois.ripe.net/va/status_available.expected +1 -1
  484. data/spec/fixtures/responses/whois.ripe.net/va/status_registered.expected +7 -7
  485. data/spec/fixtures/responses/whois.rnids.rs/status_available.expected +57 -0
  486. data/spec/fixtures/responses/whois.rnids.rs/status_available.txt +1 -0
  487. data/spec/fixtures/responses/whois.rnids.rs/status_registered.expected +94 -0
  488. data/spec/fixtures/responses/whois.rnids.rs/status_registered.txt +44 -0
  489. data/spec/fixtures/responses/whois.rotld.ro/status_available.expected +1 -1
  490. data/spec/fixtures/responses/whois.rotld.ro/status_registered.expected +6 -6
  491. data/spec/fixtures/responses/whois.samoanic.ws/status_available.expected +1 -1
  492. data/spec/fixtures/responses/whois.samoanic.ws/status_registered.expected +9 -9
  493. data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1.expected +6 -6
  494. data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip.expected +5 -5
  495. data/spec/fixtures/responses/whois.sgnic.sg/property_nameservers_schema_2.expected +6 -6
  496. data/spec/fixtures/responses/whois.sgnic.sg/status_available.expected +1 -1
  497. data/spec/fixtures/responses/whois.sgnic.sg/status_registered.expected +8 -8
  498. data/spec/fixtures/responses/whois.sk-nic.sk/status_available.expected +1 -1
  499. data/spec/fixtures/responses/whois.sk-nic.sk/status_registered.expected +8 -8
  500. data/spec/fixtures/responses/whois.smallregistry.net/status_available.expected +4 -4
  501. data/spec/fixtures/responses/whois.smallregistry.net/status_registered.expected +16 -16
  502. data/spec/fixtures/responses/whois.srs.net.nz/status_available.expected +1 -1
  503. data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.expected +1 -1
  504. data/spec/fixtures/responses/whois.srs.net.nz/status_registered.expected +9 -9
  505. data/spec/fixtures/responses/whois.tcinet.ru/ru/property_nameservers_with_ip.expected +5 -5
  506. data/spec/fixtures/responses/whois.tcinet.ru/ru/status_available.expected +2 -2
  507. data/spec/fixtures/responses/whois.tcinet.ru/ru/status_registered.expected +12 -12
  508. data/spec/fixtures/responses/whois.tcinet.ru/su/status_available.expected +2 -2
  509. data/spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected +10 -10
  510. data/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_available.expected +2 -2
  511. data/spec/fixtures/responses/whois.tcinet.ru/xn--p1ai/status_registered.expected +11 -11
  512. data/spec/fixtures/responses/whois.thnic.co.th/status_available.expected +1 -1
  513. data/spec/fixtures/responses/whois.thnic.co.th/status_registered.expected +9 -9
  514. data/spec/fixtures/responses/whois.tld.ee/status_available.expected +3 -3
  515. data/spec/fixtures/responses/whois.tld.ee/status_expired.expected +6 -6
  516. data/spec/fixtures/responses/whois.tld.ee/status_registered.expected +14 -14
  517. data/spec/fixtures/responses/whois.twnic.net.tw/status_available.expected +1 -1
  518. data/spec/fixtures/responses/whois.twnic.net.tw/status_registered.expected +8 -8
  519. data/spec/fixtures/responses/whois.tznic.or.tz/status_available.expected +1 -1
  520. data/spec/fixtures/responses/whois.tznic.or.tz/status_registered.expected +7 -7
  521. data/spec/fixtures/responses/whois.ua/property_nameservers_uppercase.expected +9 -0
  522. data/spec/fixtures/responses/{whois.net.ua → whois.ua}/property_nameservers_uppercase.txt +0 -0
  523. data/spec/fixtures/responses/{whois.net.ua → whois.ua}/redirect_to_whois.in.ua.txt +0 -0
  524. data/spec/fixtures/responses/{whois.ficora.fi → whois.ua}/status_available.expected +3 -3
  525. data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_available.txt +0 -0
  526. data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_registered.expected +8 -8
  527. data/spec/fixtures/responses/{whois.net.ua → whois.ua}/status_registered.txt +0 -0
  528. data/spec/fixtures/responses/whois.usp.ac.fj/status_available.expected +1 -1
  529. data/spec/fixtures/responses/whois.usp.ac.fj/status_registered.expected +5 -5
  530. data/spec/fixtures/responses/whois.za.net/status_available.expected +1 -1
  531. data/spec/fixtures/responses/whois.za.net/status_registered.expected +6 -6
  532. data/spec/fixtures/responses/whois.za.org/status_available.expected +1 -1
  533. data/spec/fixtures/responses/whois.za.org/status_registered.expected +7 -7
  534. data/spec/spec_helper.rb +1 -1
  535. data/spec/support/helpers/connectivity_helper.rb +2 -2
  536. data/spec/support/helpers/spec_helper.rb +20 -25
  537. data/spec/tlds +22 -18
  538. data/spec/whois/client_spec.rb +16 -9
  539. data/spec/whois/record/parser/base_spec.rb +8 -8
  540. data/spec/whois/record/parser/responses/whois.dns.hr/status_available_spec.rb +105 -0
  541. data/spec/whois/record/parser/responses/whois.dns.hr/status_registered_spec.rb +118 -0
  542. data/spec/whois/record/parser/responses/whois.dreamhost.com/property_contact_private_spec.rb +78 -0
  543. data/spec/whois/record/parser/responses/whois.dreamhost.com/status_registered_spec.rb +131 -0
  544. data/spec/whois/record/parser/responses/whois.fi/status_available_spec.rb +60 -0
  545. data/spec/whois/record/parser/responses/whois.fi/status_registered_spec.rb +70 -0
  546. data/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb +7 -7
  547. data/spec/whois/record/parser/responses/whois.nc/status_available_spec.rb +106 -0
  548. data/spec/whois/record/parser/responses/whois.nc/status_registered_spec.rb +127 -0
  549. data/spec/whois/record/parser/responses/whois.nic.gl/property_status_active_spec.rb +39 -0
  550. data/spec/whois/record/parser/responses/whois.nic.gl/property_status_delegated_spec.rb +39 -0
  551. data/spec/whois/record/parser/responses/whois.nic.gl/status_registered_spec.rb +2 -2
  552. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/status_registered_spec.rb +3 -3
  553. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pending-delete_spec.rb +39 -0
  554. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingupdate_autorenewperiod_spec.rb +39 -0
  555. data/spec/whois/record/parser/responses/whois.nic.lk/lk/status_available_spec.rb +106 -0
  556. data/spec/whois/record/parser/responses/whois.nic.lk/lk/status_registered_spec.rb +121 -0
  557. data/spec/whois/record/parser/responses/whois.nic.mg/property_status_active_spec.rb +39 -0
  558. data/spec/whois/record/parser/responses/whois.nic.mg/property_status_delegated_spec.rb +39 -0
  559. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_no_status_listed_spec.rb +39 -0
  560. data/spec/whois/record/parser/responses/whois.nic.uk/status_reserved_spec.rb +114 -0
  561. data/spec/whois/record/parser/responses/whois.registry.qa/property_nameservers_without_ips_spec.rb +39 -0
  562. data/spec/whois/record/parser/responses/whois.registry.qa/{qa/status_available_spec.rb → status_available_spec.rb} +2 -2
  563. data/spec/whois/record/parser/responses/whois.registry.qa/{qa/status_registered_spec.rb → status_registered_spec.rb} +2 -2
  564. data/spec/whois/record/parser/responses/whois.rnids.rs/status_available_spec.rb +108 -0
  565. data/spec/whois/record/parser/responses/whois.rnids.rs/status_registered_spec.rb +145 -0
  566. data/spec/whois/record/parser/responses/whois.ua/property_nameservers_uppercase_spec.rb +36 -0
  567. data/spec/whois/record/parser/responses/whois.ua/status_available_spec.rb +60 -0
  568. data/spec/whois/record/parser/responses/whois.ua/status_registered_spec.rb +70 -0
  569. data/spec/whois/record/parser_spec.rb +46 -25
  570. data/spec/whois/record_spec.rb +11 -3
  571. data/whois.gemspec +4 -4
  572. metadata +111 -35
  573. data/spec/fixtures/responses/whois.net.ua/property_nameservers_uppercase.expected +0 -9
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+
3
+ # This file is autogenerated. Do not edit it manually.
4
+ # If you want change the content of this file, edit
5
+ #
6
+ # /spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.expected
7
+ #
8
+ # and regenerate the tests with the following rake task
9
+ #
10
+ # $ rake spec:generate
11
+ #
12
+
13
+ require 'spec_helper'
14
+ require 'whois/record/parser/whois.nic.uk.rb'
15
+
16
+ describe Whois::Record::Parser::WhoisNicUk, "property_status_no_status_listed.expected" do
17
+
18
+ before(:each) do
19
+ file = fixture("responses", "whois.nic.uk/property_status_no_status_listed.txt")
20
+ part = Whois::Record::Part.new(:body => File.read(file))
21
+ @parser = klass.new(part)
22
+ end
23
+
24
+ describe "#status" do
25
+ it do
26
+ @parser.status.should == :reserved
27
+ end
28
+ end
29
+ describe "#available?" do
30
+ it do
31
+ @parser.available?.should == false
32
+ end
33
+ end
34
+ describe "#registered?" do
35
+ it do
36
+ @parser.registered?.should == true
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,114 @@
1
+ # encoding: utf-8
2
+
3
+ # This file is autogenerated. Do not edit it manually.
4
+ # If you want change the content of this file, edit
5
+ #
6
+ # /spec/fixtures/responses/whois.nic.uk/status_reserved.expected
7
+ #
8
+ # and regenerate the tests with the following rake task
9
+ #
10
+ # $ rake spec:generate
11
+ #
12
+
13
+ require 'spec_helper'
14
+ require 'whois/record/parser/whois.nic.uk.rb'
15
+
16
+ describe Whois::Record::Parser::WhoisNicUk, "status_reserved.expected" do
17
+
18
+ before(:each) do
19
+ file = fixture("responses", "whois.nic.uk/status_reserved.txt")
20
+ part = Whois::Record::Part.new(:body => File.read(file))
21
+ @parser = klass.new(part)
22
+ end
23
+
24
+ describe "#status" do
25
+ it do
26
+ @parser.status.should == :reserved
27
+ end
28
+ end
29
+ describe "#available?" do
30
+ it do
31
+ @parser.available?.should == false
32
+ end
33
+ end
34
+ describe "#registered?" do
35
+ it do
36
+ @parser.registered?.should == true
37
+ end
38
+ end
39
+ describe "#created_on" do
40
+ it do
41
+ @parser.created_on.should be_a(Time)
42
+ @parser.created_on.should == Time.parse("1996-08-01")
43
+ end
44
+ end
45
+ describe "#updated_on" do
46
+ it do
47
+ @parser.updated_on.should be_a(Time)
48
+ @parser.updated_on.should == Time.parse("2011-12-23")
49
+ end
50
+ end
51
+ describe "#expires_on" do
52
+ it do
53
+ @parser.expires_on.should == nil
54
+ end
55
+ end
56
+ describe "#registrar" do
57
+ it do
58
+ @parser.registrar.should be_a(Whois::Record::Registrar)
59
+ @parser.registrar.id.should == nil
60
+ @parser.registrar.name.should == "Nominet"
61
+ @parser.registrar.organization.should == "Nominet UK"
62
+ @parser.registrar.url.should == "http://www.nic.uk/"
63
+ end
64
+ end
65
+ describe "#registrant_contacts" do
66
+ it do
67
+ @parser.registrant_contacts.should be_a(Array)
68
+ @parser.registrant_contacts.should have(1).items
69
+ @parser.registrant_contacts[0].should be_a(Whois::Record::Contact)
70
+ @parser.registrant_contacts[0].type.should == Whois::Record::Contact::TYPE_REGISTRANT
71
+ @parser.registrant_contacts[0].id.should == nil
72
+ @parser.registrant_contacts[0].name.should == "Nominet UK"
73
+ @parser.registrant_contacts[0].organization.should == nil
74
+ @parser.registrant_contacts[0].address.should == "Minerva House, Edmund Halley Road\nOxford Science Park"
75
+ @parser.registrant_contacts[0].city.should == "Oxford"
76
+ @parser.registrant_contacts[0].zip.should == "OX4 4DQ"
77
+ @parser.registrant_contacts[0].state.should == "Oxon"
78
+ @parser.registrant_contacts[0].country.should == "United Kingdom"
79
+ end
80
+ end
81
+ describe "#nameservers" do
82
+ it do
83
+ @parser.nameservers.should be_a(Array)
84
+ @parser.nameservers.should have(3).items
85
+ @parser.nameservers[0].should be_a(Whois::Record::Nameserver)
86
+ @parser.nameservers[0].name.should == "nom-ns1.nominet.org.uk"
87
+ @parser.nameservers[0].ipv4.should == "213.248.199.16"
88
+ @parser.nameservers[0].ipv6.should == nil
89
+ @parser.nameservers[1].should be_a(Whois::Record::Nameserver)
90
+ @parser.nameservers[1].name.should == "nom-ns2.nominet.org.uk"
91
+ @parser.nameservers[1].ipv4.should == "195.66.240.250"
92
+ @parser.nameservers[1].ipv6.should == "2a01:40:1001:37::2"
93
+ @parser.nameservers[2].should be_a(Whois::Record::Nameserver)
94
+ @parser.nameservers[2].name.should == "nom-ns3.nominet.org.uk"
95
+ @parser.nameservers[2].ipv4.should == "213.219.13.194"
96
+ @parser.nameservers[2].ipv6.should == nil
97
+ end
98
+ end
99
+ describe "#response_throttled?" do
100
+ it do
101
+ @parser.response_throttled?.should == false
102
+ end
103
+ end
104
+ describe "#valid?" do
105
+ it do
106
+ @parser.valid?.should == true
107
+ end
108
+ end
109
+ describe "#invalid?" do
110
+ it do
111
+ @parser.invalid?.should == false
112
+ end
113
+ end
114
+ end
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+
3
+ # This file is autogenerated. Do not edit it manually.
4
+ # If you want change the content of this file, edit
5
+ #
6
+ # /spec/fixtures/responses/whois.registry.qa/property_nameservers_without_ips.expected
7
+ #
8
+ # and regenerate the tests with the following rake task
9
+ #
10
+ # $ rake spec:generate
11
+ #
12
+
13
+ require 'spec_helper'
14
+ require 'whois/record/parser/whois.registry.qa.rb'
15
+
16
+ describe Whois::Record::Parser::WhoisRegistryQa, "property_nameservers_without_ips.expected" do
17
+
18
+ before(:each) do
19
+ file = fixture("responses", "whois.registry.qa/property_nameservers_without_ips.txt")
20
+ part = Whois::Record::Part.new(:body => File.read(file))
21
+ @parser = klass.new(part)
22
+ end
23
+
24
+ describe "#nameservers" do
25
+ it do
26
+ @parser.nameservers.should be_a(Array)
27
+ @parser.nameservers.should have(3).items
28
+ @parser.nameservers[0].should be_a(Whois::Record::Nameserver)
29
+ @parser.nameservers[0].name.should == "ns1.qatarbank.com"
30
+ @parser.nameservers[0].ipv4.should == nil
31
+ @parser.nameservers[1].should be_a(Whois::Record::Nameserver)
32
+ @parser.nameservers[1].name.should == "ns2.qatarbank.com"
33
+ @parser.nameservers[1].ipv4.should == nil
34
+ @parser.nameservers[2].should be_a(Whois::Record::Nameserver)
35
+ @parser.nameservers[2].name.should == "ns3.qatarbank.com"
36
+ @parser.nameservers[2].ipv4.should == nil
37
+ end
38
+ end
39
+ end
@@ -3,7 +3,7 @@
3
3
  # This file is autogenerated. Do not edit it manually.
4
4
  # If you want change the content of this file, edit
5
5
  #
6
- # /spec/fixtures/responses/whois.registry.qa/qa/status_available.expected
6
+ # /spec/fixtures/responses/whois.registry.qa/status_available.expected
7
7
  #
8
8
  # and regenerate the tests with the following rake task
9
9
  #
@@ -16,7 +16,7 @@ require 'whois/record/parser/whois.registry.qa.rb'
16
16
  describe Whois::Record::Parser::WhoisRegistryQa, "status_available.expected" do
17
17
 
18
18
  before(:each) do
19
- file = fixture("responses", "whois.registry.qa/qa/status_available.txt")
19
+ file = fixture("responses", "whois.registry.qa/status_available.txt")
20
20
  part = Whois::Record::Part.new(:body => File.read(file))
21
21
  @parser = klass.new(part)
22
22
  end
@@ -3,7 +3,7 @@
3
3
  # This file is autogenerated. Do not edit it manually.
4
4
  # If you want change the content of this file, edit
5
5
  #
6
- # /spec/fixtures/responses/whois.registry.qa/qa/status_registered.expected
6
+ # /spec/fixtures/responses/whois.registry.qa/status_registered.expected
7
7
  #
8
8
  # and regenerate the tests with the following rake task
9
9
  #
@@ -16,7 +16,7 @@ require 'whois/record/parser/whois.registry.qa.rb'
16
16
  describe Whois::Record::Parser::WhoisRegistryQa, "status_registered.expected" do
17
17
 
18
18
  before(:each) do
19
- file = fixture("responses", "whois.registry.qa/qa/status_registered.txt")
19
+ file = fixture("responses", "whois.registry.qa/status_registered.txt")
20
20
  part = Whois::Record::Part.new(:body => File.read(file))
21
21
  @parser = klass.new(part)
22
22
  end
@@ -0,0 +1,108 @@
1
+ # encoding: utf-8
2
+
3
+ # This file is autogenerated. Do not edit it manually.
4
+ # If you want change the content of this file, edit
5
+ #
6
+ # /spec/fixtures/responses/whois.rnids.rs/status_available.expected
7
+ #
8
+ # and regenerate the tests with the following rake task
9
+ #
10
+ # $ rake spec:generate
11
+ #
12
+
13
+ require 'spec_helper'
14
+ require 'whois/record/parser/whois.rnids.rs.rb'
15
+
16
+ describe Whois::Record::Parser::WhoisRnidsRs, "status_available.expected" do
17
+
18
+ before(:each) do
19
+ file = fixture("responses", "whois.rnids.rs/status_available.txt")
20
+ part = Whois::Record::Part.new(:body => File.read(file))
21
+ @parser = klass.new(part)
22
+ end
23
+
24
+ describe "#disclaimer" do
25
+ it do
26
+ lambda { @parser.disclaimer }.should raise_error(Whois::PropertyNotSupported)
27
+ end
28
+ end
29
+ describe "#domain" do
30
+ it do
31
+ @parser.domain.should == nil
32
+ end
33
+ end
34
+ describe "#domain_id" do
35
+ it do
36
+ lambda { @parser.domain_id }.should raise_error(Whois::PropertyNotSupported)
37
+ end
38
+ end
39
+ describe "#referral_url" do
40
+ it do
41
+ lambda { @parser.referral_url }.should raise_error(Whois::PropertyNotSupported)
42
+ end
43
+ end
44
+ describe "#referral_whois" do
45
+ it do
46
+ lambda { @parser.referral_whois }.should raise_error(Whois::PropertyNotSupported)
47
+ end
48
+ end
49
+ describe "#status" do
50
+ it do
51
+ @parser.status.should == :available
52
+ end
53
+ end
54
+ describe "#available?" do
55
+ it do
56
+ @parser.available?.should == true
57
+ end
58
+ end
59
+ describe "#registered?" do
60
+ it do
61
+ @parser.registered?.should == false
62
+ end
63
+ end
64
+ describe "#created_on" do
65
+ it do
66
+ @parser.created_on.should == nil
67
+ end
68
+ end
69
+ describe "#updated_on" do
70
+ it do
71
+ @parser.updated_on.should == nil
72
+ end
73
+ end
74
+ describe "#expires_on" do
75
+ it do
76
+ @parser.expires_on.should == nil
77
+ end
78
+ end
79
+ describe "#registrar" do
80
+ it do
81
+ @parser.registrar.should == nil
82
+ end
83
+ end
84
+ describe "#registrant_contacts" do
85
+ it do
86
+ @parser.registrant_contacts.should be_a(Array)
87
+ @parser.registrant_contacts.should == []
88
+ end
89
+ end
90
+ describe "#admin_contacts" do
91
+ it do
92
+ @parser.admin_contacts.should be_a(Array)
93
+ @parser.admin_contacts.should == []
94
+ end
95
+ end
96
+ describe "#technical_contacts" do
97
+ it do
98
+ @parser.technical_contacts.should be_a(Array)
99
+ @parser.technical_contacts.should == []
100
+ end
101
+ end
102
+ describe "#nameservers" do
103
+ it do
104
+ @parser.nameservers.should be_a(Array)
105
+ @parser.nameservers.should == []
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,145 @@
1
+ # encoding: utf-8
2
+
3
+ # This file is autogenerated. Do not edit it manually.
4
+ # If you want change the content of this file, edit
5
+ #
6
+ # /spec/fixtures/responses/whois.rnids.rs/status_registered.expected
7
+ #
8
+ # and regenerate the tests with the following rake task
9
+ #
10
+ # $ rake spec:generate
11
+ #
12
+
13
+ require 'spec_helper'
14
+ require 'whois/record/parser/whois.rnids.rs.rb'
15
+
16
+ describe Whois::Record::Parser::WhoisRnidsRs, "status_registered.expected" do
17
+
18
+ before(:each) do
19
+ file = fixture("responses", "whois.rnids.rs/status_registered.txt")
20
+ part = Whois::Record::Part.new(:body => File.read(file))
21
+ @parser = klass.new(part)
22
+ end
23
+
24
+ describe "#disclaimer" do
25
+ it do
26
+ lambda { @parser.disclaimer }.should raise_error(Whois::PropertyNotSupported)
27
+ end
28
+ end
29
+ describe "#domain" do
30
+ it do
31
+ @parser.domain.should == "google.rs"
32
+ end
33
+ end
34
+ describe "#domain_id" do
35
+ it do
36
+ lambda { @parser.domain_id }.should raise_error(Whois::PropertyNotSupported)
37
+ end
38
+ end
39
+ describe "#referral_url" do
40
+ it do
41
+ lambda { @parser.referral_url }.should raise_error(Whois::PropertyNotSupported)
42
+ end
43
+ end
44
+ describe "#referral_whois" do
45
+ it do
46
+ lambda { @parser.referral_whois }.should raise_error(Whois::PropertyNotSupported)
47
+ end
48
+ end
49
+ describe "#status" do
50
+ it do
51
+ @parser.status.should == :registered
52
+ end
53
+ end
54
+ describe "#available?" do
55
+ it do
56
+ @parser.available?.should == false
57
+ end
58
+ end
59
+ describe "#registered?" do
60
+ it do
61
+ @parser.registered?.should == true
62
+ end
63
+ end
64
+ describe "#created_on" do
65
+ it do
66
+ @parser.created_on.should be_a(Time)
67
+ @parser.created_on.should == Time.parse("2008-03-10 12:31:19")
68
+ end
69
+ end
70
+ describe "#updated_on" do
71
+ it do
72
+ @parser.updated_on.should be_a(Time)
73
+ @parser.updated_on.should == Time.parse("2012-02-28 04:30:05")
74
+ end
75
+ end
76
+ describe "#expires_on" do
77
+ it do
78
+ @parser.expires_on.should be_a(Time)
79
+ @parser.expires_on.should == Time.parse("2013-03-10 12:31:19")
80
+ end
81
+ end
82
+ describe "#registrar" do
83
+ it do
84
+ @parser.registrar.should be_a(Whois::Record::Registrar)
85
+ @parser.registrar.id.should == nil
86
+ @parser.registrar.name.should == "NINET Company d.o.o."
87
+ @parser.registrar.organization.should == nil
88
+ @parser.registrar.url.should == nil
89
+ end
90
+ end
91
+ describe "#registrant_contacts" do
92
+ it do
93
+ @parser.registrant_contacts.should be_a(Array)
94
+ @parser.registrant_contacts.should have(1).items
95
+ @parser.registrant_contacts[0].should be_a(Whois::Record::Contact)
96
+ @parser.registrant_contacts[0].type.should == Whois::Record::Contact::TYPE_REGISTRANT
97
+ @parser.registrant_contacts[0].id.should == nil
98
+ @parser.registrant_contacts[0].name.should == "Google Inc."
99
+ @parser.registrant_contacts[0].address.should == "1600 Amphitheatre Parkway, Mountain View, United States of America"
100
+ @parser.registrant_contacts[0].email.should == nil
101
+ end
102
+ end
103
+ describe "#admin_contacts" do
104
+ it do
105
+ @parser.admin_contacts.should be_a(Array)
106
+ @parser.admin_contacts.should have(1).items
107
+ @parser.admin_contacts[0].should be_a(Whois::Record::Contact)
108
+ @parser.admin_contacts[0].type.should == Whois::Record::Contact::TYPE_ADMIN
109
+ @parser.admin_contacts[0].id.should == nil
110
+ @parser.admin_contacts[0].name.should == "Domain Administrator, Drustvo za marketing Google DOO"
111
+ @parser.admin_contacts[0].address.should == "Marsala Birjuzova 47/18, Beograd, Serbia"
112
+ @parser.admin_contacts[0].email.should == nil
113
+ end
114
+ end
115
+ describe "#technical_contacts" do
116
+ it do
117
+ @parser.technical_contacts.should be_a(Array)
118
+ @parser.technical_contacts.should have(1).items
119
+ @parser.technical_contacts[0].should be_a(Whois::Record::Contact)
120
+ @parser.technical_contacts[0].type.should == Whois::Record::Contact::TYPE_TECHNICAL
121
+ @parser.technical_contacts[0].id.should == nil
122
+ @parser.technical_contacts[0].name.should == "Domain Provisioning, MarkMonitor"
123
+ @parser.technical_contacts[0].address.should == "10400 Overland Road, Boise, United States of America"
124
+ @parser.technical_contacts[0].email.should == nil
125
+ end
126
+ end
127
+ describe "#nameservers" do
128
+ it do
129
+ @parser.nameservers.should be_a(Array)
130
+ @parser.nameservers.should have(4).items
131
+ @parser.nameservers[0].should be_a(Whois::Record::Nameserver)
132
+ @parser.nameservers[0].name.should == "ns1.google.com"
133
+ @parser.nameservers[0].ipv4.should == nil
134
+ @parser.nameservers[1].should be_a(Whois::Record::Nameserver)
135
+ @parser.nameservers[1].name.should == "ns2.google.com"
136
+ @parser.nameservers[1].ipv4.should == nil
137
+ @parser.nameservers[2].should be_a(Whois::Record::Nameserver)
138
+ @parser.nameservers[2].name.should == "ns3.google.com"
139
+ @parser.nameservers[2].ipv4.should == "216.239.36.10"
140
+ @parser.nameservers[3].should be_a(Whois::Record::Nameserver)
141
+ @parser.nameservers[3].name.should == "ns4.google.com"
142
+ @parser.nameservers[3].ipv4.should == "216.239.38.10"
143
+ end
144
+ end
145
+ end