lib/nanoc/data_sources/filesystem.rb in nanoc-4.3.7 vs lib/nanoc/data_sources/filesystem.rb in nanoc-4.3.8

- old
+ new

@@ -250,11 +250,11 @@ all end # Returns all files in the given directory and directories below it. def all_files_in(dir_name) - Nanoc::Extra::FilesystemTools.all_files_in(dir_name, config[:extra_files]) + Nanoc::DataSources::Filesystem::Tools.all_files_in(dir_name, config[:extra_files]) end # Returns the filename for the given base filename and the extension. # # If the extension is nil, this function should return nil as well. @@ -433,5 +433,7 @@ def raise_encoding_error(filename, encoding) raise "Could not read #{filename} because the file is not valid #{encoding}." end end end + +require_relative 'filesystem/tools'