Sha256: 58083eb9bdea9272d8010391d9b4f60a8c6d9a6958e62f01cee9f3dc9dee6a84

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

1.0.1 / 2015-08-06

* Bug fixes

  * Return value properly if lock was acquired but cached value immediately found

* Enhancements

  * Documentation

1.0.0 / 2015-08-05

* Enhancements

  * Use Redis redlock http://redis.io/topics/distlock instead of Postgres advisory locks
  * No more dependency on ActiveRecord or Postgres!

0.1.2 / 2015-06-24

* Enhancements

  * Add :expires option in seconds

0.1.1 / 2015-02-04

* Enhancements

  * Clear individual cached things with #lock_and_cache_clear

0.1.0 / 2015-01-22

* Breaking changes

  * Redis only
  * Now you use it inside methods (like Rails.cache.fetch) instead of outside (like cache_method)

* Enhancements

  * Way simpler, no dependency on CacheMethod

0.0.5 / 2014-12-12

* Enhancements

  * ENV['LOCK_AND_CACHE_DEBUG'] == 'true' debug output to $stderr

0.0.4 / 2014-12-12

* Bug fixes

  * Pass arguments while caching method results

0.0.3 / 2014-12-12

* Enhancements

  * Save a trip to the database if something is already cached

0.0.2 / 2014-12-11

* Bug fixes

  * Gem name is activerecord

0.0.1 / 2014-12-11

initial release!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lock_and_cache-1.0.1 CHANGELOG