Sha256: a40a0d886ed3e806bffcdabb250348380a6395f90434bb46d5794aeee4245df6
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true require_relative '../tool' module Quality module Tools # Adds 'bigfiles' tool support to quality gem class Bigfiles < Tool def bigfiles_args args = ['--glob', "'#{source_and_doc_files_glob}'"] unless source_files_exclude_glob == '{}' args << ['--exclude-glob', "'#{source_files_exclude_glob}'"] end args.join(' ') end def quality_bigfiles ratchet_quality_cmd('bigfiles', args: bigfiles_args) do |line| line.split(':')[0].to_i end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
quality-37.1.1 | lib/quality/tools/bigfiles.rb |
quality-37.1.0 | lib/quality/tools/bigfiles.rb |
quality-37.0.1 | lib/quality/tools/bigfiles.rb |
quality-37.0.0 | lib/quality/tools/bigfiles.rb |