lib/jefferies_tube/capistrano/deploy.rb in jefferies_tube-1.1.1 vs lib/jefferies_tube/capistrano/deploy.rb in jefferies_tube-1.2

- old
+ new

@@ -28,10 +28,11 @@ require 'bundler/audit/database' Bundler::Audit::Database.update! scanner = Bundler::Audit::Scanner.new vulnerable = false - scanner.scan do |result| + ignore = fetch(:bundler_audit_ignore, []) + scanner.scan(ignore: ignore) do |result| vulnerable = true case result when Bundler::Audit::Scanner::InsecureSource puts "Insecure Source URI found: #{result.source}" when Bundler::Audit::Scanner::UnpatchedGem