s3_uploader 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDFkOWViMjI4OWI3YjMyOTIwMzc2Y2E4ZTNiNzgyNjJiMTc2NWE5NA==
4
+ N2JiYmFhYzUzMjEwZmUzN2RlYzM2YTQ2MGZiNWRjNDcyN2ZlYjFiOA==
5
5
  data.tar.gz: !binary |-
6
- ZjAwZjNiOTZhYmE3ZDllYTI1Mjk5OGY2ODg3MjQzNjlhOGJhY2M0OQ==
6
+ ZDU4ZjExZWI0MjJkNDM3MzBhNTExYzExOWJiYjE3NWJmOTg3YzkzNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGVkNmRjNWNjYzc3NzY2OGY5YjQwYWYwZThjYmQ4ZjMzOGNmZmU5OGI2ODcx
10
- MmJmN2NkMTIwNWY2NTU3M2VhN2JmNWYzOTVhNDQ1MTUxZjI5NTE3MGU3ZmE1
11
- NTY0MjA5NzI1MjRjZDJkM2NjN2Q2MGMzMTcwODE5NDU3YWIzYTU=
9
+ MDMyNjE0ZjJlNzdjOWQ3NmI5MzYwYWM5ZDliYzAwOTQzZWE1MTY2YjU5OGY3
10
+ MjQ0ZDMzOGQ1N2Q5NDYzNGViYTZlMmQxNDExN2Q3ZmE3N2E2NjkzZDJhNGVh
11
+ Y2YxMTNlNzQ0OTNjYTEwNWFjODlkN2Y1MDRhMDM0MjcxMjE4ZDA=
12
12
  data.tar.gz: !binary |-
13
- NTE1MjQyYjFhZGRlNDcwYjRlNDYyZDBiYWU0MGUwYjUzNGQ4M2M4NWFhZTdl
14
- N2EwODBkNTliZTllZGZjZTk5YjNiODlkZjA0N2E3N2VmYTkxODI2MGNhZTE1
15
- ODVlNDMwYzBiZDQ0OGQ1ZTI5ODE3Y2EyZjhjNDY0NmE2MjI2MDc=
13
+ ZjRhY2RhZTA1NDBmZTcxYTg4MGRmYTE3MTQ3Njk4NjZiMjVjZmMyMTY2ZDk4
14
+ N2I0YjJlNjMwYjZjMDNhZTIwYjFiNDFmZGRkNDYwOGI0OWFkNTdiM2RlYmE2
15
+ MTllYTgyMTM2MTAxYzg5MDYyZTQyNzU5ZWQ0OGFmZTA0YzgyNDM=
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # S3Uploader
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/s3_uploader.png)](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
 
@@ -1,3 +1,3 @@
1
1
  module S3Uploader
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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.8
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: 2013-11-06 00:00:00.000000000 Z
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.2
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: