simple-s3 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple-s3/simple-s3.rb +1 -4
- data/lib/simple-s3/version.rb +1 -1
- data/simple-s3.gem +0 -0
- metadata +2 -2
data/lib/simple-s3/simple-s3.rb
CHANGED
@@ -70,10 +70,7 @@ class SimpleS3
|
|
70
70
|
|
71
71
|
files.each do |file|
|
72
72
|
path = File.expand_path(file)
|
73
|
-
final_file = file
|
74
|
-
if final_file =~ /^\.\//
|
75
|
-
file_file = final_file[2..final_file.length-1]
|
76
|
-
end
|
73
|
+
final_file = file.gsub(/^\.\//, '')
|
77
74
|
puts "Simple-S3: Uploading #{file} as '#{final_file}' to '#{bucket}'"
|
78
75
|
AWS::S3::S3Object.store(
|
79
76
|
final_file,
|
data/lib/simple-s3/version.rb
CHANGED
data/simple-s3.gem
CHANGED
Binary file
|