Permalink
Browse files

Release 2.0.1

  • Loading branch information...
1 parent 454bd9e commit c7633d1537e52b538f8fa2e7689231b564425ee3 @weppos committed Mar 17, 2011
View
@@ -1,5 +1,10 @@
= Changelog
+== Release 2.0.1
+
+* FIXED: Removed invalid test files.
+
+
== Release 2.0.0
* SERVER: Added .AE.ORG, .AR.COM, .KR.COM TLD definitions (whois.centralnic.net).
View
@@ -13,7 +13,7 @@ module Whois
module Version
MAJOR = 2
MINOR = 0
- PATCH = 0
+ PATCH = 1
BUILD = nil
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -1,62 +0,0 @@
-# encoding: utf-8
-
-# This file is autogenerated. Do not edit it manually.
-# If you want change the content of this file, edit
-#
-# /spec/whois/record/parser/responses/saudinic.net.sa/status_available_spec.rb
-#
-# and regenerate the tests with the following rake task
-#
-# $ rake genspec:parsers
-#
-
-require 'spec_helper'
-require 'whois/record/parser/saudinic.net.sa.rb'
-
-describe Whois::Record::Parser::WhoisNicNetSa, "status_available.expected" do
-
- before(:each) do
- file = fixture("responses", "saudinic.net.sa/status_available.txt")
- part = Whois::Record::Part.new(:body => File.read(file))
- @parser = klass.new(part)
- end
-
- context "#status" do
- it do
- @parser.status.should == :available
- end
- end
- context "#available?" do
- it do
- @parser.available?.should == true
- end
- end
- context "#registered?" do
- it do
- @parser.registered?.should == false
- end
- end
- context "#created_on" do
- it do
- @parser.created_on.should == nil
- end
- end
- context "#updated_on" do
- it do
- lambda { @parser.updated_on }.should raise_error(Whois::PropertyNotSupported)
- end
- end
- context "#expires_on" do
- it do
- lambda { @parser.expires_on }.should raise_error(Whois::PropertyNotSupported)
- end
- end
- context "#nameservers" do
- it do
- @parser.nameservers.should be_a(Array)
- end
- it do
- @parser.nameservers.should == []
- end
- end
-end
@@ -1,77 +0,0 @@
-# encoding: utf-8
-
-# This file is autogenerated. Do not edit it manually.
-# If you want change the content of this file, edit
-#
-# /spec/whois/record/parser/responses/saudinic.net.sa/status_registered_spec.rb
-#
-# and regenerate the tests with the following rake task
-#
-# $ rake genspec:parsers
-#
-
-require 'spec_helper'
-require 'whois/record/parser/saudinic.net.sa.rb'
-
-describe Whois::Record::Parser::WhoisNicNetSa, "status_registered.expected" do
-
- before(:each) do
- file = fixture("responses", "saudinic.net.sa/status_registered.txt")
- part = Whois::Record::Part.new(:body => File.read(file))
- @parser = klass.new(part)
- end
-
- context "#status" do
- it do
- @parser.status.should == :registered
- end
- end
- context "#available?" do
- it do
- @parser.available?.should == false
- end
- end
- context "#registered?" do
- it do
- @parser.registered?.should == true
- end
- end
- context "#created_on" do
- it do
- @parser.created_on.should be_a(Time)
- end
- it do
- @parser.created_on.should == Time.parse("2000-09-11")
- end
- end
- context "#updated_on" do
- it do
- lambda { @parser.updated_on }.should raise_error(Whois::PropertyNotSupported)
- end
- end
- context "#expires_on" do
- it do
- lambda { @parser.expires_on }.should raise_error(Whois::PropertyNotSupported)
- end
- end
- context "#nameservers" do
- it do
- @parser.nameservers.should be_a(Array)
- end
- it do
- @parser.nameservers.should have(2).items
- end
- it do
- @parser.nameservers[0].should be_a(_nameserver)
- end
- it do
- @parser.nameservers[0].name.should == "ns1.peer1.net"
- end
- it do
- @parser.nameservers[1].should be_a(_nameserver)
- end
- it do
- @parser.nameservers[1].name.should == "ns2.peer1.net"
- end
- end
-end
View

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit c7633d1

Please sign in to comment.