rakelib/audit.rake in development-toolbox-0.2.0 vs rakelib/audit.rake in development-toolbox-0.3.0
- old
+ new
@@ -6,10 +6,17 @@
desc 'Updates the ruby-advisory-db'
task :update do
Bundler::Audit::CLI.start %w[update]
end
+ desc 'Show the version of ruby-advisory-db'
+ task :version do
+ Bundler::Audit::CLI.start %w[version]
+ end
+
desc 'Check bundle for vulnerable dependencies'
task test: :update do
Bundler::Audit::CLI.start %w[check]
end
end
+
+task audit: %i[audit:test]