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.1.1 templates/bundler_audit.rake
onotole-1.0.2 templates/bundler_audit.rake
onotole-1.0.0 templates/bundler_audit.rake
philosophies-suspenders-2.1.0 templates/bundler_audit.rake
kratos-1.0.3 templates/bundler_audit.rake
kratos-1.0.2 templates/bundler_audit.rake
kratos-1.0.1 templates/bundler_audit.rake
kratos-1.0.0 templates/bundler_audit.rake
generapp-0.3.0 templates/tasks/bundler_audit.rake
philosophies-suspenders-2.0.2 templates/bundler_audit.rake
philosophies-suspenders-2.0.0 templates/bundler_audit.rake