Rakefile in solrizer-1.1.2 vs Rakefile in solrizer-1.2.0
- old
+ new
@@ -5,22 +5,11 @@
# load rake tasks in lib/tasks
Dir.glob('lib/tasks/*.rake').each { |r| import r }
Bundler::GemHelper.install_tasks
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
-end
-
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
-end
-
-# task :spec => :check_dependencies
+task :spec => ['solrizer:rspec']
+task :rcov => ['solrizer:rcov']
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|