gooddata_s3 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gooddata_s3/client.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e6ff94ac06e500a51b422f6657a0da0b7b19b43
4
- data.tar.gz: 972edca4de584baea74594b1aefbedb10cf0c8f0
3
+ metadata.gz: 3008837b2c97e8eef0f74a6df411dcdacf1f7d52
4
+ data.tar.gz: c42602c488fdb20c853e8f9c316085339ff133de
5
5
  SHA512:
6
- metadata.gz: eda4acd5e725463345e36b5f58d99d7d959b278c84e25877d3b749411fe120c45506b948ab66fe303b1f1da55109e9c7e15c73d36759190a21aeec3702851c7b
7
- data.tar.gz: b104f28aae3985ab13709c6951c0a4e216221ee8e72470e3e8b4dcdbda443c4fc753622cfcc36549caea16c717d42dad0d13d0a364afe41933c46b3f77931dbd
6
+ metadata.gz: a2dcfb85141f8ef2199f03e73ee3a0246d408f0f605f5d976a1f80e8ff2fc178552104b72708f435cddb13f120bc38377c288bca9a278abc6a677d0c42ab55f8
7
+ data.tar.gz: 698505440bc89495c108fbb1b62a4b1136f496e4c44945776c6c7ae6bedc0aa6774e08cb9e039ffdd87fcbbaa5968fb477b54f4c80dcd583adf55c43b21bfa33
@@ -126,6 +126,8 @@ class GoodDataS3::Client
126
126
 
127
127
  puts "#{Time.now} => Downloading from S3 Bucket (#{@bucket_name}): \"#{key}\""
128
128
 
129
+ key = "/#{key}" unless key[0] == '/'
130
+
129
131
  resp = @s3.get_object(bucket_name: @bucket_name, key:key)
130
132
  resp[:data]
131
133
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gooddata_s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick McConlogue