s3_uploader 0.0.8 → 0.0.9
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.
- checksums.yaml +8 -8
- data/README.md +2 -0
- data/lib/s3_uploader/s3_uploader.rb +4 -2
- data/lib/s3_uploader/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
N2JiYmFhYzUzMjEwZmUzN2RlYzM2YTQ2MGZiNWRjNDcyN2ZlYjFiOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDU4ZjExZWI0MjJkNDM3MzBhNTExYzExOWJiYjE3NWJmOTg3YzkzNQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDMyNjE0ZjJlNzdjOWQ3NmI5MzYwYWM5ZDliYzAwOTQzZWE1MTY2YjU5OGY3
|
|
10
|
+
MjQ0ZDMzOGQ1N2Q5NDYzNGViYTZlMmQxNDExN2Q3ZmE3N2E2NjkzZDJhNGVh
|
|
11
|
+
Y2YxMTNlNzQ0OTNjYTEwNWFjODlkN2Y1MDRhMDM0MjcxMjE4ZDA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjRhY2RhZTA1NDBmZTcxYTg4MGRmYTE3MTQ3Njk4NjZiMjVjZmMyMTY2ZDk4
|
|
14
|
+
N2I0YjJlNjMwYjZjMDNhZTIwYjFiNDFmZGRkNDYwOGI0OWFkNTdiM2RlYmE2
|
|
15
|
+
MTllYTgyMTM2MTAxYzg5MDYyZTQyNzU5ZWQ0OGFmZTA0YzgyNDM=
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# S3Uploader
|
|
2
2
|
|
|
3
|
+
[](http://badge.fury.io/rb/s3_uploader)
|
|
4
|
+
|
|
3
5
|
Multithreaded recursive directory uploader to S3 using [fog](https://github.com/fog/fog).
|
|
4
6
|
|
|
5
7
|
It recursively transverses all contents of the directory provided as source parameter, uploading all files to the destination bucket.
|
|
@@ -8,7 +8,8 @@ module S3Uploader
|
|
|
8
8
|
:s3_secret => ENV['S3_SECRET'],
|
|
9
9
|
:public => false,
|
|
10
10
|
:region => 'us-east-1',
|
|
11
|
-
:metadata => {}
|
|
11
|
+
:metadata => {},
|
|
12
|
+
:path_style => false
|
|
12
13
|
}.merge(options)
|
|
13
14
|
|
|
14
15
|
log = options[:logger] || Logger.new(STDOUT)
|
|
@@ -24,7 +25,8 @@ module S3Uploader
|
|
|
24
25
|
:provider => 'AWS',
|
|
25
26
|
:aws_access_key_id => options[:s3_key],
|
|
26
27
|
:aws_secret_access_key => options[:s3_secret],
|
|
27
|
-
:region => options[:region]
|
|
28
|
+
:region => options[:region],
|
|
29
|
+
:path_style => options[:path_style]
|
|
28
30
|
})
|
|
29
31
|
end
|
|
30
32
|
|
data/lib/s3_uploader/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: s3_uploader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christian Hein
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fog
|
|
@@ -92,11 +92,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
92
92
|
version: '0'
|
|
93
93
|
requirements: []
|
|
94
94
|
rubyforge_project:
|
|
95
|
-
rubygems_version: 2.1
|
|
95
|
+
rubygems_version: 2.2.1
|
|
96
96
|
signing_key:
|
|
97
97
|
specification_version: 4
|
|
98
98
|
summary: S3 multithreaded directory uploader
|
|
99
99
|
test_files:
|
|
100
100
|
- spec/s3uploader_spec.rb
|
|
101
101
|
- spec/spec_helper.rb
|
|
102
|
-
has_rdoc:
|