lib/command/config.rb in cocoapods-binary-cache-0.1.10 vs lib/command/config.rb in cocoapods-binary-cache-0.1.11
- old
+ new
@@ -27,9 +27,13 @@
def cache_repo
@cache_repo ||= cache_repo_config["remote"]
end
+ def local_cache?
+ cache_repo.nil?
+ end
+
def cache_path
@cache_path ||= File.expand_path(cache_repo_config["local"])
end
def prebuild_sandbox_path