Rakefile in dbf-0.5.1 vs Rakefile in dbf-0.5.2
- old
+ new
@@ -1,10 +1,10 @@
require 'hoe'
require 'spec/rake/spectask'
PKG_NAME = "dbf"
-PKG_VERSION = "0.5.1"
+PKG_VERSION = "0.5.2"
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
Hoe.new PKG_NAME, PKG_VERSION do |p|
p.rubyforge_name = PKG_NAME
p.author = "Keith Morrison"
@@ -15,19 +15,19 @@
p.need_tar = true
p.need_zip = true
end
desc 'Run tests'
-task :default => :test
+task :default => [:spec, :test]
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_opts = ["-f specdoc"]
t.spec_files = FileList['spec/**/*spec.rb']
end