capriza-aws 0.0.11 → 0.0.12

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.rb CHANGED
@@ -87,14 +87,13 @@ module Capriza
87
87
  end
88
88
 
89
89
  class S3upload
90
- def initialize(bucket, local_folder_name, bucket_folder_name, config, make_public = false)
90
+ def initialize(bucket, folder_name, config, make_public = false)
91
91
  S3connect.new(config)
92
92
  s3 = AWS::S3.new()
93
93
 
94
94
  b = s3.buckets[bucket_name]
95
- b
96
95
 
97
- Dir.foreach(local_folder_name) do |item|
96
+ Dir.foreach(folder_name) do |item|
98
97
  next if item == '.' or item == '..'
99
98
 
100
99
  basename = File.basename(item)
@@ -1,5 +1,5 @@
1
1
  module Capriza
2
2
  module Aws
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  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.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: