Rakefile in closure_tree-1.0.0 vs Rakefile in closure_tree-2.0.0.beta1
- old
+ new
@@ -2,24 +2,16 @@
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
-Bundler::GemHelper.install_tasks
-
require 'yard'
-
YARD::Rake::YardocTask.new do |t|
-t.files = ['lib/**/*.rb', 'README.md']
+ t.files = ['lib/**/*.rb', 'README.md']
end
-require 'rake/testtask'
+Bundler::GemHelper.install_tasks
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
-end
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec)
-
-task :default => :test
+task :default => :spec