Kyototycoon::Store
kyototycoon-store
provides stores (Cache) for ActiveSupport.
It supports expires_in and delete_matched.
Installation
Add this line to your application's Gemfile:
gem 'kyototycoon-store'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kyototycoon-store
Usage
# Gemfile
gem 'kyototycoon-store'
# config/environments/production.rb
config.cache_store = :kyototycoon_store
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request