lib/defog/proxy.rb in defog-0.3.1 vs lib/defog/proxy.rb in defog-0.3.2

- old
+ new

@@ -59,10 +59,10 @@ @fog_wrapper = FogWrapper.connect(opts) @proxy_root ||= case when defined?(Rails) then Rails.root + "tmp" else Pathname.new(Dir.tmpdir) - end + "defog" + provider.to_s + location + end + "defog" + "#{provider}-#{location}" end # Returns the provider for this proxy. I.e., <code>:local</code> or # <code>:AWS</code>