Sha256: a26a510fdea5c2769ea731ebe7cfdf434c43f9cd51e73863289ca90ea4d84fea

Contents?: true

Size: 287 Bytes

Versions: 31

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

31 entries across 31 versions & 5 rubygems

Version Path
philosophies-suspenders-2.2.6 templates/bundler_audit.rake
philosophies-suspenders-2.2.4 templates/bundler_audit.rake
philosophies-suspenders-2.2.3 templates/bundler_audit.rake
kazan-0.5.0 templates/bundler_audit.rake
kazan-0.4.0 templates/bundler_audit.rake
philosophies-suspenders-2.2.2 templates/bundler_audit.rake
kazan-0.3.1 templates/bundler_audit.rake
kazan-0.3.0 templates/bundler_audit.rake
kazan-0.2.4 templates/bundler_audit.rake
kazan-0.2.3 templates/bundler_audit.rake
kazan-0.2.2 templates/bundler_audit.rake
kazan-0.2.1 templates/bundler_audit.rake
kazan-0.2.0 templates/bundler_audit.rake
kazan-0.1.2 templates/bundler_audit.rake
kazan-0.1.1 templates/bundler_audit.rake
kazan-0.1.0 templates/bundler_audit.rake
philosophies-suspenders-2.2.1 templates/bundler_audit.rake
philosophies-suspenders-2.2.0 templates/bundler_audit.rake
philosophies-suspenders-2.1.2 templates/bundler_audit.rake
kratos-1.1.0 templates/bundler_audit.rake