bfs-s3 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bfs/bucket/s3.rb +1 -1
  3. metadata +5 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa490620580121bed16e37b2f15f6465f698cde988f0f651d27b4737cb2c8fd8
4
- data.tar.gz: 39f9eb2bd7c8ae3735ef4184f11f8570445fede7eed07dbeeca45429a9898815
3
+ metadata.gz: 1278091b90948c44f8af9063da019a7995b614a2ab4b773404b8dce4cbfbf830
4
+ data.tar.gz: 7da078d9683005df07103b486da20490cd4a3198cc13b7d3db16547a098378b8
5
5
  SHA512:
6
- metadata.gz: dfe9094bb4207e7f5318cc6f51255c10aaed599c25332419f0f096cd2cff10f4236739c5757e6521dfdc4abff95515722db582c1ef6676854f1d0e52334589b9
7
- data.tar.gz: a92744e4632e0c1a15b306fed8b0a57c6eae96948979c5cd98e104602f1fd2eeb988b19182b1da31350166574cb2875792e3e1b5c12145b6330a10d8fc077112
6
+ metadata.gz: de52d76401dc6a99665713efc288cabc82a3d3c6ea89e3b4532779f164c96140e85de16edf96a13a2bf4f932cd9a8e807e77a1d3d562779f028d141a5818f7d1
7
+ data.tar.gz: 1f253f6f75a5f011281cc6fc35347185d4a838a958ab7a80b812f88fde714bb24e035ccbe919588458b24d5622df16c6a74cf11ffb18a6accf6788df0bdfcb4d
data/lib/bfs/bucket/s3.rb CHANGED
@@ -83,7 +83,7 @@ module BFS
83
83
  opts[:server_side_encryption] ||= @sse if @sse
84
84
  opts[:storage_class] ||= @storage_class if @storage_class
85
85
 
86
- temp = BFS::TempWriter.new(path) do |t|
86
+ temp = BFS::TempWriter.new(path, opts) do |t|
87
87
  File.open(t, binmode: true) do |file|
88
88
  @client.put_object(opts.merge(body: file))
89
89
  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.6
4
+ version: 0.3.7
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-12-07 00:00:00.000000000 Z
11
+ date: 2019-04-02 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.6
33
+ version: 0.3.7
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.6
40
+ version: 0.3.7
41
41
  description: https://github.com/bsm/bfs.rb
42
42
  email: dimitrij@blacksquaremedia.com
43
43
  executables: []
@@ -67,8 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 2.7.7
70
+ rubygems_version: 3.0.2
72
71
  signing_key:
73
72
  specification_version: 4
74
73
  summary: S3 bucket adapter for bfs