lib/file_finder.rb in xolti-0.1.0 vs lib/file_finder.rb in xolti-0.1.1

- old
+ new

@@ -23,10 +23,10 @@ end module FileFinder def FileFinder.explore_folder(folder=Dir.pwd, ignoreRules=[]) fileAcc = [] - ignoredPaths = [".", "..", ".git", ".xoltignore", "xolti.yml", "header.txt"] + ignoredPaths = [".", "..", ".git", ".xoltignore", "xolti.yml", "LICENSE"] ignoreRules += parse_xoltignore(folder) Dir.glob("#{folder}/{*,.*}") .delete_if {|x| ignoredPaths.include?(File.basename(x))} .delete_if do |x|