- Fix
sem.lock(0)
bug (thanks eugenk!).
- Change API to include non-blocking option for
#lock
(thanks tomclose!). - Fix unwanted persisting of
available_key
(thanks dany1468!). - Fix
available_count
returning 0 for nonexisting semaphores (thanks mikeryz!).
- Fix bug with TIME and redis-namespace (thanks sos4nt!).
- Add expiration option (thanks jcalvert!).
- Update API version logic.
- Block-based locking return the value of the block (thanks frobcode!).
- Fixed bug in
all_tokens
(thanks presskey!). - Fixed bug in error message (thanks Dmitriy!).
- Remove dependency on Redis 2.6+ using fallback for TIME command (thanks dubdromic!).
- Add
:use_local_time
option
- Use Redis TIME command for lock timeouts (thanks dubdromic!).
- Version increase because of new dependency on Redis 2.6+
- Fix bug where
release_stale_locks!
was not public (thanks scomma!).
- Add non-ownership of tokens
- Add stale client timeout (thanks timgaleckas!).
- Add detection of Redis::Namespace definition to avoid potential bug (thanks ruud!).
- Fixed empty namespaces (thanks ruurd!).
- Tokens are now identifiable (thanks timgaleckas!).
- Add redis-namespace support (thanks neovintage!).
- When an exception is raised during locked period, ensure it unlocks.
- Initial release.