remote_files 3.5.1 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dc59069135d643087eb46b64aa5f8435d633838e36a14976e77b1e7914e02df
4
- data.tar.gz: 6e79ada2746c02bc3e6befd796b684b6bf3919b408e2ca72eeeec1c677465f08
3
+ metadata.gz: 59ec945098b2e44d854eefecff7a29217c09c7ea3fd81da6617f8e13ec940589
4
+ data.tar.gz: e3ff2aeb923049f688e34a851d951ecacfad9f057d3c3711d3b49cfa040593d5
5
5
  SHA512:
6
- metadata.gz: e12d3e011b369ae5d56f51744ce7ccc59e53a0080d127b632e90377717280bed60b5d3f5273c33f197ef85084aaa4bebb2c25593c15a769045be496080da198d
7
- data.tar.gz: 49ce21479bd8f931bb2acf02cdb70589319db00e7a3d87cb27983663696d5c3c3cf3cc468765738db9f8c073d62f3180671415273f405090a9650f7115ab1bb9
6
+ metadata.gz: 406694b1d2d9abc40f261402f385c6b2e152a6aeb18c6408616883dca850a1852d5f02317d60278391f4121116ea2eb33ce288bc089f70f4d8679e00bac54514
7
+ data.tar.gz: fc1d0a961b56cc2acafcfa1e17c33b0a0d573a93c6cec814ff4fa23c9db7e604bc64e1eb6b8a8e8bbe14603929b219c8d147297ed365d0c010235a3640904283
@@ -134,9 +134,9 @@ module RemoteFiles
134
134
  :body => file.content,
135
135
  :content_type => file.content_type,
136
136
  :key => file.identifier,
137
- :public => options[:public],
138
137
  :encryption => options[:encryption]
139
138
  }
139
+ store_options[:public] = options[:public] if options.key?(:public)
140
140
  if file.options[:multipart_chunk_size]
141
141
  raise RemoteFiles::Error.new("Only S3 supports the multipart_chunk_size option") unless options[:provider] == 'AWS'
142
142
  chunk_size = file.options[:multipart_chunk_size]
@@ -1,3 +1,3 @@
1
1
  module RemoteFiles
2
- VERSION = '3.5.1'
2
+ VERSION = '3.6.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Staugaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-aws
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.0.3.1
79
+ rubygems_version: 3.5.9
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: The purpose of the library is to implement a simple interface for uploading