lib/whois/parsers/whois.srs.net.nz.rb in whois-parser-1.0.1 vs lib/whois/parsers/whois.srs.net.nz.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'
require 'whois/scanners/whois.srs.net.nz.rb'
@@ -47,12 +47,12 @@
when "404 request denied"
:error
when /invalid characters/
:invalid
else
- Whois.bug!(ParserError, "Unknown status `#{value}'.")
+ Whois::Parser.bug!(ParserError, "Unknown status `#{value}'.")
end
- end || Whois.bug!(ParserError, "Unable to parse status.")
+ end || Whois::Parser.bug!(ParserError, "Unable to parse status.")
end
property_supported :available? do
status == :available
end