class Bundler::Audit::Task
Public Class Methods
new()
click to toggle source
Initializes the task.
# File lib/bundler/audit/task.rb, line 9 def initialize define end
Protected Instance Methods
define()
click to toggle source
Defines the `bundle:audit` task.
# File lib/bundler/audit/task.rb, line 18 def define namespace :bundle do desc 'Updates the ruby-advisory-db then runs bundle-audit' task :audit do require 'bundler/audit/cli' %w(update check).each do |command| Bundler::Audit::CLI.start [command] end end end end