Sha256: a7b31eec657fc779afe31459fe013e6ea051856fe7ba1e4aa381a0cd945d4c9f

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

# CarrierWave.configure do |config|
#   aws_access_key_id = Rails.application.secrets.aws_access_key_id || "dummy"
#   aws_secret_access_key = Rails.application.secrets.aws_secret_access_key || "dummy"
#   # defaulting to dummy above ensures app will start
#   # even though uploading will not work
#   config.fog_provider = 'fog/aws'                        # required
#   config.fog_credentials = {
#     provider:              'AWS',                        # required
#     aws_access_key_id:     aws_access_key_id,                        # required
#     aws_secret_access_key: aws_secret_access_key,                        # required
#     region:                'eu-west-1',                  # optional, defaults to 'us-east-1'
#     # host:                  's3.example.com',             # optional, defaults to nil
#     # endpoint:              'https://s3.example.com:8080' # optional, defaults to nil
#   }
#   config.fog_directory  = 'inmo-a'                          # required
#   # config.fog_public     = false                                        # optional, defaults to true
#   config.fog_attributes = { 'Cache-Control' => "max-age=#{365.day.to_i}" } # optional, defaults to {}
# end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pwb-1.4.0 config/initializers/carrierwave.rb
pwb-1.3.0 config/initializers/carrierwave.rb
pwb-1.2.0 config/initializers/carrierwave.rb
pwb-1.1.1 config/initializers/carrierwave.rb
pwb-1.0.0 config/initializers/carrierwave.rb
pwb-0.1.1 config/initializers/carrierwave.rb
pwb-0.1.0 config/initializers/carrierwave.rb
pwb-0.0.2 config/initializers/carrierwave.rb
pwb-0.0.1 config/initializers/carrierwave.rb