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

Version Path
kithe-2.0.2 spec/dummy/config/initializers/shrine.rb
kithe-2.0.1 spec/dummy/config/initializers/shrine.rb
kithe-2.0.0 spec/dummy/config/initializers/shrine.rb
kithe-2.0.0.pre.rc1 spec/dummy/config/initializers/shrine.rb
kithe-2.0.0.pre.beta1 spec/dummy/config/initializers/shrine.rb
kithe-2.0.0.pre.alpha2 spec/dummy/config/initializers/shrine.rb
kithe-2.0.0.pre.alpha1 spec/dummy/config/initializers/shrine.rb
kithe-1.1.2 spec/dummy/config/initializers/shrine.rb
kithe-1.1.1 spec/dummy/config/initializers/shrine.rb
kithe-1.1.0 spec/dummy/config/initializers/shrine.rb
kithe-1.0.0 spec/dummy/config/initializers/shrine.rb
kithe-0.3.0 spec/dummy/config/initializers/shrine.rb
kithe-0.2.0 spec/dummy/config/initializers/shrine.rb