Sha256: 1b81303f7384db8fb8240599c2bbb32b6cf315506d7249a44b78fbabdd685dd9
Contents?: true
Size: 687 Bytes
Versions: 13
Compression:
Stored size: 687 Bytes
Contents
# # For now, to get console to work with shrine, we define storages in the initializer. require 'shrine' require "shrine/storage/file_system" # # wanted to use kithe_asset_store and kithe_asset_cache as keys to stay out of way of any other use, # # but backgrounding is broken. https://github.com/shrinerb/shrine/issues/310 Shrine.storages ||= {} Shrine.storages[:cache] ||= Shrine::Storage::FileSystem.new("tmp/kithe_shrine_testing/", prefix: "cache") Shrine.storages[:store] ||= Shrine::Storage::FileSystem.new("tmp/kithe_shrine_testing/", prefix: "store") Shrine.storages[:kithe_derivatives] ||= Shrine::Storage::FileSystem.new("tmp/kithe_shrine_testing/", prefix: "derivatives")
Version data entries
13 entries across 13 versions & 1 rubygems