mongo_mapper_versioned 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,12 @@ module MongoMapper
11
11
 
12
12
 
13
13
 
14
+ # IDENTITY MAP
15
+ # ensures that each object gets loaded only once by keeping every loaded object in a map
16
+ plugin MongoMapper::Plugins::IdentityMap
17
+
18
+
19
+
14
20
  # ---------------------------------------------------------------------
15
21
  # stores id of versioned document
16
22
  key :versioned_id, ObjectId
@@ -2,7 +2,7 @@
2
2
  module MongoMapper
3
3
  module Plugins
4
4
  module Versioned
5
- Version = '0.2.4'
5
+ Version = '0.2.5'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_versioned
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomas Celizna