lib/gitenv/files/all_files.rb in gitenv-1.1.0 vs lib/gitenv/files/all_files.rb in gitenv-1.2.0

- old
+ new

@@ -1,16 +1,13 @@ - module Gitenv - class AllFiles < FilesMatcher - - def files path + def files(path) filter path, super(path) end private - def filter path, entries - entries.select{ |e| File.file? File.join(path, e) } + def filter(path, entries) + entries.select { |e| File.file? File.join(path, e) } end end end