Skip to content

elias19r/thread_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreadCache

A simple thread-local cache store

Install

Install it from rubygems.org in your terminal:

gem install thread_cache

Or via Gemfile in your project:

source 'https://rubygems.org'

gem 'thread_cache', '~> 1.1'

Or build and install the gem locally:

gem build thread_cache.gemspec
gem install thread_cache-1.1.0.gem

Require it in your Ruby code and the ThreadCache class will be available:

require 'thread_cache'

Tests

Run tests with:

bundle exec rspec

Linter

Check your code with:

bundle exec rubocop

About

A simple thread-local cache store

Resources

License

Stars

Watchers

Forks

Languages