Sha256: 6efe1a3ca3517ec5c0733ce9864e6ce224a51f8d42b48450d2411dccd7c1be87

Contents?: true

Size: 263 Bytes

Versions: 15

Compression:

Stored size: 263 Bytes

Contents

module CarrierWave
  module Uploader
    class Base

      def to_liquid
        {
          :url      => self.url,
          :filename => (File.basename(self.url) rescue ''),
          :size     => self.size
        }.stringify_keys
      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc1 lib/locomotive/carrierwave/base.rb
locomotive_cms-1.0.0.beta.2 lib/locomotive/carrierwave/base.rb
locomotive_cms-1.0.0.beta lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta12 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta11 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta10 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta9 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta8 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta7 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta5 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta4 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta3 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta2 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4.beta1 lib/locomotive/carrierwave/base.rb
locomotive_cms-0.0.4 lib/locomotive/carrierwave/base.rb