No commit activity in last 3 years
No release in over 3 years
UCloud Storage support for CarrierWave
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.11.0
 Project Readme

CarrierWave for [UCloud (UCloud对象存储)]

This gem adds support for ucloud.com to CarrierWave

Installation

gem 'carrierwave'
gem 'carrierwave-ucloud'

Configuration

You'll need to configure the to use this in config/initializes/carrierwave.rb

 CarrierWave.configure do |config|
  config.storage = :ucloud
  config.public_key = "xxxxxx"
  config.private_key = "xxxxxx"
  config.ucloud_bucket = "my_bucket"
  config.ucloud_bucket_host = "https://my_bucket.gd.ufileos.com"
  config.ucloud_cdn_host = "https://my_bucket.ufile.ucloud.com.cn"
end