lib/whois/parsers/whois.sgnic.sg.rb in whois-parser-1.0.1 vs lib/whois/parsers/whois.sgnic.sg.rb in whois-parser-1.1.0
- old
+ new
@@ -1,11 +1,11 @@
#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
-# Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net>
+# Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
#++
require_relative 'base'
@@ -70,10 +70,10 @@
when /^(?:\s+([\w.-]+)){2,}/
value.strip.split(/\s+/).map do |name|
{ :name => name }
end
else
- Whois.bug!(ParserError, "Unknown nameservers format `#{value}'")
+ Whois::Parser.bug!(ParserError, "Unknown nameservers format `#{value}'")
end
values.map do |params|
Parser::Nameserver.new(params)
end