Permalink
Browse files

Fixed uninitialized constant error Whois::Answer::Parser::WhoisNicOrK…

…r when trying to load the .kr parser.
  • Loading branch information...
1 parent 7c97a97 commit 9d8961a29b6efe84f0c80b9bc89c2f4f83006233 @weppos committed Apr 12, 2010
Showing with 8 additions and 3 deletions.
  1. +5 −0 CHANGELOG.rdoc
  2. +1 −1 lib/whois/answer/parser/whois.nic.or.kr.rb
  3. +2 −2 test/answer/parser/whois.nic.or.kr_test.rb
View
@@ -1,6 +1,11 @@
= Changelog
+== master
+
+* FIXED: Fixed uninitialized constant error Whois::Answer::Parser::WhoisNicOrKr when trying to load the .kr parser.
+
+
== Release 1.0.10
* NEW: Added simple .kr TLD parser (whois.nic.or.kr).
@@ -32,7 +32,7 @@ class Parser
# See WhoisNicIt parser for an explanation of all available methods
# and examples.
#
- class WhoisNicOrKz < Base
+ class WhoisNicOrKr < Base
property_supported :status do
@status ||= if available?
@@ -1,10 +1,10 @@
require 'test_helper'
require 'whois/answer/parser/whois.nic.or.kr.rb'
-class AnswerParserWhoisNicOrKzTest < Whois::Answer::Parser::TestCase
+class AnswerParserWhoisNicOrKrTest < Whois::Answer::Parser::TestCase
def setup
- @klass = Whois::Answer::Parser::WhoisNicOrKz
+ @klass = Whois::Answer::Parser::WhoisNicOrKr
@host = "whois.nic.or.kr"
end

0 comments on commit 9d8961a

Please sign in to comment.