lib/whois/parsers/whois.rotld.ro.rb in whois-parser-1.0.1 vs lib/whois/parsers/whois.rotld.ro.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'
@@ -28,10 +28,10 @@
if content_for_scanner =~ /Domain Status:\s(.+?)\n/
case $1.downcase
when "ok", "updateprohibited"
:registered
else
- Whois.bug!(ParserError, "Unknown status `#{$1}'.")
+ Whois::Parser.bug!(ParserError, "Unknown status `#{$1}'.")
end
else
:available
end
end