lib/quality/config.rb in quality-27.3.1 vs lib/quality/config.rb in quality-27.4.0

- old
+ new

@@ -10,11 +10,11 @@ class Config attr_accessor :skip_tools, :verbose, :quality_name, :ratchet_name, :output_dir, :punchlist_regexp, :scalastyle_config, :scalastyle_exclude - attr_writer :source_files_exclude_glob + attr_writer :source_files_exclude_glob, :minimum_threshold extend Forwardable def_delegators(:@source_file_globber, :ruby_files, @@ -44,9 +44,13 @@ @source_files_exclude_glob || to_glob(exclude_files) end def all_output_files @dir.glob("#{output_dir}/*_high_water_mark") + end + + def minimum_threshold + @minimum_threshold ||= { bigfiles: 300 } end def initialize(quality_name: 'quality', ratchet_name: 'ratchet', source_file_globber: Quality::LinguistSourceFileGlobber.new,