lib/quality/config.rb in quality-23.0.4 vs lib/quality/config.rb in quality-23.0.5

- old
+ new

@@ -9,16 +9,17 @@ # Configuration for running quality tool class Config attr_accessor :skip_tools, :verbose, :quality_name, :ratchet_name, :output_dir, :punchlist_regexp - attr_writer :source_files_exclude_glob, :exclude_files + attr_writer :source_files_exclude_glob extend Forwardable def_delegators(:@source_file_globber, :ruby_files, :python_files, - :js_files, :source_and_doc_files, :source_files) + :js_files, :source_and_doc_files, :source_files, + :exclude_files=, :exclude_files) def to_glob(files) "{#{files.join(',')}}" end @@ -26,13 +27,9 @@ to_glob(source_files) end def source_and_doc_files_glob to_glob(source_and_doc_files) - end - - def exclude_files - @exclude_files || [] end def source_files_exclude_glob @source_files_exclude_glob || to_glob(exclude_files) end