whois 4.0.2 → 4.0.3

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: b622842083a138faff568b5d5491f84f6fe1b1a4
4
- data.tar.gz: cdf83710bccd2e0bbe8434877fb99a540e7cf20e
3
+ metadata.gz: 7a74fbe717a46357e671673080d22b72d7b8d103
4
+ data.tar.gz: 2fe4550c9d703a2c6e97286e86fda4dc22340c6c
5
5
  SHA512:
6
- metadata.gz: c70472c587f4266672a36ce9e976f9705320ae9c7782f9c05a74cea2fea87440ee8956957810259d7a212f931ae372d0724ff995c2039a4e6510c5df54540fc2
7
- data.tar.gz: 412e29c1a2f881cf6a0f926def4104975b4c169b480950a3217a6a80e661eabe60f7cdfb1845f40a771e26d0d707fa611feda1f3ff610ebb5e19ac2250cf66e6
6
+ metadata.gz: 91f0892decc0dcb4723e59a4e6ff772b8e585fcf2074a1bc689a54b85f4e868b7c4cfd882c9c4749f4309c5f0dbb385e6d0ef67d7188252fde5d55127705a8fa
7
+ data.tar.gz: 60cb86a4b01838a3ab8e4992459870c02e7e5301db2fa96a52f1f7a45ac67864a621101ab3c5e005e295f571db975a7239580c7c263919e6add16968f54bb982
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning 2.0.0](http://semver.org/).
4
4
 
5
+ #### Release 4.0.3
6
+
7
+ - FIXED: Updated Verisign adapter to properly detect the new label for referral servers (GH-559)
8
+
5
9
  #### Release 4.0.2
6
10
 
7
11
  - SERVER: Added .AFRICA, .XN--MGBAI9AZGQP6J, .FUN, .RMIT, .HOSPITAL, .BOSTON, .DATA, .MOBILE, .PHONE, .HAIR, .LADBROKES, .CATHOLIC, .XN--80AQECDR1A, .XN--MGBI4ECEXP, .XN--TIQ49XQYJ, .RUGBY, .HOTELS, .GROCERY, .XN--MGBAAKC7DVF, .MAP, .PHD, .SEARCH, .XN--2SCRJ9C, .XN--45BR5CYL, .XN--H2BREG3EVE, .XN--H2BRJ9C8C, .XN--MGBBH1A, .XN--MGBGU82A, .XN--RVC1E0AM3E, .ETISALAT
@@ -29,7 +29,7 @@ module Whois
29
29
  response = query_the_socket("=#{string}", host)
30
30
  buffer_append response, host
31
31
 
32
- if options[:referral] != false && referral = extract_referral(response)
32
+ if options[:referral] != false && (referral = extract_referral(response))
33
33
  response = query_the_socket(string, referral)
34
34
  buffer_append(response, referral)
35
35
  end
@@ -40,9 +40,8 @@ module Whois
40
40
 
41
41
  def extract_referral(response)
42
42
  if response =~ /Domain Name:/
43
- server = response.scan(/Whois Server: (.+?)$/).flatten.last
43
+ server = response.scan(/Registrar WHOIS Server:(.+?)$/i).flatten.last
44
44
  server.strip! if server != nil
45
- server = nil if server == "not defined"
46
45
  server
47
46
  end
48
47
  end
data/lib/whois/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
 
10
10
  module Whois
11
11
  # The current library version.
12
- VERSION = "4.0.2".freeze
12
+ VERSION = "4.0.3".freeze
13
13
  end
data/whois.gemspec CHANGED
@@ -1,39 +1,39 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: whois 4.0.1 ruby lib
2
+ # stub: whois 4.0.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "whois"
6
- s.version = "4.0.1"
5
+ s.name = "whois".freeze
6
+ s.version = "4.0.2"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["Simone Carletti"]
11
- s.date = "2016-11-18"
12
- s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library."
13
- s.email = ["weppos@weppos.net"]
14
- s.executables = ["whoisrb"]
15
- s.files = [".yardopts", "4.0-Upgrade.md", "CHANGELOG.md", "CONTRIBUTING.md", "LICENSE.txt", "README.md", "bin/console", "bin/setup", "bin/whoisrb", "data/asn16.json", "data/asn32.json", "data/ipv4.json", "data/ipv6.json", "data/tld.json", "lib/whois.rb", "lib/whois/client.rb", "lib/whois/errors.rb", "lib/whois/record.rb", "lib/whois/record/part.rb", "lib/whois/server.rb", "lib/whois/server/adapters/afilias.rb", "lib/whois/server/adapters/arin.rb", "lib/whois/server/adapters/arpa.rb", "lib/whois/server/adapters/base.rb", "lib/whois/server/adapters/formatted.rb", "lib/whois/server/adapters/none.rb", "lib/whois/server/adapters/not_implemented.rb", "lib/whois/server/adapters/standard.rb", "lib/whois/server/adapters/verisign.rb", "lib/whois/server/adapters/web.rb", "lib/whois/server/socket_handler.rb", "lib/whois/version.rb", "whois.gemspec"]
16
- s.homepage = "https://whoisrb.org/"
17
- s.licenses = ["MIT"]
18
- s.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
19
- s.rubygems_version = "2.5.1"
20
- s.summary = "An intelligent pure Ruby WHOIS client and parser."
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["Simone Carletti".freeze]
11
+ s.date = "2017-07-05"
12
+ s.description = "Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library.".freeze
13
+ s.email = ["weppos@weppos.net".freeze]
14
+ s.executables = ["whoisrb".freeze]
15
+ s.files = [".yardopts".freeze, "4.0-Upgrade.md".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "LICENSE.txt".freeze, "README.md".freeze, "bin/console".freeze, "bin/setup".freeze, "bin/whoisrb".freeze, "data/asn16.json".freeze, "data/asn32.json".freeze, "data/ipv4.json".freeze, "data/ipv6.json".freeze, "data/tld.json".freeze, "lib/whois.rb".freeze, "lib/whois/client.rb".freeze, "lib/whois/errors.rb".freeze, "lib/whois/record.rb".freeze, "lib/whois/record/part.rb".freeze, "lib/whois/server.rb".freeze, "lib/whois/server/adapters/afilias.rb".freeze, "lib/whois/server/adapters/arin.rb".freeze, "lib/whois/server/adapters/arpa.rb".freeze, "lib/whois/server/adapters/base.rb".freeze, "lib/whois/server/adapters/formatted.rb".freeze, "lib/whois/server/adapters/none.rb".freeze, "lib/whois/server/adapters/not_implemented.rb".freeze, "lib/whois/server/adapters/standard.rb".freeze, "lib/whois/server/adapters/verisign.rb".freeze, "lib/whois/server/adapters/web.rb".freeze, "lib/whois/server/socket_handler.rb".freeze, "lib/whois/version.rb".freeze, "whois.gemspec".freeze]
16
+ s.homepage = "https://whoisrb.org/".freeze
17
+ s.licenses = ["MIT".freeze]
18
+ s.required_ruby_version = Gem::Requirement.new(">= 2.0.0".freeze)
19
+ s.rubygems_version = "2.6.10".freeze
20
+ s.summary = "An intelligent pure Ruby WHOIS client and parser.".freeze
21
21
 
22
22
  if s.respond_to? :specification_version then
23
23
  s.specification_version = 4
24
24
 
25
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
- s.add_development_dependency(%q<rake>, [">= 0"])
27
- s.add_development_dependency(%q<rspec>, [">= 0"])
28
- s.add_development_dependency(%q<yard>, [">= 0"])
26
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])
27
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
28
+ s.add_development_dependency(%q<yard>.freeze, [">= 0"])
29
29
  else
30
- s.add_dependency(%q<rake>, [">= 0"])
31
- s.add_dependency(%q<rspec>, [">= 0"])
32
- s.add_dependency(%q<yard>, [">= 0"])
30
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
31
+ s.add_dependency(%q<rspec>.freeze, [">= 0"])
32
+ s.add_dependency(%q<yard>.freeze, [">= 0"])
33
33
  end
34
34
  else
35
- s.add_dependency(%q<rake>, [">= 0"])
36
- s.add_dependency(%q<rspec>, [">= 0"])
37
- s.add_dependency(%q<yard>, [">= 0"])
35
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
36
+ s.add_dependency(%q<rspec>.freeze, [">= 0"])
37
+ s.add_dependency(%q<yard>.freeze, [">= 0"])
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whois
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-05 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake