Sha256: 30308bf26af2cff1138b1cb4b5bb33d796f41fddb6574c084fce1b0193c5fc9b

Contents?: true

Size: 507 Bytes

Versions: 19

Compression:

Stored size: 507 Bytes

Contents

# frozen_string_literal: true

require 'carrierwave'
require 'fog/aws'

if ENV['carrierwave_provider'] == 'AWS'
  CarrierWave.configure do |config|
    config.fog_credentials = {
      aws_access_key_id: ENV['carrierwave_aws_access_key_id'],
      aws_secret_access_key: ENV['carrierwave_aws_secret_access_key'],
      provider: ENV['carrierwave_provider'],
      region: ENV['carrierwave_aws_region']
    }
    config.fog_directory = ENV['carrierwave_fog_directory']
    config.fog_public = true
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
eac_rails_base0-0.39.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.39.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.38.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.38.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.37.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.37.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.36.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.36.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.35.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.34.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.34.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.33.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.32.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.31.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.30.2 config/initializers/carrier_wave.rb
eac_rails_base0-0.30.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.30.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.29.3 config/initializers/carrier_wave.rb
eac_rails_base0-0.29.2 config/initializers/carrier_wave.rb