Sha256: 23704940172e48216eacce3e947ff499c454cf4da6d6a2b6e978157992a15e4d

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

module Quality
  module Tools
    # Adds 'bundler_audit' tool support to quality gem
    module BundleAudit
      def self.command_name
        'bundle-audit'
      end

      private

      def quality_bundle_audit
        ratchet_quality_cmd('bundle-audit', args: '') do |line|
          if line =~ /^Name: /
            1
          else
            0
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quality-21.0.5 lib/quality/tools/bundle_audit.rb