Sha256: 5205a6aafbfc7dd799397a04fc3fab5ac31b501bfc4a809ae3fb45e1fcba81cb

Contents?: true

Size: 309 Bytes

Versions: 12

Compression:

Stored size: 309 Bytes

Contents

require 'mongo_mapper'
require File.join(File.dirname(__FILE__), '..', 'lib', 'roachclip')

MongoMapper.database = 'roachclip-runner'

class Sample
  include MongoMapper::Document
  plugin Roachclip

  roachclip :images, :styles => {:thumb => {:geometry => '50x50>'}, :large => {:geometry => '500x500>'}}
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
roachclip-0.3.2 script/runner.rb
roachclip-0.3.1 script/runner.rb
roachclip-0.3.0 script/runner.rb
roachclip-0.2.4 script/runner.rb
roachclip-0.2.3 script/runner.rb
roachclip-0.2.2 script/runner.rb
roachclip-0.2.1 script/runner.rb
roachclip-0.2.0 script/runner.rb
roachclip-0.1.3 script/runner.rb
roachclip-0.1.2 script/runner.rb
roachclip-0.1.1 script/runner.rb
roachclip-0.1.0 script/runner.rb