lib/rbbt/persist.rb in rbbt-util-5.35.4 vs lib/rbbt/persist.rb in rbbt-util-5.36.0

- old
+ new

@@ -42,9 +42,11 @@ return diff if diff < 0 return false end def self.is_persisted?(path, persist_options = {}) + return true if Open.remote?(path) + return true if Open.ssh?(path) return false if not Open.exists? path return false if TrueClass === persist_options[:update] expiration = persist_options[:expiration] if expiration