Sha256: 40e0a7efc2a0174cbc6345a11ed32b7c158b3cff595ab0efb390f0bf01c109ff

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module Dragonfly
    module S3
      class Engine < ::Rails::Engine
        engine_name "alchemy_dragonfly_s3"

        config.to_prepare do
          Alchemy::Attachment.url_class = Alchemy::Attachment::S3Url
          Alchemy::Picture.url_class = Alchemy::Picture::S3Url
          Alchemy::PictureThumb.generator_class = Alchemy::Dragonfly::S3::CreatePictureThumb
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy-dragonfly-s3-6.0.1 lib/alchemy/dragonfly/s3/engine.rb
alchemy-dragonfly-s3-5.2.1 lib/alchemy/dragonfly/s3/engine.rb
alchemy-dragonfly-s3-6.0.0 lib/alchemy/dragonfly/s3/engine.rb
alchemy-dragonfly-s3-5.2.0 lib/alchemy/dragonfly/s3/engine.rb