Sha256: 9fa1679fa5349825a1130418fddbaefd5e4752b6d4e09b57c342ae9e8d9c387c
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
require 'open3' require 'attachs/attachment' require 'attachs/tools/magick' require 'attachs/storages/base' require 'attachs/storages/local' require 'attachs/storages/s3' require 'attachs/types/base' require 'attachs/types/default' require 'attachs/types/regular' require 'attachs/active_record/base' require 'attachs/active_record/connection_adapters' require 'attachs/active_record/migration' require 'attachs/active_record/validators' require 'attachs/active_record/validators/attachment_content_type_validator' require 'attachs/active_record/validators/attachment_presence_validator' require 'attachs/active_record/validators/attachment_size_validator' require 'attachs/railtie' module Attachs class << self def configure yield config end def config @config ||= begin ActiveSupport::OrderedOptions.new.tap do |config| config.styles = {} config.interpolations = {} config.global_styles = [] config.global_convert_options= '' config.convert_options = {} config.default_storage = :local config.default_path = '/:timestamp-:filename' config.base_url = '' config.s3 = { ssl: false } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attachs-0.4.0 | lib/attachs.rb |