Skip to content

Commit

Permalink
Merge pull request #32 from zendesk/akim/EM-8946
Browse files Browse the repository at this point in the history
Remove the specification of public in remote_files
  • Loading branch information
yk154 authored May 17, 2024
2 parents 613d953 + 33a4902 commit b4b6cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/remote_files/fog_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ def store_options(file)
:body => file.content,
:content_type => file.content_type,
:key => file.identifier,
:public => options[:public],
:encryption => options[:encryption]
}
store_options[:public] = options[:public] if options.key?(:public)
if file.options[:multipart_chunk_size]
raise RemoteFiles::Error.new("Only S3 supports the multipart_chunk_size option") unless options[:provider] == 'AWS'
chunk_size = file.options[:multipart_chunk_size]
Expand Down
2 changes: 1 addition & 1 deletion lib/remote_files/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RemoteFiles
VERSION = '3.5.1'
VERSION = '3.6.0'
end

0 comments on commit b4b6cc4

Please sign in to comment.