Sha256: 3b50eade345b1646dc194b1250f514ed8bf4a540c2397531a9f20246a803f2ec

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

class TestUploader < CarrierWave::Uploader::Base
  include CarrierWave::RMagick
  include CarrierWave::Meta
  
  def store_dir
    "tmp/store"
  end

  def cache_dir
    "tmp/cache"
  end

  storage :file

  process :store_meta
  version :version do
    process :resize_to_fill => [200, 200]
    process :store_meta
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carrierwave-meta-0.0.1 spec/support/test_uploader.rb