Rakefile in redis_eval-0.2.2 vs Rakefile in redis_eval-0.3.0
- old
+ new
@@ -1,10 +1,8 @@
require "bundler/gem_tasks"
-require "rake/testtask"
+require "rspec/core/rake_task"
+require "rubocop/rake_task"
-Rake::TestTask.new(:test) do |t|
- t.libs << "test"
- t.libs << "lib"
- t.test_files = FileList['test/**/*_test.rb']
-end
+RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new
-task :default => :test
+task :default => %i(spec rubocop)