mongoid 6.4.1 → 6.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/mongoid/contextual/map_reduce.rb +1 -1
- data/lib/mongoid/criteria/modifiable.rb +12 -2
- data/lib/mongoid/criteria/queryable/selectable.rb +1 -1
- data/lib/mongoid/matchable.rb +3 -0
- data/lib/mongoid/matchable/nor.rb +37 -0
- data/lib/mongoid/persistable/settable.rb +5 -5
- data/lib/mongoid/persistence_context.rb +4 -0
- data/lib/mongoid/version.rb +1 -1
- data/spec/app/models/array_field.rb +7 -0
- 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/criteria/modifiable_spec.rb +59 -10
- data/spec/mongoid/matchable/nor_spec.rb +209 -0
- data/spec/mongoid/matchable_spec.rb +26 -1
- data/spec/mongoid/persistable/settable_spec.rb +19 -0
- metadata +451 -446
- metadata.gz.sig +0 -0
@@ -86,7 +86,7 @@ describe Mongoid::Matchable do
|
|
86
86
|
let(:selector) do
|
87
87
|
{ "occupants.0" => "Tim" }
|
88
88
|
end
|
89
|
-
|
89
|
+
|
90
90
|
it "returns true" do
|
91
91
|
expect(document.locations.first._matches?(selector)).to be true
|
92
92
|
end
|
@@ -774,6 +774,31 @@ describe Mongoid::Matchable do
|
|
774
774
|
end
|
775
775
|
end
|
776
776
|
|
777
|
+
context "with an $nor selector" do
|
778
|
+
|
779
|
+
context "when the attributes match" do
|
780
|
+
|
781
|
+
let(:selector) do
|
782
|
+
{ "$nor" => [ { number: 10 }, { number: { "$gt" => 199 } } ] }
|
783
|
+
end
|
784
|
+
|
785
|
+
it "returns true" do
|
786
|
+
expect(document._matches?(selector)).to be true
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
context "when the attributes do not match" do
|
791
|
+
|
792
|
+
let(:selector) do
|
793
|
+
{ "$nor" => [ { number: 10 }, { number: { "$gt" => 99 } } ] }
|
794
|
+
end
|
795
|
+
|
796
|
+
it "returns false" do
|
797
|
+
expect(document._matches?(selector)).to be false
|
798
|
+
end
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
777
802
|
context "with a $size selector" do
|
778
803
|
|
779
804
|
context "when the attributes match" do
|
@@ -315,6 +315,25 @@ describe Mongoid::Persistable::Settable do
|
|
315
315
|
end
|
316
316
|
end
|
317
317
|
|
318
|
+
context 'when a leaf value in the nested hash is updated to a number' do
|
319
|
+
|
320
|
+
let(:church) do
|
321
|
+
Church.new.tap do |a|
|
322
|
+
a.location = {'address' => {'city' => 'Berlin', 'street' => 'Yorckstr'}}
|
323
|
+
a.name = 'Church1'
|
324
|
+
a.save
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
before do
|
329
|
+
church.set('location.address.city' => 12345)
|
330
|
+
end
|
331
|
+
|
332
|
+
it 'updates the nested value to the correct value' do
|
333
|
+
expect(church.name).to eq('Church1')
|
334
|
+
expect(church.location).to eql({'address' => {'city' => 12345, 'street' => 'Yorckstr'}})
|
335
|
+
end
|
336
|
+
end
|
318
337
|
|
319
338
|
context 'when the nested hash is many levels deep' do
|
320
339
|
|
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: 6.4.
|
4
|
+
version: 6.4.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-24 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: activemodel
|
@@ -265,6 +265,7 @@ files:
|
|
265
265
|
- lib/mongoid/matchable/lte.rb
|
266
266
|
- lib/mongoid/matchable/ne.rb
|
267
267
|
- lib/mongoid/matchable/nin.rb
|
268
|
+
- lib/mongoid/matchable/nor.rb
|
268
269
|
- lib/mongoid/matchable/or.rb
|
269
270
|
- lib/mongoid/matchable/regexp.rb
|
270
271
|
- lib/mongoid/matchable/size.rb
|
@@ -397,6 +398,7 @@ files:
|
|
397
398
|
- spec/app/models/animal.rb
|
398
399
|
- spec/app/models/answer.rb
|
399
400
|
- spec/app/models/appointment.rb
|
401
|
+
- spec/app/models/array_field.rb
|
400
402
|
- spec/app/models/article.rb
|
401
403
|
- spec/app/models/artist.rb
|
402
404
|
- spec/app/models/artwork.rb
|
@@ -751,6 +753,7 @@ files:
|
|
751
753
|
- spec/mongoid/matchable/lte_spec.rb
|
752
754
|
- spec/mongoid/matchable/ne_spec.rb
|
753
755
|
- spec/mongoid/matchable/nin_spec.rb
|
756
|
+
- spec/mongoid/matchable/nor_spec.rb
|
754
757
|
- spec/mongoid/matchable/or_spec.rb
|
755
758
|
- spec/mongoid/matchable/regexp_spec.rb
|
756
759
|
- spec/mongoid/matchable/size_spec.rb
|
@@ -872,477 +875,479 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
872
875
|
version: 1.3.6
|
873
876
|
requirements: []
|
874
877
|
rubyforge_project: mongoid
|
875
|
-
rubygems_version: 2.
|
878
|
+
rubygems_version: 2.7.7
|
876
879
|
signing_key:
|
877
880
|
specification_version: 4
|
878
881
|
summary: Elegant Persistence in Ruby for MongoDB.
|
879
882
|
test_files:
|
880
|
-
- spec/
|
881
|
-
- spec/
|
883
|
+
- spec/app/models/array_field.rb
|
884
|
+
- spec/app/models/account.rb
|
885
|
+
- spec/app/models/acolyte.rb
|
886
|
+
- spec/app/models/actor.rb
|
887
|
+
- spec/app/models/actress.rb
|
888
|
+
- spec/app/models/address.rb
|
889
|
+
- spec/app/models/address_component.rb
|
890
|
+
- spec/app/models/address_number.rb
|
891
|
+
- spec/app/models/agency.rb
|
892
|
+
- spec/app/models/agent.rb
|
893
|
+
- spec/app/models/album.rb
|
894
|
+
- spec/app/models/alert.rb
|
895
|
+
- spec/app/models/animal.rb
|
896
|
+
- spec/app/models/answer.rb
|
897
|
+
- spec/app/models/appointment.rb
|
898
|
+
- spec/app/models/article.rb
|
899
|
+
- spec/app/models/artist.rb
|
900
|
+
- spec/app/models/artwork.rb
|
901
|
+
- spec/app/models/audio.rb
|
902
|
+
- spec/app/models/augmentation.rb
|
903
|
+
- spec/app/models/author.rb
|
904
|
+
- spec/app/models/baby.rb
|
905
|
+
- spec/app/models/band.rb
|
906
|
+
- spec/app/models/bar.rb
|
907
|
+
- spec/app/models/basic.rb
|
908
|
+
- spec/app/models/bed.rb
|
909
|
+
- spec/app/models/big_palette.rb
|
910
|
+
- spec/app/models/birthday.rb
|
911
|
+
- spec/app/models/bomb.rb
|
912
|
+
- spec/app/models/book.rb
|
913
|
+
- spec/app/models/breed.rb
|
914
|
+
- spec/app/models/browser.rb
|
915
|
+
- spec/app/models/building.rb
|
916
|
+
- spec/app/models/building_address.rb
|
917
|
+
- spec/app/models/bus.rb
|
918
|
+
- spec/app/models/business.rb
|
919
|
+
- spec/app/models/callback_test.rb
|
920
|
+
- spec/app/models/canvas.rb
|
921
|
+
- spec/app/models/car.rb
|
922
|
+
- spec/app/models/cat.rb
|
923
|
+
- spec/app/models/category.rb
|
924
|
+
- spec/app/models/child.rb
|
925
|
+
- spec/app/models/child_doc.rb
|
926
|
+
- spec/app/models/church.rb
|
927
|
+
- spec/app/models/circle.rb
|
928
|
+
- spec/app/models/circuit.rb
|
929
|
+
- spec/app/models/circus.rb
|
930
|
+
- spec/app/models/code.rb
|
931
|
+
- spec/app/models/comment.rb
|
932
|
+
- spec/app/models/company.rb
|
933
|
+
- spec/app/models/consumption_period.rb
|
934
|
+
- spec/app/models/contextable_item.rb
|
935
|
+
- spec/app/models/contractor.rb
|
936
|
+
- spec/app/models/cookie.rb
|
937
|
+
- spec/app/models/country_code.rb
|
938
|
+
- spec/app/models/courier_job.rb
|
939
|
+
- spec/app/models/definition.rb
|
940
|
+
- spec/app/models/description.rb
|
941
|
+
- spec/app/models/dictionary.rb
|
942
|
+
- spec/app/models/division.rb
|
943
|
+
- spec/app/models/doctor.rb
|
944
|
+
- spec/app/models/dog.rb
|
945
|
+
- spec/app/models/dokument.rb
|
946
|
+
- spec/app/models/draft.rb
|
947
|
+
- spec/app/models/dragon.rb
|
948
|
+
- spec/app/models/driver.rb
|
949
|
+
- spec/app/models/drug.rb
|
950
|
+
- spec/app/models/dungeon.rb
|
951
|
+
- spec/app/models/edit.rb
|
952
|
+
- spec/app/models/email.rb
|
953
|
+
- spec/app/models/employer.rb
|
954
|
+
- spec/app/models/entry.rb
|
955
|
+
- spec/app/models/eraser.rb
|
956
|
+
- spec/app/models/even.rb
|
957
|
+
- spec/app/models/event.rb
|
958
|
+
- spec/app/models/exhibition.rb
|
959
|
+
- spec/app/models/exhibitor.rb
|
960
|
+
- spec/app/models/explosion.rb
|
961
|
+
- spec/app/models/eye.rb
|
962
|
+
- spec/app/models/eye_bowl.rb
|
963
|
+
- spec/app/models/face.rb
|
964
|
+
- spec/app/models/favorite.rb
|
965
|
+
- spec/app/models/filesystem.rb
|
966
|
+
- spec/app/models/fire_hydrant.rb
|
967
|
+
- spec/app/models/firefox.rb
|
968
|
+
- spec/app/models/fish.rb
|
969
|
+
- spec/app/models/folder.rb
|
970
|
+
- spec/app/models/folder_item.rb
|
971
|
+
- spec/app/models/fruits.rb
|
972
|
+
- spec/app/models/game.rb
|
973
|
+
- spec/app/models/ghost.rb
|
974
|
+
- spec/app/models/home.rb
|
975
|
+
- spec/app/models/house.rb
|
976
|
+
- spec/app/models/html_writer.rb
|
977
|
+
- spec/app/models/id_key.rb
|
978
|
+
- spec/app/models/image.rb
|
979
|
+
- spec/app/models/implant.rb
|
980
|
+
- spec/app/models/item.rb
|
981
|
+
- spec/app/models/jar.rb
|
982
|
+
- spec/app/models/kaleidoscope.rb
|
983
|
+
- spec/app/models/kangaroo.rb
|
984
|
+
- spec/app/models/label.rb
|
985
|
+
- spec/app/models/language.rb
|
986
|
+
- spec/app/models/lat_lng.rb
|
987
|
+
- spec/app/models/league.rb
|
988
|
+
- spec/app/models/learner.rb
|
989
|
+
- spec/app/models/line_item.rb
|
990
|
+
- spec/app/models/location.rb
|
991
|
+
- spec/app/models/login.rb
|
992
|
+
- spec/app/models/manufacturer.rb
|
993
|
+
- spec/app/models/meat.rb
|
994
|
+
- spec/app/models/membership.rb
|
995
|
+
- spec/app/models/message.rb
|
996
|
+
- spec/app/models/mixed_drink.rb
|
997
|
+
- spec/app/models/movie.rb
|
998
|
+
- spec/app/models/my_hash.rb
|
999
|
+
- spec/app/models/name.rb
|
1000
|
+
- spec/app/models/node.rb
|
1001
|
+
- spec/app/models/note.rb
|
1002
|
+
- spec/app/models/odd.rb
|
1003
|
+
- spec/app/models/ordered_post.rb
|
1004
|
+
- spec/app/models/ordered_preference.rb
|
1005
|
+
- spec/app/models/oscar.rb
|
1006
|
+
- spec/app/models/override.rb
|
1007
|
+
- spec/app/models/ownable.rb
|
1008
|
+
- spec/app/models/owner.rb
|
1009
|
+
- spec/app/models/pack.rb
|
1010
|
+
- spec/app/models/page.rb
|
1011
|
+
- spec/app/models/page_question.rb
|
1012
|
+
- spec/app/models/palette.rb
|
1013
|
+
- spec/app/models/parent.rb
|
1014
|
+
- spec/app/models/parent_doc.rb
|
1015
|
+
- spec/app/models/passport.rb
|
1016
|
+
- spec/app/models/patient.rb
|
1017
|
+
- spec/app/models/pdf_writer.rb
|
1018
|
+
- spec/app/models/pencil.rb
|
1019
|
+
- spec/app/models/person.rb
|
1020
|
+
- spec/app/models/pet.rb
|
1021
|
+
- spec/app/models/pet_owner.rb
|
1022
|
+
- spec/app/models/phone.rb
|
1023
|
+
- spec/app/models/pizza.rb
|
1024
|
+
- spec/app/models/player.rb
|
1025
|
+
- spec/app/models/post.rb
|
1026
|
+
- spec/app/models/post_genre.rb
|
1027
|
+
- spec/app/models/powerup.rb
|
1028
|
+
- spec/app/models/preference.rb
|
1029
|
+
- spec/app/models/princess.rb
|
1030
|
+
- spec/app/models/product.rb
|
1031
|
+
- spec/app/models/profile.rb
|
1032
|
+
- spec/app/models/pronunciation.rb
|
1033
|
+
- spec/app/models/pub.rb
|
1034
|
+
- spec/app/models/purchase.rb
|
1035
|
+
- spec/app/models/question.rb
|
1036
|
+
- spec/app/models/quiz.rb
|
1037
|
+
- spec/app/models/rating.rb
|
1038
|
+
- spec/app/models/record.rb
|
1039
|
+
- spec/app/models/registry.rb
|
1040
|
+
- spec/app/models/role.rb
|
1041
|
+
- spec/app/models/root_category.rb
|
1042
|
+
- spec/app/models/sandwich.rb
|
1043
|
+
- spec/app/models/scheduler.rb
|
1044
|
+
- spec/app/models/seo.rb
|
1045
|
+
- spec/app/models/series.rb
|
1046
|
+
- spec/app/models/server.rb
|
1047
|
+
- spec/app/models/service.rb
|
1048
|
+
- spec/app/models/shape.rb
|
1049
|
+
- spec/app/models/shelf.rb
|
1050
|
+
- spec/app/models/shipment_address.rb
|
1051
|
+
- spec/app/models/shipping_container.rb
|
1052
|
+
- spec/app/models/shipping_pack.rb
|
1053
|
+
- spec/app/models/shop.rb
|
1054
|
+
- spec/app/models/short_agent.rb
|
1055
|
+
- spec/app/models/short_quiz.rb
|
1056
|
+
- spec/app/models/simple.rb
|
1057
|
+
- spec/app/models/slave.rb
|
1058
|
+
- spec/app/models/song.rb
|
1059
|
+
- spec/app/models/sound.rb
|
1060
|
+
- spec/app/models/square.rb
|
1061
|
+
- spec/app/models/staff.rb
|
1062
|
+
- spec/app/models/store_as_dup_test1.rb
|
1063
|
+
- spec/app/models/store_as_dup_test2.rb
|
1064
|
+
- spec/app/models/strategy.rb
|
1065
|
+
- spec/app/models/sub_item.rb
|
1066
|
+
- spec/app/models/subscription.rb
|
1067
|
+
- spec/app/models/survey.rb
|
1068
|
+
- spec/app/models/symptom.rb
|
1069
|
+
- spec/app/models/tag.rb
|
1070
|
+
- spec/app/models/target.rb
|
1071
|
+
- spec/app/models/template.rb
|
1072
|
+
- spec/app/models/thing.rb
|
1073
|
+
- spec/app/models/title.rb
|
1074
|
+
- spec/app/models/tool.rb
|
1075
|
+
- spec/app/models/topping.rb
|
1076
|
+
- spec/app/models/track.rb
|
1077
|
+
- spec/app/models/translation.rb
|
1078
|
+
- spec/app/models/tree.rb
|
1079
|
+
- spec/app/models/truck.rb
|
1080
|
+
- spec/app/models/user.rb
|
1081
|
+
- spec/app/models/user_account.rb
|
1082
|
+
- spec/app/models/validation_callback.rb
|
1083
|
+
- spec/app/models/vehicle.rb
|
1084
|
+
- spec/app/models/version.rb
|
1085
|
+
- spec/app/models/vet_visit.rb
|
1086
|
+
- spec/app/models/video.rb
|
1087
|
+
- spec/app/models/video_game.rb
|
1088
|
+
- spec/app/models/weapon.rb
|
1089
|
+
- spec/app/models/wiki_page.rb
|
1090
|
+
- spec/app/models/word.rb
|
1091
|
+
- spec/app/models/word_origin.rb
|
1092
|
+
- spec/app/models/writer.rb
|
1093
|
+
- spec/config/mongoid.yml
|
1094
|
+
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1095
|
+
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1096
|
+
- spec/mongoid/atomic/paths/root_spec.rb
|
1097
|
+
- spec/mongoid/atomic/modifiers_spec.rb
|
1098
|
+
- spec/mongoid/atomic/paths_spec.rb
|
1099
|
+
- spec/mongoid/attributes/nested_spec.rb
|
1100
|
+
- spec/mongoid/attributes/readonly_spec.rb
|
882
1101
|
- spec/mongoid/clients/factory_spec.rb
|
883
1102
|
- spec/mongoid/clients/options_spec.rb
|
884
1103
|
- spec/mongoid/clients/sessions_spec.rb
|
885
|
-
- spec/mongoid/matchable_spec.rb
|
886
|
-
- spec/mongoid/copyable_spec.rb
|
887
|
-
- spec/mongoid/changeable_spec.rb
|
888
|
-
- spec/mongoid/config_spec.rb
|
889
|
-
- spec/mongoid/tasks/database_spec.rb
|
890
|
-
- spec/mongoid/tasks/database_rake_spec.rb
|
891
|
-
- spec/mongoid/shardable_spec.rb
|
892
|
-
- spec/mongoid/selectable_spec.rb
|
893
|
-
- spec/mongoid/loggable_spec.rb
|
894
|
-
- spec/mongoid/atomic_spec.rb
|
895
|
-
- spec/mongoid/traversable_spec.rb
|
896
|
-
- spec/mongoid/timestamps/updated_spec.rb
|
897
|
-
- spec/mongoid/timestamps/created_spec.rb
|
898
|
-
- spec/mongoid/timestamps/created/short_spec.rb
|
899
|
-
- spec/mongoid/timestamps/updated/short_spec.rb
|
900
|
-
- spec/mongoid/timestamps/timeless_spec.rb
|
901
|
-
- spec/mongoid/factory_spec.rb
|
902
|
-
- spec/mongoid/relations/eager_spec.rb
|
903
|
-
- spec/mongoid/relations/metadata_spec.rb
|
904
|
-
- spec/mongoid/relations/constraint_spec.rb
|
905
|
-
- spec/mongoid/relations/builders/referenced/in_spec.rb
|
906
|
-
- spec/mongoid/relations/builders/referenced/one_spec.rb
|
907
|
-
- spec/mongoid/relations/builders/referenced/many_spec.rb
|
908
|
-
- spec/mongoid/relations/builders/referenced/many_to_many_spec.rb
|
909
|
-
- spec/mongoid/relations/builders/embedded/in_spec.rb
|
910
|
-
- spec/mongoid/relations/builders/embedded/one_spec.rb
|
911
|
-
- spec/mongoid/relations/builders/embedded/many_spec.rb
|
912
|
-
- spec/mongoid/relations/builders/nested_attributes/one_spec.rb
|
913
|
-
- spec/mongoid/relations/builders/nested_attributes/many_spec.rb
|
914
|
-
- spec/mongoid/relations/targets/enumerable_spec.rb
|
915
|
-
- spec/mongoid/relations/macros_spec.rb
|
916
|
-
- spec/mongoid/relations/counter_cache_spec.rb
|
917
|
-
- spec/mongoid/relations/cascading/destroy_spec.rb
|
918
|
-
- spec/mongoid/relations/cascading/delete_spec.rb
|
919
|
-
- spec/mongoid/relations/cascading/nullify_spec.rb
|
920
|
-
- spec/mongoid/relations/cascading/restrict_spec.rb
|
921
|
-
- spec/mongoid/relations/options_spec.rb
|
922
|
-
- spec/mongoid/relations/accessors_spec.rb
|
923
|
-
- spec/mongoid/relations/proxy_spec.rb
|
924
|
-
- spec/mongoid/relations/touchable_spec.rb
|
925
|
-
- spec/mongoid/relations/synchronization_spec.rb
|
926
|
-
- spec/mongoid/relations/cascading_spec.rb
|
927
|
-
- spec/mongoid/relations/auto_save_spec.rb
|
928
|
-
- spec/mongoid/relations/conversions_spec.rb
|
929
|
-
- spec/mongoid/relations/cyclic_spec.rb
|
930
|
-
- spec/mongoid/relations/bindings/referenced/in_spec.rb
|
931
|
-
- spec/mongoid/relations/bindings/referenced/one_spec.rb
|
932
|
-
- spec/mongoid/relations/bindings/referenced/many_spec.rb
|
933
|
-
- spec/mongoid/relations/bindings/referenced/many_to_many_spec.rb
|
934
|
-
- spec/mongoid/relations/bindings/embedded/in_spec.rb
|
935
|
-
- spec/mongoid/relations/bindings/embedded/one_spec.rb
|
936
|
-
- spec/mongoid/relations/bindings/embedded/many_spec.rb
|
937
|
-
- spec/mongoid/relations/referenced/in_spec.rb
|
938
|
-
- spec/mongoid/relations/referenced/one_spec.rb
|
939
|
-
- spec/mongoid/relations/referenced/many_spec.rb
|
940
|
-
- spec/mongoid/relations/referenced/many_to_many_spec.rb
|
941
|
-
- spec/mongoid/relations/builders_spec.rb
|
942
|
-
- spec/mongoid/relations/polymorphic_spec.rb
|
943
|
-
- spec/mongoid/relations/reflections_spec.rb
|
944
|
-
- spec/mongoid/relations/eager/has_one_spec.rb
|
945
|
-
- spec/mongoid/relations/eager/has_many_spec.rb
|
946
|
-
- spec/mongoid/relations/eager/has_and_belongs_to_many_spec.rb
|
947
|
-
- spec/mongoid/relations/eager/belongs_to_spec.rb
|
948
|
-
- spec/mongoid/relations/embedded/in_spec.rb
|
949
|
-
- spec/mongoid/relations/embedded/dirty_spec.rb
|
950
|
-
- spec/mongoid/relations/embedded/one_spec.rb
|
951
|
-
- spec/mongoid/relations/embedded/many_spec.rb
|
952
1104
|
- spec/mongoid/config/environment_spec.rb
|
953
1105
|
- spec/mongoid/config/options_spec.rb
|
954
|
-
- spec/mongoid/contextual/memory_spec.rb
|
955
|
-
- spec/mongoid/contextual/none_spec.rb
|
956
|
-
- spec/mongoid/contextual/atomic_spec.rb
|
957
|
-
- spec/mongoid/contextual/map_reduce_spec.rb
|
958
|
-
- spec/mongoid/contextual/mongo_spec.rb
|
959
1106
|
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
960
1107
|
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1108
|
+
- spec/mongoid/contextual/atomic_spec.rb
|
961
1109
|
- spec/mongoid/contextual/geo_near_spec.rb
|
962
|
-
- spec/mongoid/
|
963
|
-
- spec/mongoid/
|
964
|
-
- spec/mongoid/
|
965
|
-
- spec/mongoid/
|
966
|
-
- spec/mongoid/
|
967
|
-
- spec/mongoid/
|
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/extensions/
|
1110
|
+
- spec/mongoid/contextual/map_reduce_spec.rb
|
1111
|
+
- spec/mongoid/contextual/memory_spec.rb
|
1112
|
+
- spec/mongoid/contextual/mongo_spec.rb
|
1113
|
+
- spec/mongoid/contextual/none_spec.rb
|
1114
|
+
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1115
|
+
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1116
|
+
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1117
|
+
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1118
|
+
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1119
|
+
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1120
|
+
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1121
|
+
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1122
|
+
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1123
|
+
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1124
|
+
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1125
|
+
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1126
|
+
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1127
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1128
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1129
|
+
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1130
|
+
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1131
|
+
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1132
|
+
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1133
|
+
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1134
|
+
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1135
|
+
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1136
|
+
- spec/mongoid/criteria/queryable/key_spec.rb
|
1137
|
+
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1138
|
+
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1139
|
+
- spec/mongoid/criteria/queryable/options_spec.rb
|
1140
|
+
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1141
|
+
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1142
|
+
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1143
|
+
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1144
|
+
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1145
|
+
- spec/mongoid/criteria/findable_spec.rb
|
1146
|
+
- spec/mongoid/criteria/inspectable_spec.rb
|
1147
|
+
- spec/mongoid/criteria/marshalable_spec.rb
|
1148
|
+
- spec/mongoid/criteria/modifiable_spec.rb
|
1149
|
+
- spec/mongoid/criteria/options_spec.rb
|
1150
|
+
- spec/mongoid/criteria/scopable_spec.rb
|
1151
|
+
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
1152
|
+
- spec/mongoid/errors/callback_spec.rb
|
1153
|
+
- spec/mongoid/errors/delete_restriction_spec.rb
|
1154
|
+
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1155
|
+
- spec/mongoid/errors/document_not_found_spec.rb
|
1156
|
+
- spec/mongoid/errors/eager_load_spec.rb
|
1157
|
+
- spec/mongoid/errors/invalid_collection_spec.rb
|
1158
|
+
- spec/mongoid/errors/invalid_config_option_spec.rb
|
1159
|
+
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1160
|
+
- spec/mongoid/errors/invalid_field_spec.rb
|
1161
|
+
- spec/mongoid/errors/invalid_find_spec.rb
|
1162
|
+
- spec/mongoid/errors/invalid_includes_spec.rb
|
1163
|
+
- spec/mongoid/errors/invalid_index_spec.rb
|
1164
|
+
- spec/mongoid/errors/invalid_options_spec.rb
|
1165
|
+
- spec/mongoid/errors/invalid_path_spec.rb
|
1166
|
+
- spec/mongoid/errors/invalid_relation_spec.rb
|
1167
|
+
- spec/mongoid/errors/invalid_scope_spec.rb
|
1168
|
+
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1169
|
+
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1170
|
+
- spec/mongoid/errors/invalid_time_spec.rb
|
1171
|
+
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1172
|
+
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1173
|
+
- spec/mongoid/errors/mixed_relations_spec.rb
|
1174
|
+
- spec/mongoid/errors/mongoid_error_spec.rb
|
1175
|
+
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1176
|
+
- spec/mongoid/errors/no_client_config_spec.rb
|
1177
|
+
- spec/mongoid/errors/no_client_database_spec.rb
|
1178
|
+
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1179
|
+
- spec/mongoid/errors/no_clients_config_spec.rb
|
1180
|
+
- spec/mongoid/errors/no_environment_spec.rb
|
1181
|
+
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1182
|
+
- spec/mongoid/errors/no_metadata_spec.rb
|
1183
|
+
- spec/mongoid/errors/no_parent_spec.rb
|
1184
|
+
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1185
|
+
- spec/mongoid/errors/readonly_document_spec.rb
|
1186
|
+
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1187
|
+
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1188
|
+
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1189
|
+
- spec/mongoid/errors/unsaved_document_spec.rb
|
1190
|
+
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1191
|
+
- spec/mongoid/errors/validations_spec.rb
|
1192
|
+
- spec/mongoid/extensions/array_spec.rb
|
979
1193
|
- spec/mongoid/extensions/big_decimal_spec.rb
|
980
|
-
- spec/mongoid/extensions/
|
1194
|
+
- spec/mongoid/extensions/binary_spec.rb
|
981
1195
|
- spec/mongoid/extensions/boolean_spec.rb
|
982
|
-
- spec/mongoid/extensions/object_spec.rb
|
983
|
-
- spec/mongoid/extensions/array_spec.rb
|
984
|
-
- spec/mongoid/extensions/set_spec.rb
|
985
|
-
- spec/mongoid/extensions/hash_spec.rb
|
986
1196
|
- spec/mongoid/extensions/date_spec.rb
|
987
|
-
- spec/mongoid/extensions/module_spec.rb
|
988
|
-
- spec/mongoid/extensions/time_with_zone_spec.rb
|
989
|
-
- spec/mongoid/extensions/binary_spec.rb
|
990
1197
|
- spec/mongoid/extensions/date_time_spec.rb
|
991
|
-
- spec/mongoid/extensions/false_class_spec.rb
|
992
|
-
- spec/mongoid/extensions/string_spec.rb
|
993
|
-
- spec/mongoid/extensions/range_spec.rb
|
994
|
-
- spec/mongoid/extensions/symbol_spec.rb
|
995
1198
|
- spec/mongoid/extensions/decimal128_spec.rb
|
996
|
-
- spec/mongoid/extensions/
|
1199
|
+
- spec/mongoid/extensions/false_class_spec.rb
|
997
1200
|
- spec/mongoid/extensions/float_spec.rb
|
1201
|
+
- spec/mongoid/extensions/hash_spec.rb
|
1202
|
+
- spec/mongoid/extensions/integer_spec.rb
|
1203
|
+
- spec/mongoid/extensions/module_spec.rb
|
998
1204
|
- spec/mongoid/extensions/nil_class_spec.rb
|
999
|
-
- spec/mongoid/extensions/true_class_spec.rb
|
1000
1205
|
- spec/mongoid/extensions/object_id_spec.rb
|
1001
|
-
- spec/mongoid/
|
1002
|
-
- spec/mongoid/
|
1003
|
-
- spec/mongoid/
|
1004
|
-
- spec/mongoid/
|
1005
|
-
- spec/mongoid/
|
1006
|
-
- spec/mongoid/
|
1007
|
-
- spec/mongoid/
|
1008
|
-
- spec/mongoid/
|
1206
|
+
- spec/mongoid/extensions/object_spec.rb
|
1207
|
+
- spec/mongoid/extensions/range_spec.rb
|
1208
|
+
- spec/mongoid/extensions/regexp_spec.rb
|
1209
|
+
- spec/mongoid/extensions/set_spec.rb
|
1210
|
+
- spec/mongoid/extensions/string_spec.rb
|
1211
|
+
- spec/mongoid/extensions/symbol_spec.rb
|
1212
|
+
- spec/mongoid/extensions/time_spec.rb
|
1213
|
+
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1214
|
+
- spec/mongoid/extensions/true_class_spec.rb
|
1215
|
+
- spec/mongoid/fields/foreign_key_spec.rb
|
1216
|
+
- spec/mongoid/fields/internal/foreign_keys/array_spec.rb
|
1217
|
+
- spec/mongoid/fields/internal/foreign_keys/object_spec.rb
|
1218
|
+
- spec/mongoid/fields/localized_spec.rb
|
1219
|
+
- spec/mongoid/fields/standard_spec.rb
|
1220
|
+
- spec/mongoid/indexable/specification_spec.rb
|
1221
|
+
- spec/mongoid/matchable/nor_spec.rb
|
1222
|
+
- spec/mongoid/matchable/all_spec.rb
|
1223
|
+
- spec/mongoid/matchable/and_spec.rb
|
1224
|
+
- spec/mongoid/matchable/default_spec.rb
|
1225
|
+
- spec/mongoid/matchable/elem_match_spec.rb
|
1226
|
+
- spec/mongoid/matchable/exists_spec.rb
|
1227
|
+
- spec/mongoid/matchable/gt_spec.rb
|
1228
|
+
- spec/mongoid/matchable/gte_spec.rb
|
1229
|
+
- spec/mongoid/matchable/in_spec.rb
|
1230
|
+
- spec/mongoid/matchable/lt_spec.rb
|
1231
|
+
- spec/mongoid/matchable/lte_spec.rb
|
1232
|
+
- spec/mongoid/matchable/ne_spec.rb
|
1233
|
+
- spec/mongoid/matchable/nin_spec.rb
|
1234
|
+
- spec/mongoid/matchable/or_spec.rb
|
1235
|
+
- spec/mongoid/matchable/regexp_spec.rb
|
1236
|
+
- spec/mongoid/matchable/size_spec.rb
|
1009
1237
|
- spec/mongoid/persistable/creatable_spec.rb
|
1010
|
-
- spec/mongoid/persistable/
|
1011
|
-
- spec/mongoid/persistable/unsettable_spec.rb
|
1238
|
+
- spec/mongoid/persistable/deletable_spec.rb
|
1012
1239
|
- spec/mongoid/persistable/destroyable_spec.rb
|
1013
|
-
- spec/mongoid/persistable/pushable_spec.rb
|
1014
|
-
- spec/mongoid/persistable/logical_spec.rb
|
1015
|
-
- spec/mongoid/persistable/settable_spec.rb
|
1016
1240
|
- spec/mongoid/persistable/incrementable_spec.rb
|
1017
|
-
- spec/mongoid/persistable/
|
1018
|
-
- spec/mongoid/persistable/
|
1241
|
+
- spec/mongoid/persistable/logical_spec.rb
|
1242
|
+
- spec/mongoid/persistable/poppable_spec.rb
|
1019
1243
|
- spec/mongoid/persistable/pullable_spec.rb
|
1244
|
+
- spec/mongoid/persistable/pushable_spec.rb
|
1020
1245
|
- spec/mongoid/persistable/renamable_spec.rb
|
1021
|
-
- spec/mongoid/persistable/
|
1022
|
-
- spec/mongoid/
|
1023
|
-
- spec/mongoid/
|
1024
|
-
- spec/mongoid/
|
1025
|
-
- spec/mongoid/
|
1026
|
-
- spec/mongoid/
|
1027
|
-
- spec/mongoid/
|
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/
|
1041
|
-
- spec/mongoid/
|
1042
|
-
- spec/mongoid/
|
1043
|
-
- spec/mongoid/
|
1044
|
-
- spec/mongoid/
|
1045
|
-
- spec/mongoid/
|
1046
|
-
- spec/mongoid/
|
1047
|
-
- spec/mongoid/
|
1048
|
-
- spec/mongoid/
|
1049
|
-
- spec/mongoid/
|
1050
|
-
- spec/mongoid/
|
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/
|
1060
|
-
- spec/mongoid/
|
1061
|
-
- spec/mongoid/
|
1062
|
-
- spec/mongoid/
|
1063
|
-
- spec/mongoid/
|
1064
|
-
- spec/mongoid/
|
1065
|
-
- spec/mongoid/
|
1066
|
-
- spec/mongoid/
|
1067
|
-
- spec/mongoid/
|
1068
|
-
- spec/mongoid/
|
1069
|
-
- spec/mongoid/
|
1070
|
-
- spec/mongoid/
|
1071
|
-
- spec/mongoid/
|
1072
|
-
- spec/mongoid/
|
1073
|
-
- spec/mongoid/
|
1074
|
-
- spec/mongoid/
|
1075
|
-
- spec/mongoid/
|
1076
|
-
- spec/mongoid/
|
1077
|
-
- spec/mongoid/
|
1078
|
-
- spec/mongoid/
|
1079
|
-
- spec/mongoid/
|
1080
|
-
- spec/mongoid/
|
1081
|
-
- spec/mongoid/
|
1082
|
-
- spec/mongoid/
|
1083
|
-
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1084
|
-
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1085
|
-
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1086
|
-
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1087
|
-
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1088
|
-
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1089
|
-
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1090
|
-
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1091
|
-
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1092
|
-
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1093
|
-
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1094
|
-
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1095
|
-
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1096
|
-
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1097
|
-
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1098
|
-
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1099
|
-
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1100
|
-
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1101
|
-
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1102
|
-
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1103
|
-
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1104
|
-
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1105
|
-
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1106
|
-
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1107
|
-
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1108
|
-
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1109
|
-
- spec/mongoid/criteria/marshalable_spec.rb
|
1110
|
-
- spec/mongoid/criteria/inspectable_spec.rb
|
1111
|
-
- spec/mongoid/validatable/presence_spec.rb
|
1246
|
+
- spec/mongoid/persistable/savable_spec.rb
|
1247
|
+
- spec/mongoid/persistable/settable_spec.rb
|
1248
|
+
- spec/mongoid/persistable/unsettable_spec.rb
|
1249
|
+
- spec/mongoid/persistable/updatable_spec.rb
|
1250
|
+
- spec/mongoid/persistable/upsertable_spec.rb
|
1251
|
+
- spec/mongoid/relations/accessors_spec.rb
|
1252
|
+
- spec/mongoid/relations/auto_save_spec.rb
|
1253
|
+
- spec/mongoid/relations/bindings/embedded/in_spec.rb
|
1254
|
+
- spec/mongoid/relations/bindings/embedded/many_spec.rb
|
1255
|
+
- spec/mongoid/relations/bindings/embedded/one_spec.rb
|
1256
|
+
- spec/mongoid/relations/bindings/referenced/in_spec.rb
|
1257
|
+
- spec/mongoid/relations/bindings/referenced/many_spec.rb
|
1258
|
+
- spec/mongoid/relations/bindings/referenced/many_to_many_spec.rb
|
1259
|
+
- spec/mongoid/relations/bindings/referenced/one_spec.rb
|
1260
|
+
- spec/mongoid/relations/builders/embedded/in_spec.rb
|
1261
|
+
- spec/mongoid/relations/builders/embedded/many_spec.rb
|
1262
|
+
- spec/mongoid/relations/builders/embedded/one_spec.rb
|
1263
|
+
- spec/mongoid/relations/builders/nested_attributes/many_spec.rb
|
1264
|
+
- spec/mongoid/relations/builders/nested_attributes/one_spec.rb
|
1265
|
+
- spec/mongoid/relations/builders/referenced/in_spec.rb
|
1266
|
+
- spec/mongoid/relations/builders/referenced/many_spec.rb
|
1267
|
+
- spec/mongoid/relations/builders/referenced/many_to_many_spec.rb
|
1268
|
+
- spec/mongoid/relations/builders/referenced/one_spec.rb
|
1269
|
+
- spec/mongoid/relations/builders_spec.rb
|
1270
|
+
- spec/mongoid/relations/cascading/delete_spec.rb
|
1271
|
+
- spec/mongoid/relations/cascading/destroy_spec.rb
|
1272
|
+
- spec/mongoid/relations/cascading/nullify_spec.rb
|
1273
|
+
- spec/mongoid/relations/cascading/restrict_spec.rb
|
1274
|
+
- spec/mongoid/relations/cascading_spec.rb
|
1275
|
+
- spec/mongoid/relations/constraint_spec.rb
|
1276
|
+
- spec/mongoid/relations/conversions_spec.rb
|
1277
|
+
- spec/mongoid/relations/counter_cache_spec.rb
|
1278
|
+
- spec/mongoid/relations/cyclic_spec.rb
|
1279
|
+
- spec/mongoid/relations/eager/belongs_to_spec.rb
|
1280
|
+
- spec/mongoid/relations/eager/has_and_belongs_to_many_spec.rb
|
1281
|
+
- spec/mongoid/relations/eager/has_many_spec.rb
|
1282
|
+
- spec/mongoid/relations/eager/has_one_spec.rb
|
1283
|
+
- spec/mongoid/relations/eager_spec.rb
|
1284
|
+
- spec/mongoid/relations/embedded/dirty_spec.rb
|
1285
|
+
- spec/mongoid/relations/embedded/in_spec.rb
|
1286
|
+
- spec/mongoid/relations/embedded/many_spec.rb
|
1287
|
+
- spec/mongoid/relations/embedded/one_spec.rb
|
1288
|
+
- spec/mongoid/relations/macros_spec.rb
|
1289
|
+
- spec/mongoid/relations/metadata_spec.rb
|
1290
|
+
- spec/mongoid/relations/options_spec.rb
|
1291
|
+
- spec/mongoid/relations/polymorphic_spec.rb
|
1292
|
+
- spec/mongoid/relations/proxy_spec.rb
|
1293
|
+
- spec/mongoid/relations/referenced/in_spec.rb
|
1294
|
+
- spec/mongoid/relations/referenced/many_spec.rb
|
1295
|
+
- spec/mongoid/relations/referenced/many_to_many_spec.rb
|
1296
|
+
- spec/mongoid/relations/referenced/one_spec.rb
|
1297
|
+
- spec/mongoid/relations/reflections_spec.rb
|
1298
|
+
- spec/mongoid/relations/synchronization_spec.rb
|
1299
|
+
- spec/mongoid/relations/targets/enumerable_spec.rb
|
1300
|
+
- spec/mongoid/relations/touchable_spec.rb
|
1301
|
+
- spec/mongoid/tasks/database_rake_spec.rb
|
1302
|
+
- spec/mongoid/tasks/database_spec.rb
|
1303
|
+
- spec/mongoid/timestamps/created/short_spec.rb
|
1304
|
+
- spec/mongoid/timestamps/updated/short_spec.rb
|
1305
|
+
- spec/mongoid/timestamps/created_spec.rb
|
1306
|
+
- spec/mongoid/timestamps/timeless_spec.rb
|
1307
|
+
- spec/mongoid/timestamps/updated_spec.rb
|
1112
1308
|
- spec/mongoid/validatable/associated_spec.rb
|
1113
|
-
- spec/mongoid/validatable/uniqueness_spec.rb
|
1114
1309
|
- spec/mongoid/validatable/format_spec.rb
|
1115
|
-
- spec/mongoid/validatable/numericality_spec.rb
|
1116
1310
|
- spec/mongoid/validatable/length_spec.rb
|
1117
|
-
- spec/mongoid/
|
1118
|
-
- spec/mongoid/
|
1119
|
-
- spec/mongoid/
|
1120
|
-
- spec/mongoid/
|
1121
|
-
- spec/mongoid/
|
1122
|
-
- spec/mongoid/
|
1123
|
-
- spec/mongoid/
|
1124
|
-
- spec/mongoid/matchable/all_spec.rb
|
1125
|
-
- spec/mongoid/matchable/or_spec.rb
|
1126
|
-
- spec/mongoid/matchable/gt_spec.rb
|
1127
|
-
- spec/mongoid/matchable/nin_spec.rb
|
1128
|
-
- spec/mongoid/matchable/lt_spec.rb
|
1129
|
-
- spec/mongoid/matchable/elem_match_spec.rb
|
1130
|
-
- spec/mongoid/matchable/default_spec.rb
|
1131
|
-
- spec/mongoid/matchable/and_spec.rb
|
1132
|
-
- spec/mongoid/matchable/size_spec.rb
|
1311
|
+
- spec/mongoid/validatable/numericality_spec.rb
|
1312
|
+
- spec/mongoid/validatable/presence_spec.rb
|
1313
|
+
- spec/mongoid/validatable/uniqueness_spec.rb
|
1314
|
+
- spec/mongoid/atomic_spec.rb
|
1315
|
+
- spec/mongoid/attributes_spec.rb
|
1316
|
+
- spec/mongoid/cacheable_spec.rb
|
1317
|
+
- spec/mongoid/changeable_spec.rb
|
1133
1318
|
- spec/mongoid/clients_spec.rb
|
1134
|
-
- spec/
|
1135
|
-
- spec/
|
1136
|
-
- spec/
|
1137
|
-
- spec/
|
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/app/models/actress.rb
|
1165
|
-
- spec/app/models/circus.rb
|
1166
|
-
- spec/app/models/actor.rb
|
1167
|
-
- spec/app/models/manufacturer.rb
|
1168
|
-
- spec/app/models/contextable_item.rb
|
1169
|
-
- spec/app/models/login.rb
|
1170
|
-
- spec/app/models/node.rb
|
1171
|
-
- spec/app/models/shipping_container.rb
|
1172
|
-
- spec/app/models/square.rb
|
1173
|
-
- spec/app/models/audio.rb
|
1174
|
-
- spec/app/models/short_quiz.rb
|
1175
|
-
- spec/app/models/scheduler.rb
|
1176
|
-
- spec/app/models/exhibition.rb
|
1177
|
-
- spec/app/models/pet_owner.rb
|
1178
|
-
- spec/app/models/employer.rb
|
1179
|
-
- spec/app/models/appointment.rb
|
1180
|
-
- spec/app/models/driver.rb
|
1181
|
-
- spec/app/models/simple.rb
|
1182
|
-
- spec/app/models/ghost.rb
|
1183
|
-
- spec/app/models/page_question.rb
|
1184
|
-
- spec/app/models/bed.rb
|
1185
|
-
- spec/app/models/country_code.rb
|
1186
|
-
- spec/app/models/name.rb
|
1187
|
-
- spec/app/models/dictionary.rb
|
1188
|
-
- spec/app/models/baby.rb
|
1189
|
-
- spec/app/models/label.rb
|
1190
|
-
- spec/app/models/entry.rb
|
1191
|
-
- spec/app/models/language.rb
|
1192
|
-
- spec/app/models/definition.rb
|
1193
|
-
- spec/app/models/store_as_dup_test2.rb
|
1194
|
-
- spec/app/models/agent.rb
|
1195
|
-
- spec/app/models/shipment_address.rb
|
1196
|
-
- spec/app/models/kangaroo.rb
|
1197
|
-
- spec/app/models/my_hash.rb
|
1198
|
-
- spec/app/models/favorite.rb
|
1199
|
-
- spec/app/models/ordered_preference.rb
|
1200
|
-
- spec/app/models/translation.rb
|
1201
|
-
- spec/app/models/breed.rb
|
1202
|
-
- spec/app/models/email.rb
|
1203
|
-
- spec/app/models/slave.rb
|
1204
|
-
- spec/app/models/lat_lng.rb
|
1205
|
-
- spec/app/models/child.rb
|
1206
|
-
- spec/app/models/word_origin.rb
|
1207
|
-
- spec/app/models/shape.rb
|
1208
|
-
- spec/app/models/product.rb
|
1209
|
-
- spec/app/models/writer.rb
|
1210
|
-
- spec/app/models/book.rb
|
1211
|
-
- spec/app/models/target.rb
|
1212
|
-
- spec/app/models/dog.rb
|
1213
|
-
- spec/app/models/record.rb
|
1214
|
-
- spec/app/models/template.rb
|
1215
|
-
- spec/app/models/bar.rb
|
1216
|
-
- spec/app/models/birthday.rb
|
1217
|
-
- spec/app/models/powerup.rb
|
1218
|
-
- spec/app/models/movie.rb
|
1219
|
-
- spec/app/models/dokument.rb
|
1220
|
-
- spec/app/models/fire_hydrant.rb
|
1221
|
-
- spec/app/models/car.rb
|
1222
|
-
- spec/app/models/shipping_pack.rb
|
1223
|
-
- spec/app/models/post_genre.rb
|
1224
|
-
- spec/app/models/location.rb
|
1225
|
-
- spec/app/models/eraser.rb
|
1226
|
-
- spec/app/models/weapon.rb
|
1227
|
-
- spec/app/models/album.rb
|
1228
|
-
- spec/app/models/cookie.rb
|
1229
|
-
- spec/app/models/browser.rb
|
1230
|
-
- spec/app/models/artist.rb
|
1231
|
-
- spec/app/models/business.rb
|
1232
|
-
- spec/app/models/player.rb
|
1233
|
-
- spec/app/models/basic.rb
|
1234
|
-
- spec/app/models/sub_item.rb
|
1235
|
-
- spec/app/models/wiki_page.rb
|
1236
|
-
- spec/app/models/fruits.rb
|
1237
|
-
- spec/app/models/validation_callback.rb
|
1238
|
-
- spec/app/models/bus.rb
|
1239
|
-
- spec/app/models/strategy.rb
|
1240
|
-
- spec/app/models/page.rb
|
1241
|
-
- spec/app/models/church.rb
|
1242
|
-
- spec/app/models/message.rb
|
1243
|
-
- spec/app/models/sandwich.rb
|
1244
|
-
- spec/app/models/edit.rb
|
1245
|
-
- spec/app/models/animal.rb
|
1246
|
-
- spec/app/models/vehicle.rb
|
1247
|
-
- spec/app/models/code.rb
|
1248
|
-
- spec/app/models/drug.rb
|
1249
|
-
- spec/app/models/series.rb
|
1250
|
-
- spec/app/models/mixed_drink.rb
|
1251
|
-
- spec/app/models/parent.rb
|
1252
|
-
- spec/app/models/author.rb
|
1253
|
-
- spec/app/models/question.rb
|
1254
|
-
- spec/app/models/implant.rb
|
1255
|
-
- spec/app/models/id_key.rb
|
1256
|
-
- spec/app/models/palette.rb
|
1257
|
-
- spec/app/models/owner.rb
|
1258
|
-
- spec/app/models/address_component.rb
|
1259
|
-
- spec/app/models/purchase.rb
|
1260
|
-
- spec/app/models/truck.rb
|
1261
|
-
- spec/app/models/role.rb
|
1262
|
-
- spec/app/models/princess.rb
|
1263
|
-
- spec/app/models/vet_visit.rb
|
1264
|
-
- spec/app/models/cat.rb
|
1265
|
-
- spec/app/models/folder.rb
|
1266
|
-
- spec/app/models/league.rb
|
1267
|
-
- spec/app/models/store_as_dup_test1.rb
|
1268
|
-
- spec/app/models/house.rb
|
1269
|
-
- spec/app/models/patient.rb
|
1270
|
-
- spec/app/models/rating.rb
|
1271
|
-
- spec/app/models/track.rb
|
1272
|
-
- spec/app/models/registry.rb
|
1273
|
-
- spec/app/models/dragon.rb
|
1274
|
-
- spec/app/models/building.rb
|
1275
|
-
- spec/app/models/circle.rb
|
1276
|
-
- spec/app/models/game.rb
|
1277
|
-
- spec/app/models/meat.rb
|
1278
|
-
- spec/app/models/oscar.rb
|
1279
|
-
- spec/app/models/pub.rb
|
1280
|
-
- spec/app/models/dungeon.rb
|
1281
|
-
- spec/app/models/callback_test.rb
|
1282
|
-
- spec/app/models/user_account.rb
|
1283
|
-
- spec/app/models/ordered_post.rb
|
1284
|
-
- spec/app/models/contractor.rb
|
1285
|
-
- spec/app/models/eye.rb
|
1286
|
-
- spec/app/models/filesystem.rb
|
1287
|
-
- spec/app/models/profile.rb
|
1288
|
-
- spec/app/models/pizza.rb
|
1289
|
-
- spec/app/models/building_address.rb
|
1290
|
-
- spec/app/models/augmentation.rb
|
1291
|
-
- spec/app/models/answer.rb
|
1292
|
-
- spec/app/models/firefox.rb
|
1293
|
-
- spec/app/models/pet.rb
|
1294
|
-
- spec/app/models/parent_doc.rb
|
1295
|
-
- spec/app/models/company.rb
|
1296
|
-
- spec/app/models/version.rb
|
1297
|
-
- spec/app/models/child_doc.rb
|
1298
|
-
- spec/app/models/home.rb
|
1299
|
-
- spec/app/models/staff.rb
|
1300
|
-
- spec/app/models/even.rb
|
1301
|
-
- spec/app/models/pdf_writer.rb
|
1302
|
-
- spec/app/models/description.rb
|
1303
|
-
- spec/app/models/comment.rb
|
1304
|
-
- spec/app/models/video_game.rb
|
1305
|
-
- spec/app/models/circuit.rb
|
1306
|
-
- spec/app/models/person.rb
|
1307
|
-
- spec/app/models/passport.rb
|
1308
|
-
- spec/app/models/jar.rb
|
1309
|
-
- spec/app/models/agency.rb
|
1310
|
-
- spec/app/models/folder_item.rb
|
1311
|
-
- spec/app/models/subscription.rb
|
1312
|
-
- spec/app/models/seo.rb
|
1313
|
-
- spec/app/models/pronunciation.rb
|
1314
|
-
- spec/app/models/root_category.rb
|
1315
|
-
- spec/app/models/exhibitor.rb
|
1316
|
-
- spec/app/models/band.rb
|
1317
|
-
- spec/app/models/pencil.rb
|
1318
|
-
- spec/app/models/symptom.rb
|
1319
|
-
- spec/app/models/survey.rb
|
1320
|
-
- spec/app/models/consumption_period.rb
|
1321
|
-
- spec/app/models/post.rb
|
1322
|
-
- spec/app/models/address.rb
|
1323
|
-
- spec/app/models/sound.rb
|
1324
|
-
- spec/app/models/phone.rb
|
1325
|
-
- spec/app/models/topping.rb
|
1326
|
-
- spec/app/models/ownable.rb
|
1327
|
-
- spec/app/models/line_item.rb
|
1328
|
-
- spec/app/models/pack.rb
|
1329
|
-
- spec/app/models/division.rb
|
1330
|
-
- spec/app/models/bomb.rb
|
1331
|
-
- spec/app/models/big_palette.rb
|
1332
|
-
- spec/app/models/event.rb
|
1333
|
-
- spec/app/models/shelf.rb
|
1334
|
-
- spec/app/models/server.rb
|
1335
|
-
- spec/app/models/html_writer.rb
|
1336
|
-
- spec/app/models/quiz.rb
|
1337
|
-
- spec/app/models/preference.rb
|
1338
|
-
- spec/app/models/service.rb
|
1339
|
-
- spec/app/models/user.rb
|
1340
|
-
- spec/app/models/tree.rb
|
1341
|
-
- spec/app/models/address_number.rb
|
1342
|
-
- spec/app/models/kaleidoscope.rb
|
1343
|
-
- spec/app/models/artwork.rb
|
1344
|
-
- spec/config/mongoid.yml
|
1345
|
-
- spec/mongoid_spec.rb
|
1346
|
-
- spec/support/expectations.rb
|
1347
|
-
- spec/support/authorization.rb
|
1319
|
+
- spec/mongoid/composable_spec.rb
|
1320
|
+
- spec/mongoid/config_spec.rb
|
1321
|
+
- spec/mongoid/copyable_spec.rb
|
1322
|
+
- spec/mongoid/criteria_spec.rb
|
1323
|
+
- spec/mongoid/document_spec.rb
|
1324
|
+
- spec/mongoid/equality_spec.rb
|
1325
|
+
- spec/mongoid/extensions_spec.rb
|
1326
|
+
- spec/mongoid/factory_spec.rb
|
1327
|
+
- spec/mongoid/fields_spec.rb
|
1328
|
+
- spec/mongoid/findable_spec.rb
|
1329
|
+
- spec/mongoid/indexable_spec.rb
|
1330
|
+
- spec/mongoid/inspectable_spec.rb
|
1331
|
+
- spec/mongoid/interceptable_spec.rb
|
1332
|
+
- spec/mongoid/loggable_spec.rb
|
1333
|
+
- spec/mongoid/matchable_spec.rb
|
1334
|
+
- spec/mongoid/persistable_spec.rb
|
1335
|
+
- spec/mongoid/persistence_context_spec.rb
|
1336
|
+
- spec/mongoid/positional_spec.rb
|
1337
|
+
- spec/mongoid/query_cache_spec.rb
|
1338
|
+
- spec/mongoid/relations_spec.rb
|
1339
|
+
- spec/mongoid/reloadable_spec.rb
|
1340
|
+
- spec/mongoid/scopable_spec.rb
|
1341
|
+
- spec/mongoid/selectable_spec.rb
|
1342
|
+
- spec/mongoid/serializable_spec.rb
|
1343
|
+
- spec/mongoid/shardable_spec.rb
|
1344
|
+
- spec/mongoid/stateful_spec.rb
|
1345
|
+
- spec/mongoid/threaded_spec.rb
|
1346
|
+
- spec/mongoid/timestamps_spec.rb
|
1347
|
+
- spec/mongoid/traversable_spec.rb
|
1348
|
+
- spec/mongoid/validatable_spec.rb
|
1348
1349
|
- spec/rails/mongoid_spec.rb
|
1350
|
+
- spec/support/authorization.rb
|
1351
|
+
- spec/support/expectations.rb
|
1352
|
+
- spec/mongoid_spec.rb
|
1353
|
+
- spec/spec_helper.rb
|