whois 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (790) hide show
  1. data/Rakefile +13 -17
  2. data/lib/core_ext.rb +1 -1
  3. data/lib/core_ext/date_time/conversions.rb +1 -2
  4. data/lib/whois/record/parser/base_cocca.rb +85 -0
  5. data/lib/whois/record/parser/scanners/afilias.rb +8 -1
  6. data/lib/whois/record/parser/whois.aero.rb +0 -1
  7. data/lib/whois/record/parser/whois.cnnic.cn.rb +5 -6
  8. data/lib/whois/record/parser/whois.co.ca.rb +5 -6
  9. data/lib/whois/record/parser/whois.denic.de.rb +1 -1
  10. data/lib/whois/record/parser/whois.dns.pt.rb +8 -3
  11. data/lib/whois/record/parser/whois.godaddy.com.rb +17 -17
  12. data/lib/whois/record/parser/whois.je.rb +17 -7
  13. data/lib/whois/record/parser/whois.na-nic.com.na.rb +7 -54
  14. data/lib/whois/record/parser/whois.nic.af.rb +2 -66
  15. data/lib/whois/record/parser/whois.nic.coop.rb +1 -9
  16. data/lib/whois/record/parser/whois.nic.cx.rb +2 -64
  17. data/lib/whois/record/parser/whois.nic.cz.rb +1 -1
  18. data/lib/whois/record/parser/whois.nic.fr.rb +80 -6
  19. data/lib/whois/record/parser/whois.nic.gs.rb +2 -64
  20. data/lib/whois/record/parser/whois.nic.ht.rb +2 -65
  21. data/lib/whois/record/parser/whois.nic.it.rb +12 -3
  22. data/lib/whois/record/parser/whois.nic.ki.rb +2 -64
  23. data/lib/whois/record/parser/whois.nic.la.rb +1 -9
  24. data/lib/whois/record/parser/whois.nic.ms.rb +2 -64
  25. data/lib/whois/record/parser/whois.nic.mu.rb +2 -62
  26. data/lib/whois/record/parser/whois.nic.net.nf.rb +8 -54
  27. data/lib/whois/record/parser/whois.nic.net.ng.rb +2 -64
  28. data/lib/whois/record/parser/whois.nic.net.sb.rb +23 -0
  29. data/lib/whois/record/parser/whois.nic.tl.rb +2 -57
  30. data/lib/whois/record/parser/whois.nic.uk.rb +22 -1
  31. data/lib/whois/record/parser/whois.nic.ve.rb +2 -2
  32. data/lib/whois/record/parser/whois.nic.xxx.rb +15 -2
  33. data/lib/whois/record/parser/whois.registro.br.rb +2 -1
  34. data/lib/whois/record/parser/whois.registry.gy.rb +2 -64
  35. data/lib/whois/record/parser/whois.tld.ee.rb +1 -1
  36. data/lib/whois/version.rb +1 -1
  37. data/spec/fixtures/responses/whois.dns.pt/property_status_techpro.expected +8 -0
  38. data/spec/fixtures/responses/whois.dns.pt/property_status_techpro.txt +21 -0
  39. data/spec/fixtures/responses/whois.dns.pt/status_available.expected +1 -1
  40. data/spec/fixtures/responses/whois.dns.pt/status_inactive.expected +25 -0
  41. data/spec/fixtures/responses/whois.dns.pt/status_inactive.txt +21 -0
  42. data/spec/fixtures/responses/whois.dns.pt/status_registered.expected +2 -1
  43. data/spec/fixtures/responses/whois.dns.pt/status_reserved.expected +1 -1
  44. data/spec/fixtures/responses/whois.godaddy.com/property_dates_not_available.txt +54 -0
  45. data/spec/fixtures/responses/whois.godaddy.com/status_registered.expected +0 -13
  46. data/spec/fixtures/responses/whois.je/status_available.expected +2 -2
  47. data/spec/fixtures/responses/whois.je/status_available.txt +30 -23
  48. data/spec/fixtures/responses/whois.je/status_registered.expected +7 -5
  49. data/spec/fixtures/responses/whois.je/status_registered.txt +52 -31
  50. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_suspended.expected +8 -0
  51. data/spec/fixtures/responses/whois.na-nic.com.na/property_status_suspended.txt +68 -0
  52. data/spec/fixtures/responses/whois.na-nic.com.na/status_available.expected +7 -0
  53. data/spec/fixtures/responses/whois.na-nic.com.na/status_registered.expected +7 -0
  54. data/spec/fixtures/responses/whois.nic.af/status_available.expected +7 -0
  55. data/spec/fixtures/responses/whois.nic.af/status_registered.expected +7 -0
  56. data/spec/fixtures/responses/whois.nic.coop/property_status_multiple.expected +2 -0
  57. data/spec/fixtures/responses/whois.nic.coop/property_status_multiple.txt +125 -0
  58. data/spec/fixtures/responses/whois.nic.coop/property_status_single.expected +2 -0
  59. data/spec/fixtures/responses/whois.nic.coop/property_status_single.txt +123 -0
  60. data/spec/fixtures/responses/whois.nic.coop/status_available.expected +1 -1
  61. data/spec/fixtures/responses/whois.nic.coop/status_registered.expected +1 -1
  62. data/spec/fixtures/responses/whois.nic.cx/property_status_active.expected +8 -0
  63. data/spec/fixtures/responses/whois.nic.cx/property_status_active.txt +68 -0
  64. data/spec/fixtures/responses/whois.nic.cx/property_status_delegated.expected +8 -0
  65. data/spec/fixtures/responses/whois.nic.cx/property_status_delegated.txt +51 -0
  66. data/spec/fixtures/responses/whois.nic.cx/property_status_not_registered.expected +8 -0
  67. data/spec/fixtures/responses/whois.nic.cx/property_status_not_registered.txt +11 -0
  68. data/spec/fixtures/responses/whois.nic.cx/status_available.expected +7 -0
  69. data/spec/fixtures/responses/whois.nic.cx/status_registered.expected +7 -0
  70. data/spec/fixtures/responses/whois.nic.cz/property_nameservers_with_ip.expected +9 -5
  71. data/spec/fixtures/responses/whois.nic.cz/property_nameservers_with_ip.txt +9 -7
  72. data/spec/fixtures/responses/whois.nic.fr/fr/property_status_active.expected +8 -0
  73. data/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.expected +8 -0
  74. data/spec/fixtures/responses/whois.nic.fr/fr/property_status_blocked.txt +84 -0
  75. data/spec/fixtures/responses/whois.nic.fr/fr/response_contains_trouble.txt +106 -0
  76. data/spec/fixtures/responses/whois.nic.fr/fr/status_available.expected +13 -0
  77. data/spec/fixtures/responses/whois.nic.fr/fr/status_registered.expected +57 -0
  78. data/spec/fixtures/responses/whois.nic.fr/pm/status_available.expected +13 -0
  79. data/spec/fixtures/responses/whois.nic.fr/pm/status_registered.expected +57 -0
  80. data/spec/fixtures/responses/whois.nic.fr/re/status_available.expected +13 -0
  81. data/spec/fixtures/responses/whois.nic.fr/re/status_registered.expected +57 -0
  82. data/spec/fixtures/responses/whois.nic.fr/tf/status_available.expected +13 -0
  83. data/spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected +57 -0
  84. data/spec/fixtures/responses/whois.nic.fr/wf/status_available.expected +13 -0
  85. data/spec/fixtures/responses/whois.nic.fr/wf/status_registered.expected +57 -0
  86. data/spec/fixtures/responses/whois.nic.fr/yt/status_available.expected +13 -0
  87. data/spec/fixtures/responses/whois.nic.fr/yt/status_registered.expected +57 -0
  88. data/spec/fixtures/responses/whois.nic.gs/property_status_active.expected +8 -0
  89. data/spec/fixtures/responses/whois.nic.gs/property_status_active.txt +91 -0
  90. data/spec/fixtures/responses/whois.nic.gs/property_status_delegated.expected +8 -0
  91. data/spec/fixtures/responses/whois.nic.gs/property_status_delegated.txt +35 -0
  92. data/spec/fixtures/responses/whois.nic.gs/property_status_not_registered.expected +8 -0
  93. data/spec/fixtures/responses/whois.nic.gs/property_status_not_registered.txt +23 -0
  94. data/spec/fixtures/responses/whois.nic.gs/status_available.expected +7 -0
  95. data/spec/fixtures/responses/whois.nic.gs/status_registered.expected +7 -0
  96. data/spec/fixtures/responses/whois.nic.ht/property_status_active.expected +8 -0
  97. data/spec/fixtures/responses/whois.nic.ht/property_status_active.txt +59 -0
  98. data/spec/fixtures/responses/whois.nic.ht/property_status_delegated.expected +8 -0
  99. data/spec/fixtures/responses/whois.nic.ht/property_status_delegated.txt +58 -0
  100. data/spec/fixtures/responses/whois.nic.ht/property_status_not_registered.expected +8 -0
  101. data/spec/fixtures/responses/whois.nic.ht/property_status_not_registered.txt +23 -0
  102. data/spec/fixtures/responses/whois.nic.ht/status_available.expected +7 -0
  103. data/spec/fixtures/responses/whois.nic.ht/status_available.txt +9 -9
  104. data/spec/fixtures/responses/whois.nic.ht/status_registered.expected +10 -3
  105. data/spec/fixtures/responses/whois.nic.it/property_status_autorenewperiod_clientdeleteprohibited_clientupdateprohibited.txt +63 -0
  106. data/spec/fixtures/responses/whois.nic.it/property_status_pendingtransfer_autorenewperiod.expected +8 -0
  107. data/spec/fixtures/responses/whois.nic.it/property_status_pendingtransfer_autorenewperiod.txt +38 -0
  108. data/spec/fixtures/responses/whois.nic.it/status_reserved.expected +12 -0
  109. data/spec/fixtures/responses/whois.nic.it/status_reserved.txt +2 -0
  110. data/spec/fixtures/responses/whois.nic.ki/property_status_active.expected +8 -0
  111. data/spec/fixtures/responses/whois.nic.ki/property_status_active.txt +54 -0
  112. data/spec/fixtures/responses/whois.nic.ki/property_status_delegated.expected +8 -0
  113. data/spec/fixtures/responses/whois.nic.ki/property_status_delegated.txt +78 -0
  114. data/spec/fixtures/responses/whois.nic.ki/property_status_not_registered.expected +8 -0
  115. data/spec/fixtures/responses/whois.nic.ki/property_status_not_registered.txt +22 -0
  116. data/spec/fixtures/responses/whois.nic.ki/status_available.expected +7 -0
  117. data/spec/fixtures/responses/whois.nic.ki/status_registered.expected +7 -0
  118. data/spec/fixtures/responses/whois.nic.la/property_status_multiple.expected +2 -0
  119. data/spec/fixtures/responses/whois.nic.la/property_status_multiple.txt +75 -0
  120. data/spec/fixtures/responses/whois.nic.la/property_status_single.expected +2 -0
  121. data/spec/fixtures/responses/whois.nic.la/property_status_single.txt +70 -0
  122. data/spec/fixtures/responses/whois.nic.la/status_available.expected +1 -1
  123. data/spec/fixtures/responses/whois.nic.la/status_registered.expected +1 -1
  124. data/spec/fixtures/responses/whois.nic.ms/property_status_active.expected +8 -0
  125. data/spec/fixtures/responses/whois.nic.ms/property_status_active.txt +59 -0
  126. data/spec/fixtures/responses/whois.nic.ms/property_status_delegated.expected +8 -0
  127. data/spec/fixtures/responses/whois.nic.ms/property_status_delegated.txt +55 -0
  128. data/spec/fixtures/responses/whois.nic.ms/property_status_not_registered.expected +8 -0
  129. data/spec/fixtures/responses/whois.nic.ms/property_status_not_registered.txt +15 -0
  130. data/spec/fixtures/responses/whois.nic.ms/status_available.expected +7 -0
  131. data/spec/fixtures/responses/whois.nic.ms/status_registered.expected +7 -0
  132. data/spec/fixtures/responses/whois.nic.mu/property_status_active.expected +8 -0
  133. data/spec/fixtures/responses/whois.nic.mu/property_status_active.txt +22 -0
  134. data/spec/fixtures/responses/whois.nic.mu/property_status_delegated.expected +8 -0
  135. data/spec/fixtures/responses/whois.nic.mu/property_status_delegated.txt +37 -0
  136. data/spec/fixtures/responses/whois.nic.mu/property_status_not_registered.expected +8 -0
  137. data/spec/fixtures/responses/whois.nic.mu/property_status_not_registered.txt +9 -0
  138. data/spec/fixtures/responses/whois.nic.mu/status_available.expected +7 -0
  139. data/spec/fixtures/responses/whois.nic.mu/status_registered.expected +7 -0
  140. data/spec/fixtures/responses/whois.nic.net.nf/property_status_active.expected +8 -0
  141. data/spec/fixtures/responses/whois.nic.net.nf/property_status_active.txt +44 -0
  142. data/spec/fixtures/responses/whois.nic.net.nf/property_status_delegated.expected +8 -0
  143. data/spec/fixtures/responses/whois.nic.net.nf/property_status_delegated.txt +72 -0
  144. data/spec/fixtures/responses/whois.nic.net.nf/property_status_excluded_pendingdelete_restorable.expected +8 -0
  145. data/spec/fixtures/responses/whois.nic.net.nf/property_status_excluded_pendingdelete_restorable.txt +73 -0
  146. data/spec/fixtures/responses/whois.nic.net.nf/property_status_not_registered.expected +8 -0
  147. data/spec/fixtures/responses/whois.nic.net.nf/property_status_not_registered.txt +11 -0
  148. data/spec/fixtures/responses/whois.nic.net.nf/status_available.expected +7 -0
  149. data/spec/fixtures/responses/whois.nic.net.nf/status_registered.expected +7 -0
  150. data/spec/fixtures/responses/whois.nic.net.ng/property_status_active.expected +8 -0
  151. data/spec/fixtures/responses/whois.nic.net.ng/property_status_active.txt +41 -0
  152. data/spec/fixtures/responses/whois.nic.net.ng/property_status_delegated.expected +8 -0
  153. data/spec/fixtures/responses/whois.nic.net.ng/property_status_delegated.txt +41 -0
  154. data/spec/fixtures/responses/whois.nic.net.ng/property_status_not_registered.expected +8 -0
  155. data/spec/fixtures/responses/whois.nic.net.ng/property_status_not_registered.txt +9 -0
  156. data/spec/fixtures/responses/whois.nic.net.sb/property_status_active.expected +8 -0
  157. data/spec/fixtures/responses/whois.nic.net.sb/property_status_active.txt +72 -0
  158. data/spec/fixtures/responses/whois.nic.net.sb/property_status_delegated.expected +8 -0
  159. data/spec/fixtures/responses/whois.nic.net.sb/property_status_delegated.txt +72 -0
  160. data/spec/fixtures/responses/whois.nic.net.sb/property_status_not_registered.expected +8 -0
  161. data/spec/fixtures/responses/whois.nic.net.sb/property_status_not_registered.txt +12 -0
  162. data/spec/fixtures/responses/whois.nic.net.sb/status_available.expected +30 -0
  163. data/spec/fixtures/responses/whois.nic.net.sb/status_available.txt +12 -0
  164. data/spec/fixtures/responses/whois.nic.net.sb/status_registered.expected +37 -0
  165. data/spec/fixtures/responses/whois.nic.net.sb/status_registered.txt +72 -0
  166. data/spec/fixtures/responses/whois.nic.tl/property_status_active.expected +8 -0
  167. data/spec/fixtures/responses/whois.nic.tl/property_status_active.txt +29 -0
  168. data/spec/fixtures/responses/whois.nic.tl/property_status_delegated.expected +8 -0
  169. data/spec/fixtures/responses/whois.nic.tl/property_status_delegated.txt +72 -0
  170. data/spec/fixtures/responses/whois.nic.tl/property_status_not_registered.expected +8 -0
  171. data/spec/fixtures/responses/whois.nic.tl/property_status_not_registered.txt +21 -0
  172. data/spec/fixtures/responses/whois.nic.tl/status_available.expected +7 -0
  173. data/spec/fixtures/responses/whois.nic.tl/status_registered.expected +7 -0
  174. data/spec/fixtures/responses/whois.nic.uk/response_throttled.expected +2 -0
  175. data/spec/fixtures/responses/whois.nic.uk/response_throttled.txt +9 -0
  176. data/spec/fixtures/responses/whois.nic.uk/status_available.expected +8 -0
  177. data/spec/fixtures/responses/whois.nic.uk/status_registered.expected +19 -0
  178. data/spec/fixtures/responses/whois.nic.ve/property_status_suspendido.expected +1 -1
  179. data/spec/fixtures/responses/whois.nic.ve/{status_suspended.expected → status_inactive.expected} +1 -1
  180. data/spec/fixtures/responses/whois.nic.ve/{status_suspended.txt → status_inactive.txt} +0 -0
  181. data/spec/fixtures/responses/whois.nic.xxx/status_reserved.expected +12 -0
  182. data/spec/fixtures/responses/whois.nic.xxx/status_reserved.txt +1 -0
  183. data/spec/fixtures/responses/whois.registro.br/property_nameservers_with_ip.expected +15 -0
  184. data/spec/fixtures/responses/whois.registro.br/property_nameservers_with_ip.txt +50 -0
  185. data/spec/fixtures/responses/whois.registry.gy/property_status_active.expected +8 -0
  186. data/spec/fixtures/responses/whois.registry.gy/property_status_active.txt +58 -0
  187. data/spec/fixtures/responses/whois.registry.gy/property_status_delegated.expected +8 -0
  188. data/spec/fixtures/responses/whois.registry.gy/property_status_delegated.txt +66 -0
  189. data/spec/fixtures/responses/whois.registry.gy/property_status_not_registered.expected +8 -0
  190. data/spec/fixtures/responses/whois.registry.gy/property_status_not_registered.txt +18 -0
  191. data/spec/fixtures/responses/whois.registry.gy/status_available.expected +7 -0
  192. data/spec/fixtures/responses/whois.registry.gy/status_registered.expected +7 -0
  193. data/spec/tlds +2 -2
  194. data/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/property_nameserver_no_nameserver_spec.rb +1 -1
  195. data/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/status_available_spec.rb +1 -1
  196. data/spec/whois/record/parser/responses/jobswhois.verisign-grs.com/status_registered_spec.rb +1 -1
  197. data/spec/whois/record/parser/responses/kero.yachay.pe/status_available_spec.rb +1 -1
  198. data/spec/whois/record/parser/responses/kero.yachay.pe/status_inactive_spec.rb +1 -1
  199. data/spec/whois/record/parser/responses/kero.yachay.pe/status_registered_spec.rb +1 -1
  200. data/spec/whois/record/parser/responses/whois.adamsnames.tc/gd/status_available_spec.rb +1 -1
  201. data/spec/whois/record/parser/responses/whois.adamsnames.tc/gd/status_registered_spec.rb +1 -1
  202. data/spec/whois/record/parser/responses/whois.adamsnames.tc/tc/status_available_spec.rb +1 -1
  203. data/spec/whois/record/parser/responses/whois.adamsnames.tc/tc/status_registered_spec.rb +1 -1
  204. data/spec/whois/record/parser/responses/whois.adamsnames.tc/vg/status_available_spec.rb +1 -1
  205. data/spec/whois/record/parser/responses/whois.adamsnames.tc/vg/status_registered_spec.rb +1 -1
  206. data/spec/whois/record/parser/responses/whois.aeda.net.ae/status_available_spec.rb +1 -1
  207. data/spec/whois/record/parser/responses/whois.aeda.net.ae/status_registered_spec.rb +1 -1
  208. data/spec/whois/record/parser/responses/whois.aero/status_available_spec.rb +1 -1
  209. data/spec/whois/record/parser/responses/whois.aero/status_registered_spec.rb +1 -1
  210. data/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_available_spec.rb +1 -1
  211. data/spec/whois/record/parser/responses/whois.afilias-grs.info/bz/status_registered_spec.rb +1 -1
  212. data/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_available_spec.rb +1 -1
  213. data/spec/whois/record/parser/responses/whois.afilias-grs.info/gi/status_registered_spec.rb +1 -1
  214. data/spec/whois/record/parser/responses/whois.afilias-grs.info/hn/status_available_spec.rb +1 -1
  215. data/spec/whois/record/parser/responses/whois.afilias-grs.info/hn/status_registered_spec.rb +1 -1
  216. data/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_available_spec.rb +1 -1
  217. data/spec/whois/record/parser/responses/whois.afilias-grs.info/lc/status_registered_spec.rb +1 -1
  218. data/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_available_spec.rb +1 -1
  219. data/spec/whois/record/parser/responses/whois.afilias-grs.info/mn/status_registered_spec.rb +1 -1
  220. data/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_available_spec.rb +1 -1
  221. data/spec/whois/record/parser/responses/whois.afilias-grs.info/sc/status_registered_spec.rb +1 -1
  222. data/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_available_spec.rb +1 -1
  223. data/spec/whois/record/parser/responses/whois.afilias-grs.info/vc/status_registered_spec.rb +1 -1
  224. data/spec/whois/record/parser/responses/whois.afilias.info/status_available_spec.rb +1 -1
  225. data/spec/whois/record/parser/responses/whois.afilias.info/status_registered_spec.rb +1 -1
  226. data/spec/whois/record/parser/responses/whois.ai/status_available_spec.rb +1 -1
  227. data/spec/whois/record/parser/responses/whois.ai/status_registered_spec.rb +1 -1
  228. data/spec/whois/record/parser/responses/whois.arnes.si/status_available_spec.rb +1 -1
  229. data/spec/whois/record/parser/responses/whois.arnes.si/status_registered_spec.rb +1 -1
  230. data/spec/whois/record/parser/responses/whois.audns.net.au/property_status_with_multiple_spec.rb +1 -1
  231. data/spec/whois/record/parser/responses/whois.audns.net.au/status_available_spec.rb +1 -1
  232. data/spec/whois/record/parser/responses/whois.audns.net.au/status_registered_spec.rb +1 -1
  233. data/spec/whois/record/parser/responses/whois.biz/status_available_spec.rb +1 -1
  234. data/spec/whois/record/parser/responses/whois.biz/status_registered_spec.rb +1 -1
  235. data/spec/whois/record/parser/responses/whois.cat/property_status_missing_spec.rb +1 -1
  236. data/spec/whois/record/parser/responses/whois.cat/property_status_multiple_spec.rb +1 -1
  237. data/spec/whois/record/parser/responses/whois.cat/property_status_ok_spec.rb +1 -1
  238. data/spec/whois/record/parser/responses/whois.cat/status_available_spec.rb +1 -1
  239. data/spec/whois/record/parser/responses/whois.cat/status_registered_spec.rb +1 -1
  240. data/spec/whois/record/parser/responses/whois.cctld.uz/status_available_spec.rb +1 -1
  241. data/spec/whois/record/parser/responses/whois.cctld.uz/status_registered_spec.rb +1 -1
  242. data/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_available_spec.rb +1 -1
  243. data/spec/whois/record/parser/responses/whois.centralnic.com/ae.org/status_registered_spec.rb +1 -1
  244. data/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_available_spec.rb +1 -1
  245. data/spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_registered_spec.rb +1 -1
  246. data/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_available_spec.rb +1 -1
  247. data/spec/whois/record/parser/responses/whois.centralnic.com/br.com/status_registered_spec.rb +1 -1
  248. data/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_available_spec.rb +1 -1
  249. data/spec/whois/record/parser/responses/whois.centralnic.com/cn.com/status_registered_spec.rb +1 -1
  250. data/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_available_spec.rb +1 -1
  251. data/spec/whois/record/parser/responses/whois.centralnic.com/de.com/status_registered_spec.rb +1 -1
  252. data/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_available_spec.rb +1 -1
  253. data/spec/whois/record/parser/responses/whois.centralnic.com/eu.com/status_registered_spec.rb +1 -1
  254. data/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_available_spec.rb +1 -1
  255. data/spec/whois/record/parser/responses/whois.centralnic.com/gb.com/status_registered_spec.rb +1 -1
  256. data/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_available_spec.rb +1 -1
  257. data/spec/whois/record/parser/responses/whois.centralnic.com/gb.net/status_registered_spec.rb +1 -1
  258. data/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_available_spec.rb +1 -1
  259. data/spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_registered_spec.rb +1 -1
  260. data/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_available_spec.rb +1 -1
  261. data/spec/whois/record/parser/responses/whois.centralnic.com/jpn.com/status_registered_spec.rb +1 -1
  262. data/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_available_spec.rb +1 -1
  263. data/spec/whois/record/parser/responses/whois.centralnic.com/kr.com/status_registered_spec.rb +1 -1
  264. data/spec/whois/record/parser/responses/whois.centralnic.com/no.com/status_available_spec.rb +1 -1
  265. data/spec/whois/record/parser/responses/whois.centralnic.com/no.com/status_registered_spec.rb +1 -1
  266. data/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_available_spec.rb +1 -1
  267. data/spec/whois/record/parser/responses/whois.centralnic.com/qc.com/status_registered_spec.rb +1 -1
  268. data/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_available_spec.rb +1 -1
  269. data/spec/whois/record/parser/responses/whois.centralnic.com/ru.com/status_registered_spec.rb +1 -1
  270. data/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_available_spec.rb +1 -1
  271. data/spec/whois/record/parser/responses/whois.centralnic.com/sa.com/status_registered_spec.rb +1 -1
  272. data/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_available_spec.rb +1 -1
  273. data/spec/whois/record/parser/responses/whois.centralnic.com/se.com/status_registered_spec.rb +1 -1
  274. data/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_available_spec.rb +1 -1
  275. data/spec/whois/record/parser/responses/whois.centralnic.com/se.net/status_registered_spec.rb +1 -1
  276. data/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_available_spec.rb +1 -1
  277. data/spec/whois/record/parser/responses/whois.centralnic.com/uk.com/status_registered_spec.rb +1 -1
  278. data/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_available_spec.rb +1 -1
  279. data/spec/whois/record/parser/responses/whois.centralnic.com/uk.net/status_registered_spec.rb +1 -1
  280. data/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_available_spec.rb +1 -1
  281. data/spec/whois/record/parser/responses/whois.centralnic.com/us.com/status_registered_spec.rb +1 -1
  282. data/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_available_spec.rb +1 -1
  283. data/spec/whois/record/parser/responses/whois.centralnic.com/uy.com/status_registered_spec.rb +1 -1
  284. data/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_available_spec.rb +1 -1
  285. data/spec/whois/record/parser/responses/whois.centralnic.com/za.com/status_registered_spec.rb +1 -1
  286. data/spec/whois/record/parser/responses/whois.cira.ca/schema-1/status_available_spec.rb +1 -1
  287. data/spec/whois/record/parser/responses/whois.cira.ca/schema-1/status_registered_spec.rb +1 -1
  288. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/property_status_autorenew_grace_spec.rb +1 -1
  289. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/property_status_available_spec.rb +1 -1
  290. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/property_status_redemption_spec.rb +1 -1
  291. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/property_status_registered_spec.rb +1 -1
  292. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/property_status_tobereleased_spec.rb +1 -1
  293. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/status_available_spec.rb +1 -1
  294. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/status_invalid_spec.rb +1 -1
  295. data/spec/whois/record/parser/responses/whois.cira.ca/schema-2/status_registered_spec.rb +1 -1
  296. data/spec/whois/record/parser/responses/whois.cnnic.cn/property_status_ok_spec.rb +1 -1
  297. data/spec/whois/record/parser/responses/whois.cnnic.cn/status_available_spec.rb +1 -1
  298. data/spec/whois/record/parser/responses/whois.cnnic.cn/status_registered_spec.rb +1 -1
  299. data/spec/whois/record/parser/responses/whois.cnnic.cn/status_reserved_spec.rb +1 -1
  300. data/spec/whois/record/parser/responses/whois.co.ca/status_available_spec.rb +1 -1
  301. data/spec/whois/record/parser/responses/whois.co.ca/status_registered_spec.rb +1 -1
  302. data/spec/whois/record/parser/responses/whois.co.ca/status_reserved_spec.rb +1 -1
  303. data/spec/whois/record/parser/responses/whois.co.pl/status_available_spec.rb +1 -1
  304. data/spec/whois/record/parser/responses/whois.co.pl/status_registered_spec.rb +1 -1
  305. data/spec/whois/record/parser/responses/whois.co.ug/status_available_spec.rb +1 -1
  306. data/spec/whois/record/parser/responses/whois.co.ug/status_registered_spec.rb +1 -1
  307. data/spec/whois/record/parser/responses/whois.coza.net.za/status_available_spec.rb +1 -1
  308. data/spec/whois/record/parser/responses/whois.coza.net.za/status_registered_spec.rb +1 -1
  309. data/spec/whois/record/parser/responses/whois.crsnic.net/property_nameserver_no_nameserver_spec.rb +1 -1
  310. data/spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb +1 -1
  311. data/spec/whois/record/parser/responses/whois.crsnic.net/status_available_spec.rb +1 -1
  312. data/spec/whois/record/parser/responses/whois.crsnic.net/status_registered_spec.rb +1 -1
  313. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.10.0/status_available_spec.rb +1 -1
  314. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.10.0/status_registered_spec.rb +1 -1
  315. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.11.0/property_nameservers_with_ip_spec.rb +1 -1
  316. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.11.0/status_available_spec.rb +1 -1
  317. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.11.0/status_invalid_spec.rb +1 -1
  318. data/spec/whois/record/parser/responses/whois.denic.de/schema-1.11.0/status_registered_spec.rb +1 -1
  319. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/property_nameservers_with_ip_spec.rb +1 -1
  320. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/response_throttled_spec.rb +1 -1
  321. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/status_available_spec.rb +1 -1
  322. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/status_failed_ace_spec.rb +1 -1
  323. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/status_failed_spec.rb +1 -1
  324. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/status_invalid_spec.rb +1 -1
  325. data/spec/whois/record/parser/responses/whois.denic.de/schema-2.0/status_registered_spec.rb +1 -1
  326. data/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/status_available_spec.rb +1 -1
  327. data/spec/whois/record/parser/responses/whois.dk-hostmaster.dk/status_registered_spec.rb +1 -1
  328. data/spec/whois/record/parser/responses/whois.dns.be/property_nameservers_with_ip_spec.rb +1 -1
  329. data/spec/whois/record/parser/responses/whois.dns.be/response_throttled_spec.rb +1 -1
  330. data/spec/whois/record/parser/responses/whois.dns.be/status_available_spec.rb +1 -1
  331. data/spec/whois/record/parser/responses/whois.dns.be/status_registered_spec.rb +1 -1
  332. data/spec/whois/record/parser/responses/whois.dns.lu/property_nameservers_with_ip_spec.rb +1 -1
  333. data/spec/whois/record/parser/responses/whois.dns.lu/status_available_spec.rb +1 -1
  334. data/spec/whois/record/parser/responses/whois.dns.lu/status_registered_spec.rb +1 -1
  335. data/spec/whois/record/parser/responses/whois.dns.pl/property_nameservers_with_ip_spec.rb +1 -1
  336. data/spec/whois/record/parser/responses/whois.dns.pl/status_available_spec.rb +1 -1
  337. data/spec/whois/record/parser/responses/whois.dns.pl/status_registered_spec.rb +1 -1
  338. data/spec/whois/record/parser/responses/whois.dns.pt/property_nameservers_spec.rb +1 -1
  339. data/spec/whois/record/parser/responses/whois.dns.pt/property_nameservers_without_host_spec.rb +1 -1
  340. data/spec/whois/record/parser/responses/whois.dns.pt/property_status_techpro_spec.rb +39 -0
  341. data/spec/whois/record/parser/responses/whois.dns.pt/status_available_spec.rb +2 -2
  342. data/spec/whois/record/parser/responses/whois.dns.pt/status_inactive_spec.rb +62 -0
  343. data/spec/whois/record/parser/responses/whois.dns.pt/status_registered_spec.rb +3 -2
  344. data/spec/whois/record/parser/responses/whois.dns.pt/status_reserved_spec.rb +2 -2
  345. data/spec/whois/record/parser/responses/whois.domain-registry.nl/property_nameservers_with_ip_spec.rb +1 -1
  346. data/spec/whois/record/parser/responses/whois.domain-registry.nl/response_throttled_daily_spec.rb +1 -1
  347. data/spec/whois/record/parser/responses/whois.domain-registry.nl/response_throttled_spec.rb +1 -1
  348. data/spec/whois/record/parser/responses/whois.domain-registry.nl/response_unavailable_spec.rb +1 -1
  349. data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_available_spec.rb +1 -1
  350. data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_quarantine_spec.rb +1 -1
  351. data/spec/whois/record/parser/responses/whois.domain-registry.nl/status_registered_spec.rb +1 -1
  352. data/spec/whois/record/parser/responses/whois.domain.kg/status_available_spec.rb +1 -1
  353. data/spec/whois/record/parser/responses/whois.domain.kg/status_registered_spec.rb +1 -1
  354. data/spec/whois/record/parser/responses/whois.domainregistry.ie/property_nameservers_with_ip_spec.rb +1 -1
  355. data/spec/whois/record/parser/responses/whois.domainregistry.ie/status_available_spec.rb +1 -1
  356. data/spec/whois/record/parser/responses/whois.domainregistry.ie/status_registered_spec.rb +1 -1
  357. data/spec/whois/record/parser/responses/whois.domainregistry.my/status_available_spec.rb +1 -1
  358. data/spec/whois/record/parser/responses/whois.domainregistry.my/status_registered_spec.rb +1 -1
  359. data/spec/whois/record/parser/responses/whois.domreg.lt/property_nameservers_with_ip_spec.rb +1 -1
  360. data/spec/whois/record/parser/responses/whois.domreg.lt/status_available_spec.rb +1 -1
  361. data/spec/whois/record/parser/responses/whois.domreg.lt/status_registered_spec.rb +1 -1
  362. data/spec/whois/record/parser/responses/whois.dot.tk/status_available_spec.rb +1 -1
  363. data/spec/whois/record/parser/responses/whois.dot.tk/status_registered_spec.rb +1 -1
  364. data/spec/whois/record/parser/responses/whois.dotmobiregistry.net/status_available_spec.rb +1 -1
  365. data/spec/whois/record/parser/responses/whois.dotmobiregistry.net/status_registered_spec.rb +1 -1
  366. data/spec/whois/record/parser/responses/whois.educause.edu/property_updated_on_unknown_spec.rb +1 -1
  367. data/spec/whois/record/parser/responses/whois.educause.edu/status_available_spec.rb +1 -1
  368. data/spec/whois/record/parser/responses/whois.educause.edu/status_registered_spec.rb +1 -1
  369. data/spec/whois/record/parser/responses/whois.eenet.ee/status_available_spec.rb +1 -1
  370. data/spec/whois/record/parser/responses/whois.eenet.ee/status_registered_spec.rb +1 -1
  371. data/spec/whois/record/parser/responses/whois.eu.org/status_available_spec.rb +1 -1
  372. data/spec/whois/record/parser/responses/whois.eu.org/status_registered_spec.rb +1 -1
  373. data/spec/whois/record/parser/responses/whois.eu/property_nameservers_spec.rb +1 -1
  374. data/spec/whois/record/parser/responses/whois.eu/status_available_spec.rb +1 -1
  375. data/spec/whois/record/parser/responses/whois.eu/status_registered_spec.rb +1 -1
  376. data/spec/whois/record/parser/responses/whois.ficora.fi/status_available_spec.rb +1 -1
  377. data/spec/whois/record/parser/responses/whois.ficora.fi/status_registered_spec.rb +1 -1
  378. data/spec/whois/record/parser/responses/whois.gg/status_available_spec.rb +1 -1
  379. data/spec/whois/record/parser/responses/whois.gg/status_registered_spec.rb +1 -1
  380. data/spec/whois/record/parser/responses/whois.godaddy.com/status_registered_spec.rb +1 -19
  381. data/spec/whois/record/parser/responses/whois.gov.za/status_available_spec.rb +1 -1
  382. data/spec/whois/record/parser/responses/whois.gov.za/status_registered_spec.rb +1 -1
  383. data/spec/whois/record/parser/responses/whois.hkirc.hk/status_available_spec.rb +1 -1
  384. data/spec/whois/record/parser/responses/whois.hkirc.hk/status_registered_spec.rb +1 -1
  385. data/spec/whois/record/parser/responses/whois.iam.net.ma/status_available_spec.rb +1 -1
  386. data/spec/whois/record/parser/responses/whois.iam.net.ma/status_registered_spec.rb +1 -1
  387. data/spec/whois/record/parser/responses/whois.iana.org/status_available_spec.rb +1 -1
  388. data/spec/whois/record/parser/responses/whois.iana.org/status_not_assigned_spec.rb +1 -1
  389. data/spec/whois/record/parser/responses/whois.iana.org/status_registered_spec.rb +1 -1
  390. data/spec/whois/record/parser/responses/whois.in.ua/status_available_spec.rb +1 -1
  391. data/spec/whois/record/parser/responses/whois.in.ua/status_registered_spec.rb +1 -1
  392. data/spec/whois/record/parser/responses/whois.isnic.is/status_available_spec.rb +1 -1
  393. data/spec/whois/record/parser/responses/whois.isnic.is/status_registered_spec.rb +1 -1
  394. data/spec/whois/record/parser/responses/whois.isoc.org.il/property_status_missing_spec.rb +1 -1
  395. data/spec/whois/record/parser/responses/whois.isoc.org.il/property_status_transfer_allowed_spec.rb +1 -1
  396. data/spec/whois/record/parser/responses/whois.isoc.org.il/property_status_transfer_locked_spec.rb +1 -1
  397. data/spec/whois/record/parser/responses/whois.isoc.org.il/status_available_spec.rb +1 -1
  398. data/spec/whois/record/parser/responses/whois.isoc.org.il/status_registered_spec.rb +1 -1
  399. data/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_available_spec.rb +1 -1
  400. data/spec/whois/record/parser/responses/whois.ja.net/ac.uk/status_registered_spec.rb +1 -1
  401. data/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_available_spec.rb +1 -1
  402. data/spec/whois/record/parser/responses/whois.ja.net/gov.uk/status_registered_spec.rb +1 -1
  403. data/spec/whois/record/parser/responses/whois.je/status_available_spec.rb +3 -3
  404. data/spec/whois/record/parser/responses/whois.je/status_registered_spec.rb +8 -6
  405. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_created_on_and_expires_on_missing_spec.rb +1 -1
  406. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_expires_on_missing_spec.rb +1 -1
  407. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/property_updates_on_error_out-of-range_spec.rb +1 -1
  408. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_available_spec.rb +1 -1
  409. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_registered_spec.rb +1 -1
  410. data/spec/whois/record/parser/responses/whois.jprs.jp/jp/status_reserved_spec.rb +1 -1
  411. data/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_available_spec.rb +1 -1
  412. data/spec/whois/record/parser/responses/whois.jprs.jp/ne.jp/status_registered_spec.rb +1 -1
  413. data/spec/whois/record/parser/responses/whois.kenic.or.ke/status_available_spec.rb +1 -1
  414. data/spec/whois/record/parser/responses/whois.kenic.or.ke/status_registered_spec.rb +1 -1
  415. data/spec/whois/record/parser/responses/whois.kr/property_nameservers_with_ip_spec.rb +1 -1
  416. data/spec/whois/record/parser/responses/whois.kr/status_available_spec.rb +1 -1
  417. data/spec/whois/record/parser/responses/whois.kr/status_registered_spec.rb +1 -1
  418. data/spec/whois/record/parser/responses/whois.markmonitor.com/property_contacts_are_blank_spec.rb +1 -1
  419. data/spec/whois/record/parser/responses/whois.markmonitor.com/status_registered_spec.rb +1 -1
  420. data/spec/whois/record/parser/responses/whois.meregistry.net/property_nameservers_is_blank_spec.rb +1 -1
  421. data/spec/whois/record/parser/responses/whois.meregistry.net/property_updated_on_is_blank_spec.rb +1 -1
  422. data/spec/whois/record/parser/responses/whois.meregistry.net/status_available_spec.rb +1 -1
  423. data/spec/whois/record/parser/responses/whois.meregistry.net/status_registered_spec.rb +1 -1
  424. data/spec/whois/record/parser/responses/whois.museum/status_available_spec.rb +1 -1
  425. data/spec/whois/record/parser/responses/whois.museum/status_registered_spec.rb +1 -1
  426. data/spec/whois/record/parser/responses/whois.na-nic.com.na/property_status_suspended_spec.rb +39 -0
  427. data/spec/whois/record/parser/responses/whois.na-nic.com.na/status_available_spec.rb +11 -1
  428. data/spec/whois/record/parser/responses/whois.na-nic.com.na/status_registered_spec.rb +11 -1
  429. data/spec/whois/record/parser/responses/whois.net.ua/property_nameservers_uppercase_spec.rb +1 -1
  430. data/spec/whois/record/parser/responses/whois.net.ua/status_available_spec.rb +1 -1
  431. data/spec/whois/record/parser/responses/whois.net.ua/status_registered_spec.rb +1 -1
  432. data/spec/whois/record/parser/responses/whois.netcom.cm/status_available_spec.rb +1 -1
  433. data/spec/whois/record/parser/responses/whois.netcom.cm/status_registered_spec.rb +1 -1
  434. data/spec/whois/record/parser/responses/whois.nic-se.se/property_datetime_is_dash_spec.rb +1 -1
  435. data/spec/whois/record/parser/responses/whois.nic-se.se/property_nameservers_with_ip_spec.rb +1 -1
  436. data/spec/whois/record/parser/responses/whois.nic-se.se/status_available_spec.rb +1 -1
  437. data/spec/whois/record/parser/responses/whois.nic-se.se/status_inactive_spec.rb +1 -1
  438. data/spec/whois/record/parser/responses/whois.nic-se.se/status_registered_spec.rb +1 -1
  439. data/spec/whois/record/parser/responses/whois.nic.ac/status_available_spec.rb +1 -1
  440. data/spec/whois/record/parser/responses/whois.nic.ac/status_registered_spec.rb +1 -1
  441. data/spec/whois/record/parser/responses/whois.nic.af/property_status_active_spec.rb +1 -1
  442. data/spec/whois/record/parser/responses/whois.nic.af/property_status_delegated_spec.rb +1 -1
  443. data/spec/whois/record/parser/responses/whois.nic.af/property_status_not_registered_spec.rb +1 -1
  444. data/spec/whois/record/parser/responses/whois.nic.af/status_available_spec.rb +11 -1
  445. data/spec/whois/record/parser/responses/whois.nic.af/status_registered_spec.rb +11 -1
  446. data/spec/whois/record/parser/responses/whois.nic.ag/status_available_spec.rb +1 -1
  447. data/spec/whois/record/parser/responses/whois.nic.ag/status_registered_spec.rb +1 -1
  448. data/spec/whois/record/parser/responses/whois.nic.am/status_available_spec.rb +1 -1
  449. data/spec/whois/record/parser/responses/whois.nic.am/status_registered_spec.rb +1 -1
  450. data/spec/whois/record/parser/responses/whois.nic.as/status_available_spec.rb +1 -1
  451. data/spec/whois/record/parser/responses/whois.nic.as/status_registered_spec.rb +1 -1
  452. data/spec/whois/record/parser/responses/whois.nic.asia/property_status_multiple_spec.rb +1 -1
  453. data/spec/whois/record/parser/responses/whois.nic.asia/property_status_single_spec.rb +1 -1
  454. data/spec/whois/record/parser/responses/whois.nic.asia/status_available_spec.rb +1 -1
  455. data/spec/whois/record/parser/responses/whois.nic.asia/status_registered_spec.rb +1 -1
  456. data/spec/whois/record/parser/responses/whois.nic.at/status_available_spec.rb +1 -1
  457. data/spec/whois/record/parser/responses/whois.nic.at/status_registered_spec.rb +1 -1
  458. data/spec/whois/record/parser/responses/whois.nic.bo/status_available_spec.rb +1 -1
  459. data/spec/whois/record/parser/responses/whois.nic.bo/status_registered_spec.rb +1 -1
  460. data/spec/whois/record/parser/responses/whois.nic.cc/property_nameserver_no_nameserver_spec.rb +1 -1
  461. data/spec/whois/record/parser/responses/whois.nic.cc/status_available_spec.rb +1 -1
  462. data/spec/whois/record/parser/responses/whois.nic.cc/status_registered_spec.rb +1 -1
  463. data/spec/whois/record/parser/responses/whois.nic.cd/status_available_spec.rb +1 -1
  464. data/spec/whois/record/parser/responses/whois.nic.cd/status_registered_spec.rb +1 -1
  465. data/spec/whois/record/parser/responses/whois.nic.ch/property_nameservers_with_ip_spec.rb +1 -1
  466. data/spec/whois/record/parser/responses/whois.nic.ch/status_available_spec.rb +1 -1
  467. data/spec/whois/record/parser/responses/whois.nic.ch/status_registered_spec.rb +1 -1
  468. data/spec/whois/record/parser/responses/whois.nic.ci/status_available_spec.rb +1 -1
  469. data/spec/whois/record/parser/responses/whois.nic.ci/status_registered_spec.rb +1 -1
  470. data/spec/whois/record/parser/responses/whois.nic.ck/status_available_spec.rb +1 -1
  471. data/spec/whois/record/parser/responses/whois.nic.ck/status_registered_spec.rb +1 -1
  472. data/spec/whois/record/parser/responses/whois.nic.cl/status_available_spec.rb +1 -1
  473. data/spec/whois/record/parser/responses/whois.nic.cl/status_registered_spec.rb +1 -1
  474. data/spec/whois/record/parser/responses/whois.nic.co/status_available_spec.rb +1 -1
  475. data/spec/whois/record/parser/responses/whois.nic.co/status_registered_spec.rb +1 -1
  476. data/spec/whois/record/parser/responses/whois.nic.coop/property_status_multiple_spec.rb +29 -0
  477. data/spec/whois/record/parser/responses/whois.nic.coop/property_status_single_spec.rb +29 -0
  478. data/spec/whois/record/parser/responses/whois.nic.coop/status_available_spec.rb +2 -2
  479. data/spec/whois/record/parser/responses/whois.nic.coop/status_registered_spec.rb +2 -2
  480. data/spec/whois/record/parser/responses/whois.nic.cx/property_status_active_spec.rb +39 -0
  481. data/spec/whois/record/parser/responses/whois.nic.cx/property_status_delegated_spec.rb +39 -0
  482. data/spec/whois/record/parser/responses/whois.nic.cx/property_status_not_registered_spec.rb +39 -0
  483. data/spec/whois/record/parser/responses/whois.nic.cx/status_available_spec.rb +11 -1
  484. data/spec/whois/record/parser/responses/whois.nic.cx/status_registered_spec.rb +11 -1
  485. data/spec/whois/record/parser/responses/whois.nic.cz/property_nameservers_with_ip_spec.rb +10 -6
  486. data/spec/whois/record/parser/responses/whois.nic.cz/property_status_expired_spec.rb +1 -1
  487. data/spec/whois/record/parser/responses/whois.nic.cz/property_status_missing_spec.rb +1 -1
  488. data/spec/whois/record/parser/responses/whois.nic.cz/property_status_paid_spec.rb +1 -1
  489. data/spec/whois/record/parser/responses/whois.nic.cz/property_status_update_prohibited_spec.rb +1 -1
  490. data/spec/whois/record/parser/responses/whois.nic.cz/status_available_spec.rb +1 -1
  491. data/spec/whois/record/parser/responses/whois.nic.cz/status_registered_spec.rb +1 -1
  492. data/spec/whois/record/parser/responses/whois.nic.dz/dz/status_available_spec.rb +1 -1
  493. data/spec/whois/record/parser/responses/whois.nic.dz/dz/status_registered_spec.rb +1 -1
  494. data/spec/whois/record/parser/responses/whois.nic.ec/status_available_spec.rb +1 -1
  495. data/spec/whois/record/parser/responses/whois.nic.ec/status_registered_spec.rb +1 -1
  496. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_spec.rb +1 -1
  497. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_nameservers_with_ipv4_and_some_ipv6_spec.rb +1 -1
  498. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_active_spec.rb +39 -0
  499. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_blocked_spec.rb +39 -0
  500. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_missing_spec.rb +1 -1
  501. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_redemption_spec.rb +1 -1
  502. data/spec/whois/record/parser/responses/whois.nic.fr/fr/property_status_registered_spec.rb +1 -1
  503. data/spec/whois/record/parser/responses/whois.nic.fr/fr/status_available_spec.rb +19 -1
  504. data/spec/whois/record/parser/responses/whois.nic.fr/fr/status_registered_spec.rb +63 -1
  505. data/spec/whois/record/parser/responses/whois.nic.fr/pm/property_nameservers_with_ipv4_and_ipv6_spec.rb +1 -1
  506. data/spec/whois/record/parser/responses/whois.nic.fr/pm/status_available_spec.rb +19 -1
  507. data/spec/whois/record/parser/responses/whois.nic.fr/pm/status_registered_spec.rb +63 -1
  508. data/spec/whois/record/parser/responses/whois.nic.fr/re/property_nameservers_with_ipv4_and_ipv6_spec.rb +1 -1
  509. data/spec/whois/record/parser/responses/whois.nic.fr/re/status_available_spec.rb +19 -1
  510. data/spec/whois/record/parser/responses/whois.nic.fr/re/status_registered_spec.rb +63 -1
  511. data/spec/whois/record/parser/responses/whois.nic.fr/tf/property_status_frozen_spec.rb +1 -1
  512. data/spec/whois/record/parser/responses/whois.nic.fr/tf/status_available_spec.rb +19 -1
  513. data/spec/whois/record/parser/responses/whois.nic.fr/tf/status_registered_spec.rb +63 -1
  514. data/spec/whois/record/parser/responses/whois.nic.fr/wf/status_available_spec.rb +19 -1
  515. data/spec/whois/record/parser/responses/whois.nic.fr/wf/status_registered_spec.rb +63 -1
  516. data/spec/whois/record/parser/responses/whois.nic.fr/yt/status_available_spec.rb +19 -1
  517. data/spec/whois/record/parser/responses/whois.nic.fr/yt/status_registered_spec.rb +63 -1
  518. data/spec/whois/record/parser/responses/whois.nic.gl/status_available_spec.rb +1 -1
  519. data/spec/whois/record/parser/responses/whois.nic.gl/status_registered_spec.rb +1 -1
  520. data/spec/whois/record/parser/responses/whois.nic.gov/status_available_spec.rb +1 -1
  521. data/spec/whois/record/parser/responses/whois.nic.gov/status_registered_spec.rb +1 -1
  522. data/spec/whois/record/parser/responses/whois.nic.gs/property_status_active_spec.rb +39 -0
  523. data/spec/whois/record/parser/responses/whois.nic.gs/property_status_delegated_spec.rb +39 -0
  524. data/spec/whois/record/parser/responses/whois.nic.gs/property_status_not_registered_spec.rb +39 -0
  525. data/spec/whois/record/parser/responses/whois.nic.gs/status_available_spec.rb +11 -1
  526. data/spec/whois/record/parser/responses/whois.nic.gs/status_registered_spec.rb +11 -1
  527. data/spec/whois/record/parser/responses/whois.nic.ht/property_status_active_spec.rb +39 -0
  528. data/spec/whois/record/parser/responses/whois.nic.ht/property_status_delegated_spec.rb +39 -0
  529. data/spec/whois/record/parser/responses/whois.nic.ht/property_status_not_registered_spec.rb +39 -0
  530. data/spec/whois/record/parser/responses/whois.nic.ht/status_available_spec.rb +11 -1
  531. data/spec/whois/record/parser/responses/whois.nic.ht/status_registered_spec.rb +14 -4
  532. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/property_contact_company_spec.rb +1 -1
  533. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/property_contact_private_person_spec.rb +1 -1
  534. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/property_contact_without_address_spec.rb +1 -1
  535. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/status_available_spec.rb +1 -1
  536. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/status_in_progress_spec.rb +1 -1
  537. data/spec/whois/record/parser/responses/whois.nic.hu/schema-1.99/status_registered_spec.rb +1 -1
  538. data/spec/whois/record/parser/responses/whois.nic.hu/schema-current/status_available_spec.rb +1 -1
  539. data/spec/whois/record/parser/responses/whois.nic.hu/schema-current/status_registered_spec.rb +1 -1
  540. data/spec/whois/record/parser/responses/whois.nic.im/status_available_spec.rb +1 -1
  541. data/spec/whois/record/parser/responses/whois.nic.im/status_registered_spec.rb +1 -1
  542. data/spec/whois/record/parser/responses/whois.nic.io/status_available_spec.rb +1 -1
  543. data/spec/whois/record/parser/responses/whois.nic.io/status_registered_spec.rb +1 -1
  544. data/spec/whois/record/parser/responses/whois.nic.ir/status_available_spec.rb +1 -1
  545. data/spec/whois/record/parser/responses/whois.nic.ir/status_registered_spec.rb +1 -1
  546. data/spec/whois/record/parser/responses/whois.nic.it/property_contact_province_spec.rb +1 -1
  547. data/spec/whois/record/parser/responses/whois.nic.it/property_contact_with_company_in_address_spec.rb +1 -1
  548. data/spec/whois/record/parser/responses/whois.nic.it/property_contact_with_organization_spec.rb +1 -1
  549. data/spec/whois/record/parser/responses/whois.nic.it/property_status_active_spec.rb +1 -1
  550. data/spec/whois/record/parser/responses/whois.nic.it/property_status_available_spec.rb +1 -1
  551. data/spec/whois/record/parser/responses/whois.nic.it/property_status_client_spec.rb +1 -1
  552. data/spec/whois/record/parser/responses/whois.nic.it/property_status_graceperiod_spec.rb +1 -1
  553. data/spec/whois/record/parser/responses/whois.nic.it/property_status_inactive_noregistrar_spec.rb +1 -1
  554. data/spec/whois/record/parser/responses/whois.nic.it/property_status_no_provider_spec.rb +1 -1
  555. data/spec/whois/record/parser/responses/whois.nic.it/property_status_ok_autorenew_spec.rb +1 -1
  556. data/spec/whois/record/parser/responses/whois.nic.it/property_status_ok_spec.rb +1 -1
  557. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingdelete_pendingdelete_spec.rb +1 -1
  558. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingdelete_redemptionperiod_spec.rb +1 -1
  559. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingtransfer_autorenewperiod_spec.rb +39 -0
  560. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingtransfer_spec.rb +1 -1
  561. data/spec/whois/record/parser/responses/whois.nic.it/property_status_pendingupdate_spec.rb +1 -1
  562. data/spec/whois/record/parser/responses/whois.nic.it/property_status_redemption_no_provider_spec.rb +1 -1
  563. data/spec/whois/record/parser/responses/whois.nic.it/property_status_unassignable_spec.rb +1 -1
  564. data/spec/whois/record/parser/responses/whois.nic.it/property_technical_contact_spec.rb +1 -1
  565. data/spec/whois/record/parser/responses/whois.nic.it/response_unavailable_spec.rb +1 -1
  566. data/spec/whois/record/parser/responses/whois.nic.it/status_available_spec.rb +1 -1
  567. data/spec/whois/record/parser/responses/whois.nic.it/status_registered_spec.rb +1 -1
  568. data/spec/whois/record/parser/responses/whois.nic.it/status_reserved_spec.rb +44 -0
  569. data/spec/whois/record/parser/responses/whois.nic.ki/property_status_active_spec.rb +39 -0
  570. data/spec/whois/record/parser/responses/whois.nic.ki/property_status_delegated_spec.rb +39 -0
  571. data/spec/whois/record/parser/responses/whois.nic.ki/property_status_not_registered_spec.rb +39 -0
  572. data/spec/whois/record/parser/responses/whois.nic.ki/status_available_spec.rb +11 -1
  573. data/spec/whois/record/parser/responses/whois.nic.ki/status_registered_spec.rb +11 -1
  574. data/spec/whois/record/parser/responses/whois.nic.kz/property_status_missing_spec.rb +1 -1
  575. data/spec/whois/record/parser/responses/whois.nic.kz/property_status_multiple_spec.rb +1 -1
  576. data/spec/whois/record/parser/responses/whois.nic.kz/property_status_ok_spec.rb +1 -1
  577. data/spec/whois/record/parser/responses/whois.nic.kz/status_available_spec.rb +1 -1
  578. data/spec/whois/record/parser/responses/whois.nic.kz/status_registered_spec.rb +1 -1
  579. data/spec/whois/record/parser/responses/whois.nic.la/property_status_multiple_spec.rb +29 -0
  580. data/spec/whois/record/parser/responses/whois.nic.la/property_status_single_spec.rb +29 -0
  581. data/spec/whois/record/parser/responses/whois.nic.la/status_available_spec.rb +2 -2
  582. data/spec/whois/record/parser/responses/whois.nic.la/status_registered_spec.rb +2 -2
  583. data/spec/whois/record/parser/responses/whois.nic.li/status_available_spec.rb +1 -1
  584. data/spec/whois/record/parser/responses/whois.nic.li/status_registered_spec.rb +1 -1
  585. data/spec/whois/record/parser/responses/whois.nic.lv/status_available_spec.rb +1 -1
  586. data/spec/whois/record/parser/responses/whois.nic.lv/status_registered_spec.rb +1 -1
  587. data/spec/whois/record/parser/responses/whois.nic.ly/status_available_spec.rb +1 -1
  588. data/spec/whois/record/parser/responses/whois.nic.ly/status_registered_spec.rb +1 -1
  589. data/spec/whois/record/parser/responses/whois.nic.md/status_available_spec.rb +1 -1
  590. data/spec/whois/record/parser/responses/whois.nic.md/status_registered_spec.rb +1 -1
  591. data/spec/whois/record/parser/responses/whois.nic.mg/status_available_spec.rb +1 -1
  592. data/spec/whois/record/parser/responses/whois.nic.mg/status_registered_spec.rb +1 -1
  593. data/spec/whois/record/parser/responses/whois.nic.ms/property_status_active_spec.rb +39 -0
  594. data/spec/whois/record/parser/responses/whois.nic.ms/property_status_delegated_spec.rb +39 -0
  595. data/spec/whois/record/parser/responses/whois.nic.ms/property_status_not_registered_spec.rb +39 -0
  596. data/spec/whois/record/parser/responses/whois.nic.ms/status_available_spec.rb +11 -1
  597. data/spec/whois/record/parser/responses/whois.nic.ms/status_registered_spec.rb +11 -1
  598. data/spec/whois/record/parser/responses/whois.nic.mu/property_status_active_spec.rb +39 -0
  599. data/spec/whois/record/parser/responses/whois.nic.mu/property_status_delegated_spec.rb +39 -0
  600. data/spec/whois/record/parser/responses/whois.nic.mu/property_status_not_registered_spec.rb +39 -0
  601. data/spec/whois/record/parser/responses/whois.nic.mu/status_available_spec.rb +11 -1
  602. data/spec/whois/record/parser/responses/whois.nic.mu/status_registered_spec.rb +11 -1
  603. data/spec/whois/record/parser/responses/whois.nic.mx/property_nameservers_with_ip_spec.rb +1 -1
  604. data/spec/whois/record/parser/responses/whois.nic.mx/status_available_spec.rb +1 -1
  605. data/spec/whois/record/parser/responses/whois.nic.mx/status_registered_spec.rb +1 -1
  606. data/spec/whois/record/parser/responses/whois.nic.name/status_available_spec.rb +1 -1
  607. data/spec/whois/record/parser/responses/whois.nic.name/status_registered_spec.rb +1 -1
  608. data/spec/whois/record/parser/responses/whois.nic.net.nf/property_status_active_spec.rb +39 -0
  609. data/spec/whois/record/parser/responses/whois.nic.net.nf/property_status_delegated_spec.rb +39 -0
  610. data/spec/whois/record/parser/responses/whois.nic.net.nf/property_status_excluded_pendingdelete_restorable_spec.rb +39 -0
  611. data/spec/whois/record/parser/responses/whois.nic.net.nf/property_status_not_registered_spec.rb +39 -0
  612. data/spec/whois/record/parser/responses/whois.nic.net.nf/status_available_spec.rb +11 -1
  613. data/spec/whois/record/parser/responses/whois.nic.net.nf/status_registered_spec.rb +11 -1
  614. data/spec/whois/record/parser/responses/whois.nic.net.ng/property_status_active_spec.rb +39 -0
  615. data/spec/whois/record/parser/responses/whois.nic.net.ng/property_status_delegated_spec.rb +39 -0
  616. data/spec/whois/record/parser/responses/whois.nic.net.ng/property_status_not_registered_spec.rb +39 -0
  617. data/spec/whois/record/parser/responses/whois.nic.net.ng/status_available_spec.rb +1 -1
  618. data/spec/whois/record/parser/responses/whois.nic.net.ng/status_registered_spec.rb +1 -1
  619. data/spec/whois/record/parser/responses/whois.nic.net.sa/status_available_spec.rb +1 -1
  620. data/spec/whois/record/parser/responses/whois.nic.net.sa/status_registered_spec.rb +1 -1
  621. data/spec/whois/record/parser/responses/whois.nic.net.sb/property_status_active_spec.rb +39 -0
  622. data/spec/whois/record/parser/responses/whois.nic.net.sb/property_status_delegated_spec.rb +39 -0
  623. data/spec/whois/record/parser/responses/whois.nic.net.sb/property_status_not_registered_spec.rb +39 -0
  624. data/spec/whois/record/parser/responses/whois.nic.net.sb/status_available_spec.rb +70 -0
  625. data/spec/whois/record/parser/responses/whois.nic.net.sb/status_registered_spec.rb +77 -0
  626. data/spec/whois/record/parser/responses/whois.nic.nu/status_available_spec.rb +1 -1
  627. data/spec/whois/record/parser/responses/whois.nic.nu/status_registered_spec.rb +1 -1
  628. data/spec/whois/record/parser/responses/whois.nic.org.uy/status_available_spec.rb +1 -1
  629. data/spec/whois/record/parser/responses/whois.nic.org.uy/status_registered_spec.rb +1 -1
  630. data/spec/whois/record/parser/responses/whois.nic.pr/status_available_spec.rb +1 -1
  631. data/spec/whois/record/parser/responses/whois.nic.pr/status_registered_spec.rb +1 -1
  632. data/spec/whois/record/parser/responses/whois.nic.priv.at/status_available_spec.rb +1 -1
  633. data/spec/whois/record/parser/responses/whois.nic.priv.at/status_registered_spec.rb +1 -1
  634. data/spec/whois/record/parser/responses/whois.nic.sh/status_available_spec.rb +1 -1
  635. data/spec/whois/record/parser/responses/whois.nic.sh/status_registered_spec.rb +1 -1
  636. data/spec/whois/record/parser/responses/whois.nic.sl/status_available_spec.rb +1 -1
  637. data/spec/whois/record/parser/responses/whois.nic.sl/status_registered_spec.rb +1 -1
  638. data/spec/whois/record/parser/responses/whois.nic.sm/status_available_spec.rb +1 -1
  639. data/spec/whois/record/parser/responses/whois.nic.sm/status_registered_spec.rb +1 -1
  640. data/spec/whois/record/parser/responses/whois.nic.sn/status_available_spec.rb +1 -1
  641. data/spec/whois/record/parser/responses/whois.nic.sn/status_registered_spec.rb +1 -1
  642. data/spec/whois/record/parser/responses/whois.nic.so/status_available_spec.rb +1 -1
  643. data/spec/whois/record/parser/responses/whois.nic.so/status_registered_spec.rb +1 -1
  644. data/spec/whois/record/parser/responses/whois.nic.st/status_available_spec.rb +1 -1
  645. data/spec/whois/record/parser/responses/whois.nic.st/status_registered_spec.rb +1 -1
  646. data/spec/whois/record/parser/responses/whois.nic.tel/status_available_spec.rb +1 -1
  647. data/spec/whois/record/parser/responses/whois.nic.tel/status_registered_spec.rb +1 -1
  648. data/spec/whois/record/parser/responses/whois.nic.tl/property_status_active_spec.rb +39 -0
  649. data/spec/whois/record/parser/responses/whois.nic.tl/property_status_delegated_spec.rb +39 -0
  650. data/spec/whois/record/parser/responses/whois.nic.tl/property_status_not_registered_spec.rb +39 -0
  651. data/spec/whois/record/parser/responses/whois.nic.tl/status_available_spec.rb +11 -1
  652. data/spec/whois/record/parser/responses/whois.nic.tl/status_registered_spec.rb +11 -1
  653. data/spec/whois/record/parser/responses/whois.nic.tm/status_available_spec.rb +1 -1
  654. data/spec/whois/record/parser/responses/whois.nic.tm/status_registered_spec.rb +1 -1
  655. data/spec/whois/record/parser/responses/whois.nic.tr/property_nameservers_with_ip_spec.rb +1 -1
  656. data/spec/whois/record/parser/responses/whois.nic.tr/property_nameservers_with_trailing_space_spec.rb +1 -1
  657. data/spec/whois/record/parser/responses/whois.nic.tr/status_available_spec.rb +1 -1
  658. data/spec/whois/record/parser/responses/whois.nic.tr/status_registered_spec.rb +1 -1
  659. data/spec/whois/record/parser/responses/whois.nic.travel/property_status_multiple_spec.rb +1 -1
  660. data/spec/whois/record/parser/responses/whois.nic.travel/property_status_single_spec.rb +1 -1
  661. data/spec/whois/record/parser/responses/whois.nic.travel/status_available_spec.rb +1 -1
  662. data/spec/whois/record/parser/responses/whois.nic.travel/status_registered_spec.rb +1 -1
  663. data/spec/whois/record/parser/responses/whois.nic.tv/property_nameserver_no_nameserver_spec.rb +1 -1
  664. data/spec/whois/record/parser/responses/whois.nic.tv/status_available_spec.rb +1 -1
  665. data/spec/whois/record/parser/responses/whois.nic.tv/status_registered_spec.rb +1 -1
  666. data/spec/whois/record/parser/responses/whois.nic.uk/property_nameservers_with_ip_spec.rb +1 -1
  667. data/spec/whois/record/parser/responses/whois.nic.uk/property_registrar_without_trading_name_spec.rb +1 -1
  668. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_missing_spec.rb +1 -1
  669. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_processing_registration_spec.rb +1 -1
  670. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_processing_renewal_spec.rb +1 -1
  671. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_registered_spec.rb +1 -1
  672. data/spec/whois/record/parser/responses/whois.nic.uk/property_status_suspended_spec.rb +1 -1
  673. data/spec/whois/record/parser/responses/whois.nic.uk/response_throttled_spec.rb +29 -0
  674. data/spec/whois/record/parser/responses/whois.nic.uk/status_available_spec.rb +11 -1
  675. data/spec/whois/record/parser/responses/whois.nic.uk/status_invalid_spec.rb +1 -1
  676. data/spec/whois/record/parser/responses/whois.nic.uk/status_registered_spec.rb +22 -1
  677. data/spec/whois/record/parser/responses/whois.nic.uk/status_suspended_spec.rb +1 -1
  678. data/spec/whois/record/parser/responses/whois.nic.us/status_available_spec.rb +1 -1
  679. data/spec/whois/record/parser/responses/whois.nic.us/status_registered_spec.rb +1 -1
  680. data/spec/whois/record/parser/responses/whois.nic.ve/property_expires_on_missing_spec.rb +1 -1
  681. data/spec/whois/record/parser/responses/whois.nic.ve/property_nameservers_missing_spec.rb +1 -1
  682. data/spec/whois/record/parser/responses/whois.nic.ve/property_nameservers_spec.rb +1 -1
  683. data/spec/whois/record/parser/responses/whois.nic.ve/property_status_activo_spec.rb +1 -1
  684. data/spec/whois/record/parser/responses/whois.nic.ve/property_status_missing_spec.rb +1 -1
  685. data/spec/whois/record/parser/responses/whois.nic.ve/property_status_suspendido_spec.rb +2 -2
  686. data/spec/whois/record/parser/responses/whois.nic.ve/property_updated_on_blank_spec.rb +1 -1
  687. data/spec/whois/record/parser/responses/whois.nic.ve/property_updated_on_spec.rb +1 -1
  688. data/spec/whois/record/parser/responses/whois.nic.ve/status_available_spec.rb +1 -1
  689. data/spec/whois/record/parser/responses/whois.nic.ve/{status_suspended_spec.rb → status_inactive_spec.rb} +5 -5
  690. data/spec/whois/record/parser/responses/whois.nic.ve/status_registered_spec.rb +1 -1
  691. data/spec/whois/record/parser/responses/whois.nic.xxx/property_updated_on_blank_spec.rb +1 -1
  692. data/spec/whois/record/parser/responses/whois.nic.xxx/status_available_spec.rb +1 -1
  693. data/spec/whois/record/parser/responses/whois.nic.xxx/status_registered_spec.rb +1 -1
  694. data/spec/whois/record/parser/responses/whois.nic.xxx/status_reserved_spec.rb +44 -0
  695. data/spec/whois/record/parser/responses/whois.norid.no/status_available_spec.rb +1 -1
  696. data/spec/whois/record/parser/responses/whois.norid.no/status_registered_spec.rb +1 -1
  697. data/spec/whois/record/parser/responses/whois.org.za/status_available_spec.rb +1 -1
  698. data/spec/whois/record/parser/responses/whois.org.za/status_registered_spec.rb +1 -1
  699. data/spec/whois/record/parser/responses/whois.pandi.or.id/status_available_spec.rb +1 -1
  700. data/spec/whois/record/parser/responses/whois.pandi.or.id/status_registered_spec.rb +1 -1
  701. data/spec/whois/record/parser/responses/whois.pnina.ps/property_nameservers_with_nodns_spec.rb +1 -1
  702. data/spec/whois/record/parser/responses/whois.pnina.ps/property_status_active_pending_transfer_spec.rb +1 -1
  703. data/spec/whois/record/parser/responses/whois.pnina.ps/status_available_spec.rb +1 -1
  704. data/spec/whois/record/parser/responses/whois.pnina.ps/status_registered_spec.rb +1 -1
  705. data/spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb +1 -1
  706. data/spec/whois/record/parser/responses/whois.publicinterestregistry.net/status_available_spec.rb +1 -1
  707. data/spec/whois/record/parser/responses/whois.publicinterestregistry.net/status_registered_spec.rb +1 -1
  708. data/spec/whois/record/parser/responses/whois.register.bg/property_nameservers_with_ip_spec.rb +1 -1
  709. data/spec/whois/record/parser/responses/whois.register.bg/status_available_spec.rb +1 -1
  710. data/spec/whois/record/parser/responses/whois.register.bg/status_registered_spec.rb +1 -1
  711. data/spec/whois/record/parser/responses/whois.registro.br/property_nameservers_with_ip_spec.rb +42 -0
  712. data/spec/whois/record/parser/responses/whois.registro.br/status_available_limited_spec.rb +1 -1
  713. data/spec/whois/record/parser/responses/whois.registro.br/status_available_spec.rb +1 -1
  714. data/spec/whois/record/parser/responses/whois.registro.br/status_registered_limited_spec.rb +1 -1
  715. data/spec/whois/record/parser/responses/whois.registro.br/status_registered_spec.rb +1 -1
  716. data/spec/whois/record/parser/responses/whois.registry.gy/property_status_active_spec.rb +39 -0
  717. data/spec/whois/record/parser/responses/whois.registry.gy/property_status_delegated_spec.rb +39 -0
  718. data/spec/whois/record/parser/responses/whois.registry.gy/property_status_not_registered_spec.rb +39 -0
  719. data/spec/whois/record/parser/responses/whois.registry.gy/status_available_spec.rb +11 -1
  720. data/spec/whois/record/parser/responses/whois.registry.gy/status_registered_spec.rb +11 -1
  721. data/spec/whois/record/parser/responses/whois.registry.hm/status_available_spec.rb +1 -1
  722. data/spec/whois/record/parser/responses/whois.registry.hm/status_registered_spec.rb +1 -1
  723. data/spec/whois/record/parser/responses/whois.registry.in/property_status_missing_spec.rb +1 -1
  724. data/spec/whois/record/parser/responses/whois.registry.in/property_status_multiple_spec.rb +1 -1
  725. data/spec/whois/record/parser/responses/whois.registry.in/property_status_ok_spec.rb +1 -1
  726. data/spec/whois/record/parser/responses/whois.registry.in/status_available_spec.rb +1 -1
  727. data/spec/whois/record/parser/responses/whois.registry.in/status_registered_spec.rb +1 -1
  728. data/spec/whois/record/parser/responses/whois.registry.qa/qa/status_available_spec.rb +1 -1
  729. data/spec/whois/record/parser/responses/whois.registry.qa/qa/status_registered_spec.rb +1 -1
  730. data/spec/whois/record/parser/responses/whois.registrypro.pro/status_available_spec.rb +1 -1
  731. data/spec/whois/record/parser/responses/whois.registrypro.pro/status_registered_spec.rb +1 -1
  732. data/spec/whois/record/parser/responses/whois.ripe.net/fo/status_available_spec.rb +1 -1
  733. data/spec/whois/record/parser/responses/whois.ripe.net/fo/status_registered_spec.rb +1 -1
  734. data/spec/whois/record/parser/responses/whois.ripe.net/gm/status_available_spec.rb +1 -1
  735. data/spec/whois/record/parser/responses/whois.ripe.net/gm/status_registered_spec.rb +1 -1
  736. data/spec/whois/record/parser/responses/whois.ripe.net/mc/status_available_spec.rb +1 -1
  737. data/spec/whois/record/parser/responses/whois.ripe.net/mc/status_registered_spec.rb +1 -1
  738. data/spec/whois/record/parser/responses/whois.ripe.net/va/status_available_spec.rb +1 -1
  739. data/spec/whois/record/parser/responses/whois.ripe.net/va/status_registered_spec.rb +1 -1
  740. data/spec/whois/record/parser/responses/whois.rotld.ro/status_available_spec.rb +1 -1
  741. data/spec/whois/record/parser/responses/whois.rotld.ro/status_registered_spec.rb +1 -1
  742. data/spec/whois/record/parser/responses/whois.samoanic.ws/status_available_spec.rb +1 -1
  743. data/spec/whois/record/parser/responses/whois.samoanic.ws/status_registered_spec.rb +1 -1
  744. data/spec/whois/record/parser/responses/whois.sgnic.sg/property_nameservers_schema_1_spec.rb +1 -1
  745. data/spec/whois/record/parser/responses/whois.sgnic.sg/property_nameservers_schema_1_with_ip_spec.rb +1 -1
  746. data/spec/whois/record/parser/responses/whois.sgnic.sg/property_nameservers_schema_2_spec.rb +1 -1
  747. data/spec/whois/record/parser/responses/whois.sgnic.sg/status_available_spec.rb +1 -1
  748. data/spec/whois/record/parser/responses/whois.sgnic.sg/status_registered_spec.rb +1 -1
  749. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_dakt_spec.rb +1 -1
  750. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_exp_spec.rb +1 -1
  751. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_held_spec.rb +1 -1
  752. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_lnot_spec.rb +1 -1
  753. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_ok_spec.rb +1 -1
  754. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_ta_spec.rb +1 -1
  755. data/spec/whois/record/parser/responses/whois.sk-nic.sk/property_status_dom_warn_spec.rb +1 -1
  756. data/spec/whois/record/parser/responses/whois.sk-nic.sk/status_available_spec.rb +1 -1
  757. data/spec/whois/record/parser/responses/whois.sk-nic.sk/status_registered_spec.rb +1 -1
  758. data/spec/whois/record/parser/responses/whois.srs.net.nz/property_status_pendingrelease_spec.rb +1 -1
  759. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_available_spec.rb +1 -1
  760. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_invalid_spec.rb +1 -1
  761. data/spec/whois/record/parser/responses/whois.srs.net.nz/status_registered_spec.rb +1 -1
  762. data/spec/whois/record/parser/responses/whois.tcinet.ru/ru/property_nameservers_with_ip_spec.rb +1 -1
  763. data/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_available_spec.rb +1 -1
  764. data/spec/whois/record/parser/responses/whois.tcinet.ru/ru/status_registered_spec.rb +1 -1
  765. data/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_available_spec.rb +1 -1
  766. data/spec/whois/record/parser/responses/whois.tcinet.ru/su/status_registered_spec.rb +1 -1
  767. data/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_available_spec.rb +1 -1
  768. data/spec/whois/record/parser/responses/whois.tcinet.ru/xn--p1ai/status_registered_spec.rb +1 -1
  769. data/spec/whois/record/parser/responses/whois.thnic.co.th/status_available_spec.rb +1 -1
  770. data/spec/whois/record/parser/responses/whois.thnic.co.th/status_registered_spec.rb +1 -1
  771. data/spec/whois/record/parser/responses/whois.tld.ee/status_available_spec.rb +1 -1
  772. data/spec/whois/record/parser/responses/whois.tld.ee/status_expired_spec.rb +1 -1
  773. data/spec/whois/record/parser/responses/whois.tld.ee/status_registered_spec.rb +1 -1
  774. data/spec/whois/record/parser/responses/whois.tonic.to/response_incomplete_spec.rb +1 -1
  775. data/spec/whois/record/parser/responses/whois.tonic.to/status_available_spec.rb +1 -1
  776. data/spec/whois/record/parser/responses/whois.tonic.to/status_registered_spec.rb +1 -1
  777. data/spec/whois/record/parser/responses/whois.twnic.net.tw/status_available_spec.rb +1 -1
  778. data/spec/whois/record/parser/responses/whois.twnic.net.tw/status_registered_spec.rb +1 -1
  779. data/spec/whois/record/parser/responses/whois.tznic.or.tz/status_available_spec.rb +1 -1
  780. data/spec/whois/record/parser/responses/whois.tznic.or.tz/status_registered_spec.rb +1 -1
  781. data/spec/whois/record/parser/responses/whois.usp.ac.fj/status_available_spec.rb +1 -1
  782. data/spec/whois/record/parser/responses/whois.usp.ac.fj/status_registered_spec.rb +1 -1
  783. data/spec/whois/record/parser/responses/whois.za.net/status_available_spec.rb +1 -1
  784. data/spec/whois/record/parser/responses/whois.za.net/status_registered_spec.rb +1 -1
  785. data/spec/whois/record/parser/responses/whois.za.org/status_available_spec.rb +1 -1
  786. data/spec/whois/record/parser/responses/whois.za.org/status_registered_spec.rb +1 -1
  787. data/whois.gemspec +16 -16
  788. metadata +169 -17
  789. data/CHANGELOG.rdoc +0 -1309
  790. data/README.rdoc +0 -205
data/Rakefile CHANGED
@@ -1,8 +1,4 @@
1
1
  require 'rubygems'
2
- require 'rspec/core/rake_task'
3
- require 'rubygems/package_task'
4
- require 'yard'
5
- require 'yard/rake/yardoc_task'
6
2
 
7
3
  $:.unshift(File.dirname(__FILE__) + '/lib')
8
4
  require 'whois'
@@ -18,14 +14,9 @@ end
18
14
 
19
15
 
20
16
  # Run test by default.
21
- task :default => :rspec
22
- task :test => :rspec
23
-
24
- # This builds the actual gem. For details of what all these options
25
- # mean, and other ones you can add, check the documentation here:
26
- #
27
- # http://rubygems.org/read/chapter/20
28
- #
17
+ task :default => :spec
18
+ task :test => :spec
19
+
29
20
  spec = Gem::Specification.new do |s|
30
21
  s.name = PKG_NAME
31
22
  s.version = PKG_VERSION
@@ -51,13 +42,14 @@ spec = Gem::Specification.new do |s|
51
42
 
52
43
  # If your tests use any gems, include them here
53
44
  s.add_development_dependency "rake", "~> 0.9"
54
- s.add_development_dependency "rspec", "~> 2.6.0"
45
+ s.add_development_dependency "rspec", "~> 2.7.0"
55
46
  s.add_development_dependency "mocha"
56
47
  s.add_development_dependency "yard"
57
48
  end
58
49
 
59
- # This task actually builds the gem.
60
- # We also regenerate a static .gemspec file.
50
+
51
+ require 'rubygems/package_task'
52
+
61
53
  Gem::PackageTask.new(spec) do |pkg|
62
54
  pkg.gem_spec = spec
63
55
  end
@@ -69,8 +61,9 @@ task :gemspec do
69
61
  end
70
62
 
71
63
 
72
- # Run all the specs in the /spec folder
73
- RSpec::Core::RakeTask.new(:rspec)
64
+ require 'rspec/core/rake_task'
65
+
66
+ RSpec::Core::RakeTask.new
74
67
 
75
68
 
76
69
  namespace :multitest do
@@ -113,6 +106,9 @@ desc "Package the library and generates the gemspec"
113
106
  task :package => [:gemspec]
114
107
 
115
108
 
109
+ require 'yard'
110
+ require 'yard/rake/yardoc_task'
111
+
116
112
  YARD::Rake::YardocTask.new(:yardoc) do |y|
117
113
  y.options = ["--output-dir", "yardoc"]
118
114
  end
data/lib/core_ext.rb CHANGED
@@ -1,4 +1,4 @@
1
- if defined?(ActiveSupport) && ActiveSupport::VERSION::MAJOR == 3
1
+ if defined?(ActiveSupport::VERSION) && ActiveSupport::VERSION::MAJOR == 3
2
2
  require 'active_support/core_ext/array/wrap'
3
3
  require 'active_support/core_ext/date_time/conversions'
4
4
  require 'core_ext/class/attribute'
@@ -1,10 +1,9 @@
1
1
  require 'date'
2
2
 
3
-
4
3
  class DateTime
5
4
  # Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows
6
5
  # DateTimes outside the range of what can be created with Time.
7
- remove_method :to_time if instance_methods.include?(:to_time)
6
+ # remove_method :to_time if instance_methods.include?(:to_time)
8
7
 
9
8
  # Attempts to convert self to a Ruby Time object; returns self if out of range of Ruby Time class.
10
9
  # If self has an offset other than 0, self will just be returned unaltered, since there's no clean way to map it to a Time.
@@ -0,0 +1,85 @@
1
+ #--
2
+ # Ruby Whois
3
+ #
4
+ # An intelligent pure Ruby WHOIS client and parser.
5
+ #
6
+ # Copyright (c) 2009-2011 Simone Carletti <weppos@weppos.net>
7
+ #++
8
+
9
+
10
+ require 'whois/record/parser/base'
11
+
12
+
13
+ module Whois
14
+ class Record
15
+ class Parser
16
+
17
+ # Base parser for CoCCA servers.
18
+ #
19
+ # @abstract
20
+ #
21
+ class BaseCocca < Base
22
+
23
+ property_supported :domain do
24
+ content_for_scanner =~ /Query:\s+(.+?)\n/
25
+ $1 || Whois.bug!(ParserError, "Unable to parse domain.")
26
+ end
27
+
28
+ property_not_supported :domain_id
29
+
30
+
31
+ property_supported :status do
32
+ if content_for_scanner =~ /Status:\s+(.+?)\n/
33
+ case $1.downcase
34
+ when "active" then :registered
35
+ when "delegated" then :registered
36
+ when "not registered" then :available
37
+ else
38
+ Whois.bug!(ParserError, "Unknown status `#{$1}'.")
39
+ end
40
+ else
41
+ Whois.bug!(ParserError, "Unable to parse status.")
42
+ end
43
+ end
44
+
45
+ property_supported :available? do
46
+ status == :available
47
+ end
48
+
49
+ property_supported :registered? do
50
+ !available?
51
+ end
52
+
53
+
54
+ property_supported :created_on do
55
+ if content_for_scanner =~ /Created:\s+(.+?)\n/
56
+ Time.parse($1)
57
+ end
58
+ end
59
+
60
+ property_supported :updated_on do
61
+ if content_for_scanner =~ /Modified:\s+(.+?)\n/
62
+ Time.parse($1)
63
+ end
64
+ end
65
+
66
+ property_supported :expires_on do
67
+ if content_for_scanner =~ /Expires:\s+(.+?)\n/
68
+ Time.parse($1)
69
+ end
70
+ end
71
+
72
+
73
+ property_supported :nameservers do
74
+ if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/
75
+ $1.split("\n").map do |name|
76
+ Record::Nameserver.new(name.strip)
77
+ end
78
+ end
79
+ end
80
+
81
+ end
82
+
83
+ end
84
+ end
85
+ end
@@ -19,6 +19,7 @@ module Whois
19
19
 
20
20
  def parse_content
21
21
  parse_available ||
22
+ parse_reserved || # .XXX
22
23
  parse_throttled || # .ORG
23
24
  parse_disclaimer ||
24
25
  parse_keyvalue ||
@@ -33,6 +34,12 @@ module Whois
33
34
  end
34
35
  end
35
36
 
37
+ def parse_reserved
38
+ if @input.scan(/^Reserved by ICM Registry\n/)
39
+ @ast["status:reserved"] = true
40
+ end
41
+ end
42
+
36
43
  def parse_throttled
37
44
  if @input.match?(/^WHOIS LIMIT EXCEEDED/)
38
45
  @ast["response:throttled"] = true
@@ -41,7 +48,7 @@ module Whois
41
48
  end
42
49
 
43
50
  def parse_disclaimer
44
- if @input.pos == 0
51
+ if @input.pos == 0 && @input.match?(/^(.+\n){3,}\n/)
45
52
  lines = []
46
53
  while @input.scan(/^(.+)\n/)
47
54
  lines << @input[1].strip
@@ -17,7 +17,6 @@ module Whois
17
17
  # Parser for the whois.aero server.
18
18
  class WhoisAero < BaseAfilias
19
19
 
20
-
21
20
  property_supported :status do
22
21
  Array.wrap(node("Domain Status"))
23
22
  end
@@ -53,6 +53,11 @@ module Whois
53
53
  reserved? || !available?
54
54
  end
55
55
 
56
+ # NEWPROPERTY
57
+ def reserved?
58
+ !!node("status:reserved")
59
+ end
60
+
56
61
 
57
62
  property_supported :created_on do
58
63
  node("Registration Date") { |value| Time.parse(value) }
@@ -92,12 +97,6 @@ module Whois
92
97
  end
93
98
 
94
99
 
95
- # NEWPROPERTY
96
- def reserved?
97
- !!node("status:reserved")
98
- end
99
-
100
-
101
100
  # Initializes a new {Scanners::Cnnic} instance
102
101
  # passing the {#content_for_scanner}
103
102
  # and calls +parse+ on it.
@@ -43,6 +43,11 @@ module Whois
43
43
  !available?
44
44
  end
45
45
 
46
+ # NEWPROPERTY
47
+ def reserved?
48
+ !!(content_for_scanner =~ /^Domain is not available or is reserved by the registry/)
49
+ end
50
+
46
51
 
47
52
  property_supported :created_on do
48
53
  if content_for_scanner =~ /date_approved:\s+(.+)\n/
@@ -65,12 +70,6 @@ module Whois
65
70
  end
66
71
  end
67
72
 
68
-
69
- # NEWPROPERTY
70
- def reserved?
71
- !!(content_for_scanner =~ /^Domain is not available or is reserved by the registry/)
72
- end
73
-
74
73
  end
75
74
 
76
75
  end
@@ -44,7 +44,7 @@ module Whois
44
44
  when "connect" then :registered
45
45
  when "free" then :available
46
46
  when "invalid" then :invalid
47
- # NEWSTATUS
47
+ # NEWSTATUS (inactive)
48
48
  # The domain is registered, but there is not DNS entry for it.
49
49
  when "failed" then :registered
50
50
  else
@@ -30,8 +30,9 @@ module Whois
30
30
  property_supported :status do
31
31
  if content_for_scanner =~ /^Estado \/ Status:\s+(.+)\n/
32
32
  case $1.downcase
33
- when "active" then :registered
33
+ when "active" then :registered
34
34
  when "reserved" then :reserved
35
+ when "tech-pro" then :inactive
35
36
  else
36
37
  Whois.bug!(ParserError, "Unknown status `#{$1}'.")
37
38
  end
@@ -50,14 +51,18 @@ module Whois
50
51
 
51
52
 
52
53
  property_supported :created_on do
53
- if content_for_scanner =~ / Creation Date .+?:\s+(.*)\n/
54
+ if content_for_scanner =~ / Creation Date .+?:\s+(.+)\n/
54
55
  Time.utc(*$1.split("/").reverse)
55
56
  end
56
57
  end
57
58
 
58
59
  property_not_supported :updated_on
59
60
 
60
- property_not_supported :expires_on
61
+ property_supported :expires_on do
62
+ if content_for_scanner =~ / Expiration Date .+?:\s+(.+)\n/
63
+ Time.utc(*$1.split("/").reverse)
64
+ end
65
+ end
61
66
 
62
67
 
63
68
  property_supported :nameservers do
@@ -40,23 +40,23 @@ module Whois
40
40
  end
41
41
 
42
42
 
43
- property_supported :created_on do
44
- if content_for_scanner =~ /Created on: (.+)\n/
45
- Time.parse($1)
46
- end
47
- end
48
-
49
- property_supported :updated_on do
50
- if content_for_scanner =~ /Last Updated on: (.+)\n/
51
- Time.parse($1)
52
- end
53
- end
54
-
55
- property_supported :expires_on do
56
- if content_for_scanner =~ /Expires on: (.+)\n/
57
- Time.parse($1)
58
- end
59
- end
43
+ # property_supported :created_on do
44
+ # if content_for_scanner =~ /Created on: (.+)\n/
45
+ # Time.parse($1)
46
+ # end
47
+ # end
48
+ #
49
+ # property_supported :updated_on do
50
+ # if content_for_scanner =~ /Last Updated on: (.+)\n/
51
+ # Time.parse($1)
52
+ # end
53
+ # end
54
+ #
55
+ # property_supported :expires_on do
56
+ # if content_for_scanner =~ /Expires on: (.+)\n/
57
+ # Time.parse($1)
58
+ # end
59
+ # end
60
60
 
61
61
 
62
62
  property_supported :registrar do
@@ -28,10 +28,12 @@ module Whois
28
28
  class WhoisJe < Base
29
29
 
30
30
  property_supported :status do
31
- if content_for_scanner =~ /status:(.+?)\n/
31
+ if content_for_scanner =~ /Status:\s+(.+?)\n/
32
32
  case $1.downcase
33
- when "0" then :available
34
- when "1" then :registered
33
+ when "active"
34
+ :registered
35
+ when "not registered"
36
+ :available
35
37
  else
36
38
  Whois.bug!(ParserError, "Unknown status `#{$1}'.")
37
39
  end
@@ -49,17 +51,25 @@ module Whois
49
51
  end
50
52
 
51
53
 
52
- property_not_supported :created_on
54
+ property_supported :created_on do
55
+ if content_for_scanner =~ /Created:\s+(.+?)\n/
56
+ Time.parse($1)
57
+ end
58
+ end
53
59
 
54
- property_not_supported :updated_on
60
+ property_supported :updated_on do
61
+ if content_for_scanner =~ /Modified:\s+(.+?)\n/
62
+ Time.parse($1)
63
+ end
64
+ end
55
65
 
56
66
  property_not_supported :expires_on
57
67
 
58
68
 
59
69
  property_supported :nameservers do
60
- if content_for_scanner =~ /Registered Nameservers\n[-]+\n((.+\n)+)\n/
70
+ if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/
61
71
  $1.split("\n").map do |name|
62
- Record::Nameserver.new(name.chomp("."))
72
+ Record::Nameserver.new(name.strip)
63
73
  end
64
74
  end
65
75
  end
@@ -7,77 +7,30 @@
7
7
  #++
8
8
 
9
9
 
10
- require 'whois/record/parser/base'
10
+ require 'whois/record/parser/base_cocca'
11
11
 
12
12
 
13
13
  module Whois
14
14
  class Record
15
15
  class Parser
16
16
 
17
- #
18
- # = whois.na-nic.com.na parser
19
- #
20
17
  # Parser for the whois.na-nic.com.na server.
21
- #
22
- # NOTE: This parser is just a stub and provides only a few basic methods
23
- # to check for domain availability and get domain status.
24
- # Please consider to contribute implementing missing methods.
25
- # See WhoisNicIt parser for an explanation of all available methods
26
- # and examples.
27
- #
28
- class WhoisNaNicComNa < Base
18
+ class WhoisNaNicComNa < BaseCocca
29
19
 
30
20
  property_supported :status do
31
21
  if content_for_scanner =~ /Status:\s+(.+?)\n/
32
22
  case $1.downcase
33
- when "active"
34
- :registered
35
- when "not registered"
36
- :available
37
- else
38
- Whois.bug!(ParserError, "Unknown status `#{$1}'.")
23
+ when "active" then :registered
24
+ when "not registered" then :available
25
+ when "suspended" then :inactive
26
+ else
27
+ Whois.bug!(ParserError, "Unknown status `#{$1}'.")
39
28
  end
40
29
  else
41
30
  Whois.bug!(ParserError, "Unable to parse status.")
42
31
  end
43
32
  end
44
33
 
45
- property_supported :available? do
46
- status == :available
47
- end
48
-
49
- property_supported :registered? do
50
- !available?
51
- end
52
-
53
-
54
- property_supported :created_on do
55
- if content_for_scanner =~ /Created:\s+(.+?)\n/
56
- Time.parse($1)
57
- end
58
- end
59
-
60
- property_supported :updated_on do
61
- if content_for_scanner =~ /Modified:\s+(.+?)\n/
62
- Time.parse($1)
63
- end
64
- end
65
-
66
- property_supported :expires_on do
67
- if content_for_scanner =~ /Expires:\s+(.+?)\n/
68
- Time.parse($1)
69
- end
70
- end
71
-
72
-
73
- property_supported :nameservers do
74
- if content_for_scanner =~ /Name Servers:\n((.+\n)+)\n/
75
- $1.split("\n").map do |name|
76
- Record::Nameserver.new(name.strip)
77
- end
78
- end
79
- end
80
-
81
34
  end
82
35
 
83
36
  end