mongoid-locking 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d0e6fc6d5ee935327d525147b776e047a02c7a6e5d3333511c7970b9f3134e4
4
- data.tar.gz: 82e6e6b8a51e311e8ce893ea90d33b0d484aef129dc8f119b0e3999fcc78e6d4
3
+ metadata.gz: f2c6191141885a2f6a15d09a8ab111240dc9fea9a3f7a88328204606fdea66ec
4
+ data.tar.gz: fa595b089cda173fdcc4c2597f027d8db904aa79db716d269e64db8aaf99d240
5
5
  SHA512:
6
- metadata.gz: 98a30ae0a41505c9aefe8f9cf5d66e6412952e170c8c82fdfa158a785f5f523784fbdb1b288337430d6215eab72648a02b0789ba4d21b4f70d033b0c6928aa47
7
- data.tar.gz: 7ce149336c4e7bff291ab3664af449e5d582e51124abda696e44e578d75745548c74c14361a52765bc8b99f9fd2283e49c2a90f2543772ab3378f92db9cb5255
6
+ metadata.gz: 40608a2e608a2200346b7aa83a983dbe91339d68403e60c5271ab71bb5740d5828028f13ae60898a9d858de4a0735fc2e500f158f272216946b92b35c58490bb
7
+ data.tar.gz: 1a2a8ae267745644d35b755c99ad820f7ecbc69df4c468fc851efaac76ba589085a62a2085da2be56160077fdcfcfc010601d88cb51d19a97585b4b6bfade44c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid-locking (0.1.1)
4
+ mongoid-locking (0.1.2)
5
5
  mongoid (> 6.0)
6
6
 
7
7
  GEM
@@ -41,6 +41,7 @@ module Mongoid
41
41
  doc = embedded? ? _root : self
42
42
 
43
43
  doc.lock_version = (doc.lock_version || 0) + 1
44
+ doc.remove_change('lock_version')
44
45
  end
45
46
 
46
47
  def _locking?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mongoid
4
4
  module Locking
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-locking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo RA