Rakefile in dbf-0.5.2 vs Rakefile in dbf-0.5.3

- old
+ new

@@ -1,10 +1,10 @@ require 'hoe' require 'spec/rake/spectask' PKG_NAME = "dbf" -PKG_VERSION = "0.5.2" +PKG_VERSION = "0.5.3" PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" Hoe.new PKG_NAME, PKG_VERSION do |p| p.rubyforge_name = PKG_NAME p.author = "Keith Morrison" @@ -14,20 +14,17 @@ p.url = "http://dbf.rubyforge.org" p.need_tar = true p.need_zip = true end -desc 'Run tests' -task :default => [:spec, :test] +task :default => [:spec] -desc 'Run tests' -Rake::TestTask.new :test do |t| - t.libs << "test" - t.pattern = 'test/*_test.rb' - t.verbose = true -end - desc "Run specs" Spec::Rake::SpecTask.new :spec do |t| - # t.spec_opts = ["-f specdoc"] t.spec_files = FileList['spec/**/*spec.rb'] end + +desc "Run spec docs" +Spec::Rake::SpecTask.new :specdoc do |t| + t.spec_opts = ["-f specdoc"] + t.spec_files = FileList['spec/**/*spec.rb'] +end \ No newline at end of file