lib/whois/record/parser/whois.nic.cz.rb in whois-2.7.0 vs lib/whois/record/parser/whois.nic.cz.rb in whois-3.0.0

- old
+ new

@@ -1,11 +1,11 @@ #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net> +# Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_whoisd' @@ -13,15 +13,20 @@ module Whois class Record class Parser # Parser for the whois.nic.cz server. - # + # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisNicCz < BaseWhoisd - self.status_mapping.merge!('update prohibited' => :registered) + self.status_mapping = { + 'paid and in zone' => :registered, + 'update prohibited' => :registered, + 'expired' => :expired, + 'to be deleted' => :expired, + } end end end end