lib/berkshelf/api/cache_manager.rb in berkshelf-api-0.1.0 vs lib/berkshelf/api/cache_manager.rb in berkshelf-api-0.2.0
- old
+ new
@@ -1,12 +1,10 @@
module Berkshelf::API
class CacheManager
class << self
- attr_writer :cache_file
-
# @return [String]
def cache_file
- @cache_file ||= File.expand_path("~/.berkshelf/api-server/cerch")
+ File.join(Application.home_path, "cerch")
end
end
include Berkshelf::API::GenericServer
include Berkshelf::API::Logging