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.1.1 lib/tasks/bundler_audit.rake
renalware-core-2.1.0 lib/tasks/bundler_audit.rake
renalware-core-2.0.167 lib/tasks/bundler_audit.rake
renalware-core-2.0.166 lib/tasks/bundler_audit.rake
renalware-core-2.0.165 lib/tasks/bundler_audit.rake
renalware-core-2.0.164 lib/tasks/bundler_audit.rake
renalware-core-2.0.163 lib/tasks/bundler_audit.rake
renalware-core-2.0.162 lib/tasks/bundler_audit.rake
renalware-core-2.0.161 lib/tasks/bundler_audit.rake
renalware-core-2.0.160 lib/tasks/bundler_audit.rake
renalware-core-2.0.159 lib/tasks/bundler_audit.rake
renalware-core-2.0.158 lib/tasks/bundler_audit.rake
renalware-core-2.0.157 lib/tasks/bundler_audit.rake
renalware-core-2.0.156 lib/tasks/bundler_audit.rake
renalware-core-2.0.155 lib/tasks/bundler_audit.rake
renalware-core-2.0.153 lib/tasks/bundler_audit.rake
renalware-core-2.0.152 lib/tasks/bundler_audit.rake
renalware-core-2.0.151 lib/tasks/bundler_audit.rake
renalware-core-2.0.149 lib/tasks/bundler_audit.rake
renalware-core-2.0.148 lib/tasks/bundler_audit.rake