lib/whois/parsers/whois.nic.uk.rb in whois-parser-1.0.1 vs lib/whois/parsers/whois.nic.uk.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'
@@ -43,10 +43,10 @@
:reserved
# NEWSTATUS redemption (https://github.com/weppos/whois/issues/5)
when "renewal required."
:registered
else
- Whois.bug!(ParserError, "Unknown status `#{$1}'.")
+ Whois::Parser.bug!(ParserError, "Unknown status `#{$1}'.")
end
elsif invalid?
:invalid
else
:available