Sha256: fe85db62e0f2dc2836f1535035a119af9cf803e466deb7f7c53134c5946d9b86

Contents?: true

Size: 317 Bytes

Versions: 47

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true
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

47 entries across 47 versions & 2 rubygems

Version Path
generapp-0.4.0 templates/tasks/bundler_audit.rake
onotole-2.0.2 templates/bundler_audit.rake
onotole-2.0.1 templates/bundler_audit.rake
onotole-2.0.0 templates/bundler_audit.rake
onotole-1.2.11 templates/bundler_audit.rake
generapp-0.3.2 templates/tasks/bundler_audit.rake
onotole-1.2.10 templates/bundler_audit.rake
onotole-1.2.9 templates/bundler_audit.rake
generapp-0.3.1 templates/tasks/bundler_audit.rake
onotole-1.2.8 templates/bundler_audit.rake
onotole-1.2.7 templates/bundler_audit.rake
onotole-1.2.6 templates/bundler_audit.rake
onotole-1.2.5 templates/bundler_audit.rake
onotole-1.2.4 templates/bundler_audit.rake
onotole-1.2.3 templates/bundler_audit.rake
onotole-1.2.2 templates/bundler_audit.rake
onotole-1.2.1 templates/bundler_audit.rake
onotole-1.1.21 templates/bundler_audit.rake
onotole-1.1.20 templates/bundler_audit.rake
onotole-1.1.19 templates/bundler_audit.rake