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.
@@ -1,5 +1,5 @@
1
1
  module Capriza
2
2
  module Aws
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
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) || raise("File #{file} cannot be uploaded to bucket #{@options[:bucket]}")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capriza-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: