Rakefile in feedjira-podcast-0.9.8 vs Rakefile in feedjira-podcast-0.9.9
- old
+ new
@@ -1,8 +1,12 @@
-require 'bundler/gem_tasks'
-require 'rake/testtask'
+require "bundler/gem_tasks"
+require "rake/testtask"
Rake::TestTask.new(:test) do |t|
- t.pattern = 'test/**/test_*.rb'
+ t.pattern = "test/**/test_*.rb"
end
-task default: :test
+require "rubocop/rake_task"
+RuboCop::RakeTask.new(:analyze)
+
+task checks: [:test, :analyze]
+task default: :checks