Skip to content

Commit

Permalink
Merge branch 'carrierwaveuploader:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
clickworkorange authored Feb 2, 2024
2 parents 0a8bde8 + 7b37d56 commit 7c07da8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@ CarrierWave.configure do |config|
config.fog_directory = 'name_of_bucket' # required
config.fog_public = false # optional, defaults to true
config.fog_attributes = { cache_control: "public, max-age=#{365.days.to_i}" } # optional, defaults to {}
# Use this if you have AWS S3 ACLs disabled.
# config.fog_attributes = { 'x-amz-acl' => 'bucket-owner-full-control' }
# Use this if you have Google Cloud Storage uniform bucket-level access enabled.
# config.fog_attributes = { uniform: true }
# For an application which utilizes multiple servers but does not need caches persisted across requests,
# uncomment the line :file instead of the default :storage. Otherwise, it will use AWS as the temp cache store.
# config.cache_storage = :file
Expand Down
1 change: 1 addition & 0 deletions carrierwave.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Gem::Specification.new do |s|
s.add_dependency "marcel", "~> 1.0.0"
s.add_dependency "addressable", "~> 2.6"
s.add_dependency "ssrf_filter", "~> 1.0"
s.add_development_dependency "csv", "~> 3.0"
s.add_development_dependency "cucumber", "~> 2.3"
s.add_development_dependency "rspec", "~> 3.4"
s.add_development_dependency "rspec-retry"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails-7-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ gem "rails", "~> 7.1.0"
gem "activemodel-serializers-xml"
gem 'sqlite3', platforms: :ruby
gem "activerecord-jdbcsqlite3-adapter", platform: [:jruby, :truffleruby]
gem "observer" # Workaround for https://github.com/rmagick/rmagick/pull/1411

gemspec :path => "../"

0 comments on commit 7c07da8

Please sign in to comment.