lib/faster_path/optional/refinements.rb in faster_path-0.2.1 vs lib/faster_path/optional/refinements.rb in faster_path-0.2.2

- old
+ new

@@ -32,25 +32,27 @@ def add_trailing_separator(pth) FasterPath.add_trailing_separator(pth) end private :add_trailing_separator - def children(with_dir=true) - FasterPath.children(@path, with_dir) - end + # Do NOT remove; waiting for fix in ruru + # def children(with_dir=true) + # FasterPathname::Public.allocate.send(:children_compat, @path, with_dir) + # end if !!ENV['WITH_REGRESSION'] def chop_basename(pth) FasterPath.chop_basename(pth) end private :chop_basename def directory? FasterPath.directory?(@path) end - def entries - FasterPath.entries(@path) - end + # Do NOT remove; waiting for fix in ruru + # def entries + # FasterPathname::Public.allocate.send(:entries_compat, @path) + # end if !!ENV['WITH_REGRESSION'] def has_trailing_separator?(pth) FasterPath.has_trailing_separator?(pth) end