lib/spaceship/client.rb in spaceship-0.32.0 vs lib/spaceship/client.rb in spaceship-0.32.1
- old
+ new
@@ -310,10 +310,10 @@
def itc_service_key
return @service_key if @service_key
# Check if we have a local cache of the key
- itc_service_key_path = File.expand_path("~/Library/Caches/spaceship_itc_service_key.txt")
+ itc_service_key_path = "/tmp/spaceship_itc_service_key.txt"
return File.read(itc_service_key_path) if File.exist?(itc_service_key_path)
# Some customers in Asia have had trouble with the CDNs there that cache and serve this content, leading
# to "buffer error (Zlib::BufError)" from deep in the Ruby HTTP stack. Setting this header requests that
# the content be served only as plain-text, which seems to work around their problem, while not affecting