Sha256: 9fd6afa092e81a891e8b67d6cb506bd940852d15b5b92bba0f2316048cc33a31

Contents?: true

Size: 287 Bytes

Versions: 164

Compression:

Stored size: 287 Bytes

Contents

if Rails.env.development? || Rails.env.test?
  require "bundler/audit/cli"

  namespace :bundler do
    desc "Updates the ruby-advisory-db and runs audit"
    task :audit do
      %w(update check).each do |command|
        Bundler::Audit::CLI.start [command]
      end
    end
  end
end

Version data entries

164 entries across 159 versions & 21 rubygems

Version Path
chr-0.5.6 templates/bundler_audit.rake
chr-0.5.6 test/rails_app/lib/tasks/bundler_audit.rake
chr-0.5.5 test/rails_app/lib/tasks/bundler_audit.rake
chr-0.5.5 templates/bundler_audit.rake
chr-0.5.4 templates/bundler_audit.rake
chr-0.5.4 test/rails_app/lib/tasks/bundler_audit.rake
chr-0.5.3 templates/bundler_audit.rake
chr-0.5.3 test/rails_app/lib/tasks/bundler_audit.rake
welaika-suspenders-2.21.0 templates/bundler_audit.rake
chr-0.5.1 templates/bundler_audit.rake
gimbal-0.0.3 templates/bundler_audit.rake
chr-0.5.0 templates/bundler_audit.rake
chr-0.4.25 templates/bundler_audit.rake
chr-0.4.24 templates/bundler_audit.rake
chr-0.4.23 templates/bundler_audit.rake
chr-0.4.22 templates/bundler_audit.rake
chr-0.4.21 templates/bundler_audit.rake
chr-0.4.20 templates/bundler_audit.rake
chr-0.4.19 templates/bundler_audit.rake
chr-0.4.18 templates/bundler_audit.rake