Rakefile in kraken_client-1.1.0 vs Rakefile in kraken_client-1.1.1
- old
+ new
@@ -1,17 +1,21 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
+require 'rubocop/rake_task'
+RuboCop::RakeTask.new
+
Rake::TestTask.new do |t|
- t.pattern = File.join 'test', '**', 'test_*.rb'
t.verbose = true
t.warning = false
+ t.pattern = File.join('test', '**', 'test_*.rb')
end
namespace :test do
task :coverage do
ENV['COVERAGE'] = 'true'
Rake::Task['test'].invoke
end
end
-task default: :test
\ No newline at end of file
+task(:doc_stats) { ruby '-S yard stats' }
+task default: [:test, :doc_stats, :rubocop]