Sha256: e2dd8bf166adb18c7cfc9cbc506de260649d2e8d3fd431041b84d5ca11fdf869

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quality-21.0.1 lib/quality/tools/bundler_audit.rb
quality-20.1.1 lib/quality/tools/bundler_audit.rb
quality-21.0.0 lib/quality/tools/bundler_audit.rb