whois 2.6.4 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/CHANGELOG.md +39 -0
  2. data/LICENSE +2 -2
  3. data/README.md +1 -1
  4. data/lib/whois/definitions/tlds.rb +5 -4
  5. data/lib/whois/record/parser/NOTES.txt +0 -8
  6. data/lib/whois/record/parser/base_afilias.rb +2 -3
  7. data/lib/whois/record/parser/base_cocca.rb +6 -4
  8. data/lib/whois/record/parser/base_shared1.rb +120 -0
  9. data/lib/whois/record/parser/base_shared2.rb +143 -0
  10. data/lib/whois/record/parser/base_whoisd.rb +3 -3
  11. data/lib/whois/record/parser/whois.biz.rb +6 -113
  12. data/lib/whois/record/parser/whois.centralnic.com.rb +0 -1
  13. data/lib/whois/record/parser/whois.cmc.iq.rb +24 -0
  14. data/lib/whois/record/parser/whois.dk-hostmaster.dk.rb +10 -9
  15. data/lib/whois/record/parser/whois.dns.pl.rb +5 -1
  16. data/lib/whois/record/parser/whois.domain-registry.nl.rb +15 -12
  17. data/lib/whois/record/parser/whois.godaddy.com.rb +3 -2
  18. data/lib/whois/record/parser/whois.jprs.jp.rb +2 -0
  19. data/lib/whois/record/parser/whois.monic.mo.rb +90 -0
  20. data/lib/whois/record/parser/whois.na-nic.com.na.rb +8 -4
  21. data/lib/whois/record/parser/whois.netcom.cm.rb +2 -64
  22. data/lib/whois/record/parser/whois.networksolutions.com.rb +3 -0
  23. data/lib/whois/record/parser/whois.nic.co.rb +4 -49
  24. data/lib/whois/record/parser/whois.nic.dm.rb +142 -0
  25. data/lib/whois/record/parser/whois.nic.fo.rb +1 -1
  26. data/lib/whois/record/parser/whois.nic.gs.rb +9 -5
  27. data/lib/whois/record/parser/whois.nic.name.rb +26 -12
  28. data/lib/whois/record/parser/whois.nic.net.nf.rb +13 -7
  29. data/lib/whois/record/parser/whois.register.com.rb +158 -0
  30. data/lib/whois/record/parser/whois.registry.om.rb +2 -99
  31. data/lib/whois/record/parser/whois.registry.qa.rb +5 -95
  32. data/lib/whois/record/parser/whois.tld.ee.rb +1 -1
  33. data/lib/whois/record/parser/whois1.nic.bi.rb +23 -0
  34. data/lib/whois/record/scanners/base.rb +4 -0
  35. data/lib/whois/record/scanners/{afilias.rb → base_afilias.rb} +2 -2
  36. data/lib/whois/record/scanners/{whois.registry.om.rb → base_shared1.rb} +2 -5
  37. data/lib/whois/record/scanners/{whois.biz.rb → base_shared2.rb} +4 -3
  38. data/lib/whois/record/scanners/{whoisd.rb → base_whoisd.rb} +2 -2
  39. data/lib/whois/record/scanners/whois.nic.dm.rb +52 -0
  40. data/lib/whois/version.rb +2 -2
  41. data/whois.gemspec +4 -4
  42. metadata +15 -8
  43. data/lib/whois/record/scanners/whois.registry.qa.rb +0 -39
@@ -1,39 +0,0 @@
1
- #--
2
- # Ruby Whois
3
- #
4
- # An intelligent pure Ruby WHOIS client and parser.
5
- #
6
- # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
7
- #++
8
-
9
-
10
- require 'whois/record/scanners/base'
11
-
12
-
13
- module Whois
14
- class Record
15
- module Scanners
16
-
17
- # Scanner for the whois.registry.qa record.
18
- #
19
- # @since 2.1.0
20
- class WhoisRegistryQa < Base
21
-
22
- self.tokenizers += [
23
- :skip_empty_line,
24
- :scan_available,
25
- :scan_keyvalue,
26
- ]
27
-
28
-
29
- tokenizer :scan_available do
30
- if @input.scan(/^No Data Found\n/)
31
- @ast["status:available"] = true
32
- end
33
- end
34
-
35
- end
36
-
37
- end
38
- end
39
- end