whois 2.5.1 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. data/CHANGELOG.md +1537 -0
  2. data/README.md +212 -0
  3. data/Rakefile +3 -3
  4. data/lib/whois.rb +26 -1
  5. data/lib/whois/definitions/tlds.rb +3 -2
  6. data/lib/whois/record.rb +2 -2
  7. data/lib/whois/record/parser/base_afilias.rb +2 -2
  8. data/lib/whois/record/parser/base_cocca.rb +9 -1
  9. data/lib/whois/record/parser/jobswhois.verisign-grs.com.rb +6 -2
  10. data/lib/whois/record/parser/kero.yachay.pe.rb +1 -1
  11. data/lib/whois/record/parser/whois.adamsnames.tc.rb +1 -1
  12. data/lib/whois/record/parser/whois.aeda.net.ae.rb +1 -1
  13. data/lib/whois/record/parser/whois.ai.rb +1 -1
  14. data/lib/whois/record/parser/whois.arnes.si.rb +1 -1
  15. data/lib/whois/record/parser/whois.ati.tn.rb +133 -0
  16. data/lib/whois/record/parser/whois.biz.rb +1 -1
  17. data/lib/whois/record/parser/whois.cat.rb +1 -1
  18. data/lib/whois/record/parser/whois.cctld.uz.rb +4 -3
  19. data/lib/whois/record/parser/whois.centralnic.com.rb +1 -3
  20. data/lib/whois/record/parser/whois.cnnic.cn.rb +1 -1
  21. data/lib/whois/record/parser/whois.co.ca.rb +1 -1
  22. data/lib/whois/record/parser/whois.co.pl.rb +1 -1
  23. data/lib/whois/record/parser/whois.co.ug.rb +13 -12
  24. data/lib/whois/record/parser/whois.crsnic.net.rb +6 -2
  25. data/lib/whois/record/parser/whois.denic.de.rb +1 -1
  26. data/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +1 -1
  27. data/lib/whois/record/parser/whois.dns.be.rb +2 -2
  28. data/lib/whois/record/parser/whois.dns.lu.rb +2 -2
  29. data/lib/whois/record/parser/whois.dns.pl.rb +2 -2
  30. data/lib/whois/record/parser/whois.dns.pt.rb +1 -1
  31. data/lib/whois/record/parser/whois.domain-registry.nl.rb +1 -1
  32. data/lib/whois/record/parser/whois.domain.kg.rb +1 -1
  33. data/lib/whois/record/parser/whois.domainregistry.my.rb +1 -1
  34. data/lib/whois/record/parser/whois.domreg.lt.rb +2 -2
  35. data/lib/whois/record/parser/whois.dot.tk.rb +1 -1
  36. data/lib/whois/record/parser/whois.dreamhost.com.rb +1 -1
  37. data/lib/whois/record/parser/whois.educause.edu.rb +128 -20
  38. data/lib/whois/record/parser/whois.eenet.ee.rb +1 -1
  39. data/lib/whois/record/parser/whois.eu.rb +2 -2
  40. data/lib/whois/record/parser/whois.fi.rb +1 -1
  41. data/lib/whois/record/parser/whois.gg.rb +1 -1
  42. data/lib/whois/record/parser/whois.godaddy.com.rb +1 -1
  43. data/lib/whois/record/parser/whois.hkirc.hk.rb +12 -13
  44. data/lib/whois/record/parser/whois.iana.org.rb +2 -1
  45. data/lib/whois/record/parser/whois.in.ua.rb +1 -1
  46. data/lib/whois/record/parser/whois.isnic.is.rb +1 -1
  47. data/lib/whois/record/parser/whois.isoc.org.il.rb +1 -1
  48. data/lib/whois/record/parser/whois.ja.net.rb +2 -1
  49. data/lib/whois/record/parser/whois.je.rb +1 -1
  50. data/lib/whois/record/parser/whois.jprs.jp.rb +1 -1
  51. data/lib/whois/record/parser/whois.kenic.or.ke.rb +1 -1
  52. data/lib/whois/record/parser/whois.markmonitor.com.rb +1 -1
  53. data/lib/whois/record/parser/whois.meregistry.net.rb +1 -1
  54. data/lib/whois/record/parser/whois.museum.rb +1 -1
  55. data/lib/whois/record/parser/whois.na-nic.com.na.rb +1 -0
  56. data/lib/whois/record/parser/whois.netcom.cm.rb +1 -1
  57. data/lib/whois/record/parser/whois.nic-se.se.rb +1 -1
  58. data/lib/whois/record/parser/whois.nic.am.rb +1 -1
  59. data/lib/whois/record/parser/whois.nic.as.rb +1 -1
  60. data/lib/whois/record/parser/whois.nic.asia.rb +1 -1
  61. data/lib/whois/record/parser/whois.nic.at.rb +1 -1
  62. data/lib/whois/record/parser/whois.nic.cc.rb +1 -1
  63. data/lib/whois/record/parser/whois.nic.cd.rb +1 -1
  64. data/lib/whois/record/parser/whois.nic.ch.rb +2 -2
  65. data/lib/whois/record/parser/whois.nic.ci.rb +1 -1
  66. data/lib/whois/record/parser/whois.nic.ck.rb +1 -1
  67. data/lib/whois/record/parser/whois.nic.cl.rb +1 -1
  68. data/lib/whois/record/parser/whois.nic.co.rb +1 -1
  69. data/lib/whois/record/parser/whois.nic.coop.rb +1 -1
  70. data/lib/whois/record/parser/whois.nic.cz.rb +11 -9
  71. data/lib/whois/record/parser/whois.nic.ec.rb +1 -1
  72. data/lib/whois/record/parser/whois.nic.gl.rb +2 -63
  73. data/lib/whois/record/parser/whois.nic.hu.rb +3 -3
  74. data/lib/whois/record/parser/whois.nic.im.rb +1 -1
  75. data/lib/whois/record/parser/whois.nic.ir.rb +1 -1
  76. data/lib/whois/record/parser/whois.nic.it.rb +4 -4
  77. data/lib/whois/record/parser/whois.nic.kz.rb +1 -1
  78. data/lib/whois/record/parser/whois.nic.li.rb +1 -1
  79. data/lib/whois/record/parser/whois.nic.lv.rb +1 -1
  80. data/lib/whois/record/parser/whois.nic.ly.rb +1 -1
  81. data/lib/whois/record/parser/whois.nic.md.rb +5 -5
  82. data/lib/whois/record/parser/whois.nic.mg.rb +1 -1
  83. data/lib/whois/record/parser/whois.nic.mx.rb +1 -1
  84. data/lib/whois/record/parser/whois.nic.net.sa.rb +1 -1
  85. data/lib/whois/record/parser/whois.nic.nu.rb +1 -1
  86. data/lib/whois/record/parser/whois.nic.org.uy.rb +1 -1
  87. data/lib/whois/record/parser/whois.nic.sl.rb +1 -1
  88. data/lib/whois/record/parser/whois.nic.sm.rb +1 -1
  89. data/lib/whois/record/parser/whois.nic.sn.rb +6 -3
  90. data/lib/whois/record/parser/whois.nic.so.rb +1 -1
  91. data/lib/whois/record/parser/whois.nic.st.rb +1 -1
  92. data/lib/whois/record/parser/whois.nic.tel.rb +1 -1
  93. data/lib/whois/record/parser/whois.nic.tr.rb +2 -1
  94. data/lib/whois/record/parser/whois.nic.travel.rb +1 -1
  95. data/lib/whois/record/parser/whois.nic.tv.rb +1 -1
  96. data/lib/whois/record/parser/whois.nic.uk.rb +11 -4
  97. data/lib/whois/record/parser/whois.nic.us.rb +1 -1
  98. data/lib/whois/record/parser/whois.nic.ve.rb +5 -3
  99. data/lib/whois/record/parser/whois.pandi.or.id.rb +5 -4
  100. data/lib/whois/record/parser/whois.pnina.ps.rb +8 -8
  101. data/lib/whois/record/parser/whois.register.bg.rb +6 -5
  102. data/lib/whois/record/parser/whois.registry.hm.rb +1 -1
  103. data/lib/whois/record/parser/whois.registry.om.rb +125 -0
  104. data/lib/whois/record/parser/whois.registrypro.pro.rb +1 -1
  105. data/lib/whois/record/parser/whois.ripe.net.rb +1 -1
  106. data/lib/whois/record/parser/whois.rnids.rs.rb +1 -1
  107. data/lib/whois/record/parser/whois.rotld.ro.rb +5 -4
  108. data/lib/whois/record/parser/whois.samoanic.ws.rb +1 -1
  109. data/lib/whois/record/parser/whois.sgnic.sg.rb +16 -16
  110. data/lib/whois/record/parser/whois.sk-nic.sk.rb +15 -8
  111. data/lib/whois/record/parser/whois.smallregistry.net.rb +10 -2
  112. data/lib/whois/record/parser/whois.srs.net.nz.rb +38 -20
  113. data/lib/whois/record/parser/whois.tcinet.ru.rb +4 -2
  114. data/lib/whois/record/parser/whois.thnic.co.th.rb +5 -4
  115. data/lib/whois/record/parser/whois.tld.ee.rb +7 -7
  116. data/lib/whois/record/parser/whois.tonic.to.rb +2 -3
  117. data/lib/whois/record/parser/whois.twnic.net.tw.rb +1 -1
  118. data/lib/whois/record/parser/whois.tznic.or.tz.rb +8 -4
  119. data/lib/whois/record/parser/whois.usp.ac.fj.rb +5 -4
  120. data/lib/whois/record/parser/whois.za.net.rb +1 -1
  121. data/lib/whois/record/parser/whois.za.org.rb +1 -1
  122. data/lib/whois/record/scanners/whois.ati.tn.rb +46 -0
  123. data/lib/whois/record/scanners/whois.cira.ca.rb +0 -1
  124. data/lib/whois/record/scanners/whois.registry.om.rb +39 -0
  125. data/lib/whois/record/scanners/whois.rnids.rs.rb +5 -0
  126. data/lib/whois/record/super_struct.rb +8 -5
  127. data/lib/whois/server/adapters/base.rb +53 -53
  128. data/lib/whois/version.rb +2 -2
  129. data/spec/fixtures/responses/whois.ati.tn/status_available.expected +57 -0
  130. data/spec/fixtures/responses/whois.ati.tn/status_available.txt +4 -0
  131. data/spec/fixtures/responses/whois.ati.tn/status_registered.expected +122 -0
  132. data/spec/fixtures/responses/whois.ati.tn/status_registered.txt +36 -0
  133. data/spec/fixtures/responses/whois.cctld.uz/property_expires_on_dash.expected +2 -0
  134. data/spec/fixtures/responses/whois.cctld.uz/property_expires_on_dash.txt +123 -0
  135. data/spec/fixtures/responses/whois.cctld.uz/property_status_reserved.expected +8 -0
  136. data/spec/fixtures/responses/whois.cctld.uz/property_status_reserved.txt +123 -0
  137. data/spec/fixtures/responses/{whois.nic.uk/property_status_registered.expected → whois.co.ug/property_status_active.expected} +0 -0
  138. data/spec/fixtures/responses/whois.co.ug/property_status_active.txt +35 -0
  139. data/spec/fixtures/responses/whois.co.ug/property_status_unconfirmed.expected +8 -0
  140. data/spec/fixtures/responses/whois.co.ug/property_status_unconfirmed.txt +30 -0
  141. data/spec/fixtures/responses/whois.dns.be/{response_throttled.expected → response_throttled_hourly.expected} +0 -0
  142. data/spec/fixtures/responses/whois.dns.be/{response_throttled_max.txt → response_throttled_hourly.txt} +0 -0
  143. data/spec/fixtures/responses/whois.dns.be/{response_throttled_max.expected → response_throttled_limit.expected} +0 -0
  144. data/spec/fixtures/responses/whois.dns.be/{response_throttled.txt → response_throttled_limit.txt} +0 -0
  145. data/spec/fixtures/responses/whois.dns.hr/status_registered.expected +13 -11
  146. data/spec/fixtures/responses/whois.domain-registry.nl/status_available.expected +4 -0
  147. data/spec/fixtures/responses/whois.domain-registry.nl/status_redemption.expected +4 -0
  148. data/spec/fixtures/responses/whois.educause.edu/fixture1.txt +63 -0
  149. data/spec/fixtures/responses/whois.educause.edu/fixture2.txt +66 -0
  150. data/spec/fixtures/responses/whois.educause.edu/fixture3.txt +67 -0
  151. data/spec/fixtures/responses/whois.educause.edu/fixture4.txt +68 -0
  152. data/spec/fixtures/responses/whois.educause.edu/fixture5.txt +66 -0
  153. data/spec/fixtures/responses/whois.educause.edu/fixture6.txt +66 -0
  154. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant.expected +27 -0
  155. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant.txt +63 -0
  156. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.expected +28 -0
  157. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.txt +66 -0
  158. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected +26 -0
  159. data/spec/fixtures/responses/whois.educause.edu/{property_registrant_without_address.txt → property_contact_registrant_without_address.txt} +0 -0
  160. data/spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_zip.expected +27 -0
  161. data/spec/fixtures/responses/whois.educause.edu/{property_registrant_without_zip.txt → property_contact_registrant_without_zip.txt} +0 -0
  162. data/spec/fixtures/responses/whois.educause.edu/property_contacts.expected +31 -0
  163. data/spec/fixtures/responses/whois.educause.edu/property_contacts.txt +63 -0
  164. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case1.expected +31 -0
  165. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case1.txt +66 -0
  166. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case2.expected +32 -0
  167. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case2.txt +67 -0
  168. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case3.expected +32 -0
  169. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case3.txt +66 -0
  170. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case4.expected +32 -0
  171. data/spec/fixtures/responses/whois.educause.edu/property_contacts_case4.txt +68 -0
  172. data/spec/fixtures/responses/whois.educause.edu/status_available.expected +34 -0
  173. data/spec/fixtures/responses/whois.educause.edu/status_registered.expected +70 -8
  174. data/spec/fixtures/responses/whois.hkirc.hk/property_expires_on_null.expected +2 -0
  175. data/spec/fixtures/responses/whois.hkirc.hk/property_expires_on_null.txt +104 -0
  176. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_active.expected +8 -0
  177. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_active.txt +54 -0
  178. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_delegated.expected +8 -0
  179. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_delegated.txt +86 -0
  180. data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.expected +9 -2
  181. data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.txt +17 -7
  182. data/spec/fixtures/responses/whois.nc/property_contact_without_state.txt +21 -0
  183. data/spec/fixtures/responses/whois.nic.af/status_registered.expected +14 -3
  184. data/spec/fixtures/responses/whois.nic.af/status_registered.txt +59 -40
  185. data/spec/fixtures/responses/whois.nic.cx/status_registered.expected +7 -0
  186. data/spec/fixtures/responses/whois.nic.gl/status_available.expected +7 -0
  187. data/spec/fixtures/responses/whois.nic.gl/status_registered.expected +14 -0
  188. data/spec/fixtures/responses/whois.nic.gs/status_registered.expected +7 -0
  189. data/spec/fixtures/responses/whois.nic.ht/status_registered.expected +9 -2
  190. data/spec/fixtures/responses/whois.nic.ht/status_registered.txt +58 -44
  191. data/spec/fixtures/responses/whois.nic.ki/status_registered.expected +7 -0
  192. data/spec/fixtures/responses/whois.nic.ms/status_registered.expected +7 -0
  193. data/spec/fixtures/responses/whois.nic.mu/status_registered.expected +9 -2
  194. data/spec/fixtures/responses/whois.nic.mu/status_registered.txt +52 -8
  195. data/spec/fixtures/responses/whois.nic.net.nf/status_registered.expected +7 -0
  196. data/spec/fixtures/responses/whois.nic.net.ng/status_registered.expected +7 -0
  197. data/spec/fixtures/responses/whois.nic.net.sb/status_registered.expected +7 -0
  198. data/spec/fixtures/responses/whois.nic.tl/status_registered.expected +9 -2
  199. data/spec/fixtures/responses/whois.nic.tl/status_registered.txt +42 -5
  200. data/spec/fixtures/responses/whois.nic.uk/property_nameservers_with_ip.txt +11 -7
  201. data/spec/fixtures/responses/whois.nic.uk/property_registrant_type_individual.txt +45 -0
  202. data/spec/fixtures/responses/whois.nic.uk/{property_status_registered.txt → property_registrant_type_unknown.txt} +5 -5
  203. data/spec/fixtures/responses/whois.nic.uk/property_status_missing.txt +2 -2
  204. data/spec/fixtures/responses/whois.nic.uk/property_status_no_status_listed.txt +2 -2
  205. data/spec/fixtures/responses/whois.nic.uk/property_status_registered_until_expiry_date.txt +18 -13
  206. data/spec/fixtures/responses/whois.nic.uk/property_status_suspended.txt +51 -51
  207. data/spec/fixtures/responses/whois.nic.uk/status_available.txt +2 -2
  208. data/spec/fixtures/responses/whois.nic.uk/status_invalid.txt +2 -2
  209. data/spec/fixtures/responses/whois.nic.uk/status_registered.expected +2 -2
  210. data/spec/fixtures/responses/whois.nic.uk/status_registered.txt +5 -5
  211. data/spec/fixtures/responses/whois.nic.uk/status_reserved.expected +1 -1
  212. data/spec/fixtures/responses/whois.nic.uk/status_reserved.txt +2 -2
  213. data/spec/fixtures/responses/whois.nic.uk/status_suspended.expected +1 -1
  214. data/spec/fixtures/responses/whois.nic.uk/status_suspended.txt +51 -51
  215. data/spec/fixtures/responses/whois.registry.gy/status_registered.expected +7 -0
  216. data/spec/fixtures/responses/whois.registry.om/status_available.expected +56 -0
  217. data/spec/fixtures/responses/whois.registry.om/status_available.txt +1 -0
  218. data/spec/fixtures/responses/whois.registry.om/status_registered.expected +100 -0
  219. data/spec/fixtures/responses/whois.registry.om/status_registered.txt +18 -0
  220. data/spec/fixtures/responses/whois.rnids.rs/property_nameservers_hyphenated.expected +9 -0
  221. data/spec/fixtures/responses/whois.rnids.rs/property_nameservers_hyphenated.txt +36 -0
  222. data/spec/fixtures/responses/whois.rnids.rs/token_whois_privacy.expected +11 -0
  223. data/spec/fixtures/responses/whois.rnids.rs/token_whois_privacy.txt +36 -0
  224. data/spec/fixtures/responses/whois.srs.net.nz/response_throttled.expected +2 -0
  225. data/spec/fixtures/responses/whois.srs.net.nz/response_throttled.txt +27 -0
  226. data/spec/fixtures/responses/whois.srs.net.nz/status_available.expected +4 -0
  227. data/spec/fixtures/responses/whois.srs.net.nz/status_available.txt +2 -3
  228. data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.expected +4 -0
  229. data/spec/fixtures/responses/whois.srs.net.nz/status_invalid.txt +2 -3
  230. data/spec/fixtures/responses/whois.srs.net.nz/status_registered.expected +6 -2
  231. data/spec/fixtures/responses/whois.srs.net.nz/status_registered.txt +5 -4
  232. data/spec/fixtures/responses/whois.tznic.or.tz/property_status_expired.expected +8 -0
  233. data/spec/fixtures/responses/whois.tznic.or.tz/property_status_expired.txt +56 -0
  234. data/spec/support/helpers/spec_helper.rb +0 -5
  235. data/spec/tlds +4 -2
  236. data/spec/whois/record/contact_spec.rb +8 -8
  237. data/spec/whois/record/nameserver_spec.rb +6 -6
  238. data/spec/whois/record/parser/base_spec.rb +11 -11
  239. data/spec/whois/record/parser/blank_spec.rb +1 -1
  240. data/spec/whois/record/parser/responses/whois.ati.tn/status_available_spec.rb +108 -0
  241. data/spec/whois/record/parser/responses/whois.ati.tn/status_registered_spec.rb +173 -0
  242. data/spec/whois/record/parser/responses/whois.cctld.uz/property_expires_on_dash_spec.rb +29 -0
  243. data/spec/whois/record/parser/responses/whois.cctld.uz/property_status_reserved_spec.rb +39 -0
  244. data/spec/whois/record/parser/responses/{whois.nic.uk/property_status_registered_spec.rb → whois.co.ug/property_status_active_spec.rb} +4 -4
  245. data/spec/whois/record/parser/responses/whois.co.ug/property_status_unconfirmed_spec.rb +39 -0
  246. data/spec/whois/record/parser/responses/whois.dns.be/{response_throttled_spec.rb → response_throttled_hourly_spec.rb} +3 -3
  247. data/spec/whois/record/parser/responses/whois.dns.be/{response_throttled_max_spec.rb → response_throttled_limit_spec.rb} +3 -3
  248. data/spec/whois/record/parser/responses/whois.dns.hr/status_registered_spec.rb +13 -11
  249. data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_available_spec.rb +5 -0
  250. data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_redemption_spec.rb +5 -0
  251. data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_spec.rb +44 -0
  252. data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_with_additional_organization_spec.rb +44 -0
  253. data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_without_address_spec.rb +44 -0
  254. data/spec/whois/record/parser/responses/whois.educause.edu/property_contact_registrant_without_zip_spec.rb +44 -0
  255. data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case1_spec.rb +43 -0
  256. data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case2_spec.rb +43 -0
  257. data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case3_spec.rb +43 -0
  258. data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_case4_spec.rb +43 -0
  259. data/spec/whois/record/parser/responses/whois.educause.edu/property_contacts_spec.rb +43 -0
  260. data/spec/whois/record/parser/responses/whois.educause.edu/status_available_spec.rb +48 -0
  261. data/spec/whois/record/parser/responses/whois.educause.edu/status_registered_spec.rb +83 -8
  262. data/spec/whois/record/parser/responses/whois.hkirc.hk/property_expires_on_null_spec.rb +29 -0
  263. data/spec/whois/record/parser/responses/whois.na-nic.com.na/property_status_active_spec.rb +39 -0
  264. data/spec/whois/record/parser/responses/whois.na-nic.com.na/property_status_delegated_spec.rb +39 -0
  265. data/spec/whois/record/parser/responses/whois.na-nic.com.na/status_registered_spec.rb +10 -2
  266. data/spec/whois/record/parser/responses/whois.nic.af/status_registered_spec.rb +15 -3
  267. data/spec/whois/record/parser/responses/whois.nic.cx/status_registered_spec.rb +8 -0
  268. data/spec/whois/record/parser/responses/whois.nic.gl/status_available_spec.rb +10 -0
  269. data/spec/whois/record/parser/responses/whois.nic.gl/status_registered_spec.rb +18 -0
  270. data/spec/whois/record/parser/responses/whois.nic.gs/status_registered_spec.rb +8 -0
  271. data/spec/whois/record/parser/responses/whois.nic.ht/status_registered_spec.rb +10 -2
  272. data/spec/whois/record/parser/responses/whois.nic.ki/status_registered_spec.rb +8 -0
  273. data/spec/whois/record/parser/responses/whois.nic.ms/status_registered_spec.rb +8 -0
  274. data/spec/whois/record/parser/responses/whois.nic.mu/status_registered_spec.rb +10 -2
  275. data/spec/whois/record/parser/responses/whois.nic.net.nf/status_registered_spec.rb +8 -0
  276. data/spec/whois/record/parser/responses/whois.nic.net.ng/status_registered_spec.rb +8 -0
  277. data/spec/whois/record/parser/responses/whois.nic.net.sb/status_registered_spec.rb +8 -0
  278. data/spec/whois/record/parser/responses/whois.nic.tl/status_registered_spec.rb +10 -2
  279. data/spec/whois/record/parser/responses/whois.nic.uk/status_registered_spec.rb +2 -2
  280. data/spec/whois/record/parser/responses/whois.nic.uk/status_reserved_spec.rb +1 -1
  281. data/spec/whois/record/parser/responses/whois.nic.uk/status_suspended_spec.rb +1 -1
  282. data/spec/whois/record/parser/responses/whois.registry.gy/status_registered_spec.rb +8 -0
  283. data/spec/whois/record/parser/responses/whois.registry.om/status_available_spec.rb +107 -0
  284. data/spec/whois/record/parser/responses/whois.registry.om/status_registered_spec.rb +151 -0
  285. data/spec/whois/record/parser/responses/whois.rnids.rs/property_nameservers_hyphenated_spec.rb +36 -0
  286. data/spec/whois/record/parser/responses/whois.rnids.rs/token_whois_privacy_spec.rb +42 -0
  287. data/spec/whois/record/parser/responses/whois.srs.net.nz/response_throttled_spec.rb +29 -0
  288. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_available_spec.rb +5 -0
  289. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_invalid_spec.rb +5 -0
  290. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_registered_spec.rb +7 -2
  291. data/spec/whois/record/parser/responses/whois.tznic.or.tz/property_status_expired_spec.rb +39 -0
  292. data/spec/whois/record/parser_spec.rb +25 -25
  293. data/spec/whois/record/part_spec.rb +5 -5
  294. data/spec/whois/record/registrar_spec.rb +8 -8
  295. data/spec/whois/record/super_struct_spec.rb +0 -1
  296. data/spec/whois/record_spec.rb +12 -12
  297. data/spec/whois/server/adapters/afilias_spec.rb +2 -2
  298. data/spec/whois/server/adapters/formatted_spec.rb +1 -1
  299. data/spec/whois/server/adapters/pir_spec.rb +2 -2
  300. data/spec/whois/server/adapters/standard_spec.rb +1 -1
  301. data/spec/whois/server/adapters/verisign_spec.rb +2 -2
  302. data/whois.gemspec +6 -6
  303. metadata +97 -20
  304. data/.rspec +0 -1
  305. data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_address.expected +0 -11
  306. data/spec/fixtures/responses/whois.educause.edu/property_registrant_without_zip.expected +0 -12
  307. data/spec/whois/record/parser/responses/whois.educause.edu/property_registrant_without_address_spec.rb +0 -38
  308. data/spec/whois/record/parser/responses/whois.educause.edu/property_registrant_without_zip_spec.rb +0 -39
@@ -0,0 +1,66 @@
1
+
2
+ This Registry database contains ONLY .EDU domains.
3
+ The data in the EDUCAUSE Whois database is provided
4
+ by EDUCAUSE for information purposes in order to
5
+ assist in the process of obtaining information about
6
+ or related to .edu domain registration records.
7
+
8
+ The EDUCAUSE Whois database is authoritative for the
9
+ .EDU domain.
10
+
11
+ A Web interface for the .EDU EDUCAUSE Whois Server is
12
+ available at: http://whois.educause.net
13
+
14
+ By submitting a Whois query, you agree that this information
15
+ will not be used to allow, enable, or otherwise support
16
+ the transmission of unsolicited commercial advertising or
17
+ solicitations via e-mail. The use of electronic processes to
18
+ harvest information from this server is generally prohibited
19
+ except as reasonably necessary to register or modify .edu
20
+ domain names.
21
+
22
+ You may use "%" as a wildcard in your search. For further
23
+ information regarding the use of this WHOIS server, please
24
+ type: help
25
+
26
+ --------------------------
27
+
28
+ Domain Name: UIUC.EDU
29
+
30
+ Registrant:
31
+ University of Illinois at Urbana Champaign
32
+ CITES 1120 Digital Computer Laboratory
33
+ 1304 West Springfield Avenue
34
+ Urbana, IL 61801-2910
35
+ UNITED STATES
36
+
37
+ Administrative Contact:
38
+ Tracy L. Smith
39
+ University of Illinois at Urbana-Champaign
40
+ CITES 2105 Digital Computer Laboratory
41
+ 1304 West Springfield Avenue
42
+ Urbana, IL 61801-4399
43
+ UNITED STATES
44
+ (217) 244-2032
45
+ edu-admin@listserv.illinois.edu
46
+
47
+ Technical Contact:
48
+ Charles Kline
49
+ University of Illinois at Urbana Champaign
50
+ CITES 1120 Digital Computer Laboratory
51
+ 1304 West Springfield Avenue
52
+ Urbana, IL 61801
53
+ UNITED STATES
54
+ (217) 333-3339
55
+ edu-tech@listserv.illinois.edu
56
+
57
+ Name Servers:
58
+ DNS1.ILLINOIS.EDU
59
+ DNS2.ILLINOIS.EDU
60
+ DNS1.IU.EDU
61
+
62
+ Domain record activated: 18-Jul-1985
63
+ Domain record last updated: 22-Mar-2011
64
+ Domain expires: 31-Jul-2012
65
+
66
+
@@ -0,0 +1,32 @@
1
+ // Description:
2
+ // The contact property contains an address where no lines starts with a digit.
3
+ // This specific case caused infinite loop.
4
+
5
+ // This case follows this schema:
6
+ //
7
+ // [NAME]
8
+ // [ROLE]
9
+ // [ORGANIZATION]
10
+ // [ADDRESS]
11
+ // [CITY, ST ZIP]
12
+ // [COUNTRY]
13
+ // [PHONE]
14
+ // [EMAIL]
15
+
16
+ #admin_contacts
17
+ should: %s CLASS(array)
18
+ should: %s SIZE(1)
19
+ should: %s[0] CLASS(contact)
20
+ // should: %s[0].type == ANYTHING
21
+ should: %s[0].id == nil
22
+ should: %s[0].name == "ITS Business Office\nSyracuse University\nInformation Technology and Services\nCenter for Science and Technology"
23
+ should: %s[0].organization == nil
24
+ should: %s[0].address == nil
25
+ should: %s[0].city == "Syracuse"
26
+ should: %s[0].zip == "13244"
27
+ should: %s[0].state == "NY"
28
+ should: %s[0].country == "UNITED STATES"
29
+ should: %s[0].country_code == nil
30
+ should: %s[0].phone == "(315) 443-6189"
31
+ should: %s[0].fax == nil
32
+ should: %s[0].email == "itsoffice@syr.edu"
@@ -0,0 +1,68 @@
1
+
2
+ This Registry database contains ONLY .EDU domains.
3
+ The data in the EDUCAUSE Whois database is provided
4
+ by EDUCAUSE for information purposes in order to
5
+ assist in the process of obtaining information about
6
+ or related to .edu domain registration records.
7
+
8
+ The EDUCAUSE Whois database is authoritative for the
9
+ .EDU domain.
10
+
11
+ A Web interface for the .EDU EDUCAUSE Whois Server is
12
+ available at: http://whois.educause.net
13
+
14
+ By submitting a Whois query, you agree that this information
15
+ will not be used to allow, enable, or otherwise support
16
+ the transmission of unsolicited commercial advertising or
17
+ solicitations via e-mail. The use of electronic processes to
18
+ harvest information from this server is generally prohibited
19
+ except as reasonably necessary to register or modify .edu
20
+ domain names.
21
+
22
+ You may use "%" as a wildcard in your search. For further
23
+ information regarding the use of this WHOIS server, please
24
+ type: help
25
+
26
+ --------------------------
27
+
28
+ Domain Name: SYR.EDU
29
+
30
+ Registrant:
31
+ Syracuse University
32
+ Room 200 Machinery Hall
33
+ Syracuse, NY 13244
34
+ UNITED STATES
35
+
36
+ Administrative Contact:
37
+
38
+ ITS Business Office
39
+ Syracuse University
40
+ Information Technology and Services
41
+ Center for Science and Technology
42
+ Syracuse, NY 13244
43
+ UNITED STATES
44
+ (315) 443-6189
45
+ itsoffice@syr.edu
46
+
47
+ Technical Contact:
48
+
49
+ Networking
50
+ Syracuse University
51
+ Room 200 Machinery Hall
52
+ Syracuse, NY 13244
53
+ UNITED STATES
54
+ (315) 443-2677
55
+ ndd@listserv.syr.edu
56
+
57
+ Name Servers:
58
+ LURCH.CNS.SYR.EDU 128.230.12.5
59
+ ICARUS.SYR.EDU 128.230.1.49
60
+ SUEC1.SYR.EDU 128.230.152.29
61
+ NS1.TWTELECOM.NET
62
+ NS2.TWTELECOM.NET
63
+
64
+ Domain record activated: 02-Sep-1986
65
+ Domain record last updated: 07-Jul-2010
66
+ Domain expires: 31-Jul-2012
67
+
68
+
@@ -1,3 +1,21 @@
1
+ #disclaimer
2
+ should: %s == "\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n"
3
+
4
+
5
+ #domain
6
+ should: %s == nil
7
+
8
+ #domain_id
9
+ should: %s raise_error(Whois::PropertyNotSupported)
10
+
11
+
12
+ #referral_url
13
+ should: %s raise_error(Whois::PropertyNotSupported)
14
+
15
+ #referral_whois
16
+ should: %s raise_error(Whois::PropertyNotSupported)
17
+
18
+
1
19
  #status
2
20
  should: %s == :available
3
21
 
@@ -18,6 +36,22 @@
18
36
  should: %s == nil
19
37
 
20
38
 
39
+ #registrar
40
+ should: %s raise_error(Whois::PropertyNotSupported)
41
+
42
+ #registrant_contacts
43
+ should: %s CLASS(array)
44
+ should: %s == []
45
+
46
+ #admin_contacts
47
+ should: %s CLASS(array)
48
+ should: %s == []
49
+
50
+ #technical_contacts
51
+ should: %s CLASS(array)
52
+ should: %s == []
53
+
54
+
21
55
  #nameservers
22
56
  should: %s CLASS(array)
23
57
  should: %s == []
@@ -1,3 +1,21 @@
1
+ #disclaimer
2
+ should: %s == "\nThis Registry database contains ONLY .EDU domains. \nThe data in the EDUCAUSE Whois database is provided \nby EDUCAUSE for information purposes in order to \nassist in the process of obtaining information about \nor related to .edu domain registration records. \n\nThe EDUCAUSE Whois database is authoritative for the \n.EDU domain. \n\nA Web interface for the .EDU EDUCAUSE Whois Server is \navailable at: http://whois.educause.net \n\nBy submitting a Whois query, you agree that this information \nwill not be used to allow, enable, or otherwise support \nthe transmission of unsolicited commercial advertising or \nsolicitations via e-mail. The use of electronic processes to \nharvest information from this server is generally prohibited \nexcept as reasonably necessary to register or modify .edu \ndomain names.\n\nYou may use \"%\" as a wildcard in your search. For further \ninformation regarding the use of this WHOIS server, please \ntype: help \n"
3
+
4
+
5
+ #domain
6
+ should: %s == "educause.edu"
7
+
8
+ #domain_id
9
+ should: %s raise_error(Whois::PropertyNotSupported)
10
+
11
+
12
+ #referral_url
13
+ should: %s raise_error(Whois::PropertyNotSupported)
14
+
15
+ #referral_whois
16
+ should: %s raise_error(Whois::PropertyNotSupported)
17
+
18
+
1
19
  #status
2
20
  should: %s == :registered
3
21
 
@@ -21,18 +39,62 @@
21
39
  should: %s == Time.parse("2010-07-31")
22
40
 
23
41
 
42
+ #registrar
43
+ should: %s raise_error(Whois::PropertyNotSupported)
44
+
24
45
  #registrant_contacts
25
46
  should: %s CLASS(array)
26
47
  should: %s SIZE(1)
27
48
  should: %s[0] CLASS(contact)
28
- should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
29
- should: %s[0].name == nil
30
- should: %s[0].organization == "EDUCAUSE"
31
- should: %s[0].address == "4772 Walnut Street\nSuite 206"
32
- should: %s[0].city == "Boulder"
33
- should: %s[0].zip == "80301"
34
- should: %s[0].state == "CO"
35
- should: %s[0].country == "UNITED STATES"
49
+ should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT
50
+ should: %s[0].id == nil
51
+ should: %s[0].name == nil
52
+ should: %s[0].organization == "EDUCAUSE"
53
+ should: %s[0].address == "4772 Walnut Street\nSuite 206"
54
+ should: %s[0].city == "Boulder"
55
+ should: %s[0].zip == "80301"
56
+ should: %s[0].state == "CO"
57
+ should: %s[0].country == "UNITED STATES"
58
+ should: %s[0].country_code == nil
59
+ should: %s[0].phone == nil
60
+ should: %s[0].fax == nil
61
+ should: %s[0].email == nil
62
+
63
+ #admin_contacts
64
+ should: %s CLASS(array)
65
+ should: %s SIZE(1)
66
+ should: %s[0] CLASS(contact)
67
+ should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN
68
+ should: %s[0].id == nil
69
+ should: %s[0].name == "Information Technology\nEDUCAUSE"
70
+ should: %s[0].organization == nil
71
+ should: %s[0].address == "4772 Walnut Street\nSte 206"
72
+ should: %s[0].city == "Boulder"
73
+ should: %s[0].zip == "80301"
74
+ should: %s[0].state == "CO"
75
+ should: %s[0].country == "UNITED STATES"
76
+ should: %s[0].country_code == nil
77
+ should: %s[0].phone == "(303) 449-4430"
78
+ should: %s[0].fax == nil
79
+ should: %s[0].email == "netadmin@educause.edu"
80
+
81
+ #technical_contacts
82
+ should: %s CLASS(array)
83
+ should: %s SIZE(1)
84
+ should: %s[0] CLASS(contact)
85
+ should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL
86
+ should: %s[0].id == nil
87
+ should: %s[0].name == "Information Technology\nEDUCAUSE"
88
+ should: %s[0].organization == nil
89
+ should: %s[0].address == "4772 Walnut Street\nSte 206"
90
+ should: %s[0].city == "Boulder"
91
+ should: %s[0].zip == "80301"
92
+ should: %s[0].state == "CO"
93
+ should: %s[0].country == "UNITED STATES"
94
+ should: %s[0].country_code == nil
95
+ should: %s[0].phone == "(303) 449-4430"
96
+ should: %s[0].fax == nil
97
+ should: %s[0].email == "netadmin@educause.edu"
36
98
 
37
99
 
38
100
  #nameservers
@@ -0,0 +1,2 @@
1
+ #expires_on
2
+ should: %s == nil
@@ -0,0 +1,104 @@
1
+
2
+ -------------------------------------------------------------------------------
3
+ Whois server by HKDNR
4
+ -------------------------------------------------------------------------------
5
+ Domain names in the .com.hk, .net.hk, .edu.hk, .org.hk,
6
+ .gov.hk, idv.hk. and .hk can now be registered with HKDNR.
7
+ Go to http://www.hkdnr.net.hk for detail information.
8
+ -------------------------------------------------------------------------------
9
+
10
+
11
+
12
+ Domain Name: BRIGHTER.COM.HK
13
+
14
+ Contract Version: Old Contract
15
+
16
+ Registrar Name: Hong Kong Domain Name Registration Company Limited
17
+
18
+ Registrar Contact Information: Email: enquiry@hkdnr.hk Hotline: +852 2319 1313
19
+
20
+
21
+
22
+
23
+ Registrant Contact Information:
24
+
25
+ Company English Name (It should be the same as the registered/corporation name on your Business Register Certificate or relevant documents): THE BRIGHTER CO
26
+ Company Chinese name: -
27
+ Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG.,
28
+ 55 HUNG TO ROAD,
29
+ KWUN TONG, KOWLOON
30
+ Country: HK
31
+ Email: qhau@neotech-hk.com
32
+ Domain Name Commencement Date: 23-12-1998
33
+ Expiry Date: null
34
+ Re-registration Status: Complete
35
+
36
+
37
+
38
+ Administrative Contact Information:
39
+
40
+ Given name: QUEENIE
41
+ Family name: HAU
42
+ Company name: THE BRIGHTER COMPANY
43
+ Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG.,55 HUNG TO ROAD,KWUN TONG, KOWLOON
44
+ Country: HK
45
+ Phone: +852-23426328
46
+ Fax: +852-23428180
47
+ Email: qhau@neotech-hk.com
48
+ Account Name: HK2763316T
49
+
50
+
51
+
52
+
53
+ Technical Contact Information:
54
+
55
+ Family name: HAU
56
+ Company name: THE BRIGHTER COMPANY
57
+ Address: FLAT F-H,14/F,WINNER INDUSTRIAL BLDG.,
58
+ 55 HUNG TO ROAD,
59
+ KWUN TONG, KOWLOON
60
+ Country: HK
61
+ Phone: +852-23426328
62
+ Fax: +852-23428180
63
+ Email: qhau@neotech-hk.com
64
+
65
+
66
+
67
+
68
+ Name Servers Information:
69
+
70
+ NS5.HOSTINGSPEED.NET
71
+ NS2.HOSTINGSPEED.NET
72
+
73
+
74
+
75
+ -------------------------------------------------------------------------------
76
+ The Registry contains ONLY .com.hk, .net.hk, .edu.hk, .org.hk,
77
+ .gov.hk, idv.hk. and .hk $domains.
78
+ -------------------------------------------------------------------------------
79
+
80
+ WHOIS Terms of Use
81
+ By using this WHOIS search enquiry service you agree to these terms of use.
82
+ The data in HKDNR's WHOIS search engine is for information purposes only and HKDNR does not guarantee the accuracy of the data. The data is provided to assist people to obtain information about the registration record of domain names registered by HKDNR. You agree to use the data for lawful purposes only.
83
+
84
+ You are not authorised to use high-volume, electronic or automated processes to access, query or harvest data from this WHOIS search enquiry service.
85
+
86
+ You agree that you will not and will not allow anyone else to:
87
+
88
+ a. use the data for mass unsolicited commercial advertising of any sort via any medium including telephone, email or fax; or
89
+
90
+ b. enable high volume, automated or electronic processes that apply to HKDNR or its computer systems including the WHOIS search enquiry service; or
91
+
92
+ c. without the prior written consent of HKDNR compile, repackage, disseminate, disclose to any third party or use the data for a purpose other than obtaining information about a domain name registration record; or
93
+
94
+ d. use such data to derive an economic benefit for yourself.
95
+
96
+ HKDNR in its sole discretion may terminate your access to the WHOIS search enquiry service (including, without limitation, blocking your IP address) at any time including, without limitation, for excessive use of the WHOIS search enquiry service.
97
+
98
+ HKDNR may modify these terms of use at any time by publishing the modified terms of use on its website.
99
+
100
+
101
+
102
+
103
+
104
+
@@ -0,0 +1,8 @@
1
+ #status
2
+ should: %s == :registered
3
+
4
+ #available?
5
+ should: %s == false
6
+
7
+ #registered?
8
+ should: %s == true
@@ -0,0 +1,54 @@
1
+ TERMS OF USE: You are not authorized to access or query our whois database through the use of electronic processes that are high-volume and/or automated.
2
+
3
+ The contents of the WHOIS is Dr Lisse's intellectual property and is provided by NA-NiC under exclusive license as a service to the Internet community. The data is for information purposes only. NA-NiC does not guarantee its accuracy. By submitting a Whois query, you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA, its members (or CoCCA or member computer systems).
4
+
5
+ The compilation, repackaging, dissemination or other use of this Data is expressly prohibited. We reserve the right to enter IP addresses and/or corresponding networks of offenders into our IPTables.
6
+
7
+ .NA(R), Copyright(C) 1991, 1995, 2007, 2010 Dr Lisse
8
+
9
+
10
+ Domain Name Information
11
+ Query: google.na
12
+ Status: Active
13
+ Created: 28 Mar 2007
14
+ Modified: 12 Oct 2010
15
+ Expires: 20 Aug 2011
16
+ Name Servers:
17
+ ns2.google.com
18
+ ns1.google.com
19
+
20
+ Registrar Information
21
+ Registrar Name: MarkMonitor
22
+ Address: PMB 155
23
+ 10400 Overland Road
24
+ Boise, ID
25
+ Country: US
26
+
27
+
28
+
29
+
30
+ Registrant:
31
+ Name: Google Inc
32
+ Address:
33
+ 1600 Amphitheatre Parkway
34
+ Mountain View, CA 94043 US
35
+ Email Address: info AT google DOT na
36
+
37
+
38
+ Admin Contact:
39
+ Name: DNS Admin
40
+ Organisation: Google Inc
41
+ Address:
42
+ 1600 Amphitheatre Parkway
43
+ Mountain View, CA 94043 US
44
+ Email Address: dns-admin AT google DOT com
45
+
46
+
47
+ Technical Contact:
48
+ Name: CCOPS Provisioning
49
+ Organisation: MarkMonitor
50
+ Address:
51
+ 10400 Overland Road, PMB 155
52
+ Boise, ID 83709 US
53
+ Email Address: ccops AT markmonitor DOT com
54
+