Sha256: 3bdaeaf0e083afe99f762f828a9764eb957d796bcfbd021e38ad54eeadc66bf1

Contents?: true

Size: 620 Bytes

Versions: 9

Compression:

Stored size: 620 Bytes

Contents

# frozen_string_literal: true

require "carrierwave"
require "carrierwave/storage/aliyun"
require "carrierwave/storage/aliyun_file"
require "carrierwave/aliyun/bucket"
require "carrierwave/aliyun/version"
require "carrierwave/aliyun/configuration"
require "aliyun/oss"

CarrierWave::Uploader::Base.send(:include, CarrierWave::Aliyun::Configuration)

if CarrierWave::VERSION <= "0.11.0"
  require "carrierwave/processing/mime_types"
  CarrierWave::Uploader::Base.send(:include, CarrierWave::MimeTypes)
  CarrierWave::Uploader::Base.send(:process, :set_content_type)
end

Aliyun::Common::Logging.set_log_file("/dev/null")

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
carrierwave-aliyun-1.2.3 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.2.2 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.2.1 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.2.0 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.1.3 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.1.2 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.1.1 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.1.0 lib/carrierwave-aliyun.rb
carrierwave-aliyun-1.0.0 lib/carrierwave-aliyun.rb