whois-parser 1.0.0 → 1.0.1

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: bb3663a7ef8a5aa078941f790e09de10463eba64
4
- data.tar.gz: 244dd9862d470d214419a54b04fc245e6b3f956d
3
+ metadata.gz: 21fd5bc663957914cbcb65f55d5e6bc882a6c514
4
+ data.tar.gz: d13280e84b84c53572c060f513d37e117c1a15c6
5
5
  SHA512:
6
- metadata.gz: 8860fa3b38eef1eddd28fbb08ea01e29f58bd0a07878132d79b8d7e608fe7dd7ad900ce05aa2794855331c3a6111f033531848f828c0e3c8b76d762214fe7334
7
- data.tar.gz: 18f7727d0a1cb0f56ef421b6a03168af39448d1d0c1c66de845fa99fbd2e898e3c3411fdc5b98bd684df4ce94d35284a1411c0c8e91abf9809bb69b6dad2cbfa
6
+ metadata.gz: 0da9c4c8bcc2eb236e07ac477631ae26c3fcdafa3e39e9459eb339906e09099c4953db12012cb892e0478f60292dad4a3c92071e73f2decc0acef2ea21f2a311
7
+ data.tar.gz: '0159553706ade5a05ff3de68168b751dd84127411783127c860492b7c665392c68aa116ce1cac81b8edc1f3882eafe286c040ec59f199188a7cb1b59f2531bf4'
data/CHANGELOG.md CHANGED
@@ -3,7 +3,20 @@
3
3
  This project uses [Semantic Versioning 2.0.0](http://semver.org/).
4
4
 
5
5
 
6
- ##### Release 1.0
6
+ #### Release 1.0.1
7
+
8
+ - CHANGED: Updated GoDaddy parser to the new response (GH-60).
9
+
10
+ - CHANGED: Updated Donuts parser to the new response. It looks like Donuts is now more compliant with base ICANN parser.
11
+
12
+ - CHANGED: Updated Verisign parser to the new response (GH-57). [Thanks @phcyso]
13
+
14
+ - CHANGED: Updated .BR parser to the new response (GH-51). [Thanks @otaviojr]
15
+
16
+ - CHANGED: Add support for :expires_on to base_nic_fr (GH-54). [Thanks @yastupin]
17
+
18
+
19
+ #### Release 1.0
7
20
 
8
21
  **1.0.0-beta2**
9
22
 
@@ -21,7 +34,7 @@ Initial import from the `whois` library.
21
34
 
22
35
  - NEW: Detect reserved .INFO domains (whois/GH-468).
23
36
 
24
- - FIXED: whois.audns.net.au removed the registrar ID field (GH-20, GH-21). Thanks [@afoster]
37
+ - CHANGED: whois.audns.net.au removed the registrar ID field (GH-20, GH-21). Thanks [@afoster]
25
38
 
26
39
  - CHANGED: Updated .JOBS from obswhois.verisign-grs.com to whois.nic.jobs (GH-23).
27
40
 
data/README.md CHANGED
@@ -24,4 +24,4 @@ The [whois repository](https://github.com/weppos/whois) contains more informatio
24
24
 
25
25
  ## License
26
26
 
27
- Copyright (c) 2009-2016 [Simone Carletti](https://simonecarletti.com/). This is Free Software distributed under the MIT license.
27
+ Copyright (c) 2009-2017 [Simone Carletti](https://simonecarletti.com/). This is Free Software distributed under the MIT license.
@@ -1,6 +1,6 @@
1
1
  module Whois
2
2
  class Parser
3
3
  # The current library version.
4
- VERSION = "1.0.0".freeze
4
+ VERSION = "1.0.1".freeze
5
5
  end
6
6
  end
@@ -25,11 +25,11 @@ module Whois
25
25
 
26
26
 
27
27
  property_supported :domain do
28
- node('Domain Name', &:downcase)
28
+ node("Domain Name", &:downcase)
29
29
  end
30
30
 
31
31
  property_supported :domain_id do
32
- node('Registry Domain ID')
32
+ node("Registry Domain ID")
33
33
  end
34
34
 
35
35
 
@@ -52,32 +52,32 @@ module Whois
52
52
 
53
53
 
54
54
  property_supported :created_on do
55
- node('Creation Date') do |value|
55
+ node("Creation Date") do |value|
56
56
  parse_time(value)
57
57
  end
58
58
  end
59
59
 
60
60
  property_supported :updated_on do
61
- node('Updated Date') do |value|
61
+ node("Updated Date") do |value|
62
62
  parse_time(value)
63
63
  end
64
64
  end
65
65
 
66
66
  property_supported :expires_on do
67
- node('Registrar Registration Expiration Date') do |value|
67
+ node("Registrar Registration Expiration Date") do |value|
68
68
  parse_time(value)
69
69
  end
70
70
  end
71
71
 
72
72
 
73
73
  property_supported :registrar do
74
- return unless node('Registrar')
75
- Parser::Registrar.new(
76
- id: node('Registrar IANA ID'),
77
- name: node('Registrar'),
78
- organization: node('Registrar'),
79
- url: node('Registrar URL'),
80
- )
74
+ return unless node("Registrar")
75
+ Parser::Registrar.new({
76
+ id: node("Registrar IANA ID"),
77
+ name: node("Registrar"),
78
+ organization: node("Registrar"),
79
+ url: node("Registrar URL"),
80
+ })
81
81
  end
82
82
 
83
83
 
@@ -95,7 +95,7 @@ module Whois
95
95
 
96
96
 
97
97
  property_supported :nameservers do
98
- Array.wrap(node('Name Server') || node('Name Servers')).reject(&:empty?).map do |name|
98
+ Array.wrap(node("Name Server") || node("Name Servers")).reject(&:empty?).map do |name|
99
99
  Parser::Nameserver.new(name: name.downcase)
100
100
  end
101
101
  end
@@ -64,9 +64,12 @@ module Whois
64
64
  end
65
65
  end
66
66
 
67
- # TODO: Use anniversary
68
- property_not_supported :expires_on
69
-
67
+ property_supported :expires_on do
68
+ if content_for_scanner =~ /Expiry Date:\s+(.+)\n/
69
+ d, m, y = $1.split("/")
70
+ parse_time("#{y}-#{m}-#{d}")
71
+ end
72
+ end
70
73
 
71
74
  property_supported :registrant_contacts do
72
75
  parse_contact("holder-c", Parser::Contact::TYPE_REGISTRANT)
@@ -86,8 +89,8 @@ module Whois
86
89
  if line =~ /(.+) \[(.+)\]/
87
90
  name = $1
88
91
  ips = $2.split(/\s+/)
89
- ipv4 = ips.find { |ip| Whois::Server.valid_ipv4?(ip) }
90
- ipv6 = ips.find { |ip| Whois::Server.valid_ipv6?(ip) }
92
+ ipv4 = ips.find { |ip| Whois::Server.send(:valid_ipv4?, ip) }
93
+ ipv6 = ips.find { |ip| Whois::Server.send(:valid_ipv6?, ip) }
91
94
  Parser::Nameserver.new(:name => name, :ipv4 => ipv4, :ipv6 => ipv6)
92
95
  else
93
96
  Parser::Nameserver.new(:name => line)
@@ -30,7 +30,7 @@ module Whois
30
30
  end
31
31
 
32
32
  property_supported :domain_id do
33
- node("Domain ID")
33
+ node("Registry Domain ID")
34
34
  end
35
35
 
36
36
 
@@ -66,9 +66,9 @@ module Whois
66
66
 
67
67
 
68
68
  property_supported :registrar do
69
- node("Sponsoring Registrar") do |value|
69
+ node("Registrar") do |value|
70
70
  Parser::Registrar.new(
71
- id: last_useful_item(node("Sponsoring Registrar IANA ID")),
71
+ id: last_useful_item(node("Registrar IANA ID")),
72
72
  name: last_useful_item(value),
73
73
  url: referral_url
74
74
  )
@@ -84,11 +84,11 @@ module Whois
84
84
 
85
85
 
86
86
  def referral_whois
87
- node("Whois Server")
87
+ node("Registrar WHOIS Server")
88
88
  end
89
89
 
90
90
  def referral_url
91
- last_useful_item(node("Referral URL"))
91
+ last_useful_item(node("Registrar URL"))
92
92
  end
93
93
 
94
94
 
@@ -19,41 +19,38 @@ module Whois
19
19
  # The Example parser for the list of all available methods.
20
20
  #
21
21
  class WhoisDonutsCo < BaseIcannCompliant
22
+
22
23
  self.scanner = Scanners::BaseIcannCompliant, {
23
- pattern_available: /^Domain not found\.\n/
24
+ pattern_available: /^Domain not found\./
24
25
  }
25
26
 
26
27
 
27
- property_supported :domain_id do
28
- node('Domain ID')
29
- end
30
-
31
-
32
28
  property_supported :expires_on do
33
- node('Registry Expiry Date') do |value|
29
+ node("Registry Expiry Date") do |value|
34
30
  parse_time(value)
35
31
  end
36
32
  end
37
33
 
38
34
 
39
35
  property_supported :registrar do
40
- return unless node('Sponsoring Registrar')
41
- Parser::Registrar.new(
42
- id: node('Sponsoring Registrar IANA ID'),
43
- name: node('Sponsoring Registrar'),
44
- organization: node('Sponsoring Registrar')
45
- )
36
+ return unless node("Registrar")
37
+ Parser::Registrar.new({
38
+ id: node("Registrar IANA ID"),
39
+ name: node("Registrar"),
40
+ organization: node("Registrar"),
41
+ url: node("Registrar URL"),
42
+ })
46
43
  end
47
44
 
48
45
 
49
46
  private
50
-
51
- def build_contact(element, type)
52
- if (contact = super)
53
- contact.id = node("#{element} ID")
54
- end
55
- contact
56
- end
47
+ #
48
+ # def build_contact(element, type)
49
+ # if (contact = super)
50
+ # contact.id = node("#{element} ID")
51
+ # end
52
+ # contact
53
+ # end
57
54
 
58
55
  end
59
56
 
@@ -7,7 +7,7 @@
7
7
  #++
8
8
 
9
9
 
10
- require_relative 'base'
10
+ require_relative 'base_icann_compliant'
11
11
 
12
12
 
13
13
  module Whois
@@ -18,9 +18,7 @@ module Whois
18
18
  # @see Whois::Parsers::Example
19
19
  # The Example parser for the list of all available methods.
20
20
  #
21
- class WhoisGodaddyCom < Base
22
-
23
- property_not_supported :status
21
+ class WhoisGodaddyCom < BaseIcannCompliant
24
22
 
25
23
  # The server is contacted only in case of a registered domain.
26
24
  property_supported :available? do
@@ -32,77 +30,9 @@ module Whois
32
30
  end
33
31
 
34
32
 
35
- property_supported :created_on do
36
- if content_for_scanner =~ /Creation Date: (.+)\n/
37
- parse_time($1)
38
- end
39
- end
40
-
41
33
  property_supported :updated_on do
42
- if content_for_scanner =~ /Updated* Date: (.+)\n/
43
- parse_time($1)
44
- end
45
- end
46
-
47
- property_supported :expires_on do
48
- if content_for_scanner =~ /Expiration Date: (.+)\n/
49
- parse_time($1)
50
- end
51
- end
52
-
53
-
54
- property_supported :registrar do
55
- Parser::Registrar.new(
56
- name: content_for_scanner[/Registrar: (.+)\n/, 1],
57
- url: content_for_scanner[/Registrar URL: (.+)\n/, 1],
58
- )
59
- end
60
-
61
- property_supported :registrant_contacts do
62
- build_contact('Registrant', Parser::Contact::TYPE_REGISTRANT)
63
- end
64
-
65
- property_supported :admin_contacts do
66
- build_contact('Admin', Parser::Contact::TYPE_ADMINISTRATIVE)
67
- end
68
-
69
- property_supported :technical_contacts do
70
- build_contact('Tech', Parser::Contact::TYPE_TECHNICAL)
71
- end
72
-
73
- property_supported :nameservers do
74
- content_for_scanner.scan(/Name Server: (.+)\n/).map do |line|
75
- Parser::Nameserver.new(name: line[0].strip)
76
- end
77
- end
78
-
79
-
80
- private
81
-
82
- def build_contact(element, type)
83
- Parser::Contact.new(
84
- type: type,
85
- id: nil,
86
- name: value_for_property(element, 'Name'),
87
- organization: value_for_property(element, 'Organization'),
88
- address: value_for_property(element, 'Street'),
89
- city: value_for_property(element, 'City'),
90
- zip: value_for_property(element, 'Postal Code'),
91
- state: value_for_property(element, 'State/Province'),
92
- country: value_for_property(element, 'Country'),
93
- phone: value_for_property(element, 'Phone'),
94
- fax: value_for_property(element, 'Fax'),
95
- email: value_for_property(element, 'Email')
96
- )
97
- end
98
-
99
- def value_for_property(element, property)
100
- matches = content_for_scanner.scan(/#{element} #{property}:\s(.+)\n/)
101
- value = matches.collect(&:first).join(', ')
102
- if value == ""
103
- nil
104
- else
105
- value
34
+ node("Update Date") do |value|
35
+ parse_time(value)
106
36
  end
107
37
  end
108
38
 
@@ -93,8 +93,8 @@ module Whois
93
93
  name, ip = $1, $2
94
94
  order << name unless order.include?(name)
95
95
  list[name] ||= Parser::Nameserver.new(:name => name)
96
- list[name].ipv4 = ip if Whois::Server.valid_ipv4?(ip)
97
- list[name].ipv6 = ip if Whois::Server.valid_ipv6?(ip)
96
+ list[name].ipv4 = ip if Whois::Server.send(:valid_ipv4?, ip)
97
+ list[name].ipv6 = ip if Whois::Server.send(:valid_ipv6?, ip)
98
98
  else
99
99
  order << line unless order.include?(line)
100
100
  list[line] ||= Parser::Nameserver.new(:name => line)
@@ -35,7 +35,7 @@ module Whois
35
35
  end
36
36
 
37
37
  property_supported :available? do
38
- !!(content_for_scanner =~ /No match for domain/)
38
+ !!(content_for_scanner =~ /No match for/)
39
39
  end
40
40
 
41
41
  property_supported :registered? do
@@ -21,14 +21,14 @@ module Whois
21
21
  class WhoisVerisignGrsCom < BaseVerisign
22
22
 
23
23
  property_supported :expires_on do
24
- node("Expiration Date") { |value| parse_time(value) }
24
+ node("Registry Expiry Date") { |value| parse_time(value) }
25
25
  end
26
26
 
27
27
 
28
28
  property_supported :registrar do
29
29
  node("Registrar") do |value|
30
30
  Parser::Registrar.new(
31
- id: last_useful_item(node("Sponsoring Registrar IANA ID")),
31
+ id: last_useful_item(node("Registrar IANA ID")),
32
32
  name: last_useful_item(value),
33
33
  url: referral_url
34
34
  )
data/whois-parser.gemspec CHANGED
@@ -8,14 +8,14 @@ Gem::Specification.new do |s|
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Simone Carletti".freeze]
11
- s.date = "2016-11-06"
11
+ s.date = "2017-08-03"
12
12
  s.description = "Whois Parser is a WHOIS parser written in pure Ruby. It can parse and convert responses into easy-to-use Ruby objects.".freeze
13
13
  s.email = ["weppos@weppos.net".freeze]
14
14
  s.files = [".yardopts".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "LICENSE.txt".freeze, "README.md".freeze, "lib/whois".freeze, "lib/whois-parser.rb".freeze, "lib/whois/parser".freeze, "lib/whois/parser.rb".freeze, "lib/whois/parser/contact.rb".freeze, "lib/whois/parser/errors.rb".freeze, "lib/whois/parser/nameserver.rb".freeze, "lib/whois/parser/registrar.rb".freeze, "lib/whois/parser/super_struct.rb".freeze, "lib/whois/parser/version.rb".freeze, "lib/whois/parser_extensions".freeze, "lib/whois/parser_extensions.rb".freeze, "lib/whois/parser_extensions/whois.rb".freeze, "lib/whois/parser_extensions/whois_parser.rb".freeze, "lib/whois/parser_extensions/whois_record.rb".freeze, "lib/whois/parsers".freeze, "lib/whois/parsers.rb".freeze, "lib/whois/parsers/base.rb".freeze, "lib/whois/parsers/base_afilias.rb".freeze, "lib/whois/parsers/base_afilias2.rb".freeze, "lib/whois/parsers/base_cocca.rb".freeze, "lib/whois/parsers/base_cocca2.rb".freeze, "lib/whois/parsers/base_icann_compliant.rb".freeze, "lib/whois/parsers/base_icb.rb".freeze, "lib/whois/parsers/base_iisse.rb".freeze, "lib/whois/parsers/base_nic_fr.rb".freeze, "lib/whois/parsers/base_shared1.rb".freeze, "lib/whois/parsers/base_shared2.rb".freeze, "lib/whois/parsers/base_shared3.rb".freeze, "lib/whois/parsers/base_verisign.rb".freeze, "lib/whois/parsers/base_whoisd.rb".freeze, "lib/whois/parsers/blank.rb".freeze, "lib/whois/parsers/capetown-whois.registry.net.za.rb".freeze, "lib/whois/parsers/ccwhois.ksregistry.net.rb".freeze, "lib/whois/parsers/ccwhois.verisign-grs.com.rb".freeze, "lib/whois/parsers/durban-whois.registry.net.za.rb".freeze, "lib/whois/parsers/example.rb".freeze, "lib/whois/parsers/joburg-whois.registry.net.za.rb".freeze, "lib/whois/parsers/kero.yachay.pe.rb".freeze, "lib/whois/parsers/org-whois.registry.net.za.rb".freeze, "lib/whois/parsers/tvwhois.verisign-grs.com.rb".freeze, "lib/whois/parsers/whois.1und1.info.rb".freeze, "lib/whois/parsers/whois.35.com.rb".freeze, "lib/whois/parsers/whois.aeda.net.ae.rb".freeze, "lib/whois/parsers/whois.aero.rb".freeze, "lib/whois/parsers/whois.afilias-grs.info.rb".freeze, "lib/whois/parsers/whois.afilias.net.rb".freeze, "lib/whois/parsers/whois.ai.rb".freeze, "lib/whois/parsers/whois.amnic.net.rb".freeze, "lib/whois/parsers/whois.ascio.com.rb".freeze, "lib/whois/parsers/whois.ati.tn.rb".freeze, "lib/whois/parsers/whois.audns.net.au.rb".freeze, "lib/whois/parsers/whois.ax.rb".freeze, "lib/whois/parsers/whois.biz.rb".freeze, "lib/whois/parsers/whois.bnnic.bn.rb".freeze, "lib/whois/parsers/whois.cat.rb".freeze, "lib/whois/parsers/whois.cctld.by.rb".freeze, "lib/whois/parsers/whois.cctld.uz.rb".freeze, "lib/whois/parsers/whois.cdmon.com.rb".freeze, "lib/whois/parsers/whois.centralnic.com.rb".freeze, "lib/whois/parsers/whois.cira.ca.rb".freeze, "lib/whois/parsers/whois.cmc.iq.rb".freeze, "lib/whois/parsers/whois.cnnic.cn.rb".freeze, "lib/whois/parsers/whois.co.ca.rb".freeze, "lib/whois/parsers/whois.co.pl.rb".freeze, "lib/whois/parsers/whois.co.ug.rb".freeze, "lib/whois/parsers/whois.comlaude.com.rb".freeze, "lib/whois/parsers/whois.corporatedomains.com.rb".freeze, "lib/whois/parsers/whois.denic.de.rb".freeze, "lib/whois/parsers/whois.dk-hostmaster.dk.rb".freeze, "lib/whois/parsers/whois.dns.be.rb".freeze, "lib/whois/parsers/whois.dns.hr.rb".freeze, "lib/whois/parsers/whois.dns.lu.rb".freeze, "lib/whois/parsers/whois.dns.pl.rb".freeze, "lib/whois/parsers/whois.dns.pt.rb".freeze, "lib/whois/parsers/whois.domain-registry.nl.rb".freeze, "lib/whois/parsers/whois.domain.kg.rb".freeze, "lib/whois/parsers/whois.domainregistry.ie.rb".freeze, "lib/whois/parsers/whois.domreg.lt.rb".freeze, "lib/whois/parsers/whois.donuts.co.rb".freeze, "lib/whois/parsers/whois.dot.cf.rb".freeze, "lib/whois/parsers/whois.dot.tk.rb".freeze, "lib/whois/parsers/whois.dotgov.gov.rb".freeze, "lib/whois/parsers/whois.dotmobiregistry.net.rb".freeze, "lib/whois/parsers/whois.dotpostregistry.net.rb".freeze, "lib/whois/parsers/whois.dreamhost.com.rb".freeze, "lib/whois/parsers/whois.educause.edu.rb".freeze, "lib/whois/parsers/whois.eenet.ee.rb".freeze, "lib/whois/parsers/whois.enom.com.rb".freeze, "lib/whois/parsers/whois.eu.org.rb".freeze, "lib/whois/parsers/whois.eu.rb".freeze, "lib/whois/parsers/whois.fi.rb".freeze, "lib/whois/parsers/whois.gandi.net.rb".freeze, "lib/whois/parsers/whois.gg.rb".freeze, "lib/whois/parsers/whois.godaddy.com.rb".freeze, "lib/whois/parsers/whois.gov.za.rb".freeze, "lib/whois/parsers/whois.hkirc.hk.rb".freeze, "lib/whois/parsers/whois.iana.org.rb".freeze, "lib/whois/parsers/whois.iis.nu.rb".freeze, "lib/whois/parsers/whois.iis.se.rb".freeze, "lib/whois/parsers/whois.in.ua.rb".freeze, "lib/whois/parsers/whois.inregistry.net.rb".freeze, "lib/whois/parsers/whois.isnic.is.rb".freeze, "lib/whois/parsers/whois.isoc.org.il.rb".freeze, "lib/whois/parsers/whois.ja.net.rb".freeze, "lib/whois/parsers/whois.je.rb".freeze, "lib/whois/parsers/whois.jprs.jp.rb".freeze, "lib/whois/parsers/whois.kenic.or.ke.rb".freeze, "lib/whois/parsers/whois.kr.rb".freeze, "lib/whois/parsers/whois.markmonitor.com.rb".freeze, "lib/whois/parsers/whois.monic.mo.rb".freeze, "lib/whois/parsers/whois.museum.rb".freeze, "lib/whois/parsers/whois.mynic.my.rb".freeze, "lib/whois/parsers/whois.na-nic.com.na.rb".freeze, "lib/whois/parsers/whois.nc.rb".freeze, "lib/whois/parsers/whois.netcom.cm.rb".freeze, "lib/whois/parsers/whois.networksolutions.com.rb".freeze, "lib/whois/parsers/whois.nic.ac.rb".freeze, "lib/whois/parsers/whois.nic.af.rb".freeze, "lib/whois/parsers/whois.nic.ag.rb".freeze, "lib/whois/parsers/whois.nic.as.rb".freeze, "lib/whois/parsers/whois.nic.asia.rb".freeze, "lib/whois/parsers/whois.nic.at.rb".freeze, "lib/whois/parsers/whois.nic.bj.rb".freeze, "lib/whois/parsers/whois.nic.bo.rb".freeze, "lib/whois/parsers/whois.nic.cd.rb".freeze, "lib/whois/parsers/whois.nic.ch.rb".freeze, "lib/whois/parsers/whois.nic.ci.rb".freeze, "lib/whois/parsers/whois.nic.cl.rb".freeze, "lib/whois/parsers/whois.nic.co.rb".freeze, "lib/whois/parsers/whois.nic.college.rb".freeze, "lib/whois/parsers/whois.nic.coop.rb".freeze, "lib/whois/parsers/whois.nic.cx.rb".freeze, "lib/whois/parsers/whois.nic.cz.rb".freeze, "lib/whois/parsers/whois.nic.design.rb".freeze, "lib/whois/parsers/whois.nic.dm.rb".freeze, "lib/whois/parsers/whois.nic.dz.rb".freeze, "lib/whois/parsers/whois.nic.ec.rb".freeze, "lib/whois/parsers/whois.nic.es.rb".freeze, "lib/whois/parsers/whois.nic.fo.rb".freeze, "lib/whois/parsers/whois.nic.fr.rb".freeze, "lib/whois/parsers/whois.nic.gd.rb".freeze, "lib/whois/parsers/whois.nic.gl.rb".freeze, "lib/whois/parsers/whois.nic.gs.rb".freeze, "lib/whois/parsers/whois.nic.hn.rb".freeze, "lib/whois/parsers/whois.nic.ht.rb".freeze, "lib/whois/parsers/whois.nic.hu.rb".freeze, "lib/whois/parsers/whois.nic.im.rb".freeze, "lib/whois/parsers/whois.nic.io.rb".freeze, "lib/whois/parsers/whois.nic.ir.rb".freeze, "lib/whois/parsers/whois.nic.it.rb".freeze, "lib/whois/parsers/whois.nic.jobs.rb".freeze, "lib/whois/parsers/whois.nic.ki.rb".freeze, "lib/whois/parsers/whois.nic.kz.rb".freeze, "lib/whois/parsers/whois.nic.la.rb".freeze, "lib/whois/parsers/whois.nic.li.rb".freeze, "lib/whois/parsers/whois.nic.lk.rb".freeze, "lib/whois/parsers/whois.nic.lv.rb".freeze, "lib/whois/parsers/whois.nic.ly.rb".freeze, "lib/whois/parsers/whois.nic.md.rb".freeze, "lib/whois/parsers/whois.nic.me.rb".freeze, "lib/whois/parsers/whois.nic.mg.rb".freeze, "lib/whois/parsers/whois.nic.ms.rb".freeze, "lib/whois/parsers/whois.nic.mu.rb".freeze, "lib/whois/parsers/whois.nic.mx.rb".freeze, "lib/whois/parsers/whois.nic.name.rb".freeze, "lib/whois/parsers/whois.nic.net.ng.rb".freeze, "lib/whois/parsers/whois.nic.net.sa.rb".freeze, "lib/whois/parsers/whois.nic.net.sb.rb".freeze, "lib/whois/parsers/whois.nic.nf.rb".freeze, "lib/whois/parsers/whois.nic.org.uy.rb".freeze, "lib/whois/parsers/whois.nic.pm.rb".freeze, "lib/whois/parsers/whois.nic.pr.rb".freeze, "lib/whois/parsers/whois.nic.priv.at.rb".freeze, "lib/whois/parsers/whois.nic.pw.rb".freeze, "lib/whois/parsers/whois.nic.re.rb".freeze, "lib/whois/parsers/whois.nic.sh.rb".freeze, "lib/whois/parsers/whois.nic.sl.rb".freeze, "lib/whois/parsers/whois.nic.sm.rb".freeze, "lib/whois/parsers/whois.nic.sn.rb".freeze, "lib/whois/parsers/whois.nic.so.rb".freeze, "lib/whois/parsers/whois.nic.space.rb".freeze, "lib/whois/parsers/whois.nic.st.rb".freeze, "lib/whois/parsers/whois.nic.tc.rb".freeze, "lib/whois/parsers/whois.nic.tech.rb".freeze, "lib/whois/parsers/whois.nic.tel.rb".freeze, "lib/whois/parsers/whois.nic.tl.rb".freeze, "lib/whois/parsers/whois.nic.tm.rb".freeze, "lib/whois/parsers/whois.nic.tr.rb".freeze, "lib/whois/parsers/whois.nic.travel.rb".freeze, "lib/whois/parsers/whois.nic.uk.rb".freeze, "lib/whois/parsers/whois.nic.us.rb".freeze, "lib/whois/parsers/whois.nic.ve.rb".freeze, "lib/whois/parsers/whois.nic.wf.rb".freeze, "lib/whois/parsers/whois.nic.xxx.rb".freeze, "lib/whois/parsers/whois.nic.xyz.rb".freeze, "lib/whois/parsers/whois.norid.no.rb".freeze, "lib/whois/parsers/whois.pairnic.com.rb".freeze, "lib/whois/parsers/whois.pandi.or.id.rb".freeze, "lib/whois/parsers/whois.pir.org.rb".freeze, "lib/whois/parsers/whois.pnina.ps.rb".freeze, "lib/whois/parsers/whois.register.bg.rb".freeze, "lib/whois/parsers/whois.register.com.rb".freeze, "lib/whois/parsers/whois.register.si.rb".freeze, "lib/whois/parsers/whois.registre.ma.rb".freeze, "lib/whois/parsers/whois.registro.br.rb".freeze, "lib/whois/parsers/whois.registry.gy.rb".freeze, "lib/whois/parsers/whois.registry.hm.rb".freeze, "lib/whois/parsers/whois.registry.net.za.rb".freeze, "lib/whois/parsers/whois.registry.om.rb".freeze, "lib/whois/parsers/whois.registry.qa.rb".freeze, "lib/whois/parsers/whois.ripe.net.rb".freeze, "lib/whois/parsers/whois.rnids.rs.rb".freeze, "lib/whois/parsers/whois.rotld.ro.rb".freeze, "lib/whois/parsers/whois.rrpproxy.net.rb".freeze, "lib/whois/parsers/whois.safenames.net.rb".freeze, "lib/whois/parsers/whois.schlund.info.rb".freeze, "lib/whois/parsers/whois.sgnic.sg.rb".freeze, "lib/whois/parsers/whois.sk-nic.sk.rb".freeze, "lib/whois/parsers/whois.smallregistry.net.rb".freeze, "lib/whois/parsers/whois.srs.net.nz.rb".freeze, "lib/whois/parsers/whois.sx.rb".freeze, "lib/whois/parsers/whois.tcinet.ru.rb".freeze, "lib/whois/parsers/whois.thnic.co.th.rb".freeze, "lib/whois/parsers/whois.tld.ee.rb".freeze, "lib/whois/parsers/whois.tld.sy.rb".freeze, "lib/whois/parsers/whois.tonic.to.rb".freeze, "lib/whois/parsers/whois.tucows.com.rb".freeze, "lib/whois/parsers/whois.twnic.net.tw.rb".freeze, "lib/whois/parsers/whois.tznic.or.tz.rb".freeze, "lib/whois/parsers/whois.ua.rb".freeze, "lib/whois/parsers/whois.udag.net.rb".freeze, "lib/whois/parsers/whois.uniregistry.net.rb".freeze, "lib/whois/parsers/whois.usp.ac.fj.rb".freeze, "lib/whois/parsers/whois.verisign-grs.com.rb".freeze, "lib/whois/parsers/whois.website.ws.rb".freeze, "lib/whois/parsers/whois.wildwestdomains.com.rb".freeze, "lib/whois/parsers/whois.yoursrs.com.rb".freeze, "lib/whois/parsers/whois.za.net.rb".freeze, "lib/whois/parsers/whois.za.org.rb".freeze, "lib/whois/parsers/whois1.nic.bi.rb".freeze, "lib/whois/parsers/za_central_registry.rb".freeze, "lib/whois/safe_record.rb".freeze, "lib/whois/scanners".freeze, "lib/whois/scanners/base.rb".freeze, "lib/whois/scanners/base_afilias.rb".freeze, "lib/whois/scanners/base_cocca2.rb".freeze, "lib/whois/scanners/base_icann_compliant.rb".freeze, "lib/whois/scanners/base_iisse.rb".freeze, "lib/whois/scanners/base_shared1.rb".freeze, "lib/whois/scanners/base_shared2.rb".freeze, "lib/whois/scanners/base_shared3.rb".freeze, "lib/whois/scanners/base_whoisd.rb".freeze, "lib/whois/scanners/iana.rb".freeze, "lib/whois/scanners/scannable.rb".freeze, "lib/whois/scanners/verisign.rb".freeze, "lib/whois/scanners/whois.ati.tn.rb".freeze, "lib/whois/scanners/whois.audns.net.au.rb".freeze, "lib/whois/scanners/whois.cctld.by.rb".freeze, "lib/whois/scanners/whois.centralnic.com.rb".freeze, "lib/whois/scanners/whois.cira.ca.rb".freeze, "lib/whois/scanners/whois.cnnic.cn.rb".freeze, "lib/whois/scanners/whois.denic.de.rb".freeze, "lib/whois/scanners/whois.dns.hr.rb".freeze, "lib/whois/scanners/whois.domainregistry.ie.rb".freeze, "lib/whois/scanners/whois.fi.rb".freeze, "lib/whois/scanners/whois.nc.rb".freeze, "lib/whois/scanners/whois.nic.cz.rb".freeze, "lib/whois/scanners/whois.nic.it.rb".freeze, "lib/whois/scanners/whois.pir.org.rb".freeze, "lib/whois/scanners/whois.registry.net.za.rb".freeze, "lib/whois/scanners/whois.rnids.rs.rb".freeze, "lib/whois/scanners/whois.smallregistry.net.rb".freeze, "lib/whois/scanners/whois.srs.net.nz.rb".freeze, "lib/whois/scanners/whois.sx.rb".freeze, "lib/whois/scanners/whois.tld.ee.rb".freeze, "lib/whois/scanners/whois.tucows.com.rb".freeze, "lib/whois/scanners/whois.yoursrs.com.rb".freeze, "whois-parser.gemspec".freeze]
15
15
  s.homepage = "https://whoisrb.org/".freeze
16
16
  s.licenses = ["MIT".freeze]
17
17
  s.required_ruby_version = Gem::Requirement.new(">= 2.0.0".freeze)
18
- s.rubygems_version = "2.6.8".freeze
18
+ s.rubygems_version = "2.6.10".freeze
19
19
  s.summary = "A pure Ruby WHOIS parser.".freeze
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -25,20 +25,20 @@ Gem::Specification.new do |s|
25
25
  s.add_runtime_dependency(%q<whois>.freeze, [">= 4.0.0"])
26
26
  s.add_runtime_dependency(%q<activesupport>.freeze, [">= 4"])
27
27
  s.add_development_dependency(%q<rake>.freeze, [">= 0"])
28
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3.3"])
28
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.6"])
29
29
  s.add_development_dependency(%q<yard>.freeze, [">= 0"])
30
30
  else
31
31
  s.add_dependency(%q<whois>.freeze, [">= 4.0.0"])
32
32
  s.add_dependency(%q<activesupport>.freeze, [">= 4"])
33
33
  s.add_dependency(%q<rake>.freeze, [">= 0"])
34
- s.add_dependency(%q<rspec>.freeze, ["~> 3.3"])
34
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.6"])
35
35
  s.add_dependency(%q<yard>.freeze, [">= 0"])
36
36
  end
37
37
  else
38
38
  s.add_dependency(%q<whois>.freeze, [">= 4.0.0"])
39
39
  s.add_dependency(%q<activesupport>.freeze, [">= 4"])
40
40
  s.add_dependency(%q<rake>.freeze, [">= 0"])
41
- s.add_dependency(%q<rspec>.freeze, ["~> 3.3"])
41
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.6"])
42
42
  s.add_dependency(%q<yard>.freeze, [">= 0"])
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whois-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-11-06 00:00:00.000000000 Z
11
+ date: 2017-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: whois
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.3'
61
+ version: '3.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.3'
68
+ version: '3.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: yard
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -387,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
387
  version: '0'
388
388
  requirements: []
389
389
  rubyforge_project:
390
- rubygems_version: 2.6.8
390
+ rubygems_version: 2.6.10
391
391
  signing_key:
392
392
  specification_version: 4
393
393
  summary: A pure Ruby WHOIS parser.