Sha256: 6549690d08ea319a3c7a63adede2131884180ec406af8de154ac4cb370259cc9

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

module Quality
  module Tools
    # Adds 'bundler_audit' tool support to quality gem
    module BundleAudit
      private

      def self.command_name
        'bundle-audit'
      end

      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

2 entries across 2 versions & 1 rubygems

Version Path
quality-21.0.4 lib/quality/tools/bundle_audit.rb
quality-21.0.3 lib/quality/tools/bundle_audit.rb