Sha256: 8a838190b0ae9dd519956679ef032997366ad7a73b6725a209a25a848856d233

Contents?: true

Size: 529 Bytes

Versions: 8

Compression:

Stored size: 529 Bytes

Contents

# encoding: utf-8
require "carrierwave-qiniu/version"
require "carrierwave/storage/qiniu"
require "carrierwave/qiniu/configuration"
require "carrierwave/qiniu/style"
require "carrierwave/uploader/base"
require "carrierwave/qiniu/railtie" if defined?(Rails)

::CarrierWave.configure do |config|
  config.storage_engines[:qiniu] = "::CarrierWave::Storage::Qiniu".freeze
end

::CarrierWave::Uploader::Base.send(:include, ::CarrierWave::Qiniu::Configuration)
::CarrierWave::Uploader::Base.send(:include, ::CarrierWave::Qiniu::Style)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
carrierwave-qiniu-1.2.1 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.2.0 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.8 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.7 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.6 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.5 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.4 lib/carrierwave-qiniu.rb
carrierwave-qiniu-1.1.3 lib/carrierwave-qiniu.rb