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

Version Path
renalware-core-2.0.127 lib/tasks/bundler_audit.rake
renalware-core-2.0.126 lib/tasks/bundler_audit.rake
renalware-core-2.0.125 lib/tasks/bundler_audit.rake
renalware-core-2.0.124 lib/tasks/bundler_audit.rake
renalware-core-2.0.123 lib/tasks/bundler_audit.rake
renalware-core-2.0.121 lib/tasks/bundler_audit.rake
renalware-core-2.0.120 lib/tasks/bundler_audit.rake
renalware-core-2.0.119 lib/tasks/bundler_audit.rake
renalware-core-2.0.118 lib/tasks/bundler_audit.rake
renalware-core-2.0.117 lib/tasks/bundler_audit.rake
renalware-core-2.0.116 lib/tasks/bundler_audit.rake
renalware-core-2.0.115 lib/tasks/bundler_audit.rake
renalware-core-2.0.113 lib/tasks/bundler_audit.rake
renalware-core-2.0.112 lib/tasks/bundler_audit.rake
renalware-core-2.0.111 lib/tasks/bundler_audit.rake
renalware-core-2.0.110 lib/tasks/bundler_audit.rake
renalware-core-2.0.109 lib/tasks/bundler_audit.rake
renalware-core-2.0.108 lib/tasks/bundler_audit.rake
renalware-core-2.0.106 lib/tasks/bundler_audit.rake
renalware-core-2.0.105 lib/tasks/bundler_audit.rake