hetzner-whois-parser 1.0.1.rc1 → 1.0.1.rc2

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: ae99c786b5bb7ebaa16e898e4dc5f6d20ca545f2
4
- data.tar.gz: 5ba2dedaa626d2f15f7efaeaa66c60c9ee16d8bb
3
+ metadata.gz: abdb270e81a6624750cde3041a5b48027bbe2639
4
+ data.tar.gz: c2556e50abe5435f897968f4bbd8797a5dad649c
5
5
  SHA512:
6
- metadata.gz: 32caa53135a65433a54a3e4c581cf67294559ce1c42e5733dc0c4f0815b0567e75ee7555adbf9813b2063dc2635a38066d6252f0d27735c81beb39f786b30f87
7
- data.tar.gz: 21c97c9934dff72774f2e4c6df549f0f784780bc8e4ea1fc831699d18b6faf5accc00266e2d51ebe4bdef5b9defeed82bb0c43f555db82401024b6fad0fbedeb
6
+ metadata.gz: 203490f188f83a71dd9bfd1d7d0ab6e03298c4e9e4441468de11e3dfc581eabb6004d7b6e19796bc3ee3081f9eb4eaf4798c1ab48b1b1c6c247825fb30488e07
7
+ data.tar.gz: 1f38c37935047f36a6e5e2ec5dda21586e8d1acfe603c8ade1dc949999ec6d82d94c8a5ee211bda89ee4112902e355edb696f1a309333ca74ec05afdcbf82cf8
data/lib/whois/parser.rb CHANGED
@@ -99,6 +99,7 @@ module Whois
99
99
  def self.parser_for(part)
100
100
  parser_klass(part.host).new(part)
101
101
  rescue LoadError
102
+ $stderr.puts "DEBUG: parser_for raised #{$!.inspect}"
102
103
  Parsers.const_defined?("Blank") || autoload("blank")
103
104
  Parsers::Blank.new(part)
104
105
  end
@@ -147,7 +148,7 @@ module Whois
147
148
  host.to_s.downcase.
148
149
  gsub(/[.-]/, '_').
149
150
  gsub(/(?:^|_)(.)/) { $1.upcase }.
150
- gsub(/\A(\d+)\z/) { "Host#{$1}" }
151
+ gsub(/\A(\d+)\z/) { "Host#{$1}" }.tap { |x| $stderr.puts "DEBUG: host_to_parser(#{host.inspect}) -> #{x.inspect}" }
151
152
  end
152
153
 
153
154
  # Requires the file at <tt>whois/parsers/#{name}</tt>.
@@ -1,6 +1,6 @@
1
1
  module Whois
2
2
  class Parser
3
3
  # The current library version.
4
- VERSION = "1.0.1.rc1".freeze
4
+ VERSION = "1.0.1.rc2".freeze
5
5
  end
6
6
  end
@@ -13,9 +13,9 @@ require_relative 'za_central_registry'
13
13
  module Whois
14
14
  class Parsers
15
15
 
16
- # Parser for the whois.registry.za.net server.
16
+ # Parser for the coza-whois.registry.za.net server.
17
17
  #
18
- class WhoisRegistryNetZa < ZaCentralRegistry
18
+ class CozaWhoisRegistryNetZa < ZaCentralRegistry
19
19
  end
20
20
 
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-whois-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.rc1
4
+ version: 1.0.1.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
@@ -125,6 +125,7 @@ files:
125
125
  - lib/whois/parsers/capetown-whois.registry.net.za.rb
126
126
  - lib/whois/parsers/ccwhois.ksregistry.net.rb
127
127
  - lib/whois/parsers/ccwhois.verisign-grs.com.rb
128
+ - lib/whois/parsers/coza-whois.registry.net.za.rb
128
129
  - lib/whois/parsers/durban-whois.registry.net.za.rb
129
130
  - lib/whois/parsers/example.rb
130
131
  - lib/whois/parsers/joburg-whois.registry.net.za.rb
@@ -298,7 +299,6 @@ files:
298
299
  - lib/whois/parsers/whois.registro.br.rb
299
300
  - lib/whois/parsers/whois.registry.gy.rb
300
301
  - lib/whois/parsers/whois.registry.hm.rb
301
- - lib/whois/parsers/whois.registry.net.za.rb
302
302
  - lib/whois/parsers/whois.registry.om.rb
303
303
  - lib/whois/parsers/whois.registry.qa.rb
304
304
  - lib/whois/parsers/whois.ripe.net.rb