Rakefile in timed_lru-0.3.2 vs Rakefile in timed_lru-0.4.0
- old
+ new
@@ -1,14 +1,9 @@
require 'bundler/setup'
require 'bundler/gem_tasks'
-
require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
+
RSpec::Core::RakeTask.new(:spec)
-RSpec::Core::RakeTask.new(:coverage) do |c|
- c.ruby_opts = '-r ./spec/coverage_helper'
-end
+RuboCop::RakeTask.new(:rubocop)
-require 'yard'
-YARD::Rake::YardocTask.new
-
-desc 'Default: run specs.'
-task :default => :spec
+task default: %i[spec rubocop]