s3proxy 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52d02773122e6cc96306b309e009be4d53d753a3
4
- data.tar.gz: 7cf25fcb909219a7258b0dfcd403cb076a4f8565
3
+ metadata.gz: 116da88ac5ccfa27e08140f978f3a1ed5eed5830
4
+ data.tar.gz: a6302f18cfdf486760ac0adfd123cfe1fadc14cb
5
5
  SHA512:
6
- metadata.gz: e54b6841f80f2d7ebf159b75287156735aedb66cda0f2c5c8345ca410c3cc33e2a21fd20cbca029a441d2ff2b0d26b07a6065566c140c62d5793c5656415242e
7
- data.tar.gz: c327801249526f82ed94d67a71ad099d1f5513bdfdf4523b0dc4764d1ca2b22ba8d1f9259d4e8f4ff50e5e963a66dca9db0d4b87a335b528e816556511d549c8
6
+ metadata.gz: f120a6d6dd99d190ca2be41b6a49c4d93b243ebbec48c1e4f38d14b09788f023e00302fd29f11c87a494d6a975f157ec967f41a5bf9e89ef303bd8a766ec8a73
7
+ data.tar.gz: 78b70bdc636686962cecfa1351a25a33c24ce31eff9af903644fc88d5d0e5688ac7ef732cda23f5581a80648fa7f15b25a8984b4fb5f7c4c4df306f4e93abd0c
data/lib/s3proxy.rb CHANGED
@@ -25,6 +25,7 @@ module S3Proxy
25
25
  def cache_location(bucket, key)
26
26
  hash = Digest::MD5.hexdigest "#{bucket}/#{key}"
27
27
  path = "#{Dir.tmpdir}/s3proxy-#{Process.pid}"
28
+ Dir.mkdir(path, 0700) unless File.exists?(path)
28
29
  "#{path}/#{hash}"
29
30
  end
30
31
 
@@ -1,3 +1,3 @@
1
1
  module S3Proxy
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jurgens du Toit