Sha256: 7a4ad07e2aa11af29078f406355c910754bbb315e6008c85d00ec72feb637616
Contents?: true
Size: 599 Bytes
Versions: 10
Compression:
Stored size: 599 Bytes
Contents
require 'rake/tasklib' module Bundler module Audit class Task < Rake::TaskLib # # Initializes the task. # def initialize define end protected # # Defines the `bundle:audit` task. # 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 end end end
Version data entries
10 entries across 10 versions & 3 rubygems