class Quality::Tools::BundleAudit
Adds 'bundler_audit' tool support to quality gem
Public Class Methods
command_name()
click to toggle source
# File lib/quality/tools/bundle_audit.rb, line 7 def self.command_name 'bundle-audit' end
Public Instance Methods
quality_bundle_audit()
click to toggle source
# File lib/quality/tools/bundle_audit.rb, line 11 def quality_bundle_audit ratchet_quality_cmd('bundle-audit', args: '', gives_error_code_on_violations: true) do |line| if line =~ /^Name: / 1 else 0 end end end