Class: Quality::Tools::Bigfiles
- Defined in:
- lib/quality/tools/bigfiles.rb
Overview
Adds ‘bigfiles’ tool support to quality gem
Instance Method Summary collapse
Methods inherited from Tool
Constructor Details
This class inherits a constructor from Quality::Tools::Tool
Instance Method Details
#bigfiles_args ⇒ Object
9 10 11 12 13 |
# File 'lib/quality/tools/bigfiles.rb', line 9 def bigfiles_args args = ['--glob', "'#{source_and_doc_files_glob}'"] args << ['--exclude-glob', "'#{source_files_exclude_glob}'"] unless source_files_exclude_glob == '{}' args.join(' ') end |
#quality_bigfiles ⇒ Object
15 16 17 18 19 20 |
# File 'lib/quality/tools/bigfiles.rb', line 15 def quality_bigfiles ratchet_quality_cmd('bigfiles', args: bigfiles_args) do |line| line.split(':')[0].to_i end end |