- #86: Upgraded to RuboCop 0.81.0 - @dks17.
- #86: Fixed issue with
ruby
delegate
method - @dks17. - #86: Update Ruby and JRUby versions for Travis config - @dks17.
- #88: Add RSpec test examples - @dks17.
- #79: Update find_and_lock and find_and_unlock methods - @dks17.
- #78: Upgrade to v2.0 - @dks17.
- #83: Upgraded to RuboCop 0.75.1 - @dblock.
- #74: Add JRuby tests - @dks17.
- #68: Fix Rubocop offenses, refactoring, update
ruby
versions, addCOVERAGE
test env, update.travis.yml
matrix - @dks17. - #67: Deprecate
:wait
in favor of:retries
option, which can attempt to grab a lock multiple times - @afeld, @dks17. - #66: Fix Mongoid::Locker::LockError for not persisted document - @dks17.
- #65: Drop
mongoid-compatibility
gem dependency - @dks17. - #64: Exclude demo files from the gem - @dks17.
- #60: Drop support for
mongoid
version2
and3
- @dks17. - #60: Add SimpleCov - @dks17.
- #57:
Time.now
replaced byTime.now.utc
- @dks17. - #55: Customizable :locked_at and :locked_until fields - @dks17.
- #43: Added support for Mongoid 6 - @sivagollapalli.
- #38: Fixed unlock already destroyed object - @sivagollapalli.
- Removed Jeweler - @afeld.
- #46: Allow unlock when process no longer owns the lock or the lock times out - @nchainani.
- Library moved to the mongoid organization - @afeld, @dblock.
- #48: Added Danger, PR linter - @dblock.
- #37: Fixed write concern for the lock record with Mongoid 5 - @dblock.
- Don't query the document in Mongoid 5, better performance when acquiring lock - @afeld.
- #32: Fixed race condition,
undefined method '-' for nil:NilClass
- @pschrammel.
- #8: Changed exception class to be
Mongoid::Locker::LockError
- @afeld, @tolsen. - Dropped support for Rubinius 1.8-mode, since it seems to be broken w/ Mongoid 2.6 - @afeld.
- #8: Relaxed dependency on Mongoid - @afeld.
- #24: Added Mongoid 4 support - @dblock.
- #24: Dropped support for Ruby 1.8.x - @dblock.
- Got rid of appraisal for testing multiple Mongoid versions - @afeld.
- #25: Added Rubocop, Ruby style linter - @dblock.
- #25: Fixed
:has_lock?
to always return a boolean - @dblock. - #25: Upgraded RSpec to 3.x - @dblock.
- #9: Added
:retries
option to attempt to grab a lock multiple times - @afeld, @mooremo. - Added
:retry_sleep
to override duration between lock attempts - @afeld. - Reload document after acquiring a lock by default, which can be disabled with
:reload => false
- @afeld.
- #7: Handle recursive calls to
#with_lock
- @afeld. - Lock optimizations, particularly for large documents - @afeld.
- #5: Added Mongoid 3 support - @afeld.
- Initial public release - @afeld.