lib/carrierwave-upyun.rb in carrierwave-upyun-0.1.8 vs lib/carrierwave-upyun.rb in carrierwave-upyun-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
require "carrierwave/storage/upyun"
require "carrierwave/upyun/configuration"
+
CarrierWave.configure do |config|
- config.storage_engines.merge!({:upyun => "CarrierWave::Storage::UpYun"})
+ config.storage_engines.merge!({upyun: "CarrierWave::Storage::UpYun"})
end
CarrierWave::Uploader::Base.send(:include, CarrierWave::UpYun::Configuration)
\ No newline at end of file