Sha256: e3e34d866ab980e6bb1b76765fa609081aceb608897311eaca0452b20c5b2dad
Contents?: true
Size: 1.86 KB
Versions: 3
Compression:
Stored size: 1.86 KB
Contents
s3 key="AKIAJMUYVYOSACNXLPTQ" secret="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" path { "uri" "#{path}" "hash" "#{digest}.#{mimeextension}" "hash-name" "#{digest}/#{imagename}.#{mimeextension}" "structured" "#{dirname}/#{digest}/#{basename}.#{mimeextension}" "structured-name" "#{dirname}/#{digest}/#{basename}-#{imagename}.#{mimeextension}" } put "thumbnail" ":name_list" { thumbnail "input" { "original" operation="limit" width=1080 height=1080 format="jpeg" quality=95 "small" operation="crop" width=128 height=128 format="jpeg" if-image-name-on="#{name_list}" "padded" operation="pad" width=128 height=128 format="jpeg" background-color="gray" if-image-name-on="#{name_list}" } store_s3 "input" bucket="httpimagestoretest" path="hash" cache-control="public, max-age=31557600, s-maxage=0" public=true store_s3 "original" bucket="httpimagestoretest-originals" path="hash" store_s3 "small" bucket="httpimagestoretest" path="hash-name" cache-control="public, max-age=31557600, s-maxage=0" public=true if-image-name-on="#{name_list}" store_s3 "padded" bucket="httpimagestoretest" path="hash-name" cache-control="public, max-age=31557600, s-maxage=0" public=true if-image-name-on="#{name_list}" output_store_url { "input" "small" if-image-name-on="#{name_list}" "padded" if-image-name-on="#{name_list}" } } post "original" { thumbnail "input" { "original" operation="limit" width=1080 height=1080 format="jpeg" quality=95 } store_s3 "original" bucket="rhoriginals" path="hash" output_store_path "original" } get "thumbnail" "v1" ":operation" ":width" ":height" ":options" { source_s3 "original" bucket="rhoriginals" path="uri" thumbnail "original" { "thumbnail" operation="#{operation}" width="#{width}" height="#{height}" options="#{options}" quality=84 format="jpeg" } output_image "thumbnail" cache-control="public, max-age=31557600, s-maxage=0" }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
httpimagestore-1.2.0 | spec/support/full.cfg |
httpimagestore-1.1.0 | spec/support/full.cfg |
httpimagestore-1.0.0 | spec/support/full.cfg |