Sha256: f07bc2d8638e83ad79df19febfea9a2c8d18790e5757a7185d1b17830f571cab

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

CarrierWave.configure do |config|
  config.storage    = :aws
  config.aws_bucket = ENV["S3_BUCKET_NAME"]
  config.aws_acl    = :public_read
  config.asset_host = "#{ENV["AWS_ASSET_HOST"]}/#{ENV["S3_BUCKET_NAME"]}"
  config.aws_authenticated_url_expiration = 60 * 60 * 24 * 365

  config.aws_credentials = {
    access_key_id:     ENV["AWS_ACCESS_KEY_ID"],
    secret_access_key: ENV["AWS_ACCESS_KEY"]}
  config.root = Rails.root.join('tmp')
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hicube-0.0.11 config/initializers/carrierwave.rb
hicube-0.0.10 config/initializers/carrierwave.rb
hicube-0.0.9 config/initializers/carrierwave.rb
hicube-0.0.8 config/initializers/carrierwave.rb
hicube-0.0.7 config/initializers/carrierwave.rb
hicube-0.0.6 config/initializers/carrierwave.rb
hicube-0.0.5 config/initializers/carrierwave.rb
hicube-0.0.4 config/initializers/carrierwave.rb
hicube-0.0.3 config/initializers/carrierwave.rb
hicube-0.0.2 config/initializers/carrierwave.rb
hicube-0.0.1 config/initializers/carrierwave.rb