Sha256: 2b0c61f0131e991f4384615aa9da6daaef60194523ca8a8ab5f018a4acc8152b
Contents?: true
Size: 999 Bytes
Versions: 2
Compression:
Stored size: 999 Bytes
Contents
require 'rake/tasklib' module Bundler module Audit # # Defines the `bundle:audit` rake tasks. # class Task < Rake::TaskLib # # Initializes the task. # def initialize define end protected # # Defines the `bundle:audit` and `bundle:audit:update` task. # def define namespace :bundle do namespace :audit do desc 'Checks the Gemfile.lock for insecure dependencies' task :check do system 'bundler-audit', 'check' end desc 'Updates the bundler-audit vulnerability database' task :update do system 'bundler-audit', 'update' end end task :audit => 'audit:check' end task 'bundler:audit' => 'bundle:audit' task 'bundler:audit:check' => 'bundle:audit:check' task 'bundler:audit:update' => 'bundle:audit:update' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bundler-audit-0.9.0.1 | lib/bundler/audit/task.rb |
bundler-audit-0.9.0 | lib/bundler/audit/task.rb |