0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Provides in-memory storage for Shrine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

>= 0

Runtime

~> 2.2
 Project Readme

Shrine::Storage::Memory

Provides in-memory storage for Shrine.

This storage has been merged into the shrine gem in version 3.0.0.

Installation

gem "shrine-memory"

Usage

require "shrine/storage/memory"

Shrine.storages[:cache] = Shrine::Storage::Memory.new

Inspiration

This gem was inspired by refile-memory.

License

MIT