Sha256: 4465bf52cc749ccb697da916959dfff55780b0ec6953fa553a1a33debfabe88d

Contents?: true

Size: 546 Bytes

Versions: 44

Compression:

Stored size: 546 Bytes

Contents

# frozen_string_literal: true

require 'carrierwave'
require 'carrierwave/orm/activerecord'
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

44 entries across 44 versions & 1 rubygems

Version Path
eac_rails_base0-0.68.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.68.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.67.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.66.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.65.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.64.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.63.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.63.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.62.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.61.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.61.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.60.4 config/initializers/carrier_wave.rb
eac_rails_base0-0.60.3 config/initializers/carrier_wave.rb
eac_rails_base0-0.60.2 config/initializers/carrier_wave.rb
eac_rails_base0-0.60.1 config/initializers/carrier_wave.rb
eac_rails_base0-0.60.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.59.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.58.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.57.0 config/initializers/carrier_wave.rb
eac_rails_base0-0.56.0 config/initializers/carrier_wave.rb