whois-parser 1.0.0.pre.beta1 → 1.0.0.pre.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af38e1acd98423594909a861cb24844f20750ad3
4
- data.tar.gz: 0018ffd2edd5fd685d8767fedd598b9e00a708c5
3
+ metadata.gz: 86a9d2158f8164cb2a41ebba6f96129c3a343c87
4
+ data.tar.gz: 0ceae133a9208efd62a7b03d79a5bd02c871b6ff
5
5
  SHA512:
6
- metadata.gz: fd44abb95f7be9e4d60cbd8c63e14a9e2272770aea82ced954f57d5ba40225ff2ef9b58cc26be35a93b305edd741d4a835d3c686fdc5801fff6d0cf84d7bd205
7
- data.tar.gz: c7e36ae017065a96f41b096c59bcb909c3da4bf2bd92ac9b68ad5c210ff798dd74753dc944890cff5c2a929e614b4873e74d292b5d8657e5ff79fe1e863ab902
6
+ metadata.gz: 60d2edf04d086f5e8440fdf72509c1188186b79165d54e17ceb9ed50fc6955591705f0a92424f2cbc3a04da216c1cf31af1ff78366272992edeba8694df14314
7
+ data.tar.gz: e2eb17763c95c287bcc2a4a8812cc4a71beac5c8ed2f3f27e70d7ceac1366f49b91132d220689e904f97040a22eee94525b956f4b0c8d87eb4b319f6f2fd766c
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/).
5
5
 
6
6
  ##### master
7
7
 
8
+ **1.0.0-beta2**
9
+
10
+ - NEW: Added whois.cdmon.com parser (GH-27). [Thanks @sfumanal]
11
+
12
+ - FIXED: Fix for Record#respond_to?(:available?) (GH-28, GH-29, GH-30). Thanks [@marcandre]
13
+
14
+ **1.0.0-beta1**
15
+
8
16
  Initial import from the `whois` library.
9
17
 
10
18
  - NEW: whois.dk-hostmaster.dk parser now recognizes throttled responses (whois/GH-382). [Thanks @troelskn]
data/lib/whois/parser.rb CHANGED
@@ -14,10 +14,33 @@ require 'active_support/core_ext/class/attribute'
14
14
  require 'active_support/core_ext/kernel/singleton_class'
15
15
  require 'active_support/core_ext/object/blank'
16
16
  require 'active_support/core_ext/time/calculations'
17
+
17
18
  require_relative 'parser/version'
18
19
  require_relative 'parser/errors'
19
- require_relative 'parsers'
20
20
 
21
+ # These extensions add Whois::Record#parser, the Whois.registered?, and
22
+ # Whois.available? shortcuts.
23
+ # These are handy convenient methods, and they are loaded by default.
24
+ require_relative 'parser_extensions/whois'
25
+ require_relative 'parser_extensions/whois_parser'
26
+
27
+ # These extensions add most of Whois::Record parser-specific extensions
28
+ # that were loaded by default in Whois 3. This is not recommended as it adds
29
+ # a lot of stuff into the Whois::Record class.
30
+ # Instead of Whois::Record.foo you should just use Whois::Record.parser.foo
31
+ # and add your own abstraction if you need to manipulate the results.
32
+ require_relative 'parser_extensions' if ENV["WHOISRB_4EXTENSIONS"] == "1"
33
+
34
+ # This is really not recommended. It will restore Whois 3 old behavior
35
+ # where the record was silently swallowing the error (returnin nil)
36
+ # when the property was not implemented or not supported.
37
+ # This compatibility layer will likely be removed in future releases.
38
+ # See https://github.com/weppos/whois-parser/pull/5
39
+ # require_relative 'safe_record'
40
+
41
+ # This is required at the end of the file
42
+ # because it depends on Whois::Parser::PROPERTIES
43
+ # require_relative 'parsers'
21
44
 
22
45
  # The parsing controller that stays behind the {Whois::Record}.
23
46
  #
@@ -406,6 +429,3 @@ module Whois
406
429
  end
407
430
 
408
431
  require_relative 'parsers'
409
- require_relative 'parsers/base'
410
- require_relative 'parser_extensions'
411
-
@@ -1,6 +1,6 @@
1
1
  module Whois
2
2
  class Parser
3
3
  # The current library version.
4
- VERSION = "1.0.0-beta1"
4
+ VERSION = "1.0.0-beta2"
5
5
  end
6
6
  end
@@ -1,9 +1,3 @@
1
1
  require_relative 'parser_extensions/whois'
2
+ require_relative 'parser_extensions/whois_parser'
2
3
  require_relative 'parser_extensions/whois_record'
3
-
4
- Whois.class_eval do
5
- include Whois::ParserExtensions::Whois
6
- end
7
- Whois::Record.class_eval do
8
- include Whois::ParserExtensions::WhoisRecord
9
- end
@@ -76,3 +76,8 @@ module Whois
76
76
 
77
77
  end
78
78
  end
79
+
80
+
81
+ Whois.class_eval do
82
+ include Whois::ParserExtensions::Whois
83
+ end
@@ -0,0 +1,24 @@
1
+ require 'whois'
2
+
3
+
4
+ module Whois
5
+ class ParserExtensions
6
+
7
+ module WhoisParser
8
+
9
+ # Lazy-loads and returns the parser proxy for current record.
10
+ #
11
+ # @return [Whois::Record::Parser]
12
+ def parser
13
+ @parser ||= Parser.new(self)
14
+ end
15
+
16
+ end
17
+
18
+ end
19
+ end
20
+
21
+
22
+ Whois::Record.class_eval do
23
+ include Whois::ParserExtensions::WhoisParser
24
+ end
@@ -15,7 +15,7 @@ module Whois
15
15
  # for {Parser::PROPERTIES} and {Parser::METHODS}.
16
16
  #
17
17
  # @return [Boolean]
18
- def respond_to?(symbol, include_private = false)
18
+ def respond_to_missing?(symbol, include_private = false)
19
19
  respond_to_parser_method?(symbol) || super
20
20
  end
21
21
 
@@ -168,8 +168,16 @@ module Whois
168
168
 
169
169
  # @api private
170
170
  def respond_to_parser_method?(symbol)
171
- name = symbol.to_s =~ /\?$/ ? symbol.to_s[0..-2] : symbol
172
- Parser::PROPERTIES.include?(name.to_sym) || Parser::METHODS.include?(name.to_sym)
171
+ Parser::PROPERTIES.include?(symbol) ||
172
+ Parser::METHODS.include?(symbol) ||
173
+ respond_to_question_method?(symbol)
174
+ end
175
+
176
+ def respond_to_question_method?(symbol)
177
+ return false unless symbol.to_s =~ /([a-z_]+)\?/
178
+ symbol = $1.to_sym
179
+ Parser::PROPERTIES.include?(symbol) ||
180
+ Parser::METHODS.include?(symbol)
173
181
  end
174
182
 
175
183
  # Delegates all method calls to the internal parser.
@@ -220,3 +228,8 @@ module Whois
220
228
 
221
229
  end
222
230
  end
231
+
232
+
233
+ Whois::Record.class_eval do
234
+ include Whois::ParserExtensions::WhoisRecord
235
+ end
data/lib/whois/parsers.rb CHANGED
@@ -1,4 +1 @@
1
- module Whois
2
- class Parsers
3
- end
4
- end
1
+ require_relative 'parsers/base'
@@ -0,0 +1,23 @@
1
+ #--
2
+ # Ruby Whois
3
+ #
4
+ # An intelligent pure Ruby WHOIS client and parser.
5
+ #
6
+ # Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net>
7
+ #++
8
+
9
+ require_relative 'base_icann_compliant'
10
+
11
+ module Whois
12
+ class Parsers
13
+
14
+ # Parser for the whois.cdmon.com server.
15
+ #
16
+ # @see Whois::Parsers::Example
17
+ # The Example parser for the list of all available methods.
18
+ #
19
+ class WhoisCdmonCom < BaseIcannCompliant
20
+ end
21
+
22
+ end
23
+ end
data/whois-parser.gemspec CHANGED
@@ -1,39 +1,42 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: whois-parser 1.0.0 ruby lib
2
+ # stub: whois-parser 1.0.0.pre.beta2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "whois-parser"
6
- s.version = "1.0.0"
6
+ s.version = "1.0.0.pre.beta2"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Simone Carletti"]
11
- s.date = "2015-12-25"
11
+ s.date = "2016-06-09"
12
12
  s.description = "Whois is an intelligent WHOIS parser written in pure Ruby. It can parse and convert responses into easy-to-use Ruby objects."
13
13
  s.email = ["weppos@weppos.net"]
14
- s.files = [".yardopts", "CHANGELOG.md", "CONTRIBUTING.md", "LICENSE.txt", "README.md", "lib/whois", "lib/whois-parser.rb", "lib/whois/parser", "lib/whois/parser.rb", "lib/whois/parser/contact.rb", "lib/whois/parser/errors.rb", "lib/whois/parser/nameserver.rb", "lib/whois/parser/registrar.rb", "lib/whois/parser/super_struct.rb", "lib/whois/parser/version.rb", "lib/whois/parser_extensions", "lib/whois/parser_extensions.rb", "lib/whois/parser_extensions/whois.rb", "lib/whois/parser_extensions/whois_record.rb", "lib/whois/parsers", "lib/whois/parsers.rb", "lib/whois/parsers/base.rb", "lib/whois/parsers/base_afilias.rb", "lib/whois/parsers/base_afilias2.rb", "lib/whois/parsers/base_cocca.rb", "lib/whois/parsers/base_cocca2.rb", "lib/whois/parsers/base_icann_compliant.rb", "lib/whois/parsers/base_icb.rb", "lib/whois/parsers/base_iisse.rb", "lib/whois/parsers/base_shared1.rb", "lib/whois/parsers/base_shared2.rb", "lib/whois/parsers/base_shared3.rb", "lib/whois/parsers/base_verisign.rb", "lib/whois/parsers/base_whoisd.rb", "lib/whois/parsers/blank.rb", "lib/whois/parsers/capetown-whois.registry.net.za.rb", "lib/whois/parsers/ccwhois.ksregistry.net.rb", "lib/whois/parsers/ccwhois.verisign-grs.com.rb", "lib/whois/parsers/durban-whois.registry.net.za.rb", "lib/whois/parsers/example.rb", "lib/whois/parsers/jobswhois.verisign-grs.com.rb", "lib/whois/parsers/joburg-whois.registry.net.za.rb", "lib/whois/parsers/kero.yachay.pe.rb", "lib/whois/parsers/org-whois.registry.net.za.rb", "lib/whois/parsers/whois.1und1.info.rb", "lib/whois/parsers/whois.35.com.rb", "lib/whois/parsers/whois.aeda.net.ae.rb", "lib/whois/parsers/whois.aero.rb", "lib/whois/parsers/whois.afilias-grs.info.rb", "lib/whois/parsers/whois.afilias.net.rb", "lib/whois/parsers/whois.ai.rb", "lib/whois/parsers/whois.amnic.net.rb", "lib/whois/parsers/whois.ascio.com.rb", "lib/whois/parsers/whois.ati.tn.rb", "lib/whois/parsers/whois.audns.net.au.rb", "lib/whois/parsers/whois.ax.rb", "lib/whois/parsers/whois.biz.rb", "lib/whois/parsers/whois.bnnic.bn.rb", "lib/whois/parsers/whois.cat.rb", "lib/whois/parsers/whois.cctld.by.rb", "lib/whois/parsers/whois.cctld.uz.rb", "lib/whois/parsers/whois.centralnic.com.rb", "lib/whois/parsers/whois.cira.ca.rb", "lib/whois/parsers/whois.cmc.iq.rb", "lib/whois/parsers/whois.cnnic.cn.rb", "lib/whois/parsers/whois.co.ca.rb", "lib/whois/parsers/whois.co.pl.rb", "lib/whois/parsers/whois.co.ug.rb", "lib/whois/parsers/whois.comlaude.com.rb", "lib/whois/parsers/whois.corporatedomains.com.rb", "lib/whois/parsers/whois.denic.de.rb", "lib/whois/parsers/whois.dk-hostmaster.dk.rb", "lib/whois/parsers/whois.dns.be.rb", "lib/whois/parsers/whois.dns.hr.rb", "lib/whois/parsers/whois.dns.lu.rb", "lib/whois/parsers/whois.dns.pl.rb", "lib/whois/parsers/whois.dns.pt.rb", "lib/whois/parsers/whois.domain-registry.nl.rb", "lib/whois/parsers/whois.domain.kg.rb", "lib/whois/parsers/whois.domainregistry.ie.rb", "lib/whois/parsers/whois.domreg.lt.rb", "lib/whois/parsers/whois.donuts.co.rb", "lib/whois/parsers/whois.dot.cf.rb", "lib/whois/parsers/whois.dot.tk.rb", "lib/whois/parsers/whois.dotgov.gov.rb", "lib/whois/parsers/whois.dotmobiregistry.net.rb", "lib/whois/parsers/whois.dotpostregistry.net.rb", "lib/whois/parsers/whois.dotproregistry.net.rb", "lib/whois/parsers/whois.dreamhost.com.rb", "lib/whois/parsers/whois.educause.edu.rb", "lib/whois/parsers/whois.eenet.ee.rb", "lib/whois/parsers/whois.enom.com.rb", "lib/whois/parsers/whois.eu.org.rb", "lib/whois/parsers/whois.eu.rb", "lib/whois/parsers/whois.fi.rb", "lib/whois/parsers/whois.gandi.net.rb", "lib/whois/parsers/whois.gg.rb", "lib/whois/parsers/whois.godaddy.com.rb", "lib/whois/parsers/whois.gov.za.rb", "lib/whois/parsers/whois.hkirc.hk.rb", "lib/whois/parsers/whois.iana.org.rb", "lib/whois/parsers/whois.iis.nu.rb", "lib/whois/parsers/whois.iis.se.rb", "lib/whois/parsers/whois.in.ua.rb", "lib/whois/parsers/whois.inregistry.net.rb", "lib/whois/parsers/whois.isnic.is.rb", "lib/whois/parsers/whois.isoc.org.il.rb", "lib/whois/parsers/whois.ja.net.rb", "lib/whois/parsers/whois.je.rb", "lib/whois/parsers/whois.jprs.jp.rb", "lib/whois/parsers/whois.kenic.or.ke.rb", "lib/whois/parsers/whois.kr.rb", "lib/whois/parsers/whois.markmonitor.com.rb", "lib/whois/parsers/whois.monic.mo.rb", "lib/whois/parsers/whois.museum.rb", "lib/whois/parsers/whois.mynic.my.rb", "lib/whois/parsers/whois.na-nic.com.na.rb", "lib/whois/parsers/whois.nc.rb", "lib/whois/parsers/whois.netcom.cm.rb", "lib/whois/parsers/whois.networksolutions.com.rb", "lib/whois/parsers/whois.nic.ac.rb", "lib/whois/parsers/whois.nic.af.rb", "lib/whois/parsers/whois.nic.ag.rb", "lib/whois/parsers/whois.nic.as.rb", "lib/whois/parsers/whois.nic.asia.rb", "lib/whois/parsers/whois.nic.at.rb", "lib/whois/parsers/whois.nic.bj.rb", "lib/whois/parsers/whois.nic.bo.rb", "lib/whois/parsers/whois.nic.cd.rb", "lib/whois/parsers/whois.nic.ch.rb", "lib/whois/parsers/whois.nic.ci.rb", "lib/whois/parsers/whois.nic.cl.rb", "lib/whois/parsers/whois.nic.co.rb", "lib/whois/parsers/whois.nic.college.rb", "lib/whois/parsers/whois.nic.coop.rb", "lib/whois/parsers/whois.nic.cx.rb", "lib/whois/parsers/whois.nic.cz.rb", "lib/whois/parsers/whois.nic.design.rb", "lib/whois/parsers/whois.nic.dm.rb", "lib/whois/parsers/whois.nic.dz.rb", "lib/whois/parsers/whois.nic.ec.rb", "lib/whois/parsers/whois.nic.es.rb", "lib/whois/parsers/whois.nic.fo.rb", "lib/whois/parsers/whois.nic.fr.rb", "lib/whois/parsers/whois.nic.gd.rb", "lib/whois/parsers/whois.nic.gl.rb", "lib/whois/parsers/whois.nic.gs.rb", "lib/whois/parsers/whois.nic.hn.rb", "lib/whois/parsers/whois.nic.ht.rb", "lib/whois/parsers/whois.nic.hu.rb", "lib/whois/parsers/whois.nic.im.rb", "lib/whois/parsers/whois.nic.io.rb", "lib/whois/parsers/whois.nic.ir.rb", "lib/whois/parsers/whois.nic.it.rb", "lib/whois/parsers/whois.nic.ki.rb", "lib/whois/parsers/whois.nic.kz.rb", "lib/whois/parsers/whois.nic.la.rb", "lib/whois/parsers/whois.nic.li.rb", "lib/whois/parsers/whois.nic.lk.rb", "lib/whois/parsers/whois.nic.lv.rb", "lib/whois/parsers/whois.nic.ly.rb", "lib/whois/parsers/whois.nic.md.rb", "lib/whois/parsers/whois.nic.me.rb", "lib/whois/parsers/whois.nic.mg.rb", "lib/whois/parsers/whois.nic.ms.rb", "lib/whois/parsers/whois.nic.mu.rb", "lib/whois/parsers/whois.nic.mx.rb", "lib/whois/parsers/whois.nic.name.rb", "lib/whois/parsers/whois.nic.net.ng.rb", "lib/whois/parsers/whois.nic.net.sa.rb", "lib/whois/parsers/whois.nic.net.sb.rb", "lib/whois/parsers/whois.nic.nf.rb", "lib/whois/parsers/whois.nic.org.uy.rb", "lib/whois/parsers/whois.nic.pr.rb", "lib/whois/parsers/whois.nic.priv.at.rb", "lib/whois/parsers/whois.nic.pw.rb", "lib/whois/parsers/whois.nic.sh.rb", "lib/whois/parsers/whois.nic.sl.rb", "lib/whois/parsers/whois.nic.sm.rb", "lib/whois/parsers/whois.nic.sn.rb", "lib/whois/parsers/whois.nic.so.rb", "lib/whois/parsers/whois.nic.space.rb", "lib/whois/parsers/whois.nic.st.rb", "lib/whois/parsers/whois.nic.tc.rb", "lib/whois/parsers/whois.nic.tech.rb", "lib/whois/parsers/whois.nic.tel.rb", "lib/whois/parsers/whois.nic.tl.rb", "lib/whois/parsers/whois.nic.tm.rb", "lib/whois/parsers/whois.nic.tr.rb", "lib/whois/parsers/whois.nic.travel.rb", "lib/whois/parsers/whois.nic.tv.rb", "lib/whois/parsers/whois.nic.uk.rb", "lib/whois/parsers/whois.nic.us.rb", "lib/whois/parsers/whois.nic.ve.rb", "lib/whois/parsers/whois.nic.xxx.rb", "lib/whois/parsers/whois.nic.xyz.rb", "lib/whois/parsers/whois.norid.no.rb", "lib/whois/parsers/whois.pairnic.com.rb", "lib/whois/parsers/whois.pandi.or.id.rb", "lib/whois/parsers/whois.pir.org.rb", "lib/whois/parsers/whois.pnina.ps.rb", "lib/whois/parsers/whois.register.bg.rb", "lib/whois/parsers/whois.register.com.rb", "lib/whois/parsers/whois.register.si.rb", "lib/whois/parsers/whois.registre.ma.rb", "lib/whois/parsers/whois.registro.br.rb", "lib/whois/parsers/whois.registry.gy.rb", "lib/whois/parsers/whois.registry.hm.rb", "lib/whois/parsers/whois.registry.net.za.rb", "lib/whois/parsers/whois.registry.om.rb", "lib/whois/parsers/whois.registry.qa.rb", "lib/whois/parsers/whois.ripe.net.rb", "lib/whois/parsers/whois.rnids.rs.rb", "lib/whois/parsers/whois.rotld.ro.rb", "lib/whois/parsers/whois.rrpproxy.net.rb", "lib/whois/parsers/whois.safenames.net.rb", "lib/whois/parsers/whois.schlund.info.rb", "lib/whois/parsers/whois.sgnic.sg.rb", "lib/whois/parsers/whois.sk-nic.sk.rb", "lib/whois/parsers/whois.smallregistry.net.rb", "lib/whois/parsers/whois.srs.net.nz.rb", "lib/whois/parsers/whois.sx.rb", "lib/whois/parsers/whois.tcinet.ru.rb", "lib/whois/parsers/whois.thnic.co.th.rb", "lib/whois/parsers/whois.tld.ee.rb", "lib/whois/parsers/whois.tld.sy.rb", "lib/whois/parsers/whois.tonic.to.rb", "lib/whois/parsers/whois.tucows.com.rb", "lib/whois/parsers/whois.twnic.net.tw.rb", "lib/whois/parsers/whois.tznic.or.tz.rb", "lib/whois/parsers/whois.ua.rb", "lib/whois/parsers/whois.udag.net.rb", "lib/whois/parsers/whois.uniregistry.net.rb", "lib/whois/parsers/whois.usp.ac.fj.rb", "lib/whois/parsers/whois.verisign-grs.com.rb", "lib/whois/parsers/whois.website.ws.rb", "lib/whois/parsers/whois.wildwestdomains.com.rb", "lib/whois/parsers/whois.yoursrs.com.rb", "lib/whois/parsers/whois.za.net.rb", "lib/whois/parsers/whois.za.org.rb", "lib/whois/parsers/whois1.nic.bi.rb", "lib/whois/parsers/za_central_registry.rb", "lib/whois/safe_record.rb", "lib/whois/scanners", "lib/whois/scanners/base.rb", "lib/whois/scanners/base_afilias.rb", "lib/whois/scanners/base_cocca2.rb", "lib/whois/scanners/base_icann_compliant.rb", "lib/whois/scanners/base_iisse.rb", "lib/whois/scanners/base_shared1.rb", "lib/whois/scanners/base_shared2.rb", "lib/whois/scanners/base_shared3.rb", "lib/whois/scanners/base_whoisd.rb", "lib/whois/scanners/iana.rb", "lib/whois/scanners/scannable.rb", "lib/whois/scanners/verisign.rb", "lib/whois/scanners/whois.ati.tn.rb", "lib/whois/scanners/whois.audns.net.au.rb", "lib/whois/scanners/whois.cctld.by.rb", "lib/whois/scanners/whois.centralnic.com.rb", "lib/whois/scanners/whois.cira.ca.rb", "lib/whois/scanners/whois.cnnic.cn.rb", "lib/whois/scanners/whois.denic.de.rb", "lib/whois/scanners/whois.dns.hr.rb", "lib/whois/scanners/whois.domainregistry.ie.rb", "lib/whois/scanners/whois.fi.rb", "lib/whois/scanners/whois.nc.rb", "lib/whois/scanners/whois.nic.cz.rb", "lib/whois/scanners/whois.nic.it.rb", "lib/whois/scanners/whois.pir.org.rb", "lib/whois/scanners/whois.registry.net.za.rb", "lib/whois/scanners/whois.rnids.rs.rb", "lib/whois/scanners/whois.smallregistry.net.rb", "lib/whois/scanners/whois.srs.net.nz.rb", "lib/whois/scanners/whois.sx.rb", "lib/whois/scanners/whois.tld.ee.rb", "lib/whois/scanners/whois.tucows.com.rb", "lib/whois/scanners/whois.yoursrs.com.rb", "whois-parser.gemspec"]
14
+ s.files = [".yardopts", "CHANGELOG.md", "CONTRIBUTING.md", "LICENSE.txt", "README.md", "lib/whois", "lib/whois-parser.rb", "lib/whois/parser", "lib/whois/parser.rb", "lib/whois/parser/contact.rb", "lib/whois/parser/errors.rb", "lib/whois/parser/nameserver.rb", "lib/whois/parser/registrar.rb", "lib/whois/parser/super_struct.rb", "lib/whois/parser/version.rb", "lib/whois/parser_extensions", "lib/whois/parser_extensions.rb", "lib/whois/parser_extensions/whois.rb", "lib/whois/parser_extensions/whois_parser.rb", "lib/whois/parser_extensions/whois_record.rb", "lib/whois/parsers", "lib/whois/parsers.rb", "lib/whois/parsers/base.rb", "lib/whois/parsers/base_afilias.rb", "lib/whois/parsers/base_afilias2.rb", "lib/whois/parsers/base_cocca.rb", "lib/whois/parsers/base_cocca2.rb", "lib/whois/parsers/base_icann_compliant.rb", "lib/whois/parsers/base_icb.rb", "lib/whois/parsers/base_iisse.rb", "lib/whois/parsers/base_nic_fr.rb", "lib/whois/parsers/base_shared1.rb", "lib/whois/parsers/base_shared2.rb", "lib/whois/parsers/base_shared3.rb", "lib/whois/parsers/base_verisign.rb", "lib/whois/parsers/base_whoisd.rb", "lib/whois/parsers/blank.rb", "lib/whois/parsers/capetown-whois.registry.net.za.rb", "lib/whois/parsers/ccwhois.ksregistry.net.rb", "lib/whois/parsers/ccwhois.verisign-grs.com.rb", "lib/whois/parsers/durban-whois.registry.net.za.rb", "lib/whois/parsers/example.rb", "lib/whois/parsers/joburg-whois.registry.net.za.rb", "lib/whois/parsers/kero.yachay.pe.rb", "lib/whois/parsers/org-whois.registry.net.za.rb", "lib/whois/parsers/tvwhois.verisign-grs.com.rb", "lib/whois/parsers/whois.1und1.info.rb", "lib/whois/parsers/whois.35.com.rb", "lib/whois/parsers/whois.aeda.net.ae.rb", "lib/whois/parsers/whois.aero.rb", "lib/whois/parsers/whois.afilias-grs.info.rb", "lib/whois/parsers/whois.afilias.net.rb", "lib/whois/parsers/whois.ai.rb", "lib/whois/parsers/whois.amnic.net.rb", "lib/whois/parsers/whois.ascio.com.rb", "lib/whois/parsers/whois.ati.tn.rb", "lib/whois/parsers/whois.audns.net.au.rb", "lib/whois/parsers/whois.ax.rb", "lib/whois/parsers/whois.biz.rb", "lib/whois/parsers/whois.bnnic.bn.rb", "lib/whois/parsers/whois.cat.rb", "lib/whois/parsers/whois.cctld.by.rb", "lib/whois/parsers/whois.cctld.uz.rb", "lib/whois/parsers/whois.cdmon.com.rb", "lib/whois/parsers/whois.centralnic.com.rb", "lib/whois/parsers/whois.cira.ca.rb", "lib/whois/parsers/whois.cmc.iq.rb", "lib/whois/parsers/whois.cnnic.cn.rb", "lib/whois/parsers/whois.co.ca.rb", "lib/whois/parsers/whois.co.pl.rb", "lib/whois/parsers/whois.co.ug.rb", "lib/whois/parsers/whois.comlaude.com.rb", "lib/whois/parsers/whois.corporatedomains.com.rb", "lib/whois/parsers/whois.denic.de.rb", "lib/whois/parsers/whois.dk-hostmaster.dk.rb", "lib/whois/parsers/whois.dns.be.rb", "lib/whois/parsers/whois.dns.hr.rb", "lib/whois/parsers/whois.dns.lu.rb", "lib/whois/parsers/whois.dns.pl.rb", "lib/whois/parsers/whois.dns.pt.rb", "lib/whois/parsers/whois.domain-registry.nl.rb", "lib/whois/parsers/whois.domain.kg.rb", "lib/whois/parsers/whois.domainregistry.ie.rb", "lib/whois/parsers/whois.domreg.lt.rb", "lib/whois/parsers/whois.donuts.co.rb", "lib/whois/parsers/whois.dot.cf.rb", "lib/whois/parsers/whois.dot.tk.rb", "lib/whois/parsers/whois.dotgov.gov.rb", "lib/whois/parsers/whois.dotmobiregistry.net.rb", "lib/whois/parsers/whois.dotpostregistry.net.rb", "lib/whois/parsers/whois.dreamhost.com.rb", "lib/whois/parsers/whois.educause.edu.rb", "lib/whois/parsers/whois.eenet.ee.rb", "lib/whois/parsers/whois.enom.com.rb", "lib/whois/parsers/whois.eu.org.rb", "lib/whois/parsers/whois.eu.rb", "lib/whois/parsers/whois.fi.rb", "lib/whois/parsers/whois.gandi.net.rb", "lib/whois/parsers/whois.gg.rb", "lib/whois/parsers/whois.godaddy.com.rb", "lib/whois/parsers/whois.gov.za.rb", "lib/whois/parsers/whois.hkirc.hk.rb", "lib/whois/parsers/whois.iana.org.rb", "lib/whois/parsers/whois.iis.nu.rb", "lib/whois/parsers/whois.iis.se.rb", "lib/whois/parsers/whois.in.ua.rb", "lib/whois/parsers/whois.inregistry.net.rb", "lib/whois/parsers/whois.isnic.is.rb", "lib/whois/parsers/whois.isoc.org.il.rb", "lib/whois/parsers/whois.ja.net.rb", "lib/whois/parsers/whois.je.rb", "lib/whois/parsers/whois.jprs.jp.rb", "lib/whois/parsers/whois.kenic.or.ke.rb", "lib/whois/parsers/whois.kr.rb", "lib/whois/parsers/whois.markmonitor.com.rb", "lib/whois/parsers/whois.monic.mo.rb", "lib/whois/parsers/whois.museum.rb", "lib/whois/parsers/whois.mynic.my.rb", "lib/whois/parsers/whois.na-nic.com.na.rb", "lib/whois/parsers/whois.nc.rb", "lib/whois/parsers/whois.netcom.cm.rb", "lib/whois/parsers/whois.networksolutions.com.rb", "lib/whois/parsers/whois.nic.ac.rb", "lib/whois/parsers/whois.nic.af.rb", "lib/whois/parsers/whois.nic.ag.rb", "lib/whois/parsers/whois.nic.as.rb", "lib/whois/parsers/whois.nic.asia.rb", "lib/whois/parsers/whois.nic.at.rb", "lib/whois/parsers/whois.nic.bj.rb", "lib/whois/parsers/whois.nic.bo.rb", "lib/whois/parsers/whois.nic.cd.rb", "lib/whois/parsers/whois.nic.ch.rb", "lib/whois/parsers/whois.nic.ci.rb", "lib/whois/parsers/whois.nic.cl.rb", "lib/whois/parsers/whois.nic.co.rb", "lib/whois/parsers/whois.nic.college.rb", "lib/whois/parsers/whois.nic.coop.rb", "lib/whois/parsers/whois.nic.cx.rb", "lib/whois/parsers/whois.nic.cz.rb", "lib/whois/parsers/whois.nic.design.rb", "lib/whois/parsers/whois.nic.dm.rb", "lib/whois/parsers/whois.nic.dz.rb", "lib/whois/parsers/whois.nic.ec.rb", "lib/whois/parsers/whois.nic.es.rb", "lib/whois/parsers/whois.nic.fo.rb", "lib/whois/parsers/whois.nic.fr.rb", "lib/whois/parsers/whois.nic.gd.rb", "lib/whois/parsers/whois.nic.gl.rb", "lib/whois/parsers/whois.nic.gs.rb", "lib/whois/parsers/whois.nic.hn.rb", "lib/whois/parsers/whois.nic.ht.rb", "lib/whois/parsers/whois.nic.hu.rb", "lib/whois/parsers/whois.nic.im.rb", "lib/whois/parsers/whois.nic.io.rb", "lib/whois/parsers/whois.nic.ir.rb", "lib/whois/parsers/whois.nic.it.rb", "lib/whois/parsers/whois.nic.jobs.rb", "lib/whois/parsers/whois.nic.ki.rb", "lib/whois/parsers/whois.nic.kz.rb", "lib/whois/parsers/whois.nic.la.rb", "lib/whois/parsers/whois.nic.li.rb", "lib/whois/parsers/whois.nic.lk.rb", "lib/whois/parsers/whois.nic.lv.rb", "lib/whois/parsers/whois.nic.ly.rb", "lib/whois/parsers/whois.nic.md.rb", "lib/whois/parsers/whois.nic.me.rb", "lib/whois/parsers/whois.nic.mg.rb", "lib/whois/parsers/whois.nic.ms.rb", "lib/whois/parsers/whois.nic.mu.rb", "lib/whois/parsers/whois.nic.mx.rb", "lib/whois/parsers/whois.nic.name.rb", "lib/whois/parsers/whois.nic.net.ng.rb", "lib/whois/parsers/whois.nic.net.sa.rb", "lib/whois/parsers/whois.nic.net.sb.rb", "lib/whois/parsers/whois.nic.nf.rb", "lib/whois/parsers/whois.nic.org.uy.rb", "lib/whois/parsers/whois.nic.pm.rb", "lib/whois/parsers/whois.nic.pr.rb", "lib/whois/parsers/whois.nic.priv.at.rb", "lib/whois/parsers/whois.nic.pw.rb", "lib/whois/parsers/whois.nic.re.rb", "lib/whois/parsers/whois.nic.sh.rb", "lib/whois/parsers/whois.nic.sl.rb", "lib/whois/parsers/whois.nic.sm.rb", "lib/whois/parsers/whois.nic.sn.rb", "lib/whois/parsers/whois.nic.so.rb", "lib/whois/parsers/whois.nic.space.rb", "lib/whois/parsers/whois.nic.st.rb", "lib/whois/parsers/whois.nic.tc.rb", "lib/whois/parsers/whois.nic.tech.rb", "lib/whois/parsers/whois.nic.tel.rb", "lib/whois/parsers/whois.nic.tl.rb", "lib/whois/parsers/whois.nic.tm.rb", "lib/whois/parsers/whois.nic.tr.rb", "lib/whois/parsers/whois.nic.travel.rb", "lib/whois/parsers/whois.nic.uk.rb", "lib/whois/parsers/whois.nic.us.rb", "lib/whois/parsers/whois.nic.ve.rb", "lib/whois/parsers/whois.nic.wf.rb", "lib/whois/parsers/whois.nic.xxx.rb", "lib/whois/parsers/whois.nic.xyz.rb", "lib/whois/parsers/whois.norid.no.rb", "lib/whois/parsers/whois.pairnic.com.rb", "lib/whois/parsers/whois.pandi.or.id.rb", "lib/whois/parsers/whois.pir.org.rb", "lib/whois/parsers/whois.pnina.ps.rb", "lib/whois/parsers/whois.register.bg.rb", "lib/whois/parsers/whois.register.com.rb", "lib/whois/parsers/whois.register.si.rb", "lib/whois/parsers/whois.registre.ma.rb", "lib/whois/parsers/whois.registro.br.rb", "lib/whois/parsers/whois.registry.gy.rb", "lib/whois/parsers/whois.registry.hm.rb", "lib/whois/parsers/whois.registry.net.za.rb", "lib/whois/parsers/whois.registry.om.rb", "lib/whois/parsers/whois.registry.qa.rb", "lib/whois/parsers/whois.ripe.net.rb", "lib/whois/parsers/whois.rnids.rs.rb", "lib/whois/parsers/whois.rotld.ro.rb", "lib/whois/parsers/whois.rrpproxy.net.rb", "lib/whois/parsers/whois.safenames.net.rb", "lib/whois/parsers/whois.schlund.info.rb", "lib/whois/parsers/whois.sgnic.sg.rb", "lib/whois/parsers/whois.sk-nic.sk.rb", "lib/whois/parsers/whois.smallregistry.net.rb", "lib/whois/parsers/whois.srs.net.nz.rb", "lib/whois/parsers/whois.sx.rb", "lib/whois/parsers/whois.tcinet.ru.rb", "lib/whois/parsers/whois.thnic.co.th.rb", "lib/whois/parsers/whois.tld.ee.rb", "lib/whois/parsers/whois.tld.sy.rb", "lib/whois/parsers/whois.tonic.to.rb", "lib/whois/parsers/whois.tucows.com.rb", "lib/whois/parsers/whois.twnic.net.tw.rb", "lib/whois/parsers/whois.tznic.or.tz.rb", "lib/whois/parsers/whois.ua.rb", "lib/whois/parsers/whois.udag.net.rb", "lib/whois/parsers/whois.uniregistry.net.rb", "lib/whois/parsers/whois.usp.ac.fj.rb", "lib/whois/parsers/whois.verisign-grs.com.rb", "lib/whois/parsers/whois.website.ws.rb", "lib/whois/parsers/whois.wildwestdomains.com.rb", "lib/whois/parsers/whois.yoursrs.com.rb", "lib/whois/parsers/whois.za.net.rb", "lib/whois/parsers/whois.za.org.rb", "lib/whois/parsers/whois1.nic.bi.rb", "lib/whois/parsers/za_central_registry.rb", "lib/whois/safe_record.rb", "lib/whois/scanners", "lib/whois/scanners/base.rb", "lib/whois/scanners/base_afilias.rb", "lib/whois/scanners/base_cocca2.rb", "lib/whois/scanners/base_icann_compliant.rb", "lib/whois/scanners/base_iisse.rb", "lib/whois/scanners/base_shared1.rb", "lib/whois/scanners/base_shared2.rb", "lib/whois/scanners/base_shared3.rb", "lib/whois/scanners/base_whoisd.rb", "lib/whois/scanners/iana.rb", "lib/whois/scanners/scannable.rb", "lib/whois/scanners/verisign.rb", "lib/whois/scanners/whois.ati.tn.rb", "lib/whois/scanners/whois.audns.net.au.rb", "lib/whois/scanners/whois.cctld.by.rb", "lib/whois/scanners/whois.centralnic.com.rb", "lib/whois/scanners/whois.cira.ca.rb", "lib/whois/scanners/whois.cnnic.cn.rb", "lib/whois/scanners/whois.denic.de.rb", "lib/whois/scanners/whois.dns.hr.rb", "lib/whois/scanners/whois.domainregistry.ie.rb", "lib/whois/scanners/whois.fi.rb", "lib/whois/scanners/whois.nc.rb", "lib/whois/scanners/whois.nic.cz.rb", "lib/whois/scanners/whois.nic.it.rb", "lib/whois/scanners/whois.pir.org.rb", "lib/whois/scanners/whois.registry.net.za.rb", "lib/whois/scanners/whois.rnids.rs.rb", "lib/whois/scanners/whois.smallregistry.net.rb", "lib/whois/scanners/whois.srs.net.nz.rb", "lib/whois/scanners/whois.sx.rb", "lib/whois/scanners/whois.tld.ee.rb", "lib/whois/scanners/whois.tucows.com.rb", "lib/whois/scanners/whois.yoursrs.com.rb", "whois-parser.gemspec"]
15
15
  s.homepage = "http://whoisrb.org/"
16
16
  s.licenses = ["MIT"]
17
17
  s.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
18
- s.rubygems_version = "2.4.7"
18
+ s.rubygems_version = "2.5.1"
19
19
  s.summary = "An intelligent pure Ruby WHOIS parser."
20
20
 
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 4
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- s.add_runtime_dependency(%q<activesupport>, [">= 3"])
25
+ s.add_runtime_dependency(%q<whois>, [">= 4.0.0.pre.beta2"])
26
+ s.add_runtime_dependency(%q<activesupport>, [">= 4"])
26
27
  s.add_development_dependency(%q<rake>, [">= 0"])
27
28
  s.add_development_dependency(%q<rspec>, ["~> 3.3"])
28
29
  s.add_development_dependency(%q<yard>, [">= 0"])
29
30
  else
30
- s.add_dependency(%q<activesupport>, [">= 3"])
31
+ s.add_dependency(%q<whois>, [">= 4.0.0.pre.beta2"])
32
+ s.add_dependency(%q<activesupport>, [">= 4"])
31
33
  s.add_dependency(%q<rake>, [">= 0"])
32
34
  s.add_dependency(%q<rspec>, ["~> 3.3"])
33
35
  s.add_dependency(%q<yard>, [">= 0"])
34
36
  end
35
37
  else
36
- s.add_dependency(%q<activesupport>, [">= 3"])
38
+ s.add_dependency(%q<whois>, [">= 4.0.0.pre.beta2"])
39
+ s.add_dependency(%q<activesupport>, [">= 4"])
37
40
  s.add_dependency(%q<rake>, [">= 0"])
38
41
  s.add_dependency(%q<rspec>, ["~> 3.3"])
39
42
  s.add_dependency(%q<yard>, [">= 0"])
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whois-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta1
4
+ version: 1.0.0.pre.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: whois
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0.pre.beta2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0.pre.beta2
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: activesupport
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ">="
18
32
  - !ruby/object:Gem::Version
19
- version: '3'
33
+ version: '4'
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - ">="
25
39
  - !ruby/object:Gem::Version
26
- version: '3'
40
+ version: '4'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +103,7 @@ files:
89
103
  - lib/whois/parser/version.rb
90
104
  - lib/whois/parser_extensions.rb
91
105
  - lib/whois/parser_extensions/whois.rb
106
+ - lib/whois/parser_extensions/whois_parser.rb
92
107
  - lib/whois/parser_extensions/whois_record.rb
93
108
  - lib/whois/parsers.rb
94
109
  - lib/whois/parsers/base.rb
@@ -132,6 +147,7 @@ files:
132
147
  - lib/whois/parsers/whois.cat.rb
133
148
  - lib/whois/parsers/whois.cctld.by.rb
134
149
  - lib/whois/parsers/whois.cctld.uz.rb
150
+ - lib/whois/parsers/whois.cdmon.com.rb
135
151
  - lib/whois/parsers/whois.centralnic.com.rb
136
152
  - lib/whois/parsers/whois.cira.ca.rb
137
153
  - lib/whois/parsers/whois.cmc.iq.rb