Rakefile in bumeran-0.0.2 vs Rakefile in bumeran-0.1.0
- old
+ new
@@ -12,23 +12,18 @@
rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-
-
-
-
Bundler::GemHelper.install_tasks
-require 'rake/testtask'
+require "bundler/gem_tasks"
+require "rspec/core/rake_task"
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+RSpec::Core::RakeTask.new
+
+task :default => :spec
+task :test => :spec
+task :console do
+ exec "pry -r bumeran -I ./"
end
-
-task default: :test