lib/bigfiles/config.rb in bigfiles-0.2.1 vs lib/bigfiles/config.rb in bigfiles-0.2.2
- old
+ new
@@ -7,9 +7,10 @@
# Configuration for bigfiles gem
class Config
NUM_FILES_DEFAULT = 3
attr_reader :help, :num_files, :glob, :exclude, :minimum_high_water_mark
+
def initialize(source_finder_option_parser: SourceFinder::OptionParser.new,
num_files: Config::NUM_FILES_DEFAULT,
quality_threshold:
::HighWaterMark::Threshold.new('bigfiles'),
minimum_high_water_mark: 300,