Sha256: 51aa6c07110835c1fbe7a410b24694ad1192abe5c4d014373a8ff9851f0d0bfb

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

Haraway.configure do |c|

  c.use_ssl    = false
  c.endpoint   = "assets.sh"
  c.access_key = "533019cfa622e91c"
  c.secret_key = "74bc88e1a0ab978b88d0c2a4b919f13ebe4a681a8f3a89e812182d09282d26a4"

  #
  #  Profiles
  #
  c.profile("images") do |p|
    p.accept "image/*"

    p.version("thumb") do |v|
      v.resize_to_fill(158, 110)
    end

    p.version("cover") do |v|
      v.resize_to_fill(220, 153)
    end

    p.version("aspect_16-9") do |v|
      v.resize_to_fill(700, 393)
    end
  end

  c.profile("downloads")

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.299 test/dummy/config/initializers/haraway.rb