mongoid 7.0.6 → 7.0.7
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 +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +1 -1
- data/lib/mongoid/persistable/pushable.rb +7 -1
- data/lib/mongoid/version.rb +1 -1
- data/spec/mongoid/persistable/pushable_spec.rb +55 -1
- metadata +468 -470
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82df1754cb3984ed07b2a5c83b17d489d4d5c3b00d5613d0294406fa818408a4
|
4
|
+
data.tar.gz: 6d9b8693eecd837d139340eebcc08b340296da68bc7ffd5af84428e61ab83e08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dba026ded69def250670ef96bdbbc9363237a3885002760918fe4aaed1d2e06755793383220b94fbdf57268770964f91ac30d62641b4ec74394ac98c0b332e5
|
7
|
+
data.tar.gz: 227afb604eb0da1c058aa4f22d69bcaeccaf920c389dd3d5001776d688a2a1b72b030aa4a238c8d4ad0dc33e2394679e51a8560204ad9da041430c4d6f5becc9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Project Tracking
|
|
14
14
|
----------------
|
15
15
|
|
16
16
|
* [Mongoid Website and Documentation](http://mongoid.org)
|
17
|
-
* [
|
17
|
+
* [MongoDB Community Forum](https://developer.mongodb.com/community/forums/tags/c/drivers-odms-connectors/7/mongoid-odm)
|
18
18
|
* [Stackoverflow](http://stackoverflow.com/questions/tagged/mongoid)
|
19
19
|
* [#mongoid](http://webchat.freenode.net/?channels=mongoid) on freenode IRC
|
20
20
|
|
@@ -22,7 +22,13 @@ module Mongoid
|
|
22
22
|
def add_to_set(adds)
|
23
23
|
prepare_atomic_operation do |ops|
|
24
24
|
process_atomic_operations(adds) do |field, value|
|
25
|
-
existing = send(field) ||
|
25
|
+
existing = send(field) || attributes[field]
|
26
|
+
if existing.nil?
|
27
|
+
attributes[field] = []
|
28
|
+
# Read the value out of attributes:
|
29
|
+
# https://jira.mongodb.org/browse/MONGOID-4874
|
30
|
+
existing = attributes[field]
|
31
|
+
end
|
26
32
|
values = [ value ].flatten(1)
|
27
33
|
values.each do |val|
|
28
34
|
existing.push(val) unless existing.include?(val)
|
data/lib/mongoid/version.rb
CHANGED
@@ -4,7 +4,7 @@ describe Mongoid::Persistable::Pushable do
|
|
4
4
|
|
5
5
|
describe "#add_to_set" do
|
6
6
|
|
7
|
-
context "when the document is a
|
7
|
+
context "when the document is a top level document" do
|
8
8
|
|
9
9
|
shared_examples_for "a unique pushable root document" do
|
10
10
|
|
@@ -62,6 +62,60 @@ describe Mongoid::Persistable::Pushable do
|
|
62
62
|
|
63
63
|
it_behaves_like "a unique pushable root document"
|
64
64
|
end
|
65
|
+
|
66
|
+
context 'when the host model is not saved' do
|
67
|
+
context 'when attribute exists' do
|
68
|
+
let(:person) do
|
69
|
+
Person.new(aliases: [2])
|
70
|
+
end
|
71
|
+
|
72
|
+
it 'records the change' do
|
73
|
+
person.add_to_set({aliases: 1})
|
74
|
+
|
75
|
+
expect(person.aliases).to eq([2, 1])
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
context 'when attribute does not exist' do
|
80
|
+
let(:person) do
|
81
|
+
Person.new
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'records the change' do
|
85
|
+
person.add_to_set({aliases: 1})
|
86
|
+
|
87
|
+
expect(person.aliases).to eq([1])
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
context 'when the host model is loaded from database' do
|
93
|
+
context 'when attribute exists' do
|
94
|
+
let(:person) do
|
95
|
+
Person.create!(aliases: [2])
|
96
|
+
person = Person.last
|
97
|
+
end
|
98
|
+
|
99
|
+
it 'records the change' do
|
100
|
+
person.add_to_set({aliases: 1})
|
101
|
+
|
102
|
+
expect(person.aliases).to eq([2, 1])
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
context 'when attribute does not exist' do
|
107
|
+
let(:person) do
|
108
|
+
Person.create!
|
109
|
+
person = Person.last
|
110
|
+
end
|
111
|
+
|
112
|
+
it 'records the change' do
|
113
|
+
person.add_to_set({aliases: 1})
|
114
|
+
|
115
|
+
expect(person.aliases).to eq([1])
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
65
119
|
end
|
66
120
|
|
67
121
|
context "when the document is embedded" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Durran Jordan
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
|
30
30
|
Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2020-
|
32
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: activemodel
|
@@ -73,8 +73,7 @@ dependencies:
|
|
73
73
|
version: 3.0.0
|
74
74
|
description: Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written
|
75
75
|
in Ruby.
|
76
|
-
email:
|
77
|
-
- mongodb-dev@googlegroups.com
|
76
|
+
email:
|
78
77
|
executables: []
|
79
78
|
extensions: []
|
80
79
|
extra_rdoc_files: []
|
@@ -898,7 +897,6 @@ metadata:
|
|
898
897
|
changelog_uri: https://github.com/mongodb/mongoid/releases
|
899
898
|
documentation_uri: https://docs.mongodb.com/mongoid/
|
900
899
|
homepage_uri: https://mongoid.org/
|
901
|
-
mailing_list_uri: https://groups.google.com/group/mongodb-user
|
902
900
|
source_code_uri: https://github.com/mongodb/mongoid
|
903
901
|
post_install_message:
|
904
902
|
rdoc_options: []
|
@@ -920,503 +918,503 @@ signing_key:
|
|
920
918
|
specification_version: 4
|
921
919
|
summary: Elegant Persistence in Ruby for MongoDB.
|
922
920
|
test_files:
|
923
|
-
- spec/
|
924
|
-
- spec/
|
925
|
-
- spec/
|
926
|
-
- spec/
|
927
|
-
- spec/
|
928
|
-
- spec/
|
929
|
-
- spec/
|
930
|
-
- spec/
|
931
|
-
- spec/
|
932
|
-
- spec/
|
933
|
-
- spec/
|
934
|
-
- spec/
|
935
|
-
- spec/
|
921
|
+
- spec/app/models/house.rb
|
922
|
+
- spec/app/models/shipment_address.rb
|
923
|
+
- spec/app/models/address_number.rb
|
924
|
+
- spec/app/models/player.rb
|
925
|
+
- spec/app/models/filesystem.rb
|
926
|
+
- spec/app/models/child.rb
|
927
|
+
- spec/app/models/eraser.rb
|
928
|
+
- spec/app/models/book.rb
|
929
|
+
- spec/app/models/palette.rb
|
930
|
+
- spec/app/models/sound.rb
|
931
|
+
- spec/app/models/cat.rb
|
932
|
+
- spec/app/models/staff.rb
|
933
|
+
- spec/app/models/square.rb
|
934
|
+
- spec/app/models/video_game.rb
|
935
|
+
- spec/app/models/audio.rb
|
936
|
+
- spec/app/models/truck.rb
|
937
|
+
- spec/app/models/store_as_dup_test1.rb
|
938
|
+
- spec/app/models/artwork.rb
|
939
|
+
- spec/app/models/pronunciation.rb
|
940
|
+
- spec/app/models/contextable_item.rb
|
941
|
+
- spec/app/models/word.rb
|
942
|
+
- spec/app/models/track.rb
|
943
|
+
- spec/app/models/post_genre.rb
|
944
|
+
- spec/app/models/tag.rb
|
945
|
+
- spec/app/models/comment.rb
|
946
|
+
- spec/app/models/big_palette.rb
|
947
|
+
- spec/app/models/callback_test.rb
|
948
|
+
- spec/app/models/lat_lng.rb
|
949
|
+
- spec/app/models/html_writer.rb
|
950
|
+
- spec/app/models/post.rb
|
951
|
+
- spec/app/models/bus.rb
|
952
|
+
- spec/app/models/consumption_period.rb
|
953
|
+
- spec/app/models/eye_bowl.rb
|
954
|
+
- spec/app/models/definition.rb
|
955
|
+
- spec/app/models/dungeon.rb
|
956
|
+
- spec/app/models/shelf.rb
|
957
|
+
- spec/app/models/basic.rb
|
958
|
+
- spec/app/models/image.rb
|
959
|
+
- spec/app/models/appointment.rb
|
960
|
+
- spec/app/models/array_field.rb
|
961
|
+
- spec/app/models/short_quiz.rb
|
962
|
+
- spec/app/models/implant.rb
|
963
|
+
- spec/app/models/explosion.rb
|
964
|
+
- spec/app/models/kangaroo.rb
|
965
|
+
- spec/app/models/page.rb
|
966
|
+
- spec/app/models/vet_visit.rb
|
967
|
+
- spec/app/models/vertex.rb
|
968
|
+
- spec/app/models/parent.rb
|
969
|
+
- spec/app/models/favorite.rb
|
970
|
+
- spec/app/models/vehicle.rb
|
971
|
+
- spec/app/models/version.rb
|
972
|
+
- spec/app/models/person.rb
|
973
|
+
- spec/app/models/answer.rb
|
974
|
+
- spec/app/models/writer.rb
|
975
|
+
- spec/app/models/phone.rb
|
976
|
+
- spec/app/models/building_address.rb
|
977
|
+
- spec/app/models/entry.rb
|
978
|
+
- spec/app/models/kaleidoscope.rb
|
979
|
+
- spec/app/models/circus.rb
|
980
|
+
- spec/app/models/validation_callback.rb
|
981
|
+
- spec/app/models/animal.rb
|
982
|
+
- spec/app/models/pub.rb
|
983
|
+
- spec/app/models/face.rb
|
984
|
+
- spec/app/models/other_owner_object.rb
|
985
|
+
- spec/app/models/registry.rb
|
986
|
+
- spec/app/models/minim.rb
|
987
|
+
- spec/app/models/word_origin.rb
|
988
|
+
- spec/app/models/user.rb
|
989
|
+
- spec/app/models/updatable.rb
|
990
|
+
- spec/app/models/thing.rb
|
991
|
+
- spec/app/models/employer.rb
|
992
|
+
- spec/app/models/name.rb
|
993
|
+
- spec/app/models/fire_hydrant.rb
|
994
|
+
- spec/app/models/video.rb
|
995
|
+
- spec/app/models/title.rb
|
996
|
+
- spec/app/models/simple.rb
|
997
|
+
- spec/app/models/contractor.rb
|
998
|
+
- spec/app/models/strategy.rb
|
999
|
+
- spec/app/models/jar.rb
|
1000
|
+
- spec/app/models/article.rb
|
1001
|
+
- spec/app/models/quiz.rb
|
1002
|
+
- spec/app/models/alert.rb
|
1003
|
+
- spec/app/models/odd.rb
|
1004
|
+
- spec/app/models/scheduler.rb
|
1005
|
+
- spec/app/models/role.rb
|
1006
|
+
- spec/app/models/agent.rb
|
1007
|
+
- spec/app/models/wiki_page.rb
|
1008
|
+
- spec/app/models/ghost.rb
|
1009
|
+
- spec/app/models/birthday.rb
|
1010
|
+
- spec/app/models/short_agent.rb
|
1011
|
+
- spec/app/models/dictionary.rb
|
1012
|
+
- spec/app/models/drug.rb
|
1013
|
+
- spec/app/models/subscription.rb
|
1014
|
+
- spec/app/models/sandwich.rb
|
1015
|
+
- spec/app/models/location.rb
|
1016
|
+
- spec/app/models/acolyte.rb
|
1017
|
+
- spec/app/models/translation.rb
|
1018
|
+
- spec/app/models/node.rb
|
1019
|
+
- spec/app/models/division.rb
|
1020
|
+
- spec/app/models/car.rb
|
1021
|
+
- spec/app/models/email.rb
|
1022
|
+
- spec/app/models/account.rb
|
1023
|
+
- spec/app/models/author.rb
|
1024
|
+
- spec/app/models/song.rb
|
1025
|
+
- spec/app/models/courier_job.rb
|
1026
|
+
- spec/app/models/seo.rb
|
1027
|
+
- spec/app/models/fruits.rb
|
1028
|
+
- spec/app/models/rating.rb
|
1029
|
+
- spec/app/models/draft.rb
|
1030
|
+
- spec/app/models/description.rb
|
1031
|
+
- spec/app/models/actress.rb
|
1032
|
+
- spec/app/models/survey.rb
|
1033
|
+
- spec/app/models/browser.rb
|
1034
|
+
- spec/app/models/exhibitor.rb
|
1035
|
+
- spec/app/models/record.rb
|
1036
|
+
- spec/app/models/topping.rb
|
1037
|
+
- spec/app/models/shipping_container.rb
|
1038
|
+
- spec/app/models/pack.rb
|
1039
|
+
- spec/app/models/church.rb
|
1040
|
+
- spec/app/models/server.rb
|
1041
|
+
- spec/app/models/product.rb
|
1042
|
+
- spec/app/models/user_account.rb
|
1043
|
+
- spec/app/models/weapon.rb
|
1044
|
+
- spec/app/models/parent_doc.rb
|
1045
|
+
- spec/app/models/folder_item.rb
|
1046
|
+
- spec/app/models/slave.rb
|
1047
|
+
- spec/app/models/child_doc.rb
|
1048
|
+
- spec/app/models/canvas.rb
|
1049
|
+
- spec/app/models/membership.rb
|
1050
|
+
- spec/app/models/manufacturer.rb
|
1051
|
+
- spec/app/models/shipping_pack.rb
|
1052
|
+
- spec/app/models/edit.rb
|
1053
|
+
- spec/app/models/shop.rb
|
1054
|
+
- spec/app/models/code.rb
|
1055
|
+
- spec/app/models/pet.rb
|
1056
|
+
- spec/app/models/princess.rb
|
1057
|
+
- spec/app/models/symptom.rb
|
1058
|
+
- spec/app/models/oscar.rb
|
1059
|
+
- spec/app/models/business.rb
|
1060
|
+
- spec/app/models/owner.rb
|
1061
|
+
- spec/app/models/meat.rb
|
1062
|
+
- spec/app/models/driver.rb
|
1063
|
+
- spec/app/models/league.rb
|
1064
|
+
- spec/app/models/service.rb
|
1065
|
+
- spec/app/models/target.rb
|
1066
|
+
- spec/app/models/bed.rb
|
1067
|
+
- spec/app/models/game.rb
|
1068
|
+
- spec/app/models/home.rb
|
1069
|
+
- spec/app/models/series.rb
|
1070
|
+
- spec/app/models/override.rb
|
1071
|
+
- spec/app/models/line_item.rb
|
1072
|
+
- spec/app/models/id_key.rb
|
1073
|
+
- spec/app/models/address.rb
|
1074
|
+
- spec/app/models/even.rb
|
1075
|
+
- spec/app/models/fish.rb
|
1076
|
+
- spec/app/models/page_question.rb
|
1077
|
+
- spec/app/models/learner.rb
|
1078
|
+
- spec/app/models/band.rb
|
1079
|
+
- spec/app/models/pdf_writer.rb
|
1080
|
+
- spec/app/models/ordered_post.rb
|
1081
|
+
- spec/app/models/breed.rb
|
1082
|
+
- spec/app/models/pet_owner.rb
|
1083
|
+
- spec/app/models/patient.rb
|
1084
|
+
- spec/app/models/store_as_dup_test3.rb
|
1085
|
+
- spec/app/models/agency.rb
|
1086
|
+
- spec/app/models/movie.rb
|
1087
|
+
- spec/app/models/artist.rb
|
1088
|
+
- spec/app/models/event.rb
|
1089
|
+
- spec/app/models/my_hash.rb
|
1090
|
+
- spec/app/models/template.rb
|
1091
|
+
- spec/app/models/language.rb
|
1092
|
+
- spec/app/models/circuit.rb
|
1093
|
+
- spec/app/models/dragon.rb
|
1094
|
+
- spec/app/models/doctor.rb
|
1095
|
+
- spec/app/models/note.rb
|
1096
|
+
- spec/app/models/message.rb
|
1097
|
+
- spec/app/models/label.rb
|
1098
|
+
- spec/app/models/preference.rb
|
1099
|
+
- spec/app/models/firefox.rb
|
1100
|
+
- spec/app/models/album.rb
|
1101
|
+
- spec/app/models/cookie.rb
|
1102
|
+
- spec/app/models/login.rb
|
1103
|
+
- spec/app/models/ownable.rb
|
1104
|
+
- spec/app/models/actor.rb
|
1105
|
+
- spec/app/models/bomb.rb
|
1106
|
+
- spec/app/models/pencil.rb
|
1107
|
+
- spec/app/models/store_as_dup_test2.rb
|
1108
|
+
- spec/app/models/profile.rb
|
1109
|
+
- spec/app/models/dokument.rb
|
1110
|
+
- spec/app/models/shape.rb
|
1111
|
+
- spec/app/models/folder.rb
|
1112
|
+
- spec/app/models/company.rb
|
1113
|
+
- spec/app/models/eye.rb
|
1114
|
+
- spec/app/models/tool.rb
|
1115
|
+
- spec/app/models/bar.rb
|
1116
|
+
- spec/app/models/category.rb
|
1117
|
+
- spec/app/models/building.rb
|
1118
|
+
- spec/app/models/address_component.rb
|
1119
|
+
- spec/app/models/passport.rb
|
1120
|
+
- spec/app/models/circle.rb
|
1121
|
+
- spec/app/models/sub_item.rb
|
1122
|
+
- spec/app/models/exhibition.rb
|
1123
|
+
- spec/app/models/country_code.rb
|
1124
|
+
- spec/app/models/question.rb
|
1125
|
+
- spec/app/models/purchase.rb
|
1126
|
+
- spec/app/models/tree.rb
|
1127
|
+
- spec/app/models/augmentation.rb
|
1128
|
+
- spec/app/models/ordered_preference.rb
|
1129
|
+
- spec/app/models/mixed_drink.rb
|
1130
|
+
- spec/app/models/item.rb
|
1131
|
+
- spec/app/models/powerup.rb
|
1132
|
+
- spec/app/models/pizza.rb
|
1133
|
+
- spec/app/models/root_category.rb
|
1134
|
+
- spec/app/models/store_as_dup_test4.rb
|
1135
|
+
- spec/app/models/baby.rb
|
1136
|
+
- spec/app/models/dog.rb
|
1137
|
+
- spec/mongoid/scopable_spec.rb
|
1138
|
+
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1139
|
+
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1140
|
+
- spec/mongoid/atomic/paths/root_spec.rb
|
1141
|
+
- spec/mongoid/atomic/modifiers_spec.rb
|
1142
|
+
- spec/mongoid/atomic/paths_spec.rb
|
1143
|
+
- spec/mongoid/copyable_spec_models.rb
|
1144
|
+
- spec/mongoid/attributes/readonly_spec.rb
|
1145
|
+
- spec/mongoid/attributes/nested_spec.rb
|
1146
|
+
- spec/mongoid/attributes/dynamic_spec.rb
|
936
1147
|
- spec/mongoid/indexable_spec.rb
|
937
|
-
- spec/mongoid/
|
938
|
-
- spec/mongoid/
|
939
|
-
- spec/mongoid/
|
1148
|
+
- spec/mongoid/serializable_spec.rb
|
1149
|
+
- spec/mongoid/timestamps/timeless_spec.rb
|
1150
|
+
- spec/mongoid/timestamps/updated/short_spec.rb
|
1151
|
+
- spec/mongoid/timestamps/created/short_spec.rb
|
1152
|
+
- spec/mongoid/timestamps/created_spec.rb
|
1153
|
+
- spec/mongoid/timestamps/updated_spec.rb
|
1154
|
+
- spec/mongoid/findable_spec.rb
|
940
1155
|
- spec/mongoid/changeable_spec.rb
|
941
|
-
- spec/mongoid/attributes/dynamic_spec.rb
|
942
|
-
- spec/mongoid/attributes/nested_spec.rb
|
943
|
-
- spec/mongoid/attributes/readonly_spec.rb
|
944
|
-
- spec/mongoid/config_spec.rb
|
945
|
-
- spec/mongoid/relations/proxy_spec.rb
|
946
|
-
- spec/mongoid/copyable_spec_models.rb
|
947
|
-
- spec/mongoid/matchable/elem_match_spec.rb
|
948
|
-
- spec/mongoid/matchable/nor_spec.rb
|
949
|
-
- spec/mongoid/matchable/all_spec.rb
|
950
|
-
- spec/mongoid/matchable/ne_spec.rb
|
951
1156
|
- spec/mongoid/matchable/eq_spec.rb
|
952
|
-
- spec/mongoid/matchable/
|
953
|
-
- spec/mongoid/matchable/
|
1157
|
+
- spec/mongoid/matchable/size_spec.rb
|
1158
|
+
- spec/mongoid/matchable/all_spec.rb
|
1159
|
+
- spec/mongoid/matchable/or_spec.rb
|
954
1160
|
- spec/mongoid/matchable/lte_spec.rb
|
1161
|
+
- spec/mongoid/matchable/gt_spec.rb
|
955
1162
|
- spec/mongoid/matchable/lt_spec.rb
|
956
|
-
- spec/mongoid/matchable/
|
957
|
-
- spec/mongoid/matchable/default_spec.rb
|
1163
|
+
- spec/mongoid/matchable/ne_spec.rb
|
958
1164
|
- spec/mongoid/matchable/exists_spec.rb
|
959
|
-
- spec/mongoid/matchable/
|
960
|
-
- spec/mongoid/matchable/gt_spec.rb
|
1165
|
+
- spec/mongoid/matchable/regexp_spec.rb
|
961
1166
|
- spec/mongoid/matchable/gte_spec.rb
|
1167
|
+
- spec/mongoid/matchable/in_spec.rb
|
962
1168
|
- spec/mongoid/matchable/nin_spec.rb
|
963
|
-
- spec/mongoid/matchable/
|
964
|
-
- spec/mongoid/
|
1169
|
+
- spec/mongoid/matchable/nor_spec.rb
|
1170
|
+
- spec/mongoid/matchable/elem_match_spec.rb
|
1171
|
+
- spec/mongoid/matchable/default_spec.rb
|
1172
|
+
- spec/mongoid/matchable/and_spec.rb
|
1173
|
+
- spec/mongoid/extensions/decimal128_spec.rb
|
1174
|
+
- spec/mongoid/extensions/date_spec.rb
|
1175
|
+
- spec/mongoid/extensions/object_spec.rb
|
1176
|
+
- spec/mongoid/extensions/object_id_spec.rb
|
1177
|
+
- spec/mongoid/extensions/hash_spec.rb
|
1178
|
+
- spec/mongoid/extensions/string_spec.rb
|
1179
|
+
- spec/mongoid/extensions/boolean_spec.rb
|
1180
|
+
- spec/mongoid/extensions/nil_class_spec.rb
|
1181
|
+
- spec/mongoid/extensions/regexp_spec.rb
|
1182
|
+
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1183
|
+
- spec/mongoid/extensions/false_class_spec.rb
|
1184
|
+
- spec/mongoid/extensions/binary_spec.rb
|
1185
|
+
- spec/mongoid/extensions/array_spec.rb
|
1186
|
+
- spec/mongoid/extensions/range_spec.rb
|
1187
|
+
- spec/mongoid/extensions/symbol_spec.rb
|
1188
|
+
- spec/mongoid/extensions/float_spec.rb
|
1189
|
+
- spec/mongoid/extensions/true_class_spec.rb
|
1190
|
+
- spec/mongoid/extensions/integer_spec.rb
|
1191
|
+
- spec/mongoid/extensions/set_spec.rb
|
1192
|
+
- spec/mongoid/extensions/big_decimal_spec.rb
|
1193
|
+
- spec/mongoid/extensions/time_spec.rb
|
1194
|
+
- spec/mongoid/extensions/date_time_spec.rb
|
1195
|
+
- spec/mongoid/extensions/module_spec.rb
|
1196
|
+
- spec/mongoid/fields/foreign_key_spec.rb
|
1197
|
+
- spec/mongoid/fields/standard_spec.rb
|
1198
|
+
- spec/mongoid/fields/localized_spec.rb
|
1199
|
+
- spec/mongoid/stateful_spec.rb
|
1200
|
+
- spec/mongoid/composable_spec.rb
|
1201
|
+
- spec/mongoid/reloadable_spec.rb
|
1202
|
+
- spec/mongoid/tasks/database_rake_spec.rb
|
1203
|
+
- spec/mongoid/tasks/database_spec.rb
|
1204
|
+
- spec/mongoid/equality_spec.rb
|
1205
|
+
- spec/mongoid/cacheable_spec.rb
|
1206
|
+
- spec/mongoid/interceptable_spec.rb
|
1207
|
+
- spec/mongoid/inspectable_spec.rb
|
1208
|
+
- spec/mongoid/config_spec.rb
|
1209
|
+
- spec/mongoid/persistable/pullable_spec.rb
|
1210
|
+
- spec/mongoid/persistable/logical_spec.rb
|
1211
|
+
- spec/mongoid/persistable/destroyable_spec.rb
|
1212
|
+
- spec/mongoid/persistable/poppable_spec.rb
|
1213
|
+
- spec/mongoid/persistable/pushable_spec.rb
|
1214
|
+
- spec/mongoid/persistable/incrementable_spec.rb
|
1215
|
+
- spec/mongoid/persistable/upsertable_spec.rb
|
1216
|
+
- spec/mongoid/persistable/deletable_spec.rb
|
1217
|
+
- spec/mongoid/persistable/renamable_spec.rb
|
1218
|
+
- spec/mongoid/persistable/creatable_spec.rb
|
1219
|
+
- spec/mongoid/persistable/updatable_spec.rb
|
1220
|
+
- spec/mongoid/persistable/unsettable_spec.rb
|
1221
|
+
- spec/mongoid/persistable/savable_spec.rb
|
1222
|
+
- spec/mongoid/persistable/settable_spec.rb
|
1223
|
+
- spec/mongoid/indexable/specification_spec.rb
|
1224
|
+
- spec/mongoid/relations/proxy_spec.rb
|
1225
|
+
- spec/mongoid/copyable_spec.rb
|
1226
|
+
- spec/mongoid/shardable_spec.rb
|
965
1227
|
- spec/mongoid/threaded_spec.rb
|
966
|
-
- spec/mongoid/
|
967
|
-
- spec/mongoid/
|
968
|
-
- spec/mongoid/
|
969
|
-
- spec/mongoid/
|
970
|
-
- spec/mongoid/
|
971
|
-
- spec/mongoid/
|
972
|
-
- spec/mongoid/
|
973
|
-
- spec/mongoid/
|
1228
|
+
- spec/mongoid/atomic_spec.rb
|
1229
|
+
- spec/mongoid/persistence_context_spec.rb
|
1230
|
+
- spec/mongoid/association/eager_spec.rb
|
1231
|
+
- spec/mongoid/association/constrainable_spec.rb
|
1232
|
+
- spec/mongoid/association/counter_cache_spec.rb
|
1233
|
+
- spec/mongoid/association/syncable_spec.rb
|
1234
|
+
- spec/mongoid/association/nested/many_spec.rb
|
1235
|
+
- spec/mongoid/association/nested/one_spec.rb
|
1236
|
+
- spec/mongoid/association/options_spec.rb
|
1237
|
+
- spec/mongoid/association/embedded/embedded_in/binding_spec.rb
|
1238
|
+
- spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
|
1239
|
+
- spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
|
1240
|
+
- spec/mongoid/association/embedded/embeds_one/binding_spec.rb
|
1241
|
+
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
1242
|
+
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
1243
|
+
- spec/mongoid/association/embedded/embeds_one_models.rb
|
1244
|
+
- spec/mongoid/association/embedded/embeds_many_spec.rb
|
1245
|
+
- spec/mongoid/association/embedded/dirty_spec.rb
|
1246
|
+
- spec/mongoid/association/embedded/cyclic_spec.rb
|
1247
|
+
- spec/mongoid/association/embedded/embedded_in_spec.rb
|
1248
|
+
- spec/mongoid/association/embedded/embeds_one_spec.rb
|
1249
|
+
- spec/mongoid/association/embedded/embeds_many/binding_spec.rb
|
1250
|
+
- spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
|
1251
|
+
- spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
|
1252
|
+
- spec/mongoid/association/embedded/embeds_one_dnl_models.rb
|
1253
|
+
- spec/mongoid/association/reflections_spec.rb
|
1254
|
+
- spec/mongoid/association/polymorphic_spec.rb
|
1255
|
+
- spec/mongoid/association/builders_spec.rb
|
1256
|
+
- spec/mongoid/association/depending_spec.rb
|
1257
|
+
- spec/mongoid/association/referenced/has_many_spec.rb
|
1258
|
+
- spec/mongoid/association/referenced/has_one_models.rb
|
1259
|
+
- spec/mongoid/association/referenced/has_one_spec.rb
|
1260
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
|
1261
|
+
- spec/mongoid/association/referenced/has_many_models.rb
|
1262
|
+
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
1263
|
+
- spec/mongoid/association/referenced/belongs_to/binding_spec.rb
|
1264
|
+
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
1265
|
+
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
1266
|
+
- spec/mongoid/association/referenced/has_many/eager_spec.rb
|
1267
|
+
- spec/mongoid/association/referenced/has_many/binding_spec.rb
|
1268
|
+
- spec/mongoid/association/referenced/has_many/proxy_spec.rb
|
1269
|
+
- spec/mongoid/association/referenced/has_many/enumerable_spec.rb
|
1270
|
+
- spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
|
1271
|
+
- spec/mongoid/association/referenced/has_many/buildable_spec.rb
|
1272
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
|
1273
|
+
- spec/mongoid/association/referenced/has_one/eager_spec.rb
|
1274
|
+
- spec/mongoid/association/referenced/has_one/binding_spec.rb
|
1275
|
+
- spec/mongoid/association/referenced/has_one/proxy_spec.rb
|
1276
|
+
- spec/mongoid/association/referenced/has_one/buildable_spec.rb
|
1277
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
|
1278
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
1279
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
1280
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
|
1281
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
|
1282
|
+
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
1283
|
+
- spec/mongoid/association/auto_save_spec.rb
|
1284
|
+
- spec/mongoid/association/accessors_spec.rb
|
1285
|
+
- spec/mongoid/association/macros_spec.rb
|
1286
|
+
- spec/mongoid/document_fields_spec.rb
|
1287
|
+
- spec/mongoid/errors/eager_load_spec.rb
|
1288
|
+
- spec/mongoid/errors/mixed_relations_spec.rb
|
1289
|
+
- spec/mongoid/errors/delete_restriction_spec.rb
|
1290
|
+
- spec/mongoid/errors/invalid_includes_spec.rb
|
1291
|
+
- spec/mongoid/errors/no_parent_spec.rb
|
974
1292
|
- spec/mongoid/errors/readonly_attribute_spec.rb
|
975
|
-
- spec/mongoid/errors/
|
976
|
-
- spec/mongoid/errors/
|
977
|
-
- spec/mongoid/errors/
|
978
|
-
- spec/mongoid/errors/
|
979
|
-
- spec/mongoid/errors/
|
980
|
-
- spec/mongoid/errors/
|
981
|
-
- spec/mongoid/errors/
|
982
|
-
- spec/mongoid/errors/
|
983
|
-
- spec/mongoid/errors/no_client_hosts_spec.rb
|
984
|
-
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
985
|
-
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1293
|
+
- spec/mongoid/errors/unsaved_document_spec.rb
|
1294
|
+
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1295
|
+
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1296
|
+
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1297
|
+
- spec/mongoid/errors/invalid_relation_spec.rb
|
1298
|
+
- spec/mongoid/errors/invalid_time_spec.rb
|
1299
|
+
- spec/mongoid/errors/validations_spec.rb
|
1300
|
+
- spec/mongoid/errors/no_client_config_spec.rb
|
986
1301
|
- spec/mongoid/errors/invalid_scope_spec.rb
|
987
|
-
- spec/mongoid/errors/invalid_options_spec.rb
|
988
|
-
- spec/mongoid/errors/mixed_relations_spec.rb
|
989
|
-
- spec/mongoid/errors/eager_load_spec.rb
|
990
|
-
- spec/mongoid/errors/no_environment_spec.rb
|
991
|
-
- spec/mongoid/errors/mongoid_error_spec.rb
|
992
|
-
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
993
|
-
- spec/mongoid/errors/invalid_field_option_spec.rb
|
994
1302
|
- spec/mongoid/errors/invalid_config_option_spec.rb
|
995
|
-
- spec/mongoid/errors/
|
996
|
-
- spec/mongoid/errors/
|
997
|
-
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1303
|
+
- spec/mongoid/errors/document_not_found_spec.rb
|
1304
|
+
- spec/mongoid/errors/unknown_attribute_spec.rb
|
998
1305
|
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
999
|
-
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1000
|
-
- spec/mongoid/errors/invalid_collection_spec.rb
|
1001
|
-
- spec/mongoid/errors/no_parent_spec.rb
|
1002
1306
|
- spec/mongoid/errors/invalid_index_spec.rb
|
1003
|
-
- spec/mongoid/errors/
|
1004
|
-
- spec/mongoid/errors/
|
1005
|
-
- spec/mongoid/errors/
|
1307
|
+
- spec/mongoid/errors/readonly_document_spec.rb
|
1308
|
+
- spec/mongoid/errors/invalid_field_spec.rb
|
1309
|
+
- spec/mongoid/errors/mongoid_error_spec.rb
|
1310
|
+
- spec/mongoid/errors/invalid_collection_spec.rb
|
1311
|
+
- spec/mongoid/errors/no_metadata_spec.rb
|
1312
|
+
- spec/mongoid/errors/invalid_options_spec.rb
|
1313
|
+
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1314
|
+
- spec/mongoid/errors/no_clients_config_spec.rb
|
1006
1315
|
- spec/mongoid/errors/no_client_database_spec.rb
|
1007
|
-
- spec/mongoid/errors/
|
1316
|
+
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1317
|
+
- spec/mongoid/errors/invalid_find_spec.rb
|
1318
|
+
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1008
1319
|
- spec/mongoid/errors/callback_spec.rb
|
1009
|
-
- spec/mongoid/
|
1010
|
-
- spec/mongoid/
|
1011
|
-
- spec/mongoid/
|
1320
|
+
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1321
|
+
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
1322
|
+
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1323
|
+
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1324
|
+
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1325
|
+
- spec/mongoid/errors/invalid_path_spec.rb
|
1326
|
+
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1327
|
+
- spec/mongoid/errors/no_environment_spec.rb
|
1328
|
+
- spec/mongoid/clients_spec.rb
|
1329
|
+
- spec/mongoid/factory_spec.rb
|
1330
|
+
- spec/mongoid/config/environment_spec.rb
|
1331
|
+
- spec/mongoid/config/options_spec.rb
|
1332
|
+
- spec/mongoid/extensions_spec.rb
|
1333
|
+
- spec/mongoid/validatable_spec.rb
|
1334
|
+
- spec/mongoid/association_spec.rb
|
1012
1335
|
- spec/mongoid/criteria/scopable_spec.rb
|
1336
|
+
- spec/mongoid/criteria/modifiable_spec.rb
|
1337
|
+
- spec/mongoid/criteria/findable_spec.rb
|
1013
1338
|
- spec/mongoid/criteria/inspectable_spec.rb
|
1014
|
-
- spec/mongoid/criteria/
|
1015
|
-
- spec/mongoid/criteria/queryable/
|
1016
|
-
- spec/mongoid/criteria/queryable/
|
1017
|
-
- spec/mongoid/criteria/queryable/
|
1018
|
-
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1019
|
-
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1339
|
+
- spec/mongoid/criteria/options_spec.rb
|
1340
|
+
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1341
|
+
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1342
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1020
1343
|
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1021
|
-
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1022
|
-
- spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
|
1023
1344
|
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1024
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1025
|
-
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1026
|
-
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1345
|
+
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1027
1346
|
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1028
|
-
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1029
|
-
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1030
|
-
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1031
|
-
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1032
1347
|
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1033
1348
|
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1034
|
-
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1035
|
-
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1036
1349
|
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1037
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1038
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1039
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1350
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1351
|
+
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1352
|
+
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1353
|
+
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1354
|
+
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1355
|
+
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1040
1356
|
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1041
|
-
- spec/mongoid/criteria/queryable/
|
1042
|
-
- spec/mongoid/criteria/queryable/
|
1357
|
+
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1358
|
+
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1359
|
+
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1360
|
+
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1361
|
+
- spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
|
1362
|
+
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1363
|
+
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1364
|
+
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1043
1365
|
- spec/mongoid/criteria/queryable/options_spec.rb
|
1366
|
+
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1367
|
+
- spec/mongoid/criteria/queryable/key_spec.rb
|
1368
|
+
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1044
1369
|
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1045
|
-
- spec/mongoid/criteria/queryable/
|
1046
|
-
- spec/mongoid/criteria/queryable/
|
1047
|
-
- spec/mongoid/criteria/
|
1048
|
-
- spec/mongoid/criteria/options_spec.rb
|
1049
|
-
- spec/mongoid/criteria/modifiable_spec.rb
|
1370
|
+
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1371
|
+
- spec/mongoid/criteria/queryable/selectable_logical_spec.rb
|
1372
|
+
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1050
1373
|
- spec/mongoid/criteria/marshalable_spec.rb
|
1051
|
-
- spec/mongoid/
|
1052
|
-
- spec/mongoid/
|
1053
|
-
- spec/mongoid/
|
1054
|
-
- spec/mongoid/
|
1055
|
-
- spec/mongoid/
|
1056
|
-
- spec/mongoid/
|
1057
|
-
- spec/mongoid/
|
1058
|
-
- spec/mongoid/
|
1059
|
-
- spec/mongoid/extensions/hash_spec.rb
|
1060
|
-
- spec/mongoid/extensions/range_spec.rb
|
1061
|
-
- spec/mongoid/extensions/regexp_spec.rb
|
1062
|
-
- spec/mongoid/extensions/symbol_spec.rb
|
1063
|
-
- spec/mongoid/extensions/string_spec.rb
|
1064
|
-
- spec/mongoid/extensions/boolean_spec.rb
|
1065
|
-
- spec/mongoid/extensions/decimal128_spec.rb
|
1066
|
-
- spec/mongoid/extensions/array_spec.rb
|
1067
|
-
- spec/mongoid/extensions/module_spec.rb
|
1068
|
-
- spec/mongoid/extensions/false_class_spec.rb
|
1069
|
-
- spec/mongoid/extensions/true_class_spec.rb
|
1070
|
-
- spec/mongoid/extensions/binary_spec.rb
|
1071
|
-
- spec/mongoid/extensions/object_id_spec.rb
|
1072
|
-
- spec/mongoid/extensions/nil_class_spec.rb
|
1073
|
-
- spec/mongoid/extensions/set_spec.rb
|
1074
|
-
- spec/mongoid/extensions/integer_spec.rb
|
1075
|
-
- spec/mongoid/extensions/float_spec.rb
|
1076
|
-
- spec/mongoid/association/auto_save_spec.rb
|
1077
|
-
- spec/mongoid/association/embedded/cyclic_spec.rb
|
1078
|
-
- spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
|
1079
|
-
- spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
|
1080
|
-
- spec/mongoid/association/embedded/embeds_many/binding_spec.rb
|
1081
|
-
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
1082
|
-
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
1083
|
-
- spec/mongoid/association/embedded/embeds_one/binding_spec.rb
|
1084
|
-
- spec/mongoid/association/embedded/embeds_one_spec.rb
|
1085
|
-
- spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
|
1086
|
-
- spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
|
1087
|
-
- spec/mongoid/association/embedded/embedded_in/binding_spec.rb
|
1088
|
-
- spec/mongoid/association/embedded/embeds_many_spec.rb
|
1089
|
-
- spec/mongoid/association/embedded/embeds_one_dnl_models.rb
|
1090
|
-
- spec/mongoid/association/embedded/embeds_one_models.rb
|
1091
|
-
- spec/mongoid/association/embedded/dirty_spec.rb
|
1092
|
-
- spec/mongoid/association/embedded/embedded_in_spec.rb
|
1093
|
-
- spec/mongoid/association/syncable_spec.rb
|
1094
|
-
- spec/mongoid/association/accessors_spec.rb
|
1095
|
-
- spec/mongoid/association/depending_spec.rb
|
1096
|
-
- spec/mongoid/association/options_spec.rb
|
1097
|
-
- spec/mongoid/association/counter_cache_spec.rb
|
1098
|
-
- spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
|
1099
|
-
- spec/mongoid/association/referenced/has_many/proxy_spec.rb
|
1100
|
-
- spec/mongoid/association/referenced/has_many/buildable_spec.rb
|
1101
|
-
- spec/mongoid/association/referenced/has_many/eager_spec.rb
|
1102
|
-
- spec/mongoid/association/referenced/has_many/enumerable_spec.rb
|
1103
|
-
- spec/mongoid/association/referenced/has_many/binding_spec.rb
|
1104
|
-
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
1105
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
|
1106
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
1107
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
|
1108
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
|
1109
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
|
1110
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
1111
|
-
- spec/mongoid/association/referenced/has_many_spec.rb
|
1112
|
-
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
1113
|
-
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
1114
|
-
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
1115
|
-
- spec/mongoid/association/referenced/belongs_to/binding_spec.rb
|
1116
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
|
1117
|
-
- spec/mongoid/association/referenced/has_one/proxy_spec.rb
|
1118
|
-
- spec/mongoid/association/referenced/has_one/buildable_spec.rb
|
1119
|
-
- spec/mongoid/association/referenced/has_one/eager_spec.rb
|
1120
|
-
- spec/mongoid/association/referenced/has_one/binding_spec.rb
|
1121
|
-
- spec/mongoid/association/referenced/has_one_models.rb
|
1122
|
-
- spec/mongoid/association/referenced/has_many_models.rb
|
1123
|
-
- spec/mongoid/association/referenced/has_one_spec.rb
|
1124
|
-
- spec/mongoid/association/eager_spec.rb
|
1125
|
-
- spec/mongoid/association/nested/many_spec.rb
|
1126
|
-
- spec/mongoid/association/nested/one_spec.rb
|
1127
|
-
- spec/mongoid/association/macros_spec.rb
|
1128
|
-
- spec/mongoid/association/constrainable_spec.rb
|
1129
|
-
- spec/mongoid/association/reflections_spec.rb
|
1130
|
-
- spec/mongoid/association/polymorphic_spec.rb
|
1131
|
-
- spec/mongoid/association/builders_spec.rb
|
1132
|
-
- spec/mongoid/composable_spec.rb
|
1133
|
-
- spec/mongoid/atomic_spec.rb
|
1134
|
-
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1135
|
-
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1136
|
-
- spec/mongoid/atomic/paths/root_spec.rb
|
1137
|
-
- spec/mongoid/atomic/paths_spec.rb
|
1138
|
-
- spec/mongoid/atomic/modifiers_spec.rb
|
1139
|
-
- spec/mongoid/serializable_spec.rb
|
1140
|
-
- spec/mongoid/cacheable_spec.rb
|
1141
|
-
- spec/mongoid/traversable_spec.rb
|
1142
|
-
- spec/mongoid/validatable_spec.rb
|
1143
|
-
- spec/mongoid/document_fields_spec.rb
|
1144
|
-
- spec/mongoid/reloadable_spec.rb
|
1145
|
-
- spec/mongoid/persistable/settable_spec.rb
|
1146
|
-
- spec/mongoid/persistable/destroyable_spec.rb
|
1147
|
-
- spec/mongoid/persistable/upsertable_spec.rb
|
1148
|
-
- spec/mongoid/persistable/savable_spec.rb
|
1149
|
-
- spec/mongoid/persistable/logical_spec.rb
|
1150
|
-
- spec/mongoid/persistable/pullable_spec.rb
|
1151
|
-
- spec/mongoid/persistable/poppable_spec.rb
|
1152
|
-
- spec/mongoid/persistable/incrementable_spec.rb
|
1153
|
-
- spec/mongoid/persistable/updatable_spec.rb
|
1154
|
-
- spec/mongoid/persistable/unsettable_spec.rb
|
1155
|
-
- spec/mongoid/persistable/renamable_spec.rb
|
1156
|
-
- spec/mongoid/persistable/deletable_spec.rb
|
1157
|
-
- spec/mongoid/persistable/creatable_spec.rb
|
1158
|
-
- spec/mongoid/persistable/pushable_spec.rb
|
1159
|
-
- spec/mongoid/config/environment_spec.rb
|
1160
|
-
- spec/mongoid/config/options_spec.rb
|
1161
|
-
- spec/mongoid/factory_spec.rb
|
1162
|
-
- spec/mongoid/clients/sessions_spec.rb
|
1163
|
-
- spec/mongoid/clients/options_spec.rb
|
1164
|
-
- spec/mongoid/clients/factory_spec.rb
|
1165
|
-
- spec/mongoid/clients/transactions_spec.rb
|
1374
|
+
- spec/mongoid/contextual/geo_near_spec.rb
|
1375
|
+
- spec/mongoid/contextual/mongo_spec.rb
|
1376
|
+
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1377
|
+
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
1378
|
+
- spec/mongoid/contextual/atomic_spec.rb
|
1379
|
+
- spec/mongoid/contextual/memory_spec.rb
|
1380
|
+
- spec/mongoid/contextual/none_spec.rb
|
1381
|
+
- spec/mongoid/contextual/map_reduce_spec.rb
|
1166
1382
|
- spec/mongoid/persistable_spec.rb
|
1383
|
+
- spec/mongoid/loggable_spec.rb
|
1384
|
+
- spec/mongoid/traversable_spec.rb
|
1385
|
+
- spec/mongoid/criteria_spec.rb
|
1386
|
+
- spec/mongoid/query_cache_spec.rb
|
1167
1387
|
- spec/mongoid/matchable_spec.rb
|
1168
|
-
- spec/mongoid/
|
1169
|
-
- spec/mongoid/timestamps/created/short_spec.rb
|
1170
|
-
- spec/mongoid/timestamps/timeless_spec.rb
|
1171
|
-
- spec/mongoid/timestamps/updated_spec.rb
|
1172
|
-
- spec/mongoid/timestamps/updated/short_spec.rb
|
1173
|
-
- spec/mongoid/validatable/presence_spec.rb
|
1174
|
-
- spec/mongoid/validatable/format_spec.rb
|
1175
|
-
- spec/mongoid/validatable/numericality_spec.rb
|
1176
|
-
- spec/mongoid/validatable/associated_spec.rb
|
1177
|
-
- spec/mongoid/validatable/uniqueness_spec.rb
|
1178
|
-
- spec/mongoid/validatable/length_spec.rb
|
1179
|
-
- spec/mongoid/shardable_spec.rb
|
1180
|
-
- spec/mongoid/interceptable_spec.rb
|
1181
|
-
- spec/mongoid/fields/localized_spec.rb
|
1182
|
-
- spec/mongoid/fields/standard_spec.rb
|
1183
|
-
- spec/mongoid/fields/foreign_key_spec.rb
|
1184
|
-
- spec/mongoid/equality_spec.rb
|
1185
|
-
- spec/mongoid/stateful_spec.rb
|
1186
|
-
- spec/mongoid/timestamps_spec.rb
|
1187
|
-
- spec/mongoid/association_spec.rb
|
1188
|
-
- spec/mongoid/fields_spec.rb
|
1388
|
+
- spec/mongoid/touchable_spec.rb
|
1189
1389
|
- spec/mongoid/document_spec.rb
|
1190
|
-
- spec/mongoid/contextual/map_reduce_spec.rb
|
1191
|
-
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
1192
|
-
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1193
|
-
- spec/mongoid/contextual/geo_near_spec.rb
|
1194
|
-
- spec/mongoid/contextual/memory_spec.rb
|
1195
|
-
- spec/mongoid/contextual/atomic_spec.rb
|
1196
|
-
- spec/mongoid/contextual/none_spec.rb
|
1197
|
-
- spec/mongoid/contextual/mongo_spec.rb
|
1198
|
-
- spec/mongoid/indexable/specification_spec.rb
|
1199
1390
|
- spec/mongoid/positional_spec.rb
|
1200
|
-
- spec/mongoid/
|
1201
|
-
- spec/mongoid/
|
1391
|
+
- spec/mongoid/clients/sessions_spec.rb
|
1392
|
+
- spec/mongoid/clients/options_spec.rb
|
1393
|
+
- spec/mongoid/clients/factory_spec.rb
|
1394
|
+
- spec/mongoid/clients/transactions_spec.rb
|
1395
|
+
- spec/mongoid/timestamps_spec.rb
|
1396
|
+
- spec/mongoid/fields_spec.rb
|
1397
|
+
- spec/mongoid/validatable/presence_spec.rb
|
1398
|
+
- spec/mongoid/validatable/uniqueness_spec.rb
|
1399
|
+
- spec/mongoid/validatable/length_spec.rb
|
1400
|
+
- spec/mongoid/validatable/associated_spec.rb
|
1401
|
+
- spec/mongoid/validatable/numericality_spec.rb
|
1402
|
+
- spec/mongoid/validatable/format_spec.rb
|
1403
|
+
- spec/mongoid/attributes_spec.rb
|
1404
|
+
- spec/mongoid/selectable_spec.rb
|
1405
|
+
- spec/README.md
|
1406
|
+
- spec/support/authorization.rb
|
1407
|
+
- spec/support/cluster_config.rb
|
1408
|
+
- spec/support/macros.rb
|
1409
|
+
- spec/support/expectations.rb
|
1410
|
+
- spec/support/constraints.rb
|
1411
|
+
- spec/support/spec_config.rb
|
1412
|
+
- spec/mongoid_spec.rb
|
1202
1413
|
- spec/config/mongoid.yml
|
1203
|
-
- spec/lite_spec_helper.rb
|
1204
|
-
- spec/spec_helper.rb
|
1205
|
-
- spec/app/models/browser.rb
|
1206
|
-
- spec/app/models/exhibitor.rb
|
1207
|
-
- spec/app/models/simple.rb
|
1208
|
-
- spec/app/models/shipment_address.rb
|
1209
|
-
- spec/app/models/odd.rb
|
1210
|
-
- spec/app/models/palette.rb
|
1211
|
-
- spec/app/models/circle.rb
|
1212
|
-
- spec/app/models/membership.rb
|
1213
|
-
- spec/app/models/driver.rb
|
1214
|
-
- spec/app/models/root_category.rb
|
1215
|
-
- spec/app/models/company.rb
|
1216
|
-
- spec/app/models/validation_callback.rb
|
1217
|
-
- spec/app/models/event.rb
|
1218
|
-
- spec/app/models/user.rb
|
1219
|
-
- spec/app/models/symptom.rb
|
1220
|
-
- spec/app/models/label.rb
|
1221
|
-
- spec/app/models/cat.rb
|
1222
|
-
- spec/app/models/email.rb
|
1223
|
-
- spec/app/models/alert.rb
|
1224
|
-
- spec/app/models/tree.rb
|
1225
|
-
- spec/app/models/princess.rb
|
1226
|
-
- spec/app/models/big_palette.rb
|
1227
|
-
- spec/app/models/augmentation.rb
|
1228
|
-
- spec/app/models/dungeon.rb
|
1229
|
-
- spec/app/models/author.rb
|
1230
|
-
- spec/app/models/appointment.rb
|
1231
|
-
- spec/app/models/game.rb
|
1232
|
-
- spec/app/models/ghost.rb
|
1233
|
-
- spec/app/models/line_item.rb
|
1234
|
-
- spec/app/models/question.rb
|
1235
|
-
- spec/app/models/church.rb
|
1236
|
-
- spec/app/models/updatable.rb
|
1237
|
-
- spec/app/models/short_quiz.rb
|
1238
|
-
- spec/app/models/division.rb
|
1239
|
-
- spec/app/models/sub_item.rb
|
1240
|
-
- spec/app/models/subscription.rb
|
1241
|
-
- spec/app/models/word.rb
|
1242
|
-
- spec/app/models/kangaroo.rb
|
1243
|
-
- spec/app/models/parent.rb
|
1244
|
-
- spec/app/models/profile.rb
|
1245
|
-
- spec/app/models/basic.rb
|
1246
|
-
- spec/app/models/registry.rb
|
1247
|
-
- spec/app/models/node.rb
|
1248
|
-
- spec/app/models/id_key.rb
|
1249
|
-
- spec/app/models/child_doc.rb
|
1250
|
-
- spec/app/models/ownable.rb
|
1251
|
-
- spec/app/models/pet.rb
|
1252
|
-
- spec/app/models/preference.rb
|
1253
|
-
- spec/app/models/artist.rb
|
1254
|
-
- spec/app/models/my_hash.rb
|
1255
|
-
- spec/app/models/post.rb
|
1256
|
-
- spec/app/models/other_owner_object.rb
|
1257
|
-
- spec/app/models/track.rb
|
1258
|
-
- spec/app/models/tool.rb
|
1259
|
-
- spec/app/models/movie.rb
|
1260
|
-
- spec/app/models/truck.rb
|
1261
|
-
- spec/app/models/child.rb
|
1262
|
-
- spec/app/models/exhibition.rb
|
1263
|
-
- spec/app/models/building.rb
|
1264
|
-
- spec/app/models/pronunciation.rb
|
1265
|
-
- spec/app/models/oscar.rb
|
1266
|
-
- spec/app/models/minim.rb
|
1267
|
-
- spec/app/models/player.rb
|
1268
|
-
- spec/app/models/draft.rb
|
1269
|
-
- spec/app/models/store_as_dup_test1.rb
|
1270
|
-
- spec/app/models/fruits.rb
|
1271
|
-
- spec/app/models/circuit.rb
|
1272
|
-
- spec/app/models/owner.rb
|
1273
|
-
- spec/app/models/bar.rb
|
1274
|
-
- spec/app/models/answer.rb
|
1275
|
-
- spec/app/models/mixed_drink.rb
|
1276
|
-
- spec/app/models/filesystem.rb
|
1277
|
-
- spec/app/models/entry.rb
|
1278
|
-
- spec/app/models/service.rb
|
1279
|
-
- spec/app/models/video_game.rb
|
1280
|
-
- spec/app/models/category.rb
|
1281
|
-
- spec/app/models/doctor.rb
|
1282
|
-
- spec/app/models/shipping_pack.rb
|
1283
|
-
- spec/app/models/language.rb
|
1284
|
-
- spec/app/models/shop.rb
|
1285
|
-
- spec/app/models/slave.rb
|
1286
|
-
- spec/app/models/location.rb
|
1287
|
-
- spec/app/models/firefox.rb
|
1288
|
-
- spec/app/models/actor.rb
|
1289
|
-
- spec/app/models/folder_item.rb
|
1290
|
-
- spec/app/models/explosion.rb
|
1291
|
-
- spec/app/models/page.rb
|
1292
|
-
- spec/app/models/callback_test.rb
|
1293
|
-
- spec/app/models/staff.rb
|
1294
|
-
- spec/app/models/folder.rb
|
1295
|
-
- spec/app/models/title.rb
|
1296
|
-
- spec/app/models/lat_lng.rb
|
1297
|
-
- spec/app/models/business.rb
|
1298
|
-
- spec/app/models/artwork.rb
|
1299
|
-
- spec/app/models/song.rb
|
1300
|
-
- spec/app/models/record.rb
|
1301
|
-
- spec/app/models/server.rb
|
1302
|
-
- spec/app/models/drug.rb
|
1303
|
-
- spec/app/models/quiz.rb
|
1304
|
-
- spec/app/models/edit.rb
|
1305
|
-
- spec/app/models/baby.rb
|
1306
|
-
- spec/app/models/template.rb
|
1307
|
-
- spec/app/models/band.rb
|
1308
|
-
- spec/app/models/ordered_preference.rb
|
1309
|
-
- spec/app/models/dog.rb
|
1310
|
-
- spec/app/models/target.rb
|
1311
|
-
- spec/app/models/fire_hydrant.rb
|
1312
|
-
- spec/app/models/pub.rb
|
1313
|
-
- spec/app/models/description.rb
|
1314
|
-
- spec/app/models/eye_bowl.rb
|
1315
|
-
- spec/app/models/bed.rb
|
1316
|
-
- spec/app/models/shelf.rb
|
1317
|
-
- spec/app/models/image.rb
|
1318
|
-
- spec/app/models/shape.rb
|
1319
|
-
- spec/app/models/dokument.rb
|
1320
|
-
- spec/app/models/translation.rb
|
1321
|
-
- spec/app/models/writer.rb
|
1322
|
-
- spec/app/models/meat.rb
|
1323
|
-
- spec/app/models/weapon.rb
|
1324
|
-
- spec/app/models/sound.rb
|
1325
|
-
- spec/app/models/rating.rb
|
1326
|
-
- spec/app/models/consumption_period.rb
|
1327
|
-
- spec/app/models/store_as_dup_test2.rb
|
1328
|
-
- spec/app/models/tag.rb
|
1329
|
-
- spec/app/models/manufacturer.rb
|
1330
|
-
- spec/app/models/courier_job.rb
|
1331
|
-
- spec/app/models/canvas.rb
|
1332
|
-
- spec/app/models/strategy.rb
|
1333
|
-
- spec/app/models/series.rb
|
1334
|
-
- spec/app/models/building_address.rb
|
1335
|
-
- spec/app/models/code.rb
|
1336
|
-
- spec/app/models/thing.rb
|
1337
|
-
- spec/app/models/dragon.rb
|
1338
|
-
- spec/app/models/learner.rb
|
1339
|
-
- spec/app/models/contextable_item.rb
|
1340
|
-
- spec/app/models/circus.rb
|
1341
|
-
- spec/app/models/role.rb
|
1342
|
-
- spec/app/models/topping.rb
|
1343
|
-
- spec/app/models/html_writer.rb
|
1344
|
-
- spec/app/models/ordered_post.rb
|
1345
|
-
- spec/app/models/parent_doc.rb
|
1346
|
-
- spec/app/models/store_as_dup_test4.rb
|
1347
|
-
- spec/app/models/acolyte.rb
|
1348
|
-
- spec/app/models/array_field.rb
|
1349
|
-
- spec/app/models/product.rb
|
1350
|
-
- spec/app/models/contractor.rb
|
1351
|
-
- spec/app/models/purchase.rb
|
1352
|
-
- spec/app/models/actress.rb
|
1353
|
-
- spec/app/models/address.rb
|
1354
|
-
- spec/app/models/pizza.rb
|
1355
|
-
- spec/app/models/bomb.rb
|
1356
|
-
- spec/app/models/house.rb
|
1357
|
-
- spec/app/models/version.rb
|
1358
|
-
- spec/app/models/definition.rb
|
1359
|
-
- spec/app/models/sandwich.rb
|
1360
|
-
- spec/app/models/user_account.rb
|
1361
|
-
- spec/app/models/breed.rb
|
1362
|
-
- spec/app/models/pdf_writer.rb
|
1363
|
-
- spec/app/models/car.rb
|
1364
|
-
- spec/app/models/implant.rb
|
1365
|
-
- spec/app/models/pet_owner.rb
|
1366
|
-
- spec/app/models/animal.rb
|
1367
|
-
- spec/app/models/birthday.rb
|
1368
|
-
- spec/app/models/vertex.rb
|
1369
|
-
- spec/app/models/agency.rb
|
1370
|
-
- spec/app/models/scheduler.rb
|
1371
|
-
- spec/app/models/face.rb
|
1372
|
-
- spec/app/models/vet_visit.rb
|
1373
|
-
- spec/app/models/dictionary.rb
|
1374
|
-
- spec/app/models/seo.rb
|
1375
|
-
- spec/app/models/word_origin.rb
|
1376
|
-
- spec/app/models/book.rb
|
1377
|
-
- spec/app/models/favorite.rb
|
1378
|
-
- spec/app/models/name.rb
|
1379
|
-
- spec/app/models/fish.rb
|
1380
|
-
- spec/app/models/shipping_container.rb
|
1381
|
-
- spec/app/models/vehicle.rb
|
1382
|
-
- spec/app/models/override.rb
|
1383
|
-
- spec/app/models/store_as_dup_test3.rb
|
1384
|
-
- spec/app/models/powerup.rb
|
1385
|
-
- spec/app/models/cookie.rb
|
1386
|
-
- spec/app/models/bus.rb
|
1387
|
-
- spec/app/models/agent.rb
|
1388
|
-
- spec/app/models/note.rb
|
1389
|
-
- spec/app/models/eye.rb
|
1390
|
-
- spec/app/models/passport.rb
|
1391
|
-
- spec/app/models/video.rb
|
1392
|
-
- spec/app/models/account.rb
|
1393
|
-
- spec/app/models/pencil.rb
|
1394
|
-
- spec/app/models/short_agent.rb
|
1395
|
-
- spec/app/models/employer.rb
|
1396
|
-
- spec/app/models/person.rb
|
1397
|
-
- spec/app/models/jar.rb
|
1398
|
-
- spec/app/models/login.rb
|
1399
|
-
- spec/app/models/audio.rb
|
1400
|
-
- spec/app/models/kaleidoscope.rb
|
1401
|
-
- spec/app/models/pack.rb
|
1402
|
-
- spec/app/models/page_question.rb
|
1403
|
-
- spec/app/models/patient.rb
|
1404
|
-
- spec/app/models/post_genre.rb
|
1405
|
-
- spec/app/models/message.rb
|
1406
|
-
- spec/app/models/address_number.rb
|
1407
|
-
- spec/app/models/album.rb
|
1408
|
-
- spec/app/models/survey.rb
|
1409
|
-
- spec/app/models/item.rb
|
1410
|
-
- spec/app/models/eraser.rb
|
1411
|
-
- spec/app/models/home.rb
|
1412
|
-
- spec/app/models/address_component.rb
|
1413
|
-
- spec/app/models/wiki_page.rb
|
1414
|
-
- spec/app/models/square.rb
|
1415
|
-
- spec/app/models/article.rb
|
1416
|
-
- spec/app/models/comment.rb
|
1417
|
-
- spec/app/models/even.rb
|
1418
|
-
- spec/app/models/phone.rb
|
1419
|
-
- spec/app/models/country_code.rb
|
1420
|
-
- spec/app/models/league.rb
|
1421
1414
|
- spec/rails/controller_extension/controller_runtime_spec.rb
|
1422
1415
|
- spec/rails/mongoid_spec.rb
|
1416
|
+
- spec/spec_helper.rb
|
1417
|
+
- spec/integration/associations/belongs_to_spec.rb
|
1418
|
+
- spec/integration/criteria/time_with_zone_spec.rb
|
1419
|
+
- spec/integration/matchable_spec.rb
|
1420
|
+
- spec/lite_spec_helper.rb
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
$4�Y�H�lȰ4�z���V���*��
|
2
|
+
�LgΉ:xh��0̞��1�]�!���Up�L��^�Lڧ��M��t#Sn ��T�]D���R5��e��4�{/�/F�W��m�M��/���AF�pR�0��:5r���腙�*����eи�DQ�}`��"��Vz8��knl���í����+]��S2�.q��m��D��Q��&�G0�t�o��<@p�P7x`+|&|�I�F����6�:�ֵ��9�
|