lib/hx/backend/rawfiles.rb in hx-0.8.4 vs lib/hx/backend/rawfiles.rb in hx-0.9.0
- old
+ new
@@ -57,10 +57,10 @@
def each_entry_path(selector)
Pathname.glob(@entry_dir + '**/*') do |pathname|
next unless pathname.file?
path = pathname_to_path(pathname)
- yield path if selector.accept? path
+ yield path if selector.accept_path? path
end
self
end
def get_entry(path)