Sha256: 8b7a5ce0f1379b23bbb7e001c40556da9d10bcffc2432dcdb72c605fc80f294a

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

module Quality
  module Tools
    # Adds 'bundler_audit' tool support to quality gem
    module BundleAudit
      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.2 lib/quality/tools/bundle_audit.rb