Sha256: fd569b8878618992f8819292f44d0b1d815c077dae50a7423fb998a9a05d1ffd

Contents?: true

Size: 506 Bytes

Versions: 13

Compression:

Stored size: 506 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

13 entries across 13 versions & 1 rubygems

Version Path
eac_rails_base0-0.29.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.29.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.28.3 config/initializers/carrier_wave.rb
eac_rails_base0-0.28.2 config/initializers/carrier_wave.rb
eac_rails_base0-0.28.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.28.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.27.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.26.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.25.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.24.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.23.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.23.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.22.0 config/initializers/carrier_wave.rb