simple-s3 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/simple-s3/simple-s3.rb +4 -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
@@ -57,7 +57,7 @@ class SimpleS3
|
|
57
57
|
exclude.each do |ex|
|
58
58
|
found = true if file.start_with?(ex) || ex == name
|
59
59
|
end
|
60
|
-
files.push(
|
60
|
+
files.push(file) unless found
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -69,11 +69,11 @@ class SimpleS3
|
|
69
69
|
)
|
70
70
|
|
71
71
|
files.each do |file|
|
72
|
-
|
72
|
+
path = File.expand_path(file)
|
73
73
|
puts "Simple-S3: Uploading #{file} as '#{base_name}' to '#{bucket}'"
|
74
74
|
AWS::S3::S3Object.store(
|
75
|
-
|
76
|
-
File.open(
|
75
|
+
file,
|
76
|
+
File.open(path),
|
77
77
|
bucket,
|
78
78
|
metadata
|
79
79
|
)
|
data/lib/simple-s3/version.rb
CHANGED
data/simple-s3.gem
CHANGED
Binary file
|