mongoid 6.2.1 → 6.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -2
- data.tar.gz.sig +2 -2
- data/lib/mongoid/atomic.rb +3 -3
- data/lib/mongoid/atomic/modifiers.rb +12 -8
- data/lib/mongoid/composable.rb +1 -0
- data/lib/mongoid/contextual/atomic.rb +6 -3
- data/lib/mongoid/contextual/mongo.rb +14 -6
- data/lib/mongoid/factory.rb +2 -1
- data/lib/mongoid/persistence_context.rb +5 -4
- data/lib/mongoid/query_cache.rb +5 -3
- data/lib/mongoid/relations/embedded/batchable.rb +32 -12
- data/lib/mongoid/relations/synchronization.rb +1 -1
- data/lib/mongoid/relations/targets/enumerable.rb +24 -4
- data/lib/mongoid/version.rb +1 -1
- data/spec/app/models/band.rb +1 -0
- data/spec/mongoid/atomic/modifiers_spec.rb +17 -17
- data/spec/mongoid/atomic_spec.rb +17 -17
- data/spec/mongoid/contextual/mongo_spec.rb +70 -0
- data/spec/mongoid/factory_spec.rb +11 -0
- data/spec/mongoid/persistable/savable_spec.rb +2 -2
- data/spec/mongoid/persistable/updatable_spec.rb +2 -2
- data/spec/mongoid/persistence_context_spec.rb +14 -0
- data/spec/mongoid/positional_spec.rb +10 -10
- data/spec/mongoid/relations/macros_spec.rb +20 -0
- data/spec/mongoid/relations/targets/enumerable_spec.rb +108 -0
- data/spec/spec_helper.rb +4 -0
- metadata +460 -460
- metadata.gz.sig +0 -0
metadata.gz.sig
CHANGED
Binary file
|