mongoid 8.1.1 → 8.1.3
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/mongoid/association/macros.rb +6 -0
- data/lib/mongoid/attributes/processing.rb +29 -5
- data/lib/mongoid/config/options.rb +3 -0
- data/lib/mongoid/config.rb +30 -0
- data/lib/mongoid/contextual/mongo.rb +24 -1
- data/lib/mongoid/criteria/queryable/selector.rb +1 -1
- data/lib/mongoid/criteria/queryable/storable.rb +1 -1
- data/lib/mongoid/deprecable.rb +2 -1
- data/lib/mongoid/deprecation.rb +3 -3
- data/lib/mongoid/extensions/hash.rb +24 -2
- data/lib/mongoid/fields.rb +24 -13
- data/lib/mongoid/interceptable.rb +118 -7
- data/lib/mongoid/version.rb +1 -1
- data/spec/integration/callbacks_spec.rb +21 -0
- data/spec/mongoid/attributes_spec.rb +27 -0
- data/spec/mongoid/config_spec.rb +9 -0
- data/spec/mongoid/contextual/mongo_spec.rb +89 -14
- data/spec/mongoid/criteria/queryable/selector_spec.rb +75 -2
- data/spec/mongoid/criteria/queryable/storable_spec.rb +72 -0
- data/spec/mongoid/extensions/hash_spec.rb +3 -3
- data/spec/mongoid/fields_spec.rb +43 -0
- data/spec/mongoid/interceptable_spec.rb +364 -153
- data/spec/shared/lib/mrss/docker_runner.rb +1 -0
- data/spec/support/models/person.rb +1 -0
- data/spec/support/models/purse.rb +9 -0
- data.tar.gz.sig +0 -0
- metadata +10 -8
- metadata.gz.sig +0 -0
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.1.
|
4
|
+
version: 8.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The MongoDB Ruby Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
wkeAWhd5b+5JS0zgDL4SvGB8/W2IY+y0zELkojBMgJPyrpAWHL/WSsSBMuhyI2Pv
|
36
36
|
xxaBVLklnJJ/qCCOZ3lG2MyVc/Nb0Mmq8ygWNsfwHmKKYuuWcviit0D0Tek=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: activemodel
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '5.1'
|
47
47
|
- - "<"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '7.
|
49
|
+
version: '7.2'
|
50
50
|
- - "!="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 7.0.0
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: '5.1'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '7.
|
62
|
+
version: '7.2'
|
63
63
|
- - "!="
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 7.0.0
|
@@ -1100,6 +1100,7 @@ files:
|
|
1100
1100
|
- spec/support/models/publication/review.rb
|
1101
1101
|
- spec/support/models/purchase.rb
|
1102
1102
|
- spec/support/models/purchased_item.rb
|
1103
|
+
- spec/support/models/purse.rb
|
1103
1104
|
- spec/support/models/question.rb
|
1104
1105
|
- spec/support/models/quiz.rb
|
1105
1106
|
- spec/support/models/rating.rb
|
@@ -1195,7 +1196,7 @@ metadata:
|
|
1195
1196
|
documentation_uri: https://www.mongodb.com/docs/mongoid/
|
1196
1197
|
homepage_uri: https://mongoid.org/
|
1197
1198
|
source_code_uri: https://github.com/mongodb/mongoid
|
1198
|
-
post_install_message:
|
1199
|
+
post_install_message:
|
1199
1200
|
rdoc_options: []
|
1200
1201
|
require_paths:
|
1201
1202
|
- lib
|
@@ -1210,8 +1211,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1210
1211
|
- !ruby/object:Gem::Version
|
1211
1212
|
version: 1.3.6
|
1212
1213
|
requirements: []
|
1213
|
-
rubygems_version: 3.4.
|
1214
|
-
signing_key:
|
1214
|
+
rubygems_version: 3.4.21
|
1215
|
+
signing_key:
|
1215
1216
|
specification_version: 4
|
1216
1217
|
summary: Elegant Persistence in Ruby for MongoDB.
|
1217
1218
|
test_files:
|
@@ -1817,6 +1818,7 @@ test_files:
|
|
1817
1818
|
- spec/support/models/publication.rb
|
1818
1819
|
- spec/support/models/purchase.rb
|
1819
1820
|
- spec/support/models/purchased_item.rb
|
1821
|
+
- spec/support/models/purse.rb
|
1820
1822
|
- spec/support/models/question.rb
|
1821
1823
|
- spec/support/models/quiz.rb
|
1822
1824
|
- spec/support/models/rating.rb
|
metadata.gz.sig
CHANGED
Binary file
|