Sha256: b647efee54b7e8fae93ebe26d8f06a10d210be8684ef7f166ffdc01d57107ea1
Contents?: true
Size: 807 Bytes
Versions: 177
Compression:
Stored size: 807 Bytes
Contents
begin require 'bundler/audit/cli' namespace :bundle_audit do desc 'Update bundle-audit database' task :update do Bundler::Audit::CLI.new.update end desc 'Check gems for vulns using bundle-audit' task :check do Bundler::Audit::CLI.new.check end desc 'Update vulns database and check gems using bundle-audit' task :run do Rake::Task['bundle_audit:update'].invoke Rake::Task['bundle_audit:check'].invoke end end task :bundle_audit do Rake::Task['bundle_audit:run'].invoke end task :default => [:bundle_audit] rescue LoadError desc 'bundle-audit rake task not available (bundle-audit not installed)' task :bundle_audit do abort 'Bundle Audit rake task is not available. Be sure to install bundle-audit as a gem' end end
Version data entries
177 entries across 177 versions & 1 rubygems