capriza-aws 0.0.16 → 0.0.17
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/capriza-aws/version.rb +1 -1
- data/lib/capriza-aws.rb +1 -1
- metadata +1 -1
data/lib/capriza-aws/version.rb
CHANGED
data/lib/capriza-aws.rb
CHANGED
@@ -97,7 +97,7 @@ module Capriza
|
|
97
97
|
def upload
|
98
98
|
Find.find(@options[:dir]).each do |file|
|
99
99
|
puts "starting upload of #{file} to #{@options[:bucket]}"
|
100
|
-
@s3.buckets[@options[:bucket]].objects[file].write(File.read(file), @options[:file_options] || {} ) unless File.directory?(file)
|
100
|
+
@s3.buckets[@options[:bucket]].objects[file].write(File.read(file), @options[:file_options] || {} ) unless File.directory?(file)
|
101
101
|
puts "completed upload of #{file} to #{@options[:bucket]}"
|
102
102
|
end
|
103
103
|
end
|