bfs-s3 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bfs/bucket/s3.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1adf9c2f6f6a8897454fafcaf5d347a323d5252476cc26a012aa945aea4b5328
|
4
|
+
data.tar.gz: 2a659245fa4feda255a9928577469c24f05c5b56fd01e885dd322647c929299e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf7acda8109779860069f9fe76ebfea00602cab33f8a3b8df81578b5ad5ced2b671508c6b48feef1cbdcc99a4280dd7b692f3d804f7dd3d55acfde020597c64b
|
7
|
+
data.tar.gz: f2ee02fcee3f640f2e151d28bc55bc4fa539a26fa85ae3060d1e09412d443ce5d52a5cfe87590845246dda71ca9fbb3d32119be250b731f8319f0a41d8eaaff6
|
data/lib/bfs/bucket/s3.rb
CHANGED
@@ -22,14 +22,15 @@ module BFS
|
|
22
22
|
def initialize(name, opts={})
|
23
23
|
opts = opts.dup
|
24
24
|
opts.keys.each do |key|
|
25
|
-
|
25
|
+
val = opts.delete(key)
|
26
|
+
opts[key.to_s] = val unless val.nil?
|
26
27
|
end
|
27
28
|
|
28
29
|
@name = name
|
29
30
|
@sse = opts['sse'] || opts['server_side_encryption']
|
30
31
|
@credentials = opts['credentials']
|
31
32
|
@credentials ||= Aws::Credentials.new(opts['access_key_id'].to_s, opts['secret_access_key'].to_s) if opts['access_key_id']
|
32
|
-
@acl = opts['acl'].to_sym if opts
|
33
|
+
@acl = opts['acl'].to_sym if opts['acl']
|
33
34
|
@storage_class = opts['storage_class']
|
34
35
|
@client = opts['client'] || Aws::S3::Client.new(region: opts['region'])
|
35
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bfs-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitrij Denissenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.2
|
41
41
|
description: https://github.com/bsm/bfs.rb
|
42
42
|
email: dimitrij@blacksquaremedia.com
|
43
43
|
executables: []
|