mongoid 7.0.1 → 7.0.2
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/lib/mongoid/association.rb +0 -1
- data/lib/mongoid/association/depending.rb +22 -1
- data/lib/mongoid/association/embedded/embeds_one/proxy.rb +3 -3
- data/lib/mongoid/association/referenced/has_many/proxy.rb +1 -1
- data/lib/mongoid/association/relatable.rb +16 -2
- data/lib/mongoid/attributes/nested.rb +14 -3
- data/lib/mongoid/contextual/map_reduce.rb +1 -1
- data/lib/mongoid/copyable.rb +3 -2
- data/lib/mongoid/document.rb +2 -0
- data/lib/mongoid/matchable.rb +3 -0
- data/lib/mongoid/matchable/nor.rb +37 -0
- data/lib/mongoid/persistable/settable.rb +58 -13
- data/lib/mongoid/persistence_context.rb +5 -1
- data/lib/mongoid/touchable.rb +102 -0
- data/lib/mongoid/version.rb +1 -1
- data/spec/app/models/array_field.rb +7 -0
- data/spec/app/models/updatable.rb +7 -0
- data/spec/mongoid/association/accessors_spec.rb +39 -0
- data/spec/mongoid/association/depending_spec.rb +253 -0
- data/spec/mongoid/association/polymorphic_spec.rb +59 -0
- data/spec/mongoid/association/referenced/belongs_to_spec.rb +3 -3
- data/spec/mongoid/association/referenced/has_one_spec.rb +59 -0
- data/spec/mongoid/attributes/nested_spec.rb +18 -2
- data/spec/mongoid/clients/factory_spec.rb +3 -3
- data/spec/mongoid/clients/options_spec.rb +28 -13
- data/spec/mongoid/clients/sessions_spec.rb +3 -3
- data/spec/mongoid/clients/transactions_spec.rb +369 -0
- data/spec/mongoid/copyable_spec.rb +16 -0
- data/spec/mongoid/matchable/nor_spec.rb +209 -0
- data/spec/mongoid/matchable_spec.rb +26 -1
- data/spec/mongoid/persistable/settable_spec.rb +128 -9
- data/spec/mongoid/{association/touchable_spec.rb → touchable_spec.rb} +28 -7
- data/spec/spec_helper.rb +8 -0
- metadata +457 -448
- metadata.gz.sig +0 -0
- data/lib/mongoid/association/touchable.rb +0 -97
@@ -1,13 +1,34 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe Mongoid::
|
3
|
+
describe Mongoid::Touchable do
|
4
4
|
|
5
5
|
describe "#touch" do
|
6
6
|
|
7
|
+
context "when the document has no associations" do
|
8
|
+
let(:updatable) do
|
9
|
+
Updatable.create
|
10
|
+
end
|
11
|
+
|
12
|
+
it "responds to #touch" do
|
13
|
+
expect(updatable).to respond_to(:touch)
|
14
|
+
end
|
15
|
+
|
16
|
+
it "updates the timestamp when called" do
|
17
|
+
expect(updatable.updated_at).to be_nil
|
18
|
+
|
19
|
+
updatable.touch
|
20
|
+
updated_at = updatable.updated_at
|
21
|
+
expect(updated_at).not_to be_nil
|
22
|
+
|
23
|
+
updatable.touch
|
24
|
+
expect(updatable.updated_at).to be > updated_at
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
7
28
|
context "when the document is embedded" do
|
8
29
|
|
9
30
|
before do
|
10
|
-
Label.send(:include, Mongoid::
|
31
|
+
Label.send(:include, Mongoid::Touchable::InstanceMethods)
|
11
32
|
end
|
12
33
|
|
13
34
|
let(:band) do
|
@@ -34,8 +55,8 @@ describe Mongoid::Association::Touchable do
|
|
34
55
|
context "when no relations have touch options" do
|
35
56
|
|
36
57
|
before do
|
37
|
-
Person.send(:include, Mongoid::
|
38
|
-
Agent.send(:include, Mongoid::
|
58
|
+
Person.send(:include, Mongoid::Touchable::InstanceMethods)
|
59
|
+
Agent.send(:include, Mongoid::Touchable::InstanceMethods)
|
39
60
|
end
|
40
61
|
|
41
62
|
context "when no updated at is defined" do
|
@@ -219,8 +240,8 @@ describe Mongoid::Association::Touchable do
|
|
219
240
|
context "when the relation is a parent of an embedded doc" do
|
220
241
|
|
221
242
|
before do
|
222
|
-
Page.send(:include, Mongoid::
|
223
|
-
Edit.send(:include, Mongoid::
|
243
|
+
Page.send(:include, Mongoid::Touchable::InstanceMethods)
|
244
|
+
Edit.send(:include, Mongoid::Touchable::InstanceMethods)
|
224
245
|
end
|
225
246
|
|
226
247
|
let(:page) do
|
@@ -244,7 +265,7 @@ describe Mongoid::Association::Touchable do
|
|
244
265
|
context "when the parent of embedded doc has cascade callbacks" do
|
245
266
|
|
246
267
|
before do
|
247
|
-
Band.send(:include, Mongoid::
|
268
|
+
Band.send(:include, Mongoid::Touchable::InstanceMethods)
|
248
269
|
end
|
249
270
|
|
250
271
|
let!(:book) do
|
data/spec/spec_helper.rb
CHANGED
@@ -89,6 +89,14 @@ def array_filters_supported?
|
|
89
89
|
end
|
90
90
|
alias :sessions_supported? :array_filters_supported?
|
91
91
|
|
92
|
+
def transactions_supported?
|
93
|
+
Mongoid::Clients.default.cluster.next_primary.features.transactions_enabled?
|
94
|
+
end
|
95
|
+
|
96
|
+
def testing_transactions?
|
97
|
+
transactions_supported? && testing_replica_set?
|
98
|
+
end
|
99
|
+
|
92
100
|
def testing_locally?
|
93
101
|
!(ENV['CI'] == 'travis')
|
94
102
|
end
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Durran Jordan
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
fxN/GvhskJEgmdQToxEBRLOu5/udtPpVe/hb3gk5hzsxcWuKN/VTi4SbtFQdz9cq
|
31
31
|
fqd6ctFDOqcJmOYdlSRgb9g8zm4BiNgFWPBSk8NsP7c=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-
|
33
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: activemodel
|
@@ -147,7 +147,6 @@ files:
|
|
147
147
|
- lib/mongoid/association/referenced/syncable.rb
|
148
148
|
- lib/mongoid/association/reflections.rb
|
149
149
|
- lib/mongoid/association/relatable.rb
|
150
|
-
- lib/mongoid/association/touchable.rb
|
151
150
|
- lib/mongoid/atomic.rb
|
152
151
|
- lib/mongoid/atomic/modifiers.rb
|
153
152
|
- lib/mongoid/atomic/paths.rb
|
@@ -330,6 +329,7 @@ files:
|
|
330
329
|
- lib/mongoid/matchable/lte.rb
|
331
330
|
- lib/mongoid/matchable/ne.rb
|
332
331
|
- lib/mongoid/matchable/nin.rb
|
332
|
+
- lib/mongoid/matchable/nor.rb
|
333
333
|
- lib/mongoid/matchable/or.rb
|
334
334
|
- lib/mongoid/matchable/regexp.rb
|
335
335
|
- lib/mongoid/matchable/size.rb
|
@@ -370,6 +370,7 @@ files:
|
|
370
370
|
- lib/mongoid/timestamps/timeless.rb
|
371
371
|
- lib/mongoid/timestamps/updated.rb
|
372
372
|
- lib/mongoid/timestamps/updated/short.rb
|
373
|
+
- lib/mongoid/touchable.rb
|
373
374
|
- lib/mongoid/traversable.rb
|
374
375
|
- lib/mongoid/validatable.rb
|
375
376
|
- lib/mongoid/validatable/associated.rb
|
@@ -402,6 +403,7 @@ files:
|
|
402
403
|
- spec/app/models/animal.rb
|
403
404
|
- spec/app/models/answer.rb
|
404
405
|
- spec/app/models/appointment.rb
|
406
|
+
- spec/app/models/array_field.rb
|
405
407
|
- spec/app/models/article.rb
|
406
408
|
- spec/app/models/artist.rb
|
407
409
|
- spec/app/models/artwork.rb
|
@@ -584,6 +586,7 @@ files:
|
|
584
586
|
- spec/app/models/translation.rb
|
585
587
|
- spec/app/models/tree.rb
|
586
588
|
- spec/app/models/truck.rb
|
589
|
+
- spec/app/models/updatable.rb
|
587
590
|
- spec/app/models/user.rb
|
588
591
|
- spec/app/models/user_account.rb
|
589
592
|
- spec/app/models/validation_callback.rb
|
@@ -648,7 +651,6 @@ files:
|
|
648
651
|
- spec/mongoid/association/referenced/has_one_spec.rb
|
649
652
|
- spec/mongoid/association/reflections_spec.rb
|
650
653
|
- spec/mongoid/association/syncable_spec.rb
|
651
|
-
- spec/mongoid/association/touchable_spec.rb
|
652
654
|
- spec/mongoid/association_spec.rb
|
653
655
|
- spec/mongoid/atomic/modifiers_spec.rb
|
654
656
|
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
@@ -664,6 +666,7 @@ files:
|
|
664
666
|
- spec/mongoid/clients/factory_spec.rb
|
665
667
|
- spec/mongoid/clients/options_spec.rb
|
666
668
|
- spec/mongoid/clients/sessions_spec.rb
|
669
|
+
- spec/mongoid/clients/transactions_spec.rb
|
667
670
|
- spec/mongoid/clients_spec.rb
|
668
671
|
- spec/mongoid/composable_spec.rb
|
669
672
|
- spec/mongoid/config/environment_spec.rb
|
@@ -806,6 +809,7 @@ files:
|
|
806
809
|
- spec/mongoid/matchable/lte_spec.rb
|
807
810
|
- spec/mongoid/matchable/ne_spec.rb
|
808
811
|
- spec/mongoid/matchable/nin_spec.rb
|
812
|
+
- spec/mongoid/matchable/nor_spec.rb
|
809
813
|
- spec/mongoid/matchable/or_spec.rb
|
810
814
|
- spec/mongoid/matchable/regexp_spec.rb
|
811
815
|
- spec/mongoid/matchable/size_spec.rb
|
@@ -844,6 +848,7 @@ files:
|
|
844
848
|
- spec/mongoid/timestamps/updated/short_spec.rb
|
845
849
|
- spec/mongoid/timestamps/updated_spec.rb
|
846
850
|
- spec/mongoid/timestamps_spec.rb
|
851
|
+
- spec/mongoid/touchable_spec.rb
|
847
852
|
- spec/mongoid/traversable_spec.rb
|
848
853
|
- spec/mongoid/validatable/associated_spec.rb
|
849
854
|
- spec/mongoid/validatable/format_spec.rb
|
@@ -877,477 +882,481 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
877
882
|
version: 1.3.6
|
878
883
|
requirements: []
|
879
884
|
rubyforge_project: mongoid
|
880
|
-
rubygems_version: 2.7.
|
885
|
+
rubygems_version: 2.7.7
|
881
886
|
signing_key:
|
882
887
|
specification_version: 4
|
883
888
|
summary: Elegant Persistence in Ruby for MongoDB.
|
884
889
|
test_files:
|
885
|
-
- spec/
|
886
|
-
- spec/
|
890
|
+
- spec/app/models/array_field.rb
|
891
|
+
- spec/app/models/updatable.rb
|
892
|
+
- spec/app/models/account.rb
|
893
|
+
- spec/app/models/acolyte.rb
|
894
|
+
- spec/app/models/actor.rb
|
895
|
+
- spec/app/models/actress.rb
|
896
|
+
- spec/app/models/address.rb
|
897
|
+
- spec/app/models/address_component.rb
|
898
|
+
- spec/app/models/address_number.rb
|
899
|
+
- spec/app/models/agency.rb
|
900
|
+
- spec/app/models/agent.rb
|
901
|
+
- spec/app/models/album.rb
|
902
|
+
- spec/app/models/alert.rb
|
903
|
+
- spec/app/models/animal.rb
|
904
|
+
- spec/app/models/answer.rb
|
905
|
+
- spec/app/models/appointment.rb
|
906
|
+
- spec/app/models/article.rb
|
907
|
+
- spec/app/models/artist.rb
|
908
|
+
- spec/app/models/artwork.rb
|
909
|
+
- spec/app/models/audio.rb
|
910
|
+
- spec/app/models/augmentation.rb
|
911
|
+
- spec/app/models/author.rb
|
912
|
+
- spec/app/models/baby.rb
|
913
|
+
- spec/app/models/band.rb
|
914
|
+
- spec/app/models/bar.rb
|
915
|
+
- spec/app/models/basic.rb
|
916
|
+
- spec/app/models/bed.rb
|
917
|
+
- spec/app/models/big_palette.rb
|
918
|
+
- spec/app/models/birthday.rb
|
919
|
+
- spec/app/models/bomb.rb
|
920
|
+
- spec/app/models/book.rb
|
921
|
+
- spec/app/models/breed.rb
|
922
|
+
- spec/app/models/browser.rb
|
923
|
+
- spec/app/models/building.rb
|
924
|
+
- spec/app/models/building_address.rb
|
925
|
+
- spec/app/models/bus.rb
|
926
|
+
- spec/app/models/business.rb
|
927
|
+
- spec/app/models/callback_test.rb
|
928
|
+
- spec/app/models/canvas.rb
|
929
|
+
- spec/app/models/car.rb
|
930
|
+
- spec/app/models/cat.rb
|
931
|
+
- spec/app/models/category.rb
|
932
|
+
- spec/app/models/child.rb
|
933
|
+
- spec/app/models/child_doc.rb
|
934
|
+
- spec/app/models/church.rb
|
935
|
+
- spec/app/models/circle.rb
|
936
|
+
- spec/app/models/circuit.rb
|
937
|
+
- spec/app/models/circus.rb
|
938
|
+
- spec/app/models/code.rb
|
939
|
+
- spec/app/models/comment.rb
|
940
|
+
- spec/app/models/company.rb
|
941
|
+
- spec/app/models/consumption_period.rb
|
942
|
+
- spec/app/models/contextable_item.rb
|
943
|
+
- spec/app/models/contractor.rb
|
944
|
+
- spec/app/models/cookie.rb
|
945
|
+
- spec/app/models/country_code.rb
|
946
|
+
- spec/app/models/courier_job.rb
|
947
|
+
- spec/app/models/definition.rb
|
948
|
+
- spec/app/models/description.rb
|
949
|
+
- spec/app/models/dictionary.rb
|
950
|
+
- spec/app/models/division.rb
|
951
|
+
- spec/app/models/doctor.rb
|
952
|
+
- spec/app/models/dog.rb
|
953
|
+
- spec/app/models/dokument.rb
|
954
|
+
- spec/app/models/draft.rb
|
955
|
+
- spec/app/models/dragon.rb
|
956
|
+
- spec/app/models/driver.rb
|
957
|
+
- spec/app/models/drug.rb
|
958
|
+
- spec/app/models/dungeon.rb
|
959
|
+
- spec/app/models/edit.rb
|
960
|
+
- spec/app/models/email.rb
|
961
|
+
- spec/app/models/employer.rb
|
962
|
+
- spec/app/models/entry.rb
|
963
|
+
- spec/app/models/eraser.rb
|
964
|
+
- spec/app/models/even.rb
|
965
|
+
- spec/app/models/event.rb
|
966
|
+
- spec/app/models/exhibition.rb
|
967
|
+
- spec/app/models/exhibitor.rb
|
968
|
+
- spec/app/models/explosion.rb
|
969
|
+
- spec/app/models/eye.rb
|
970
|
+
- spec/app/models/eye_bowl.rb
|
971
|
+
- spec/app/models/face.rb
|
972
|
+
- spec/app/models/favorite.rb
|
973
|
+
- spec/app/models/filesystem.rb
|
974
|
+
- spec/app/models/fire_hydrant.rb
|
975
|
+
- spec/app/models/firefox.rb
|
976
|
+
- spec/app/models/fish.rb
|
977
|
+
- spec/app/models/folder.rb
|
978
|
+
- spec/app/models/folder_item.rb
|
979
|
+
- spec/app/models/fruits.rb
|
980
|
+
- spec/app/models/game.rb
|
981
|
+
- spec/app/models/ghost.rb
|
982
|
+
- spec/app/models/home.rb
|
983
|
+
- spec/app/models/house.rb
|
984
|
+
- spec/app/models/html_writer.rb
|
985
|
+
- spec/app/models/id_key.rb
|
986
|
+
- spec/app/models/image.rb
|
987
|
+
- spec/app/models/implant.rb
|
988
|
+
- spec/app/models/item.rb
|
989
|
+
- spec/app/models/jar.rb
|
990
|
+
- spec/app/models/kaleidoscope.rb
|
991
|
+
- spec/app/models/kangaroo.rb
|
992
|
+
- spec/app/models/label.rb
|
993
|
+
- spec/app/models/language.rb
|
994
|
+
- spec/app/models/lat_lng.rb
|
995
|
+
- spec/app/models/league.rb
|
996
|
+
- spec/app/models/learner.rb
|
997
|
+
- spec/app/models/line_item.rb
|
998
|
+
- spec/app/models/location.rb
|
999
|
+
- spec/app/models/login.rb
|
1000
|
+
- spec/app/models/manufacturer.rb
|
1001
|
+
- spec/app/models/meat.rb
|
1002
|
+
- spec/app/models/membership.rb
|
1003
|
+
- spec/app/models/message.rb
|
1004
|
+
- spec/app/models/mixed_drink.rb
|
1005
|
+
- spec/app/models/movie.rb
|
1006
|
+
- spec/app/models/my_hash.rb
|
1007
|
+
- spec/app/models/name.rb
|
1008
|
+
- spec/app/models/node.rb
|
1009
|
+
- spec/app/models/note.rb
|
1010
|
+
- spec/app/models/odd.rb
|
1011
|
+
- spec/app/models/ordered_post.rb
|
1012
|
+
- spec/app/models/ordered_preference.rb
|
1013
|
+
- spec/app/models/oscar.rb
|
1014
|
+
- spec/app/models/override.rb
|
1015
|
+
- spec/app/models/ownable.rb
|
1016
|
+
- spec/app/models/owner.rb
|
1017
|
+
- spec/app/models/pack.rb
|
1018
|
+
- spec/app/models/page.rb
|
1019
|
+
- spec/app/models/page_question.rb
|
1020
|
+
- spec/app/models/palette.rb
|
1021
|
+
- spec/app/models/parent.rb
|
1022
|
+
- spec/app/models/parent_doc.rb
|
1023
|
+
- spec/app/models/passport.rb
|
1024
|
+
- spec/app/models/patient.rb
|
1025
|
+
- spec/app/models/pdf_writer.rb
|
1026
|
+
- spec/app/models/pencil.rb
|
1027
|
+
- spec/app/models/person.rb
|
1028
|
+
- spec/app/models/pet.rb
|
1029
|
+
- spec/app/models/pet_owner.rb
|
1030
|
+
- spec/app/models/phone.rb
|
1031
|
+
- spec/app/models/pizza.rb
|
1032
|
+
- spec/app/models/player.rb
|
1033
|
+
- spec/app/models/post.rb
|
1034
|
+
- spec/app/models/post_genre.rb
|
1035
|
+
- spec/app/models/powerup.rb
|
1036
|
+
- spec/app/models/preference.rb
|
1037
|
+
- spec/app/models/princess.rb
|
1038
|
+
- spec/app/models/product.rb
|
1039
|
+
- spec/app/models/profile.rb
|
1040
|
+
- spec/app/models/pronunciation.rb
|
1041
|
+
- spec/app/models/pub.rb
|
1042
|
+
- spec/app/models/purchase.rb
|
1043
|
+
- spec/app/models/question.rb
|
1044
|
+
- spec/app/models/quiz.rb
|
1045
|
+
- spec/app/models/rating.rb
|
1046
|
+
- spec/app/models/record.rb
|
1047
|
+
- spec/app/models/registry.rb
|
1048
|
+
- spec/app/models/role.rb
|
1049
|
+
- spec/app/models/root_category.rb
|
1050
|
+
- spec/app/models/sandwich.rb
|
1051
|
+
- spec/app/models/scheduler.rb
|
1052
|
+
- spec/app/models/seo.rb
|
1053
|
+
- spec/app/models/series.rb
|
1054
|
+
- spec/app/models/server.rb
|
1055
|
+
- spec/app/models/service.rb
|
1056
|
+
- spec/app/models/shape.rb
|
1057
|
+
- spec/app/models/shelf.rb
|
1058
|
+
- spec/app/models/shipment_address.rb
|
1059
|
+
- spec/app/models/shipping_container.rb
|
1060
|
+
- spec/app/models/shipping_pack.rb
|
1061
|
+
- spec/app/models/shop.rb
|
1062
|
+
- spec/app/models/short_agent.rb
|
1063
|
+
- spec/app/models/short_quiz.rb
|
1064
|
+
- spec/app/models/simple.rb
|
1065
|
+
- spec/app/models/slave.rb
|
1066
|
+
- spec/app/models/song.rb
|
1067
|
+
- spec/app/models/sound.rb
|
1068
|
+
- spec/app/models/square.rb
|
1069
|
+
- spec/app/models/staff.rb
|
1070
|
+
- spec/app/models/store_as_dup_test1.rb
|
1071
|
+
- spec/app/models/store_as_dup_test2.rb
|
1072
|
+
- spec/app/models/strategy.rb
|
1073
|
+
- spec/app/models/sub_item.rb
|
1074
|
+
- spec/app/models/subscription.rb
|
1075
|
+
- spec/app/models/survey.rb
|
1076
|
+
- spec/app/models/symptom.rb
|
1077
|
+
- spec/app/models/tag.rb
|
1078
|
+
- spec/app/models/target.rb
|
1079
|
+
- spec/app/models/template.rb
|
1080
|
+
- spec/app/models/thing.rb
|
1081
|
+
- spec/app/models/title.rb
|
1082
|
+
- spec/app/models/tool.rb
|
1083
|
+
- spec/app/models/topping.rb
|
1084
|
+
- spec/app/models/track.rb
|
1085
|
+
- spec/app/models/translation.rb
|
1086
|
+
- spec/app/models/tree.rb
|
1087
|
+
- spec/app/models/truck.rb
|
1088
|
+
- spec/app/models/user.rb
|
1089
|
+
- spec/app/models/user_account.rb
|
1090
|
+
- spec/app/models/validation_callback.rb
|
1091
|
+
- spec/app/models/vehicle.rb
|
1092
|
+
- spec/app/models/version.rb
|
1093
|
+
- spec/app/models/vertex.rb
|
1094
|
+
- spec/app/models/vet_visit.rb
|
1095
|
+
- spec/app/models/video.rb
|
1096
|
+
- spec/app/models/video_game.rb
|
1097
|
+
- spec/app/models/weapon.rb
|
1098
|
+
- spec/app/models/wiki_page.rb
|
1099
|
+
- spec/app/models/word.rb
|
1100
|
+
- spec/app/models/word_origin.rb
|
1101
|
+
- spec/app/models/writer.rb
|
1102
|
+
- spec/config/mongoid.yml
|
1103
|
+
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1104
|
+
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1105
|
+
- spec/mongoid/atomic/paths/root_spec.rb
|
1106
|
+
- spec/mongoid/atomic/modifiers_spec.rb
|
1107
|
+
- spec/mongoid/atomic/paths_spec.rb
|
1108
|
+
- spec/mongoid/attributes/nested_spec.rb
|
1109
|
+
- spec/mongoid/attributes/readonly_spec.rb
|
1110
|
+
- spec/mongoid/clients/transactions_spec.rb
|
887
1111
|
- spec/mongoid/clients/factory_spec.rb
|
888
1112
|
- spec/mongoid/clients/options_spec.rb
|
889
1113
|
- spec/mongoid/clients/sessions_spec.rb
|
890
|
-
- spec/mongoid/matchable_spec.rb
|
891
|
-
- spec/mongoid/copyable_spec.rb
|
892
|
-
- spec/mongoid/changeable_spec.rb
|
893
|
-
- spec/mongoid/config_spec.rb
|
894
|
-
- spec/mongoid/association/eager_spec.rb
|
895
|
-
- spec/mongoid/association/macros_spec.rb
|
896
|
-
- spec/mongoid/association/counter_cache_spec.rb
|
897
|
-
- spec/mongoid/association/options_spec.rb
|
898
|
-
- spec/mongoid/association/accessors_spec.rb
|
899
|
-
- spec/mongoid/association/touchable_spec.rb
|
900
|
-
- spec/mongoid/association/auto_save_spec.rb
|
901
|
-
- spec/mongoid/association/syncable_spec.rb
|
902
|
-
- spec/mongoid/association/constrainable_spec.rb
|
903
|
-
- spec/mongoid/association/depending_spec.rb
|
904
|
-
- spec/mongoid/association/referenced/has_one_spec.rb
|
905
|
-
- spec/mongoid/association/referenced/has_many/eager_spec.rb
|
906
|
-
- spec/mongoid/association/referenced/has_many/binding_spec.rb
|
907
|
-
- spec/mongoid/association/referenced/has_many/enumerable_spec.rb
|
908
|
-
- spec/mongoid/association/referenced/has_many/proxy_spec.rb
|
909
|
-
- spec/mongoid/association/referenced/has_many/buildable_spec.rb
|
910
|
-
- spec/mongoid/association/referenced/has_one/eager_spec.rb
|
911
|
-
- spec/mongoid/association/referenced/has_one/binding_spec.rb
|
912
|
-
- spec/mongoid/association/referenced/has_one/proxy_spec.rb
|
913
|
-
- spec/mongoid/association/referenced/has_one/buildable_spec.rb
|
914
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
|
915
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
916
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
917
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
|
918
|
-
- spec/mongoid/association/referenced/has_many_spec.rb
|
919
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
|
920
|
-
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
921
|
-
- spec/mongoid/association/referenced/belongs_to/binding_spec.rb
|
922
|
-
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
923
|
-
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
924
|
-
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
925
|
-
- spec/mongoid/association/nested/one_spec.rb
|
926
|
-
- spec/mongoid/association/nested/many_spec.rb
|
927
|
-
- spec/mongoid/association/builders_spec.rb
|
928
|
-
- spec/mongoid/association/polymorphic_spec.rb
|
929
|
-
- spec/mongoid/association/reflections_spec.rb
|
930
|
-
- spec/mongoid/association/embedded/embedded_in/binding_spec.rb
|
931
|
-
- spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
|
932
|
-
- spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
|
933
|
-
- spec/mongoid/association/embedded/embeds_one/binding_spec.rb
|
934
|
-
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
935
|
-
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
936
|
-
- spec/mongoid/association/embedded/dirty_spec.rb
|
937
|
-
- spec/mongoid/association/embedded/embedded_in_spec.rb
|
938
|
-
- spec/mongoid/association/embedded/embeds_many_spec.rb
|
939
|
-
- spec/mongoid/association/embedded/cyclic_spec.rb
|
940
|
-
- spec/mongoid/association/embedded/embeds_one_spec.rb
|
941
|
-
- spec/mongoid/association/embedded/embeds_many/binding_spec.rb
|
942
|
-
- spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
|
943
|
-
- spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
|
944
|
-
- spec/mongoid/tasks/database_spec.rb
|
945
|
-
- spec/mongoid/tasks/database_rake_spec.rb
|
946
|
-
- spec/mongoid/shardable_spec.rb
|
947
|
-
- spec/mongoid/selectable_spec.rb
|
948
|
-
- spec/mongoid/loggable_spec.rb
|
949
|
-
- spec/mongoid/atomic_spec.rb
|
950
|
-
- spec/mongoid/traversable_spec.rb
|
951
|
-
- spec/mongoid/timestamps/updated_spec.rb
|
952
|
-
- spec/mongoid/timestamps/created_spec.rb
|
953
|
-
- spec/mongoid/timestamps/created/short_spec.rb
|
954
|
-
- spec/mongoid/timestamps/updated/short_spec.rb
|
955
|
-
- spec/mongoid/timestamps/timeless_spec.rb
|
956
|
-
- spec/mongoid/factory_spec.rb
|
957
|
-
- spec/mongoid/relations/proxy_spec.rb
|
958
1114
|
- spec/mongoid/config/environment_spec.rb
|
959
1115
|
- spec/mongoid/config/options_spec.rb
|
960
|
-
- spec/mongoid/contextual/memory_spec.rb
|
961
|
-
- spec/mongoid/contextual/none_spec.rb
|
962
|
-
- spec/mongoid/contextual/atomic_spec.rb
|
963
|
-
- spec/mongoid/contextual/map_reduce_spec.rb
|
964
|
-
- spec/mongoid/contextual/mongo_spec.rb
|
965
1116
|
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
966
1117
|
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1118
|
+
- spec/mongoid/contextual/atomic_spec.rb
|
967
1119
|
- spec/mongoid/contextual/geo_near_spec.rb
|
968
|
-
- spec/mongoid/
|
969
|
-
- spec/mongoid/
|
970
|
-
- spec/mongoid/
|
971
|
-
- spec/mongoid/
|
972
|
-
- spec/mongoid/
|
973
|
-
- spec/mongoid/
|
974
|
-
- spec/mongoid/
|
975
|
-
- spec/mongoid/
|
976
|
-
- spec/mongoid/
|
977
|
-
- spec/mongoid/
|
978
|
-
- spec/mongoid/
|
979
|
-
- spec/mongoid/
|
980
|
-
- spec/mongoid/
|
981
|
-
- spec/mongoid/
|
982
|
-
- spec/mongoid/
|
983
|
-
- spec/mongoid/
|
984
|
-
- spec/mongoid/extensions/
|
1120
|
+
- spec/mongoid/contextual/map_reduce_spec.rb
|
1121
|
+
- spec/mongoid/contextual/memory_spec.rb
|
1122
|
+
- spec/mongoid/contextual/mongo_spec.rb
|
1123
|
+
- spec/mongoid/contextual/none_spec.rb
|
1124
|
+
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1125
|
+
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1126
|
+
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1127
|
+
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1128
|
+
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1129
|
+
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1130
|
+
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1131
|
+
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1132
|
+
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1133
|
+
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1134
|
+
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1135
|
+
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1136
|
+
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1137
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1138
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1139
|
+
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1140
|
+
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1141
|
+
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1142
|
+
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1143
|
+
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1144
|
+
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1145
|
+
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1146
|
+
- spec/mongoid/criteria/queryable/key_spec.rb
|
1147
|
+
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1148
|
+
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1149
|
+
- spec/mongoid/criteria/queryable/options_spec.rb
|
1150
|
+
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1151
|
+
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1152
|
+
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1153
|
+
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1154
|
+
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1155
|
+
- spec/mongoid/criteria/findable_spec.rb
|
1156
|
+
- spec/mongoid/criteria/inspectable_spec.rb
|
1157
|
+
- spec/mongoid/criteria/marshalable_spec.rb
|
1158
|
+
- spec/mongoid/criteria/modifiable_spec.rb
|
1159
|
+
- spec/mongoid/criteria/options_spec.rb
|
1160
|
+
- spec/mongoid/criteria/scopable_spec.rb
|
1161
|
+
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
1162
|
+
- spec/mongoid/errors/callback_spec.rb
|
1163
|
+
- spec/mongoid/errors/delete_restriction_spec.rb
|
1164
|
+
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1165
|
+
- spec/mongoid/errors/document_not_found_spec.rb
|
1166
|
+
- spec/mongoid/errors/eager_load_spec.rb
|
1167
|
+
- spec/mongoid/errors/invalid_collection_spec.rb
|
1168
|
+
- spec/mongoid/errors/invalid_config_option_spec.rb
|
1169
|
+
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1170
|
+
- spec/mongoid/errors/invalid_field_spec.rb
|
1171
|
+
- spec/mongoid/errors/invalid_find_spec.rb
|
1172
|
+
- spec/mongoid/errors/invalid_includes_spec.rb
|
1173
|
+
- spec/mongoid/errors/invalid_index_spec.rb
|
1174
|
+
- spec/mongoid/errors/invalid_options_spec.rb
|
1175
|
+
- spec/mongoid/errors/invalid_path_spec.rb
|
1176
|
+
- spec/mongoid/errors/invalid_relation_spec.rb
|
1177
|
+
- spec/mongoid/errors/invalid_scope_spec.rb
|
1178
|
+
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1179
|
+
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1180
|
+
- spec/mongoid/errors/invalid_time_spec.rb
|
1181
|
+
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1182
|
+
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1183
|
+
- spec/mongoid/errors/mixed_relations_spec.rb
|
1184
|
+
- spec/mongoid/errors/mongoid_error_spec.rb
|
1185
|
+
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1186
|
+
- spec/mongoid/errors/no_client_config_spec.rb
|
1187
|
+
- spec/mongoid/errors/no_client_database_spec.rb
|
1188
|
+
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1189
|
+
- spec/mongoid/errors/no_clients_config_spec.rb
|
1190
|
+
- spec/mongoid/errors/no_environment_spec.rb
|
1191
|
+
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1192
|
+
- spec/mongoid/errors/no_metadata_spec.rb
|
1193
|
+
- spec/mongoid/errors/no_parent_spec.rb
|
1194
|
+
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1195
|
+
- spec/mongoid/errors/readonly_document_spec.rb
|
1196
|
+
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1197
|
+
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1198
|
+
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1199
|
+
- spec/mongoid/errors/unsaved_document_spec.rb
|
1200
|
+
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1201
|
+
- spec/mongoid/errors/validations_spec.rb
|
1202
|
+
- spec/mongoid/extensions/array_spec.rb
|
985
1203
|
- spec/mongoid/extensions/big_decimal_spec.rb
|
986
|
-
- spec/mongoid/extensions/
|
1204
|
+
- spec/mongoid/extensions/binary_spec.rb
|
987
1205
|
- spec/mongoid/extensions/boolean_spec.rb
|
988
|
-
- spec/mongoid/extensions/object_spec.rb
|
989
|
-
- spec/mongoid/extensions/array_spec.rb
|
990
|
-
- spec/mongoid/extensions/set_spec.rb
|
991
|
-
- spec/mongoid/extensions/hash_spec.rb
|
992
1206
|
- spec/mongoid/extensions/date_spec.rb
|
993
|
-
- spec/mongoid/extensions/module_spec.rb
|
994
|
-
- spec/mongoid/extensions/time_with_zone_spec.rb
|
995
|
-
- spec/mongoid/extensions/binary_spec.rb
|
996
1207
|
- spec/mongoid/extensions/date_time_spec.rb
|
997
|
-
- spec/mongoid/extensions/false_class_spec.rb
|
998
|
-
- spec/mongoid/extensions/string_spec.rb
|
999
|
-
- spec/mongoid/extensions/range_spec.rb
|
1000
|
-
- spec/mongoid/extensions/symbol_spec.rb
|
1001
1208
|
- spec/mongoid/extensions/decimal128_spec.rb
|
1002
|
-
- spec/mongoid/extensions/
|
1209
|
+
- spec/mongoid/extensions/false_class_spec.rb
|
1003
1210
|
- spec/mongoid/extensions/float_spec.rb
|
1211
|
+
- spec/mongoid/extensions/hash_spec.rb
|
1212
|
+
- spec/mongoid/extensions/integer_spec.rb
|
1213
|
+
- spec/mongoid/extensions/module_spec.rb
|
1004
1214
|
- spec/mongoid/extensions/nil_class_spec.rb
|
1005
|
-
- spec/mongoid/extensions/true_class_spec.rb
|
1006
1215
|
- spec/mongoid/extensions/object_id_spec.rb
|
1007
|
-
- spec/mongoid/
|
1008
|
-
- spec/mongoid/
|
1009
|
-
- spec/mongoid/
|
1010
|
-
- spec/mongoid/
|
1011
|
-
- spec/mongoid/
|
1012
|
-
- spec/mongoid/
|
1013
|
-
- spec/mongoid/
|
1014
|
-
- spec/mongoid/
|
1216
|
+
- spec/mongoid/extensions/object_spec.rb
|
1217
|
+
- spec/mongoid/extensions/range_spec.rb
|
1218
|
+
- spec/mongoid/extensions/regexp_spec.rb
|
1219
|
+
- spec/mongoid/extensions/set_spec.rb
|
1220
|
+
- spec/mongoid/extensions/string_spec.rb
|
1221
|
+
- spec/mongoid/extensions/symbol_spec.rb
|
1222
|
+
- spec/mongoid/extensions/time_spec.rb
|
1223
|
+
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1224
|
+
- spec/mongoid/extensions/true_class_spec.rb
|
1225
|
+
- spec/mongoid/fields/foreign_key_spec.rb
|
1226
|
+
- spec/mongoid/fields/localized_spec.rb
|
1227
|
+
- spec/mongoid/fields/standard_spec.rb
|
1228
|
+
- spec/mongoid/indexable/specification_spec.rb
|
1229
|
+
- spec/mongoid/matchable/nor_spec.rb
|
1230
|
+
- spec/mongoid/matchable/all_spec.rb
|
1231
|
+
- spec/mongoid/matchable/and_spec.rb
|
1232
|
+
- spec/mongoid/matchable/default_spec.rb
|
1233
|
+
- spec/mongoid/matchable/elem_match_spec.rb
|
1234
|
+
- spec/mongoid/matchable/exists_spec.rb
|
1235
|
+
- spec/mongoid/matchable/gt_spec.rb
|
1236
|
+
- spec/mongoid/matchable/gte_spec.rb
|
1237
|
+
- spec/mongoid/matchable/in_spec.rb
|
1238
|
+
- spec/mongoid/matchable/lt_spec.rb
|
1239
|
+
- spec/mongoid/matchable/lte_spec.rb
|
1240
|
+
- spec/mongoid/matchable/ne_spec.rb
|
1241
|
+
- spec/mongoid/matchable/nin_spec.rb
|
1242
|
+
- spec/mongoid/matchable/or_spec.rb
|
1243
|
+
- spec/mongoid/matchable/regexp_spec.rb
|
1244
|
+
- spec/mongoid/matchable/size_spec.rb
|
1015
1245
|
- spec/mongoid/persistable/creatable_spec.rb
|
1016
|
-
- spec/mongoid/persistable/
|
1017
|
-
- spec/mongoid/persistable/unsettable_spec.rb
|
1246
|
+
- spec/mongoid/persistable/deletable_spec.rb
|
1018
1247
|
- spec/mongoid/persistable/destroyable_spec.rb
|
1019
|
-
- spec/mongoid/persistable/pushable_spec.rb
|
1020
|
-
- spec/mongoid/persistable/logical_spec.rb
|
1021
|
-
- spec/mongoid/persistable/settable_spec.rb
|
1022
1248
|
- spec/mongoid/persistable/incrementable_spec.rb
|
1023
|
-
- spec/mongoid/persistable/
|
1024
|
-
- spec/mongoid/persistable/
|
1249
|
+
- spec/mongoid/persistable/logical_spec.rb
|
1250
|
+
- spec/mongoid/persistable/poppable_spec.rb
|
1025
1251
|
- spec/mongoid/persistable/pullable_spec.rb
|
1252
|
+
- spec/mongoid/persistable/pushable_spec.rb
|
1026
1253
|
- spec/mongoid/persistable/renamable_spec.rb
|
1027
|
-
- spec/mongoid/persistable/
|
1028
|
-
- spec/mongoid/
|
1029
|
-
- spec/mongoid/
|
1030
|
-
- spec/mongoid/
|
1031
|
-
- spec/mongoid/
|
1032
|
-
- spec/mongoid/
|
1033
|
-
- spec/mongoid/
|
1034
|
-
- spec/mongoid/
|
1035
|
-
- spec/mongoid/
|
1036
|
-
- spec/mongoid/
|
1037
|
-
- spec/mongoid/
|
1038
|
-
- spec/mongoid/
|
1039
|
-
- spec/mongoid/
|
1040
|
-
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1041
|
-
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1042
|
-
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1043
|
-
- spec/mongoid/errors/invalid_relation_spec.rb
|
1044
|
-
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1045
|
-
- spec/mongoid/errors/invalid_collection_spec.rb
|
1046
|
-
- spec/mongoid/errors/mongoid_error_spec.rb
|
1047
|
-
- spec/mongoid/errors/invalid_path_spec.rb
|
1048
|
-
- spec/mongoid/errors/invalid_config_option_spec.rb
|
1049
|
-
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1050
|
-
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1051
|
-
- spec/mongoid/errors/no_client_config_spec.rb
|
1052
|
-
- spec/mongoid/errors/no_metadata_spec.rb
|
1053
|
-
- spec/mongoid/errors/validations_spec.rb
|
1054
|
-
- spec/mongoid/errors/no_clients_config_spec.rb
|
1055
|
-
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
1056
|
-
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1057
|
-
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1058
|
-
- spec/mongoid/errors/no_client_database_spec.rb
|
1059
|
-
- spec/mongoid/errors/invalid_find_spec.rb
|
1060
|
-
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1061
|
-
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1062
|
-
- spec/mongoid/errors/invalid_time_spec.rb
|
1063
|
-
- spec/mongoid/errors/callback_spec.rb
|
1064
|
-
- spec/mongoid/errors/no_parent_spec.rb
|
1065
|
-
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1066
|
-
- spec/mongoid/errors/document_not_found_spec.rb
|
1067
|
-
- spec/mongoid/errors/no_environment_spec.rb
|
1068
|
-
- spec/mongoid/errors/delete_restriction_spec.rb
|
1069
|
-
- spec/mongoid/errors/readonly_document_spec.rb
|
1070
|
-
- spec/mongoid/errors/invalid_includes_spec.rb
|
1071
|
-
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1072
|
-
- spec/mongoid/errors/invalid_field_spec.rb
|
1073
|
-
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1074
|
-
- spec/mongoid/errors/eager_load_spec.rb
|
1075
|
-
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1076
|
-
- spec/mongoid/equality_spec.rb
|
1077
|
-
- spec/mongoid/association_spec.rb
|
1078
|
-
- spec/mongoid/criteria/scopable_spec.rb
|
1079
|
-
- spec/mongoid/criteria/modifiable_spec.rb
|
1080
|
-
- spec/mongoid/criteria/findable_spec.rb
|
1081
|
-
- spec/mongoid/criteria/options_spec.rb
|
1082
|
-
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1083
|
-
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1084
|
-
- spec/mongoid/criteria/queryable/options_spec.rb
|
1085
|
-
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1086
|
-
- spec/mongoid/criteria/queryable/key_spec.rb
|
1087
|
-
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1088
|
-
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1089
|
-
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1090
|
-
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1091
|
-
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1092
|
-
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1093
|
-
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1094
|
-
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1095
|
-
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1096
|
-
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1097
|
-
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1098
|
-
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1099
|
-
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1100
|
-
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1101
|
-
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1102
|
-
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1103
|
-
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1104
|
-
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1105
|
-
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1106
|
-
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1107
|
-
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1108
|
-
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1109
|
-
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1110
|
-
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1111
|
-
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1112
|
-
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1113
|
-
- spec/mongoid/criteria/marshalable_spec.rb
|
1114
|
-
- spec/mongoid/criteria/inspectable_spec.rb
|
1115
|
-
- spec/mongoid/validatable/presence_spec.rb
|
1254
|
+
- spec/mongoid/persistable/savable_spec.rb
|
1255
|
+
- spec/mongoid/persistable/settable_spec.rb
|
1256
|
+
- spec/mongoid/persistable/unsettable_spec.rb
|
1257
|
+
- spec/mongoid/persistable/updatable_spec.rb
|
1258
|
+
- spec/mongoid/persistable/upsertable_spec.rb
|
1259
|
+
- spec/mongoid/relations/proxy_spec.rb
|
1260
|
+
- spec/mongoid/tasks/database_rake_spec.rb
|
1261
|
+
- spec/mongoid/tasks/database_spec.rb
|
1262
|
+
- spec/mongoid/timestamps/created/short_spec.rb
|
1263
|
+
- spec/mongoid/timestamps/updated/short_spec.rb
|
1264
|
+
- spec/mongoid/timestamps/created_spec.rb
|
1265
|
+
- spec/mongoid/timestamps/timeless_spec.rb
|
1266
|
+
- spec/mongoid/timestamps/updated_spec.rb
|
1116
1267
|
- spec/mongoid/validatable/associated_spec.rb
|
1117
|
-
- spec/mongoid/validatable/uniqueness_spec.rb
|
1118
1268
|
- spec/mongoid/validatable/format_spec.rb
|
1119
|
-
- spec/mongoid/validatable/numericality_spec.rb
|
1120
1269
|
- spec/mongoid/validatable/length_spec.rb
|
1121
|
-
- spec/mongoid/
|
1122
|
-
- spec/mongoid/
|
1123
|
-
- spec/mongoid/
|
1124
|
-
- spec/mongoid/
|
1125
|
-
- spec/mongoid/
|
1126
|
-
- spec/mongoid/
|
1127
|
-
- spec/mongoid/
|
1128
|
-
- spec/mongoid/
|
1129
|
-
- spec/mongoid/
|
1130
|
-
- spec/mongoid/
|
1131
|
-
- spec/mongoid/
|
1132
|
-
- spec/mongoid/
|
1133
|
-
- spec/mongoid/
|
1134
|
-
- spec/mongoid/
|
1135
|
-
- spec/mongoid/
|
1136
|
-
- spec/mongoid/
|
1270
|
+
- spec/mongoid/validatable/numericality_spec.rb
|
1271
|
+
- spec/mongoid/validatable/presence_spec.rb
|
1272
|
+
- spec/mongoid/validatable/uniqueness_spec.rb
|
1273
|
+
- spec/mongoid/association/embedded/embedded_in/binding_spec.rb
|
1274
|
+
- spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
|
1275
|
+
- spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
|
1276
|
+
- spec/mongoid/association/embedded/embeds_many/binding_spec.rb
|
1277
|
+
- spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
|
1278
|
+
- spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
|
1279
|
+
- spec/mongoid/association/embedded/embeds_one/binding_spec.rb
|
1280
|
+
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
1281
|
+
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
1282
|
+
- spec/mongoid/association/embedded/cyclic_spec.rb
|
1283
|
+
- spec/mongoid/association/embedded/dirty_spec.rb
|
1284
|
+
- spec/mongoid/association/embedded/embedded_in_spec.rb
|
1285
|
+
- spec/mongoid/association/embedded/embeds_many_spec.rb
|
1286
|
+
- spec/mongoid/association/embedded/embeds_one_spec.rb
|
1287
|
+
- spec/mongoid/association/nested/many_spec.rb
|
1288
|
+
- spec/mongoid/association/nested/one_spec.rb
|
1289
|
+
- spec/mongoid/association/referenced/belongs_to/binding_spec.rb
|
1290
|
+
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
1291
|
+
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
1292
|
+
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
1293
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
1294
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
|
1295
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
|
1296
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
1297
|
+
- spec/mongoid/association/referenced/has_many/binding_spec.rb
|
1298
|
+
- spec/mongoid/association/referenced/has_many/buildable_spec.rb
|
1299
|
+
- spec/mongoid/association/referenced/has_many/eager_spec.rb
|
1300
|
+
- spec/mongoid/association/referenced/has_many/enumerable_spec.rb
|
1301
|
+
- spec/mongoid/association/referenced/has_many/proxy_spec.rb
|
1302
|
+
- spec/mongoid/association/referenced/has_one/binding_spec.rb
|
1303
|
+
- spec/mongoid/association/referenced/has_one/buildable_spec.rb
|
1304
|
+
- spec/mongoid/association/referenced/has_one/eager_spec.rb
|
1305
|
+
- spec/mongoid/association/referenced/has_one/proxy_spec.rb
|
1306
|
+
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
1307
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
|
1308
|
+
- spec/mongoid/association/referenced/has_many_spec.rb
|
1309
|
+
- spec/mongoid/association/referenced/has_one_spec.rb
|
1310
|
+
- spec/mongoid/association/accessors_spec.rb
|
1311
|
+
- spec/mongoid/association/auto_save_spec.rb
|
1312
|
+
- spec/mongoid/association/builders_spec.rb
|
1313
|
+
- spec/mongoid/association/constrainable_spec.rb
|
1314
|
+
- spec/mongoid/association/counter_cache_spec.rb
|
1315
|
+
- spec/mongoid/association/depending_spec.rb
|
1316
|
+
- spec/mongoid/association/eager_spec.rb
|
1317
|
+
- spec/mongoid/association/macros_spec.rb
|
1318
|
+
- spec/mongoid/association/options_spec.rb
|
1319
|
+
- spec/mongoid/association/polymorphic_spec.rb
|
1320
|
+
- spec/mongoid/association/reflections_spec.rb
|
1321
|
+
- spec/mongoid/association/syncable_spec.rb
|
1322
|
+
- spec/mongoid/association_spec.rb
|
1323
|
+
- spec/mongoid/atomic_spec.rb
|
1324
|
+
- spec/mongoid/attributes_spec.rb
|
1325
|
+
- spec/mongoid/cacheable_spec.rb
|
1326
|
+
- spec/mongoid/changeable_spec.rb
|
1137
1327
|
- spec/mongoid/clients_spec.rb
|
1138
|
-
- spec/
|
1139
|
-
- spec/
|
1140
|
-
- spec/
|
1141
|
-
- spec/
|
1142
|
-
- spec/
|
1143
|
-
- spec/
|
1144
|
-
- spec/
|
1145
|
-
- spec/
|
1146
|
-
- spec/
|
1147
|
-
- spec/
|
1148
|
-
- spec/
|
1149
|
-
- spec/
|
1150
|
-
- spec/
|
1151
|
-
- spec/
|
1152
|
-
- spec/
|
1153
|
-
- spec/
|
1154
|
-
- spec/
|
1155
|
-
- spec/
|
1156
|
-
- spec/
|
1157
|
-
- spec/
|
1158
|
-
- spec/
|
1159
|
-
- spec/
|
1160
|
-
- spec/
|
1161
|
-
- spec/
|
1162
|
-
- spec/
|
1163
|
-
- spec/
|
1164
|
-
- spec/
|
1165
|
-
- spec/
|
1166
|
-
- spec/
|
1167
|
-
- spec/
|
1168
|
-
- spec/app/models/actress.rb
|
1169
|
-
- spec/app/models/circus.rb
|
1170
|
-
- spec/app/models/actor.rb
|
1171
|
-
- spec/app/models/manufacturer.rb
|
1172
|
-
- spec/app/models/contextable_item.rb
|
1173
|
-
- spec/app/models/login.rb
|
1174
|
-
- spec/app/models/node.rb
|
1175
|
-
- spec/app/models/shipping_container.rb
|
1176
|
-
- spec/app/models/square.rb
|
1177
|
-
- spec/app/models/audio.rb
|
1178
|
-
- spec/app/models/short_quiz.rb
|
1179
|
-
- spec/app/models/scheduler.rb
|
1180
|
-
- spec/app/models/exhibition.rb
|
1181
|
-
- spec/app/models/pet_owner.rb
|
1182
|
-
- spec/app/models/employer.rb
|
1183
|
-
- spec/app/models/appointment.rb
|
1184
|
-
- spec/app/models/driver.rb
|
1185
|
-
- spec/app/models/simple.rb
|
1186
|
-
- spec/app/models/ghost.rb
|
1187
|
-
- spec/app/models/page_question.rb
|
1188
|
-
- spec/app/models/bed.rb
|
1189
|
-
- spec/app/models/country_code.rb
|
1190
|
-
- spec/app/models/name.rb
|
1191
|
-
- spec/app/models/dictionary.rb
|
1192
|
-
- spec/app/models/baby.rb
|
1193
|
-
- spec/app/models/label.rb
|
1194
|
-
- spec/app/models/entry.rb
|
1195
|
-
- spec/app/models/language.rb
|
1196
|
-
- spec/app/models/definition.rb
|
1197
|
-
- spec/app/models/store_as_dup_test2.rb
|
1198
|
-
- spec/app/models/agent.rb
|
1199
|
-
- spec/app/models/shipment_address.rb
|
1200
|
-
- spec/app/models/kangaroo.rb
|
1201
|
-
- spec/app/models/my_hash.rb
|
1202
|
-
- spec/app/models/favorite.rb
|
1203
|
-
- spec/app/models/ordered_preference.rb
|
1204
|
-
- spec/app/models/translation.rb
|
1205
|
-
- spec/app/models/breed.rb
|
1206
|
-
- spec/app/models/email.rb
|
1207
|
-
- spec/app/models/slave.rb
|
1208
|
-
- spec/app/models/lat_lng.rb
|
1209
|
-
- spec/app/models/child.rb
|
1210
|
-
- spec/app/models/word_origin.rb
|
1211
|
-
- spec/app/models/shape.rb
|
1212
|
-
- spec/app/models/product.rb
|
1213
|
-
- spec/app/models/writer.rb
|
1214
|
-
- spec/app/models/book.rb
|
1215
|
-
- spec/app/models/target.rb
|
1216
|
-
- spec/app/models/dog.rb
|
1217
|
-
- spec/app/models/record.rb
|
1218
|
-
- spec/app/models/template.rb
|
1219
|
-
- spec/app/models/bar.rb
|
1220
|
-
- spec/app/models/birthday.rb
|
1221
|
-
- spec/app/models/powerup.rb
|
1222
|
-
- spec/app/models/movie.rb
|
1223
|
-
- spec/app/models/dokument.rb
|
1224
|
-
- spec/app/models/fire_hydrant.rb
|
1225
|
-
- spec/app/models/car.rb
|
1226
|
-
- spec/app/models/shipping_pack.rb
|
1227
|
-
- spec/app/models/post_genre.rb
|
1228
|
-
- spec/app/models/location.rb
|
1229
|
-
- spec/app/models/eraser.rb
|
1230
|
-
- spec/app/models/weapon.rb
|
1231
|
-
- spec/app/models/album.rb
|
1232
|
-
- spec/app/models/cookie.rb
|
1233
|
-
- spec/app/models/browser.rb
|
1234
|
-
- spec/app/models/artist.rb
|
1235
|
-
- spec/app/models/business.rb
|
1236
|
-
- spec/app/models/player.rb
|
1237
|
-
- spec/app/models/basic.rb
|
1238
|
-
- spec/app/models/sub_item.rb
|
1239
|
-
- spec/app/models/wiki_page.rb
|
1240
|
-
- spec/app/models/fruits.rb
|
1241
|
-
- spec/app/models/validation_callback.rb
|
1242
|
-
- spec/app/models/bus.rb
|
1243
|
-
- spec/app/models/strategy.rb
|
1244
|
-
- spec/app/models/page.rb
|
1245
|
-
- spec/app/models/church.rb
|
1246
|
-
- spec/app/models/vertex.rb
|
1247
|
-
- spec/app/models/message.rb
|
1248
|
-
- spec/app/models/sandwich.rb
|
1249
|
-
- spec/app/models/edit.rb
|
1250
|
-
- spec/app/models/animal.rb
|
1251
|
-
- spec/app/models/vehicle.rb
|
1252
|
-
- spec/app/models/code.rb
|
1253
|
-
- spec/app/models/drug.rb
|
1254
|
-
- spec/app/models/series.rb
|
1255
|
-
- spec/app/models/mixed_drink.rb
|
1256
|
-
- spec/app/models/parent.rb
|
1257
|
-
- spec/app/models/author.rb
|
1258
|
-
- spec/app/models/question.rb
|
1259
|
-
- spec/app/models/implant.rb
|
1260
|
-
- spec/app/models/id_key.rb
|
1261
|
-
- spec/app/models/palette.rb
|
1262
|
-
- spec/app/models/owner.rb
|
1263
|
-
- spec/app/models/address_component.rb
|
1264
|
-
- spec/app/models/purchase.rb
|
1265
|
-
- spec/app/models/truck.rb
|
1266
|
-
- spec/app/models/role.rb
|
1267
|
-
- spec/app/models/princess.rb
|
1268
|
-
- spec/app/models/vet_visit.rb
|
1269
|
-
- spec/app/models/cat.rb
|
1270
|
-
- spec/app/models/folder.rb
|
1271
|
-
- spec/app/models/league.rb
|
1272
|
-
- spec/app/models/store_as_dup_test1.rb
|
1273
|
-
- spec/app/models/house.rb
|
1274
|
-
- spec/app/models/patient.rb
|
1275
|
-
- spec/app/models/rating.rb
|
1276
|
-
- spec/app/models/track.rb
|
1277
|
-
- spec/app/models/registry.rb
|
1278
|
-
- spec/app/models/dragon.rb
|
1279
|
-
- spec/app/models/building.rb
|
1280
|
-
- spec/app/models/circle.rb
|
1281
|
-
- spec/app/models/game.rb
|
1282
|
-
- spec/app/models/meat.rb
|
1283
|
-
- spec/app/models/oscar.rb
|
1284
|
-
- spec/app/models/pub.rb
|
1285
|
-
- spec/app/models/dungeon.rb
|
1286
|
-
- spec/app/models/callback_test.rb
|
1287
|
-
- spec/app/models/user_account.rb
|
1288
|
-
- spec/app/models/ordered_post.rb
|
1289
|
-
- spec/app/models/contractor.rb
|
1290
|
-
- spec/app/models/eye.rb
|
1291
|
-
- spec/app/models/filesystem.rb
|
1292
|
-
- spec/app/models/profile.rb
|
1293
|
-
- spec/app/models/pizza.rb
|
1294
|
-
- spec/app/models/building_address.rb
|
1295
|
-
- spec/app/models/augmentation.rb
|
1296
|
-
- spec/app/models/answer.rb
|
1297
|
-
- spec/app/models/firefox.rb
|
1298
|
-
- spec/app/models/pet.rb
|
1299
|
-
- spec/app/models/parent_doc.rb
|
1300
|
-
- spec/app/models/company.rb
|
1301
|
-
- spec/app/models/version.rb
|
1302
|
-
- spec/app/models/child_doc.rb
|
1303
|
-
- spec/app/models/home.rb
|
1304
|
-
- spec/app/models/staff.rb
|
1305
|
-
- spec/app/models/even.rb
|
1306
|
-
- spec/app/models/pdf_writer.rb
|
1307
|
-
- spec/app/models/description.rb
|
1308
|
-
- spec/app/models/comment.rb
|
1309
|
-
- spec/app/models/video_game.rb
|
1310
|
-
- spec/app/models/circuit.rb
|
1311
|
-
- spec/app/models/person.rb
|
1312
|
-
- spec/app/models/passport.rb
|
1313
|
-
- spec/app/models/jar.rb
|
1314
|
-
- spec/app/models/agency.rb
|
1315
|
-
- spec/app/models/folder_item.rb
|
1316
|
-
- spec/app/models/subscription.rb
|
1317
|
-
- spec/app/models/seo.rb
|
1318
|
-
- spec/app/models/pronunciation.rb
|
1319
|
-
- spec/app/models/root_category.rb
|
1320
|
-
- spec/app/models/exhibitor.rb
|
1321
|
-
- spec/app/models/band.rb
|
1322
|
-
- spec/app/models/pencil.rb
|
1323
|
-
- spec/app/models/symptom.rb
|
1324
|
-
- spec/app/models/survey.rb
|
1325
|
-
- spec/app/models/consumption_period.rb
|
1326
|
-
- spec/app/models/post.rb
|
1327
|
-
- spec/app/models/address.rb
|
1328
|
-
- spec/app/models/sound.rb
|
1329
|
-
- spec/app/models/phone.rb
|
1330
|
-
- spec/app/models/topping.rb
|
1331
|
-
- spec/app/models/ownable.rb
|
1332
|
-
- spec/app/models/line_item.rb
|
1333
|
-
- spec/app/models/pack.rb
|
1334
|
-
- spec/app/models/division.rb
|
1335
|
-
- spec/app/models/bomb.rb
|
1336
|
-
- spec/app/models/big_palette.rb
|
1337
|
-
- spec/app/models/event.rb
|
1338
|
-
- spec/app/models/shelf.rb
|
1339
|
-
- spec/app/models/server.rb
|
1340
|
-
- spec/app/models/html_writer.rb
|
1341
|
-
- spec/app/models/quiz.rb
|
1342
|
-
- spec/app/models/preference.rb
|
1343
|
-
- spec/app/models/service.rb
|
1344
|
-
- spec/app/models/user.rb
|
1345
|
-
- spec/app/models/tree.rb
|
1346
|
-
- spec/app/models/address_number.rb
|
1347
|
-
- spec/app/models/kaleidoscope.rb
|
1348
|
-
- spec/app/models/artwork.rb
|
1349
|
-
- spec/config/mongoid.yml
|
1350
|
-
- spec/mongoid_spec.rb
|
1351
|
-
- spec/support/expectations.rb
|
1352
|
-
- spec/support/authorization.rb
|
1328
|
+
- spec/mongoid/composable_spec.rb
|
1329
|
+
- spec/mongoid/config_spec.rb
|
1330
|
+
- spec/mongoid/copyable_spec.rb
|
1331
|
+
- spec/mongoid/criteria_spec.rb
|
1332
|
+
- spec/mongoid/document_spec.rb
|
1333
|
+
- spec/mongoid/equality_spec.rb
|
1334
|
+
- spec/mongoid/extensions_spec.rb
|
1335
|
+
- spec/mongoid/factory_spec.rb
|
1336
|
+
- spec/mongoid/fields_spec.rb
|
1337
|
+
- spec/mongoid/findable_spec.rb
|
1338
|
+
- spec/mongoid/indexable_spec.rb
|
1339
|
+
- spec/mongoid/inspectable_spec.rb
|
1340
|
+
- spec/mongoid/interceptable_spec.rb
|
1341
|
+
- spec/mongoid/loggable_spec.rb
|
1342
|
+
- spec/mongoid/matchable_spec.rb
|
1343
|
+
- spec/mongoid/persistable_spec.rb
|
1344
|
+
- spec/mongoid/persistence_context_spec.rb
|
1345
|
+
- spec/mongoid/positional_spec.rb
|
1346
|
+
- spec/mongoid/query_cache_spec.rb
|
1347
|
+
- spec/mongoid/reloadable_spec.rb
|
1348
|
+
- spec/mongoid/scopable_spec.rb
|
1349
|
+
- spec/mongoid/selectable_spec.rb
|
1350
|
+
- spec/mongoid/serializable_spec.rb
|
1351
|
+
- spec/mongoid/shardable_spec.rb
|
1352
|
+
- spec/mongoid/stateful_spec.rb
|
1353
|
+
- spec/mongoid/threaded_spec.rb
|
1354
|
+
- spec/mongoid/timestamps_spec.rb
|
1355
|
+
- spec/mongoid/touchable_spec.rb
|
1356
|
+
- spec/mongoid/traversable_spec.rb
|
1357
|
+
- spec/mongoid/validatable_spec.rb
|
1353
1358
|
- spec/rails/mongoid_spec.rb
|
1359
|
+
- spec/support/authorization.rb
|
1360
|
+
- spec/support/expectations.rb
|
1361
|
+
- spec/mongoid_spec.rb
|
1362
|
+
- spec/spec_helper.rb
|