mongoid 7.1.11 → 7.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (485) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.md +10 -3
  4. data/Rakefile +11 -30
  5. data/lib/config/locales/en.yml +37 -14
  6. data/lib/mongoid/association/depending.rb +1 -6
  7. data/lib/mongoid/association/embedded/embeds_many/proxy.rb +1 -1
  8. data/lib/mongoid/association/many.rb +3 -3
  9. data/lib/mongoid/association/proxy.rb +1 -1
  10. data/lib/mongoid/association/referenced/belongs_to/buildable.rb +1 -1
  11. data/lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb +1 -1
  12. data/lib/mongoid/association/referenced/has_many/enumerable.rb +37 -2
  13. data/lib/mongoid/association/referenced/has_many/proxy.rb +9 -2
  14. data/lib/mongoid/association/referenced/has_one/buildable.rb +1 -1
  15. data/lib/mongoid/association/referenced/has_one/proxy.rb +1 -6
  16. data/lib/mongoid/atomic/modifiers.rb +1 -1
  17. data/lib/mongoid/attributes/dynamic.rb +1 -1
  18. data/lib/mongoid/attributes.rb +1 -8
  19. data/lib/mongoid/clients/factory.rb +17 -0
  20. data/lib/mongoid/composable.rb +1 -0
  21. data/lib/mongoid/config/environment.rb +1 -9
  22. data/lib/mongoid/config.rb +3 -0
  23. data/lib/mongoid/contextual/atomic.rb +2 -7
  24. data/lib/mongoid/contextual/mongo.rb +23 -4
  25. data/lib/mongoid/contextual/none.rb +0 -3
  26. data/lib/mongoid/copyable.rb +2 -2
  27. data/lib/mongoid/criteria/queryable/key.rb +1 -1
  28. data/lib/mongoid/criteria/queryable/mergeable.rb +2 -2
  29. data/lib/mongoid/criteria/queryable/selectable.rb +23 -8
  30. data/lib/mongoid/criteria/queryable/selector.rb +7 -3
  31. data/lib/mongoid/criteria/queryable/storable.rb +7 -7
  32. data/lib/mongoid/criteria.rb +58 -8
  33. data/lib/mongoid/document.rb +19 -9
  34. data/lib/mongoid/errors/invalid_discriminator_key_target.rb +25 -0
  35. data/lib/mongoid/errors/invalid_elem_match_operator.rb +33 -0
  36. data/lib/mongoid/errors/invalid_estimated_count_criteria.rb +26 -0
  37. data/lib/mongoid/errors/invalid_expression_operator.rb +28 -0
  38. data/lib/mongoid/errors/invalid_field_operator.rb +33 -0
  39. data/lib/mongoid/errors/invalid_query.rb +41 -0
  40. data/lib/mongoid/errors/mongoid_error.rb +1 -1
  41. data/lib/mongoid/errors.rb +7 -2
  42. data/lib/mongoid/factory.rb +27 -10
  43. data/lib/mongoid/fields/validators/macro.rb +22 -9
  44. data/lib/mongoid/findable.rb +50 -14
  45. data/lib/mongoid/indexable.rb +2 -2
  46. data/lib/mongoid/interceptable.rb +2 -4
  47. data/lib/mongoid/matchable.rb +1 -149
  48. data/lib/mongoid/matcher/all.rb +22 -0
  49. data/lib/mongoid/matcher/and.rb +21 -0
  50. data/lib/mongoid/matcher/elem_match.rb +35 -0
  51. data/lib/mongoid/matcher/elem_match_expression.rb +20 -0
  52. data/lib/mongoid/matcher/eq.rb +11 -0
  53. data/lib/mongoid/matcher/eq_impl.rb +32 -0
  54. data/lib/mongoid/matcher/eq_impl_with_regexp.rb +21 -0
  55. data/lib/mongoid/matcher/exists.rb +15 -0
  56. data/lib/mongoid/matcher/expression.rb +40 -0
  57. data/lib/mongoid/matcher/expression_operator.rb +19 -0
  58. data/lib/mongoid/matcher/field_expression.rb +63 -0
  59. data/lib/mongoid/matcher/field_operator.rb +52 -0
  60. data/lib/mongoid/matcher/gt.rb +17 -0
  61. data/lib/mongoid/matcher/gte.rb +17 -0
  62. data/lib/mongoid/matcher/in.rb +25 -0
  63. data/lib/mongoid/matcher/lt.rb +17 -0
  64. data/lib/mongoid/matcher/lte.rb +17 -0
  65. data/lib/mongoid/matcher/ne.rb +16 -0
  66. data/lib/mongoid/matcher/nin.rb +11 -0
  67. data/lib/mongoid/matcher/nor.rb +25 -0
  68. data/lib/mongoid/matcher/not.rb +29 -0
  69. data/lib/mongoid/matcher/or.rb +21 -0
  70. data/lib/mongoid/matcher/regex.rb +41 -0
  71. data/lib/mongoid/matcher/size.rb +26 -0
  72. data/lib/mongoid/matcher.rb +127 -0
  73. data/lib/mongoid/persistable/deletable.rb +1 -1
  74. data/lib/mongoid/persistence_context.rb +1 -3
  75. data/lib/mongoid/query_cache.rb +64 -62
  76. data/lib/mongoid/reloadable.rb +2 -7
  77. data/lib/mongoid/serializable.rb +1 -1
  78. data/lib/mongoid/tasks/database.rb +1 -1
  79. data/lib/mongoid/traversable.rb +111 -4
  80. data/lib/mongoid/validatable/associated.rb +1 -1
  81. data/lib/mongoid/validatable/presence.rb +3 -3
  82. data/lib/mongoid/validatable/uniqueness.rb +1 -1
  83. data/lib/mongoid/version.rb +1 -1
  84. data/lib/mongoid.rb +23 -1
  85. data/lib/rails/generators/mongoid/config/config_generator.rb +1 -8
  86. data/lib/rails/generators/mongoid/config/templates/mongoid.yml +1 -1
  87. data/spec/integration/app_spec.rb +88 -178
  88. data/spec/integration/associations/embedded_spec.rb +94 -0
  89. data/spec/integration/associations/has_many_spec.rb +39 -46
  90. data/spec/integration/associations/has_one_spec.rb +39 -46
  91. data/spec/integration/associations/nested_attributes_assignment_spec.rb +116 -0
  92. data/spec/integration/atomic/modifiers_spec.rb +117 -0
  93. data/spec/integration/discriminator_key_spec.rb +354 -0
  94. data/spec/integration/discriminator_value_spec.rb +207 -0
  95. data/spec/integration/document_spec.rb +0 -21
  96. data/spec/integration/{matchable_spec.rb → matcher_examples_spec.rb} +120 -41
  97. data/spec/integration/matcher_operator_data/all.yml +140 -0
  98. data/spec/integration/matcher_operator_data/and.yml +93 -0
  99. data/spec/integration/matcher_operator_data/elem_match.yml +363 -0
  100. data/spec/integration/matcher_operator_data/elem_match_expr.yml +213 -0
  101. data/spec/integration/matcher_operator_data/eq.yml +191 -0
  102. data/spec/integration/matcher_operator_data/exists.yml +213 -0
  103. data/spec/integration/matcher_operator_data/generic_op.yml +17 -0
  104. data/spec/integration/matcher_operator_data/gt.yml +132 -0
  105. data/spec/integration/matcher_operator_data/gte.yml +132 -0
  106. data/spec/integration/matcher_operator_data/implicit.yml +331 -0
  107. data/spec/integration/matcher_operator_data/implicit_traversal.yml +16 -0
  108. data/spec/integration/matcher_operator_data/in.yml +194 -0
  109. data/spec/integration/matcher_operator_data/invalid_op.yml +59 -0
  110. data/spec/integration/matcher_operator_data/invalid_syntax.yml +39 -0
  111. data/spec/integration/matcher_operator_data/lt.yml +132 -0
  112. data/spec/integration/matcher_operator_data/lte.yml +132 -0
  113. data/spec/integration/matcher_operator_data/multiple.yml +29 -0
  114. data/spec/integration/matcher_operator_data/ne.yml +150 -0
  115. data/spec/integration/matcher_operator_data/nin.yml +114 -0
  116. data/spec/integration/matcher_operator_data/nor.yml +126 -0
  117. data/spec/integration/matcher_operator_data/not.yml +196 -0
  118. data/spec/integration/matcher_operator_data/or.yml +137 -0
  119. data/spec/integration/matcher_operator_data/regex.yml +174 -0
  120. data/spec/integration/matcher_operator_data/regex_options.yml +72 -0
  121. data/spec/integration/matcher_operator_data/size.yml +174 -0
  122. data/spec/integration/matcher_operator_spec.rb +100 -0
  123. data/spec/integration/matcher_spec.rb +189 -0
  124. data/spec/integration/server_query_spec.rb +142 -0
  125. data/spec/lite_spec_helper.rb +7 -7
  126. data/spec/mongoid/association/depending_spec.rb +78 -26
  127. data/spec/mongoid/association/embedded/embedded_in/proxy_spec.rb +0 -50
  128. data/spec/mongoid/association/embedded/embeds_many/proxy_spec.rb +37 -17
  129. data/spec/mongoid/association/embedded/embeds_many_models.rb +1 -0
  130. data/spec/mongoid/association/embedded/embeds_one_models.rb +1 -0
  131. data/spec/mongoid/association/referenced/belongs_to/proxy_spec.rb +0 -17
  132. data/spec/mongoid/association/referenced/has_many/proxy_spec.rb +460 -186
  133. data/spec/mongoid/association/referenced/has_many_models.rb +9 -0
  134. data/spec/mongoid/association/referenced/has_one_models.rb +9 -0
  135. data/spec/mongoid/atomic/modifiers_spec.rb +47 -0
  136. data/spec/mongoid/atomic/paths_spec.rb +0 -41
  137. data/spec/mongoid/atomic_spec.rb +23 -0
  138. data/spec/mongoid/attributes/nested_spec.rb +1 -1
  139. data/spec/mongoid/attributes_spec.rb +0 -241
  140. data/spec/mongoid/clients/factory_spec.rb +35 -9
  141. data/spec/mongoid/clients/options_spec.rb +3 -11
  142. data/spec/mongoid/clients/sessions_spec.rb +1 -6
  143. data/spec/mongoid/config/environment_spec.rb +8 -86
  144. data/spec/mongoid/config_spec.rb +28 -0
  145. data/spec/mongoid/contextual/atomic_spec.rb +29 -81
  146. data/spec/mongoid/contextual/geo_near_spec.rb +1 -1
  147. data/spec/mongoid/contextual/mongo_spec.rb +70 -16
  148. data/spec/mongoid/copyable_spec.rb +153 -1
  149. data/spec/mongoid/copyable_spec_models.rb +14 -0
  150. data/spec/mongoid/criteria/queryable/selectable_logical_spec.rb +0 -36
  151. data/spec/mongoid/criteria/queryable/selectable_spec.rb +84 -82
  152. data/spec/mongoid/criteria_spec.rb +204 -43
  153. data/spec/mongoid/document_query_spec.rb +0 -51
  154. data/spec/mongoid/document_spec.rb +90 -36
  155. data/spec/mongoid/errors/delete_restriction_spec.rb +1 -1
  156. data/spec/mongoid/errors/mongoid_error_spec.rb +8 -20
  157. data/spec/mongoid/factory_spec.rb +261 -28
  158. data/spec/mongoid/fields_spec.rb +48 -2
  159. data/spec/mongoid/findable_spec.rb +32 -0
  160. data/spec/mongoid/indexable_spec.rb +28 -2
  161. data/spec/mongoid/inspectable_spec.rb +29 -2
  162. data/spec/mongoid/interceptable_spec.rb +2 -2
  163. data/spec/mongoid/matcher/extract_attribute_data/traversal.yml +259 -0
  164. data/spec/mongoid/matcher/extract_attribute_spec.rb +47 -0
  165. data/spec/mongoid/persistable/creatable_spec.rb +108 -25
  166. data/spec/mongoid/persistable/deletable_spec.rb +86 -0
  167. data/spec/mongoid/persistable/savable_spec.rb +174 -16
  168. data/spec/mongoid/persistable/settable_spec.rb +0 -30
  169. data/spec/mongoid/persistable/updatable_spec.rb +0 -2
  170. data/spec/mongoid/persistable_spec.rb +2 -2
  171. data/spec/mongoid/query_cache_middleware_spec.rb +16 -3
  172. data/spec/mongoid/query_cache_spec.rb +442 -41
  173. data/spec/mongoid/reloadable_spec.rb +72 -0
  174. data/spec/mongoid/serializable_spec.rb +21 -3
  175. data/spec/mongoid/traversable_spec.rb +1100 -0
  176. data/spec/spec_helper.rb +3 -5
  177. data/spec/support/child_process_helper.rb +79 -0
  178. data/spec/support/constraints.rb +250 -0
  179. data/spec/support/helpers.rb +1 -1
  180. data/spec/support/lite_constraints.rb +22 -0
  181. data/spec/{app → support}/models/account.rb +0 -0
  182. data/spec/{app → support}/models/acolyte.rb +0 -0
  183. data/spec/{app → support}/models/actor.rb +1 -1
  184. data/spec/{app → support}/models/actress.rb +0 -0
  185. data/spec/{app → support}/models/address.rb +0 -4
  186. data/spec/{app → support}/models/address_component.rb +0 -0
  187. data/spec/{app → support}/models/address_number.rb +0 -0
  188. data/spec/{app → support}/models/agency.rb +0 -0
  189. data/spec/{app → support}/models/agent.rb +0 -0
  190. data/spec/{app → support}/models/album.rb +0 -0
  191. data/spec/{app → support}/models/alert.rb +0 -0
  192. data/spec/{app → support}/models/animal.rb +0 -0
  193. data/spec/{app → support}/models/answer.rb +0 -0
  194. data/spec/{app → support}/models/appointment.rb +0 -0
  195. data/spec/support/models/armrest.rb +10 -0
  196. data/spec/{app → support}/models/array_field.rb +0 -0
  197. data/spec/{app → support}/models/article.rb +0 -0
  198. data/spec/{app → support}/models/artist.rb +0 -0
  199. data/spec/{app → support}/models/artwork.rb +0 -0
  200. data/spec/{app → support}/models/audio.rb +0 -0
  201. data/spec/{app → support}/models/augmentation.rb +0 -0
  202. data/spec/{app → support}/models/author.rb +0 -0
  203. data/spec/{app → support}/models/baby.rb +0 -0
  204. data/spec/{app → support}/models/band.rb +0 -0
  205. data/spec/{app → support}/models/bar.rb +0 -0
  206. data/spec/{app → support}/models/basic.rb +0 -0
  207. data/spec/{app → support}/models/bed.rb +0 -0
  208. data/spec/{app → support}/models/big_palette.rb +0 -0
  209. data/spec/{app → support}/models/birthday.rb +0 -0
  210. data/spec/{app → support}/models/bomb.rb +0 -0
  211. data/spec/{app → support}/models/book.rb +0 -0
  212. data/spec/{app → support}/models/breed.rb +0 -0
  213. data/spec/{app → support}/models/browser.rb +1 -1
  214. data/spec/{app → support}/models/building.rb +0 -0
  215. data/spec/{app → support}/models/building_address.rb +0 -0
  216. data/spec/{app → support}/models/bus.rb +0 -0
  217. data/spec/{app → support}/models/business.rb +0 -0
  218. data/spec/{app → support}/models/callback_test.rb +0 -0
  219. data/spec/{app → support}/models/canvas.rb +1 -1
  220. data/spec/{app → support}/models/car.rb +0 -0
  221. data/spec/{app → support}/models/cat.rb +0 -0
  222. data/spec/{app → support}/models/category.rb +0 -0
  223. data/spec/{app → support}/models/child.rb +0 -0
  224. data/spec/{app → support}/models/child_doc.rb +0 -0
  225. data/spec/{app → support}/models/church.rb +0 -0
  226. data/spec/{app → support}/models/circle.rb +0 -0
  227. data/spec/{app → support}/models/circuit.rb +0 -0
  228. data/spec/{app → support}/models/circus.rb +0 -0
  229. data/spec/{app → support}/models/code.rb +0 -0
  230. data/spec/{app → support}/models/coding/pull_request.rb +0 -0
  231. data/spec/{app → support}/models/coding.rb +1 -1
  232. data/spec/{app → support}/models/comment.rb +0 -0
  233. data/spec/{app → support}/models/company.rb +0 -0
  234. data/spec/{app → support}/models/consumption_period.rb +0 -0
  235. data/spec/{app → support}/models/contextable_item.rb +0 -0
  236. data/spec/{app → support}/models/contractor.rb +0 -0
  237. data/spec/{app → support}/models/cookie.rb +0 -0
  238. data/spec/{app → support}/models/country_code.rb +0 -0
  239. data/spec/{app → support}/models/courier_job.rb +0 -0
  240. data/spec/support/models/crate.rb +13 -0
  241. data/spec/support/models/deed.rb +8 -0
  242. data/spec/{app → support}/models/definition.rb +0 -0
  243. data/spec/{app → support}/models/delegating_patient.rb +0 -0
  244. data/spec/{app → support}/models/description.rb +0 -0
  245. data/spec/{app → support}/models/dictionary.rb +0 -6
  246. data/spec/{app → support}/models/division.rb +0 -0
  247. data/spec/{app → support}/models/doctor.rb +0 -0
  248. data/spec/{app → support}/models/dog.rb +0 -0
  249. data/spec/{app → support}/models/dokument.rb +0 -0
  250. data/spec/{app → support}/models/draft.rb +0 -0
  251. data/spec/{app → support}/models/dragon.rb +0 -0
  252. data/spec/{app → support}/models/driver.rb +1 -1
  253. data/spec/{app → support}/models/drug.rb +0 -0
  254. data/spec/{app → support}/models/dungeon.rb +0 -0
  255. data/spec/{app → support}/models/edit.rb +0 -0
  256. data/spec/{app → support}/models/email.rb +0 -0
  257. data/spec/{app → support}/models/employer.rb +0 -0
  258. data/spec/{app → support}/models/entry.rb +0 -0
  259. data/spec/{app → support}/models/eraser.rb +0 -0
  260. data/spec/{app → support}/models/even.rb +0 -0
  261. data/spec/{app → support}/models/event.rb +0 -0
  262. data/spec/{app → support}/models/exhibition.rb +0 -0
  263. data/spec/{app → support}/models/exhibitor.rb +0 -0
  264. data/spec/{app → support}/models/explosion.rb +0 -0
  265. data/spec/{app → support}/models/eye.rb +0 -0
  266. data/spec/{app → support}/models/eye_bowl.rb +0 -0
  267. data/spec/{app → support}/models/face.rb +0 -0
  268. data/spec/{app → support}/models/favorite.rb +0 -0
  269. data/spec/{app → support}/models/filesystem.rb +0 -0
  270. data/spec/{app → support}/models/fire_hydrant.rb +0 -0
  271. data/spec/{app → support}/models/firefox.rb +0 -0
  272. data/spec/{app → support}/models/fish.rb +0 -0
  273. data/spec/{app → support}/models/folder.rb +0 -0
  274. data/spec/{app → support}/models/folder_item.rb +0 -0
  275. data/spec/{app → support}/models/fruits.rb +0 -0
  276. data/spec/{app → support}/models/game.rb +0 -0
  277. data/spec/{app → support}/models/ghost.rb +0 -0
  278. data/spec/support/models/guitar.rb +5 -0
  279. data/spec/{app → support}/models/home.rb +0 -0
  280. data/spec/{app → support}/models/house.rb +0 -0
  281. data/spec/{app → support}/models/html_writer.rb +0 -0
  282. data/spec/{app → support}/models/id_key.rb +0 -0
  283. data/spec/support/models/idnodef.rb +8 -0
  284. data/spec/{app → support}/models/image.rb +0 -0
  285. data/spec/{app → support}/models/implant.rb +0 -0
  286. data/spec/support/models/instrument.rb +9 -0
  287. data/spec/{app → support}/models/item.rb +1 -1
  288. data/spec/{app → support}/models/jar.rb +0 -0
  289. data/spec/{app → support}/models/kaleidoscope.rb +0 -0
  290. data/spec/{app → support}/models/kangaroo.rb +0 -0
  291. data/spec/{app → support}/models/label.rb +0 -0
  292. data/spec/{app → support}/models/language.rb +0 -0
  293. data/spec/{app → support}/models/lat_lng.rb +0 -0
  294. data/spec/{app → support}/models/league.rb +0 -0
  295. data/spec/{app → support}/models/learner.rb +0 -0
  296. data/spec/{app → support}/models/line_item.rb +0 -0
  297. data/spec/{app → support}/models/location.rb +0 -0
  298. data/spec/{app → support}/models/login.rb +0 -0
  299. data/spec/{app → support}/models/manufacturer.rb +0 -0
  300. data/spec/{app → support}/models/meat.rb +0 -0
  301. data/spec/{app → support}/models/membership.rb +0 -0
  302. data/spec/{app → support}/models/message.rb +0 -0
  303. data/spec/{app → support}/models/minim.rb +0 -0
  304. data/spec/{app → support}/models/mixed_drink.rb +0 -0
  305. data/spec/{app → support}/models/mop.rb +0 -10
  306. data/spec/{app → support}/models/movie.rb +0 -0
  307. data/spec/{app → support}/models/my_hash.rb +0 -0
  308. data/spec/{app → support}/models/name.rb +0 -0
  309. data/spec/{app → support}/models/name_only.rb +0 -0
  310. data/spec/{app → support}/models/node.rb +0 -0
  311. data/spec/{app → support}/models/note.rb +0 -0
  312. data/spec/{app → support}/models/odd.rb +0 -0
  313. data/spec/{app → support}/models/ordered_post.rb +0 -0
  314. data/spec/{app → support}/models/ordered_preference.rb +0 -0
  315. data/spec/{app → support}/models/oscar.rb +0 -0
  316. data/spec/{app → support}/models/other_owner_object.rb +0 -0
  317. data/spec/{app → support}/models/override.rb +0 -0
  318. data/spec/{app → support}/models/ownable.rb +0 -0
  319. data/spec/{app → support}/models/owner.rb +2 -0
  320. data/spec/{app → support}/models/pack.rb +0 -0
  321. data/spec/{app → support}/models/page.rb +0 -0
  322. data/spec/{app → support}/models/page_question.rb +0 -0
  323. data/spec/{app → support}/models/palette.rb +1 -1
  324. data/spec/{app → support}/models/parent.rb +0 -0
  325. data/spec/{app → support}/models/parent_doc.rb +0 -0
  326. data/spec/{app → support}/models/passport.rb +0 -0
  327. data/spec/{app → support}/models/patient.rb +0 -0
  328. data/spec/{app → support}/models/pdf_writer.rb +0 -0
  329. data/spec/{app → support}/models/pencil.rb +0 -0
  330. data/spec/{app → support}/models/person.rb +1 -12
  331. data/spec/{app → support}/models/pet.rb +0 -0
  332. data/spec/{app → support}/models/pet_owner.rb +0 -0
  333. data/spec/{app → support}/models/phone.rb +0 -0
  334. data/spec/support/models/piano.rb +5 -0
  335. data/spec/{app → support}/models/pizza.rb +0 -0
  336. data/spec/{app → support}/models/player.rb +0 -0
  337. data/spec/{app → support}/models/post.rb +0 -0
  338. data/spec/{app → support}/models/post_genre.rb +0 -0
  339. data/spec/{app → support}/models/powerup.rb +0 -0
  340. data/spec/{app → support}/models/preference.rb +0 -0
  341. data/spec/{app → support}/models/princess.rb +0 -0
  342. data/spec/{app → support}/models/product.rb +0 -0
  343. data/spec/support/models/profile.rb +18 -0
  344. data/spec/{app → support}/models/pronunciation.rb +0 -0
  345. data/spec/{app → support}/models/pub.rb +0 -0
  346. data/spec/{app → support}/models/publication/encyclopedia.rb +0 -0
  347. data/spec/{app → support}/models/publication/review.rb +0 -0
  348. data/spec/support/models/publication.rb +5 -0
  349. data/spec/{app → support}/models/purchase.rb +0 -0
  350. data/spec/{app → support}/models/question.rb +0 -0
  351. data/spec/{app → support}/models/quiz.rb +0 -0
  352. data/spec/{app → support}/models/rating.rb +0 -0
  353. data/spec/{app → support}/models/record.rb +0 -0
  354. data/spec/{app → support}/models/registry.rb +0 -0
  355. data/spec/{app → support}/models/role.rb +0 -0
  356. data/spec/{app → support}/models/root_category.rb +0 -0
  357. data/spec/{app → support}/models/sandwich.rb +0 -0
  358. data/spec/{app → support}/models/scheduler.rb +0 -0
  359. data/spec/{app/models/profile.rb → support/models/scribe.rb} +2 -2
  360. data/spec/support/models/seat.rb +25 -0
  361. data/spec/{app → support}/models/seo.rb +0 -0
  362. data/spec/{app → support}/models/series.rb +0 -1
  363. data/spec/{app → support}/models/server.rb +0 -0
  364. data/spec/{app → support}/models/service.rb +0 -0
  365. data/spec/{app → support}/models/shape.rb +2 -2
  366. data/spec/{app → support}/models/shelf.rb +0 -0
  367. data/spec/{app → support}/models/shipment_address.rb +0 -0
  368. data/spec/{app → support}/models/shipping_container.rb +0 -0
  369. data/spec/{app → support}/models/shipping_pack.rb +0 -0
  370. data/spec/{app → support}/models/shop.rb +0 -0
  371. data/spec/{app → support}/models/short_agent.rb +0 -0
  372. data/spec/{app → support}/models/short_quiz.rb +0 -0
  373. data/spec/{app → support}/models/simple.rb +0 -0
  374. data/spec/{app → support}/models/slave.rb +0 -0
  375. data/spec/{app → support}/models/song.rb +0 -0
  376. data/spec/{app → support}/models/sound.rb +0 -0
  377. data/spec/{app → support}/models/square.rb +0 -0
  378. data/spec/{app → support}/models/staff.rb +0 -0
  379. data/spec/{app → support}/models/store_as_dup_test1.rb +0 -0
  380. data/spec/{app → support}/models/store_as_dup_test2.rb +0 -0
  381. data/spec/{app → support}/models/store_as_dup_test3.rb +0 -0
  382. data/spec/{app → support}/models/store_as_dup_test4.rb +0 -0
  383. data/spec/{app → support}/models/strategy.rb +0 -0
  384. data/spec/{app → support}/models/sub_item.rb +0 -0
  385. data/spec/{app → support}/models/subscription.rb +0 -0
  386. data/spec/{app → support}/models/survey.rb +0 -0
  387. data/spec/{app → support}/models/symptom.rb +0 -0
  388. data/spec/support/models/system_role.rb +7 -0
  389. data/spec/{app → support}/models/tag.rb +0 -0
  390. data/spec/{app → support}/models/target.rb +0 -0
  391. data/spec/{app → support}/models/template.rb +0 -0
  392. data/spec/{app → support}/models/thing.rb +0 -0
  393. data/spec/{app → support}/models/title.rb +0 -0
  394. data/spec/{app → support}/models/tool.rb +2 -2
  395. data/spec/{app → support}/models/topping.rb +0 -0
  396. data/spec/support/models/toy.rb +10 -0
  397. data/spec/{app → support}/models/track.rb +0 -0
  398. data/spec/{app → support}/models/translation.rb +0 -0
  399. data/spec/{app → support}/models/tree.rb +0 -0
  400. data/spec/{app → support}/models/truck.rb +2 -0
  401. data/spec/{app → support}/models/updatable.rb +0 -0
  402. data/spec/{app → support}/models/user.rb +0 -0
  403. data/spec/{app → support}/models/user_account.rb +0 -0
  404. data/spec/{app → support}/models/validation_callback.rb +0 -0
  405. data/spec/{app → support}/models/vehicle.rb +7 -2
  406. data/spec/{app → support}/models/version.rb +0 -0
  407. data/spec/{app → support}/models/vertex.rb +0 -0
  408. data/spec/{app → support}/models/vet_visit.rb +0 -0
  409. data/spec/{app → support}/models/video.rb +0 -0
  410. data/spec/{app → support}/models/video_game.rb +0 -0
  411. data/spec/{app → support}/models/weapon.rb +0 -0
  412. data/spec/{app → support}/models/wiki_page.rb +0 -1
  413. data/spec/{app → support}/models/word.rb +0 -0
  414. data/spec/{app → support}/models/word_origin.rb +0 -0
  415. data/spec/{app → support}/models/writer.rb +2 -2
  416. data/spec/support/spec_config.rb +1 -9
  417. data/spec/support/spec_organizer.rb +130 -0
  418. data.tar.gz.sig +0 -0
  419. metadata +847 -844
  420. metadata.gz.sig +0 -0
  421. data/lib/mongoid/errors/empty_config_file.rb +0 -26
  422. data/lib/mongoid/errors/invalid_config_file.rb +0 -26
  423. data/lib/mongoid/matchable/all.rb +0 -30
  424. data/lib/mongoid/matchable/and.rb +0 -32
  425. data/lib/mongoid/matchable/default.rb +0 -121
  426. data/lib/mongoid/matchable/elem_match.rb +0 -36
  427. data/lib/mongoid/matchable/eq.rb +0 -23
  428. data/lib/mongoid/matchable/exists.rb +0 -25
  429. data/lib/mongoid/matchable/gt.rb +0 -25
  430. data/lib/mongoid/matchable/gte.rb +0 -25
  431. data/lib/mongoid/matchable/in.rb +0 -26
  432. data/lib/mongoid/matchable/lt.rb +0 -25
  433. data/lib/mongoid/matchable/lte.rb +0 -25
  434. data/lib/mongoid/matchable/ne.rb +0 -23
  435. data/lib/mongoid/matchable/nin.rb +0 -24
  436. data/lib/mongoid/matchable/nor.rb +0 -38
  437. data/lib/mongoid/matchable/or.rb +0 -35
  438. data/lib/mongoid/matchable/regexp.rb +0 -30
  439. data/lib/mongoid/matchable/size.rb +0 -23
  440. data/spec/app/models/customer.rb +0 -11
  441. data/spec/app/models/customer_address.rb +0 -12
  442. data/spec/app/models/publication.rb +0 -5
  443. data/spec/integration/associations/embeds_many_spec.rb +0 -24
  444. data/spec/integration/associations/embeds_one_spec.rb +0 -24
  445. data/spec/integration/callbacks_models.rb +0 -49
  446. data/spec/integration/callbacks_spec.rb +0 -216
  447. data/spec/integration/contextual/empty_spec.rb +0 -142
  448. data/spec/mongoid/errors/invalid_config_file_spec.rb +0 -32
  449. data/spec/mongoid/matchable/all_spec.rb +0 -34
  450. data/spec/mongoid/matchable/and_spec.rb +0 -190
  451. data/spec/mongoid/matchable/default_spec.rb +0 -140
  452. data/spec/mongoid/matchable/elem_match_spec.rb +0 -109
  453. data/spec/mongoid/matchable/eq_spec.rb +0 -49
  454. data/spec/mongoid/matchable/exists_spec.rb +0 -60
  455. data/spec/mongoid/matchable/gt_spec.rb +0 -89
  456. data/spec/mongoid/matchable/gte_spec.rb +0 -87
  457. data/spec/mongoid/matchable/in_spec.rb +0 -52
  458. data/spec/mongoid/matchable/lt_spec.rb +0 -88
  459. data/spec/mongoid/matchable/lte_spec.rb +0 -88
  460. data/spec/mongoid/matchable/ne_spec.rb +0 -49
  461. data/spec/mongoid/matchable/nin_spec.rb +0 -51
  462. data/spec/mongoid/matchable/nor_spec.rb +0 -210
  463. data/spec/mongoid/matchable/or_spec.rb +0 -134
  464. data/spec/mongoid/matchable/regexp_spec.rb +0 -62
  465. data/spec/mongoid/matchable/size_spec.rb +0 -28
  466. data/spec/mongoid/matchable_spec.rb +0 -856
  467. data/spec/shared/LICENSE +0 -20
  468. data/spec/shared/bin/get-mongodb-download-url +0 -17
  469. data/spec/shared/bin/s3-copy +0 -45
  470. data/spec/shared/bin/s3-upload +0 -69
  471. data/spec/shared/lib/mrss/child_process_helper.rb +0 -80
  472. data/spec/shared/lib/mrss/cluster_config.rb +0 -226
  473. data/spec/shared/lib/mrss/constraints.rb +0 -385
  474. data/spec/shared/lib/mrss/docker_runner.rb +0 -271
  475. data/spec/shared/lib/mrss/event_subscriber.rb +0 -200
  476. data/spec/shared/lib/mrss/lite_constraints.rb +0 -191
  477. data/spec/shared/lib/mrss/server_version_registry.rb +0 -120
  478. data/spec/shared/lib/mrss/spec_organizer.rb +0 -179
  479. data/spec/shared/lib/mrss/utils.rb +0 -15
  480. data/spec/shared/share/Dockerfile.erb +0 -323
  481. data/spec/shared/share/haproxy-1.conf +0 -16
  482. data/spec/shared/share/haproxy-2.conf +0 -17
  483. data/spec/shared/shlib/distro.sh +0 -73
  484. data/spec/shared/shlib/server.sh +0 -367
  485. data/spec/shared/shlib/set_env.sh +0 -131
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.1.11
4
+ version: 7.2.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durran Jordan
@@ -11,8 +11,8 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDRDCCAiygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtkcml2
14
- ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMjEwMjA5MTQxOTU3WhcNMjIwMjA5
15
- MTQxOTU3WjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
14
+ ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMjAwMTIzMTkzNjAxWhcNMjEwMTIy
15
+ MTkzNjAxWjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
16
16
  ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRXUgGvH0ZtWwDPc2umdHw
17
17
  B+INNm6jNTRp8PMyUKxPzxaxX2OiBQk9gLC3zsK9ZmlZu4lNfpHVSCEPoiP/fhPg
18
18
  Kyfq2xld3Qz0Pki5d5i0/r14343MTKiNiFulLlbbdlN0cXeEFNJHUycZnD2LOXwz
@@ -22,14 +22,14 @@ cert_chain:
22
22
  AgMBAAGjfTB7MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRbd1mx
23
23
  fvSaVIwKI+tnEAYDW/B81zAgBgNVHREEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5j
24
24
  b20wIAYDVR0SBBkwF4EVZHJpdmVyLXJ1YnlAMTBnZW4uY29tMA0GCSqGSIb3DQEB
25
- CwUAA4IBAQCYGRgQbtk+g+Nuwg15p8jb+8bJlwHFHkb8rkLn00OPXLk3uBhImOKZ
26
- mhwwr/8ZBkeE/PBDxkQjeua+NpqSaPr1lvXQaGpHxJzpR/BmSteeoF49jBu0dHaz
27
- MRghinst6ROS1qVRae0z+wkbnufpH/NxdCUufb639nAlZguT2rGqvM6VZCC8eSO9
28
- KfJA7/MEE+qQtiQgJaAUVRaGC8fLtmS555BPjNVITJs+BcGDYWh2clWuqlzjHOp3
29
- YoFhlyUEi7VLlqNH0H/JFttVZK6+qmLelkVNcIYVLeWOB4Lf4VxEiYGEK1ORxsrY
30
- iyYKJJALWY1FAInGRIlvkN+B8o3yIhq1
25
+ CwUAA4IBAQBfX4dwxG5PhtxES/LDEOaZIZXyaX6CKe367zhW+HxWbSOXMQJFkIQj
26
+ m7tzT+sDFJXyiOv5cPtfpUam5pTiryzRw5HD6oxlPIt5vO15EJ69v++3m7shMLbw
27
+ amZOajKXmu2ZGZfhOtj7bOTwmOj1AnWLKeOQIR3STvvfZCD+6dt1XenW7CdjCsxE
28
+ ifervPjLFqFPsMOgaxikhgPK6bRtszrQhJSYlifKKzxbX1hYAsmGL7IxjubFSV5r
29
+ gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
30
+ Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
31
31
  -----END CERTIFICATE-----
32
- date: 2021-09-10 00:00:00.000000000 Z
32
+ date: 2020-10-13 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activemodel
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '5.1'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '6.2'
43
+ version: '6.1'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,14 +50,14 @@ dependencies:
50
50
  version: '5.1'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '6.2'
53
+ version: '6.1'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: mongo
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 2.7.0
60
+ version: 2.10.5
61
61
  - - "<"
62
62
  - !ruby/object:Gem::Version
63
63
  version: 3.0.0
@@ -67,24 +67,10 @@ dependencies:
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 2.7.0
70
+ version: 2.10.5
71
71
  - - "<"
72
72
  - !ruby/object:Gem::Version
73
73
  version: 3.0.0
74
- - !ruby/object:Gem::Dependency
75
- name: ruby2_keywords
76
- requirement: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: 0.0.5
81
- type: :runtime
82
- prerelease: false
83
- version_requirements: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: 0.0.5
88
74
  - !ruby/object:Gem::Dependency
89
75
  name: bson
90
76
  requirement: !ruby/object:Gem::Requirement
@@ -268,13 +254,16 @@ files:
268
254
  - lib/mongoid/errors/document_not_destroyed.rb
269
255
  - lib/mongoid/errors/document_not_found.rb
270
256
  - lib/mongoid/errors/eager_load.rb
271
- - lib/mongoid/errors/empty_config_file.rb
272
257
  - lib/mongoid/errors/in_memory_collation_not_supported.rb
273
258
  - lib/mongoid/errors/invalid_collection.rb
274
- - lib/mongoid/errors/invalid_config_file.rb
275
259
  - lib/mongoid/errors/invalid_config_option.rb
276
260
  - lib/mongoid/errors/invalid_dependent_strategy.rb
261
+ - lib/mongoid/errors/invalid_discriminator_key_target.rb
262
+ - lib/mongoid/errors/invalid_elem_match_operator.rb
263
+ - lib/mongoid/errors/invalid_estimated_count_criteria.rb
264
+ - lib/mongoid/errors/invalid_expression_operator.rb
277
265
  - lib/mongoid/errors/invalid_field.rb
266
+ - lib/mongoid/errors/invalid_field_operator.rb
278
267
  - lib/mongoid/errors/invalid_field_option.rb
279
268
  - lib/mongoid/errors/invalid_find.rb
280
269
  - lib/mongoid/errors/invalid_includes.rb
@@ -282,6 +271,7 @@ files:
282
271
  - lib/mongoid/errors/invalid_options.rb
283
272
  - lib/mongoid/errors/invalid_path.rb
284
273
  - lib/mongoid/errors/invalid_persistence_option.rb
274
+ - lib/mongoid/errors/invalid_query.rb
285
275
  - lib/mongoid/errors/invalid_relation.rb
286
276
  - lib/mongoid/errors/invalid_relation_option.rb
287
277
  - lib/mongoid/errors/invalid_scope.rb
@@ -353,23 +343,31 @@ files:
353
343
  - lib/mongoid/interceptable.rb
354
344
  - lib/mongoid/loggable.rb
355
345
  - lib/mongoid/matchable.rb
356
- - lib/mongoid/matchable/all.rb
357
- - lib/mongoid/matchable/and.rb
358
- - lib/mongoid/matchable/default.rb
359
- - lib/mongoid/matchable/elem_match.rb
360
- - lib/mongoid/matchable/eq.rb
361
- - lib/mongoid/matchable/exists.rb
362
- - lib/mongoid/matchable/gt.rb
363
- - lib/mongoid/matchable/gte.rb
364
- - lib/mongoid/matchable/in.rb
365
- - lib/mongoid/matchable/lt.rb
366
- - lib/mongoid/matchable/lte.rb
367
- - lib/mongoid/matchable/ne.rb
368
- - lib/mongoid/matchable/nin.rb
369
- - lib/mongoid/matchable/nor.rb
370
- - lib/mongoid/matchable/or.rb
371
- - lib/mongoid/matchable/regexp.rb
372
- - lib/mongoid/matchable/size.rb
346
+ - lib/mongoid/matcher.rb
347
+ - lib/mongoid/matcher/all.rb
348
+ - lib/mongoid/matcher/and.rb
349
+ - lib/mongoid/matcher/elem_match.rb
350
+ - lib/mongoid/matcher/elem_match_expression.rb
351
+ - lib/mongoid/matcher/eq.rb
352
+ - lib/mongoid/matcher/eq_impl.rb
353
+ - lib/mongoid/matcher/eq_impl_with_regexp.rb
354
+ - lib/mongoid/matcher/exists.rb
355
+ - lib/mongoid/matcher/expression.rb
356
+ - lib/mongoid/matcher/expression_operator.rb
357
+ - lib/mongoid/matcher/field_expression.rb
358
+ - lib/mongoid/matcher/field_operator.rb
359
+ - lib/mongoid/matcher/gt.rb
360
+ - lib/mongoid/matcher/gte.rb
361
+ - lib/mongoid/matcher/in.rb
362
+ - lib/mongoid/matcher/lt.rb
363
+ - lib/mongoid/matcher/lte.rb
364
+ - lib/mongoid/matcher/ne.rb
365
+ - lib/mongoid/matcher/nin.rb
366
+ - lib/mongoid/matcher/nor.rb
367
+ - lib/mongoid/matcher/not.rb
368
+ - lib/mongoid/matcher/or.rb
369
+ - lib/mongoid/matcher/regex.rb
370
+ - lib/mongoid/matcher/size.rb
373
371
  - lib/mongoid/persistable.rb
374
372
  - lib/mongoid/persistable/creatable.rb
375
373
  - lib/mongoid/persistable/deletable.rb
@@ -428,255 +426,56 @@ files:
428
426
  - lib/rails/mongoid.rb
429
427
  - lib/support/ruby_version.rb
430
428
  - spec/README.md
431
- - spec/app/models/account.rb
432
- - spec/app/models/acolyte.rb
433
- - spec/app/models/actor.rb
434
- - spec/app/models/actress.rb
435
- - spec/app/models/address.rb
436
- - spec/app/models/address_component.rb
437
- - spec/app/models/address_number.rb
438
- - spec/app/models/agency.rb
439
- - spec/app/models/agent.rb
440
- - spec/app/models/album.rb
441
- - spec/app/models/alert.rb
442
- - spec/app/models/animal.rb
443
- - spec/app/models/answer.rb
444
- - spec/app/models/appointment.rb
445
- - spec/app/models/array_field.rb
446
- - spec/app/models/article.rb
447
- - spec/app/models/artist.rb
448
- - spec/app/models/artwork.rb
449
- - spec/app/models/audio.rb
450
- - spec/app/models/augmentation.rb
451
- - spec/app/models/author.rb
452
- - spec/app/models/baby.rb
453
- - spec/app/models/band.rb
454
- - spec/app/models/bar.rb
455
- - spec/app/models/basic.rb
456
- - spec/app/models/bed.rb
457
- - spec/app/models/big_palette.rb
458
- - spec/app/models/birthday.rb
459
- - spec/app/models/bomb.rb
460
- - spec/app/models/book.rb
461
- - spec/app/models/breed.rb
462
- - spec/app/models/browser.rb
463
- - spec/app/models/building.rb
464
- - spec/app/models/building_address.rb
465
- - spec/app/models/bus.rb
466
- - spec/app/models/business.rb
467
- - spec/app/models/callback_test.rb
468
- - spec/app/models/canvas.rb
469
- - spec/app/models/car.rb
470
- - spec/app/models/cat.rb
471
- - spec/app/models/category.rb
472
- - spec/app/models/child.rb
473
- - spec/app/models/child_doc.rb
474
- - spec/app/models/church.rb
475
- - spec/app/models/circle.rb
476
- - spec/app/models/circuit.rb
477
- - spec/app/models/circus.rb
478
- - spec/app/models/code.rb
479
- - spec/app/models/coding.rb
480
- - spec/app/models/coding/pull_request.rb
481
- - spec/app/models/comment.rb
482
- - spec/app/models/company.rb
483
- - spec/app/models/consumption_period.rb
484
- - spec/app/models/contextable_item.rb
485
- - spec/app/models/contractor.rb
486
- - spec/app/models/cookie.rb
487
- - spec/app/models/country_code.rb
488
- - spec/app/models/courier_job.rb
489
- - spec/app/models/customer.rb
490
- - spec/app/models/customer_address.rb
491
- - spec/app/models/definition.rb
492
- - spec/app/models/delegating_patient.rb
493
- - spec/app/models/description.rb
494
- - spec/app/models/dictionary.rb
495
- - spec/app/models/division.rb
496
- - spec/app/models/doctor.rb
497
- - spec/app/models/dog.rb
498
- - spec/app/models/dokument.rb
499
- - spec/app/models/draft.rb
500
- - spec/app/models/dragon.rb
501
- - spec/app/models/driver.rb
502
- - spec/app/models/drug.rb
503
- - spec/app/models/dungeon.rb
504
- - spec/app/models/edit.rb
505
- - spec/app/models/email.rb
506
- - spec/app/models/employer.rb
507
- - spec/app/models/entry.rb
508
- - spec/app/models/eraser.rb
509
- - spec/app/models/even.rb
510
- - spec/app/models/event.rb
511
- - spec/app/models/exhibition.rb
512
- - spec/app/models/exhibitor.rb
513
- - spec/app/models/explosion.rb
514
- - spec/app/models/eye.rb
515
- - spec/app/models/eye_bowl.rb
516
- - spec/app/models/face.rb
517
- - spec/app/models/favorite.rb
518
- - spec/app/models/filesystem.rb
519
- - spec/app/models/fire_hydrant.rb
520
- - spec/app/models/firefox.rb
521
- - spec/app/models/fish.rb
522
- - spec/app/models/folder.rb
523
- - spec/app/models/folder_item.rb
524
- - spec/app/models/fruits.rb
525
- - spec/app/models/game.rb
526
- - spec/app/models/ghost.rb
527
- - spec/app/models/home.rb
528
- - spec/app/models/house.rb
529
- - spec/app/models/html_writer.rb
530
- - spec/app/models/id_key.rb
531
- - spec/app/models/image.rb
532
- - spec/app/models/implant.rb
533
- - spec/app/models/item.rb
534
- - spec/app/models/jar.rb
535
- - spec/app/models/kaleidoscope.rb
536
- - spec/app/models/kangaroo.rb
537
- - spec/app/models/label.rb
538
- - spec/app/models/language.rb
539
- - spec/app/models/lat_lng.rb
540
- - spec/app/models/league.rb
541
- - spec/app/models/learner.rb
542
- - spec/app/models/line_item.rb
543
- - spec/app/models/location.rb
544
- - spec/app/models/login.rb
545
- - spec/app/models/manufacturer.rb
546
- - spec/app/models/meat.rb
547
- - spec/app/models/membership.rb
548
- - spec/app/models/message.rb
549
- - spec/app/models/minim.rb
550
- - spec/app/models/mixed_drink.rb
551
- - spec/app/models/mop.rb
552
- - spec/app/models/movie.rb
553
- - spec/app/models/my_hash.rb
554
- - spec/app/models/name.rb
555
- - spec/app/models/name_only.rb
556
- - spec/app/models/node.rb
557
- - spec/app/models/note.rb
558
- - spec/app/models/odd.rb
559
- - spec/app/models/ordered_post.rb
560
- - spec/app/models/ordered_preference.rb
561
- - spec/app/models/oscar.rb
562
- - spec/app/models/other_owner_object.rb
563
- - spec/app/models/override.rb
564
- - spec/app/models/ownable.rb
565
- - spec/app/models/owner.rb
566
- - spec/app/models/pack.rb
567
- - spec/app/models/page.rb
568
- - spec/app/models/page_question.rb
569
- - spec/app/models/palette.rb
570
- - spec/app/models/parent.rb
571
- - spec/app/models/parent_doc.rb
572
- - spec/app/models/passport.rb
573
- - spec/app/models/patient.rb
574
- - spec/app/models/pdf_writer.rb
575
- - spec/app/models/pencil.rb
576
- - spec/app/models/person.rb
577
- - spec/app/models/pet.rb
578
- - spec/app/models/pet_owner.rb
579
- - spec/app/models/phone.rb
580
- - spec/app/models/pizza.rb
581
- - spec/app/models/player.rb
582
- - spec/app/models/post.rb
583
- - spec/app/models/post_genre.rb
584
- - spec/app/models/powerup.rb
585
- - spec/app/models/preference.rb
586
- - spec/app/models/princess.rb
587
- - spec/app/models/product.rb
588
- - spec/app/models/profile.rb
589
- - spec/app/models/pronunciation.rb
590
- - spec/app/models/pub.rb
591
- - spec/app/models/publication.rb
592
- - spec/app/models/publication/encyclopedia.rb
593
- - spec/app/models/publication/review.rb
594
- - spec/app/models/purchase.rb
595
- - spec/app/models/question.rb
596
- - spec/app/models/quiz.rb
597
- - spec/app/models/rating.rb
598
- - spec/app/models/record.rb
599
- - spec/app/models/registry.rb
600
- - spec/app/models/role.rb
601
- - spec/app/models/root_category.rb
602
- - spec/app/models/sandwich.rb
603
- - spec/app/models/scheduler.rb
604
- - spec/app/models/seo.rb
605
- - spec/app/models/series.rb
606
- - spec/app/models/server.rb
607
- - spec/app/models/service.rb
608
- - spec/app/models/shape.rb
609
- - spec/app/models/shelf.rb
610
- - spec/app/models/shipment_address.rb
611
- - spec/app/models/shipping_container.rb
612
- - spec/app/models/shipping_pack.rb
613
- - spec/app/models/shop.rb
614
- - spec/app/models/short_agent.rb
615
- - spec/app/models/short_quiz.rb
616
- - spec/app/models/simple.rb
617
- - spec/app/models/slave.rb
618
- - spec/app/models/song.rb
619
- - spec/app/models/sound.rb
620
- - spec/app/models/square.rb
621
- - spec/app/models/staff.rb
622
- - spec/app/models/store_as_dup_test1.rb
623
- - spec/app/models/store_as_dup_test2.rb
624
- - spec/app/models/store_as_dup_test3.rb
625
- - spec/app/models/store_as_dup_test4.rb
626
- - spec/app/models/strategy.rb
627
- - spec/app/models/sub_item.rb
628
- - spec/app/models/subscription.rb
629
- - spec/app/models/survey.rb
630
- - spec/app/models/symptom.rb
631
- - spec/app/models/tag.rb
632
- - spec/app/models/target.rb
633
- - spec/app/models/template.rb
634
- - spec/app/models/thing.rb
635
- - spec/app/models/title.rb
636
- - spec/app/models/tool.rb
637
- - spec/app/models/topping.rb
638
- - spec/app/models/track.rb
639
- - spec/app/models/translation.rb
640
- - spec/app/models/tree.rb
641
- - spec/app/models/truck.rb
642
- - spec/app/models/updatable.rb
643
- - spec/app/models/user.rb
644
- - spec/app/models/user_account.rb
645
- - spec/app/models/validation_callback.rb
646
- - spec/app/models/vehicle.rb
647
- - spec/app/models/version.rb
648
- - spec/app/models/vertex.rb
649
- - spec/app/models/vet_visit.rb
650
- - spec/app/models/video.rb
651
- - spec/app/models/video_game.rb
652
- - spec/app/models/weapon.rb
653
- - spec/app/models/wiki_page.rb
654
- - spec/app/models/word.rb
655
- - spec/app/models/word_origin.rb
656
- - spec/app/models/writer.rb
657
429
  - spec/config/mongoid.yml
658
430
  - spec/integration/app_spec.rb
659
431
  - spec/integration/associations/belongs_to_spec.rb
660
432
  - spec/integration/associations/embedded_spec.rb
661
- - spec/integration/associations/embeds_many_spec.rb
662
- - spec/integration/associations/embeds_one_spec.rb
663
433
  - spec/integration/associations/foreign_key_spec.rb
664
434
  - spec/integration/associations/foreign_key_spec_models.rb
665
435
  - spec/integration/associations/has_many_spec.rb
666
436
  - spec/integration/associations/has_one_spec.rb
437
+ - spec/integration/associations/nested_attributes_assignment_spec.rb
667
438
  - spec/integration/associations/reverse_population_spec.rb
668
439
  - spec/integration/associations/reverse_population_spec_models.rb
440
+ - spec/integration/atomic/modifiers_spec.rb
669
441
  - spec/integration/bson_regexp_raw_spec.rb
670
- - spec/integration/callbacks_models.rb
671
- - spec/integration/callbacks_spec.rb
672
- - spec/integration/contextual/empty_spec.rb
673
442
  - spec/integration/criteria/date_field_spec.rb
674
443
  - spec/integration/criteria/default_scope_spec.rb
675
444
  - spec/integration/criteria/logical_spec.rb
676
445
  - spec/integration/criteria/time_with_zone_spec.rb
446
+ - spec/integration/discriminator_key_spec.rb
447
+ - spec/integration/discriminator_value_spec.rb
677
448
  - spec/integration/document_spec.rb
678
449
  - spec/integration/i18n_fallbacks_spec.rb
679
- - spec/integration/matchable_spec.rb
450
+ - spec/integration/matcher_examples_spec.rb
451
+ - spec/integration/matcher_operator_data/all.yml
452
+ - spec/integration/matcher_operator_data/and.yml
453
+ - spec/integration/matcher_operator_data/elem_match.yml
454
+ - spec/integration/matcher_operator_data/elem_match_expr.yml
455
+ - spec/integration/matcher_operator_data/eq.yml
456
+ - spec/integration/matcher_operator_data/exists.yml
457
+ - spec/integration/matcher_operator_data/generic_op.yml
458
+ - spec/integration/matcher_operator_data/gt.yml
459
+ - spec/integration/matcher_operator_data/gte.yml
460
+ - spec/integration/matcher_operator_data/implicit.yml
461
+ - spec/integration/matcher_operator_data/implicit_traversal.yml
462
+ - spec/integration/matcher_operator_data/in.yml
463
+ - spec/integration/matcher_operator_data/invalid_op.yml
464
+ - spec/integration/matcher_operator_data/invalid_syntax.yml
465
+ - spec/integration/matcher_operator_data/lt.yml
466
+ - spec/integration/matcher_operator_data/lte.yml
467
+ - spec/integration/matcher_operator_data/multiple.yml
468
+ - spec/integration/matcher_operator_data/ne.yml
469
+ - spec/integration/matcher_operator_data/nin.yml
470
+ - spec/integration/matcher_operator_data/nor.yml
471
+ - spec/integration/matcher_operator_data/not.yml
472
+ - spec/integration/matcher_operator_data/or.yml
473
+ - spec/integration/matcher_operator_data/regex.yml
474
+ - spec/integration/matcher_operator_data/regex_options.yml
475
+ - spec/integration/matcher_operator_data/size.yml
476
+ - spec/integration/matcher_operator_spec.rb
477
+ - spec/integration/matcher_spec.rb
478
+ - spec/integration/server_query_spec.rb
680
479
  - spec/integration/shardable_spec.rb
681
480
  - spec/lite_spec_helper.rb
682
481
  - spec/mongoid/association/accessors_spec.rb
@@ -827,7 +626,6 @@ files:
827
626
  - spec/mongoid/errors/document_not_found_spec.rb
828
627
  - spec/mongoid/errors/eager_load_spec.rb
829
628
  - spec/mongoid/errors/invalid_collection_spec.rb
830
- - spec/mongoid/errors/invalid_config_file_spec.rb
831
629
  - spec/mongoid/errors/invalid_config_option_spec.rb
832
630
  - spec/mongoid/errors/invalid_field_option_spec.rb
833
631
  - spec/mongoid/errors/invalid_field_spec.rb
@@ -899,24 +697,8 @@ files:
899
697
  - spec/mongoid/interceptable_spec.rb
900
698
  - spec/mongoid/interceptable_spec_models.rb
901
699
  - spec/mongoid/loggable_spec.rb
902
- - spec/mongoid/matchable/all_spec.rb
903
- - spec/mongoid/matchable/and_spec.rb
904
- - spec/mongoid/matchable/default_spec.rb
905
- - spec/mongoid/matchable/elem_match_spec.rb
906
- - spec/mongoid/matchable/eq_spec.rb
907
- - spec/mongoid/matchable/exists_spec.rb
908
- - spec/mongoid/matchable/gt_spec.rb
909
- - spec/mongoid/matchable/gte_spec.rb
910
- - spec/mongoid/matchable/in_spec.rb
911
- - spec/mongoid/matchable/lt_spec.rb
912
- - spec/mongoid/matchable/lte_spec.rb
913
- - spec/mongoid/matchable/ne_spec.rb
914
- - spec/mongoid/matchable/nin_spec.rb
915
- - spec/mongoid/matchable/nor_spec.rb
916
- - spec/mongoid/matchable/or_spec.rb
917
- - spec/mongoid/matchable/regexp_spec.rb
918
- - spec/mongoid/matchable/size_spec.rb
919
- - spec/mongoid/matchable_spec.rb
700
+ - spec/mongoid/matcher/extract_attribute_data/traversal.yml
701
+ - spec/mongoid/matcher/extract_attribute_spec.rb
920
702
  - spec/mongoid/persistable/creatable_spec.rb
921
703
  - spec/mongoid/persistable/deletable_spec.rb
922
704
  - spec/mongoid/persistable/destroyable_spec.rb
@@ -965,35 +747,254 @@ files:
965
747
  - spec/mongoid_spec.rb
966
748
  - spec/rails/controller_extension/controller_runtime_spec.rb
967
749
  - spec/rails/mongoid_spec.rb
968
- - spec/shared/LICENSE
969
- - spec/shared/bin/get-mongodb-download-url
970
- - spec/shared/bin/s3-copy
971
- - spec/shared/bin/s3-upload
972
- - spec/shared/lib/mrss/child_process_helper.rb
973
- - spec/shared/lib/mrss/cluster_config.rb
974
- - spec/shared/lib/mrss/constraints.rb
975
- - spec/shared/lib/mrss/docker_runner.rb
976
- - spec/shared/lib/mrss/event_subscriber.rb
977
- - spec/shared/lib/mrss/lite_constraints.rb
978
- - spec/shared/lib/mrss/server_version_registry.rb
979
- - spec/shared/lib/mrss/spec_organizer.rb
980
- - spec/shared/lib/mrss/utils.rb
981
- - spec/shared/share/Dockerfile.erb
982
- - spec/shared/share/haproxy-1.conf
983
- - spec/shared/share/haproxy-2.conf
984
- - spec/shared/shlib/distro.sh
985
- - spec/shared/shlib/server.sh
986
- - spec/shared/shlib/set_env.sh
987
750
  - spec/spec_helper.rb
988
751
  - spec/support/authorization.rb
752
+ - spec/support/child_process_helper.rb
989
753
  - spec/support/cluster_config.rb
990
754
  - spec/support/constraints.rb
991
755
  - spec/support/expectations.rb
992
756
  - spec/support/helpers.rb
757
+ - spec/support/lite_constraints.rb
993
758
  - spec/support/macros.rb
759
+ - spec/support/models/account.rb
760
+ - spec/support/models/acolyte.rb
761
+ - spec/support/models/actor.rb
762
+ - spec/support/models/actress.rb
763
+ - spec/support/models/address.rb
764
+ - spec/support/models/address_component.rb
765
+ - spec/support/models/address_number.rb
766
+ - spec/support/models/agency.rb
767
+ - spec/support/models/agent.rb
768
+ - spec/support/models/album.rb
769
+ - spec/support/models/alert.rb
770
+ - spec/support/models/animal.rb
771
+ - spec/support/models/answer.rb
772
+ - spec/support/models/appointment.rb
773
+ - spec/support/models/armrest.rb
774
+ - spec/support/models/array_field.rb
775
+ - spec/support/models/article.rb
776
+ - spec/support/models/artist.rb
777
+ - spec/support/models/artwork.rb
778
+ - spec/support/models/audio.rb
779
+ - spec/support/models/augmentation.rb
780
+ - spec/support/models/author.rb
781
+ - spec/support/models/baby.rb
782
+ - spec/support/models/band.rb
783
+ - spec/support/models/bar.rb
784
+ - spec/support/models/basic.rb
785
+ - spec/support/models/bed.rb
786
+ - spec/support/models/big_palette.rb
787
+ - spec/support/models/birthday.rb
788
+ - spec/support/models/bomb.rb
789
+ - spec/support/models/book.rb
790
+ - spec/support/models/breed.rb
791
+ - spec/support/models/browser.rb
792
+ - spec/support/models/building.rb
793
+ - spec/support/models/building_address.rb
794
+ - spec/support/models/bus.rb
795
+ - spec/support/models/business.rb
796
+ - spec/support/models/callback_test.rb
797
+ - spec/support/models/canvas.rb
798
+ - spec/support/models/car.rb
799
+ - spec/support/models/cat.rb
800
+ - spec/support/models/category.rb
801
+ - spec/support/models/child.rb
802
+ - spec/support/models/child_doc.rb
803
+ - spec/support/models/church.rb
804
+ - spec/support/models/circle.rb
805
+ - spec/support/models/circuit.rb
806
+ - spec/support/models/circus.rb
807
+ - spec/support/models/code.rb
808
+ - spec/support/models/coding.rb
809
+ - spec/support/models/coding/pull_request.rb
810
+ - spec/support/models/comment.rb
811
+ - spec/support/models/company.rb
812
+ - spec/support/models/consumption_period.rb
813
+ - spec/support/models/contextable_item.rb
814
+ - spec/support/models/contractor.rb
815
+ - spec/support/models/cookie.rb
816
+ - spec/support/models/country_code.rb
817
+ - spec/support/models/courier_job.rb
818
+ - spec/support/models/crate.rb
819
+ - spec/support/models/deed.rb
820
+ - spec/support/models/definition.rb
821
+ - spec/support/models/delegating_patient.rb
822
+ - spec/support/models/description.rb
823
+ - spec/support/models/dictionary.rb
824
+ - spec/support/models/division.rb
825
+ - spec/support/models/doctor.rb
826
+ - spec/support/models/dog.rb
827
+ - spec/support/models/dokument.rb
828
+ - spec/support/models/draft.rb
829
+ - spec/support/models/dragon.rb
830
+ - spec/support/models/driver.rb
831
+ - spec/support/models/drug.rb
832
+ - spec/support/models/dungeon.rb
833
+ - spec/support/models/edit.rb
834
+ - spec/support/models/email.rb
835
+ - spec/support/models/employer.rb
836
+ - spec/support/models/entry.rb
837
+ - spec/support/models/eraser.rb
838
+ - spec/support/models/even.rb
839
+ - spec/support/models/event.rb
840
+ - spec/support/models/exhibition.rb
841
+ - spec/support/models/exhibitor.rb
842
+ - spec/support/models/explosion.rb
843
+ - spec/support/models/eye.rb
844
+ - spec/support/models/eye_bowl.rb
845
+ - spec/support/models/face.rb
846
+ - spec/support/models/favorite.rb
847
+ - spec/support/models/filesystem.rb
848
+ - spec/support/models/fire_hydrant.rb
849
+ - spec/support/models/firefox.rb
850
+ - spec/support/models/fish.rb
851
+ - spec/support/models/folder.rb
852
+ - spec/support/models/folder_item.rb
853
+ - spec/support/models/fruits.rb
854
+ - spec/support/models/game.rb
855
+ - spec/support/models/ghost.rb
856
+ - spec/support/models/guitar.rb
857
+ - spec/support/models/home.rb
858
+ - spec/support/models/house.rb
859
+ - spec/support/models/html_writer.rb
860
+ - spec/support/models/id_key.rb
861
+ - spec/support/models/idnodef.rb
862
+ - spec/support/models/image.rb
863
+ - spec/support/models/implant.rb
864
+ - spec/support/models/instrument.rb
865
+ - spec/support/models/item.rb
866
+ - spec/support/models/jar.rb
867
+ - spec/support/models/kaleidoscope.rb
868
+ - spec/support/models/kangaroo.rb
869
+ - spec/support/models/label.rb
870
+ - spec/support/models/language.rb
871
+ - spec/support/models/lat_lng.rb
872
+ - spec/support/models/league.rb
873
+ - spec/support/models/learner.rb
874
+ - spec/support/models/line_item.rb
875
+ - spec/support/models/location.rb
876
+ - spec/support/models/login.rb
877
+ - spec/support/models/manufacturer.rb
878
+ - spec/support/models/meat.rb
879
+ - spec/support/models/membership.rb
880
+ - spec/support/models/message.rb
881
+ - spec/support/models/minim.rb
882
+ - spec/support/models/mixed_drink.rb
883
+ - spec/support/models/mop.rb
884
+ - spec/support/models/movie.rb
885
+ - spec/support/models/my_hash.rb
886
+ - spec/support/models/name.rb
887
+ - spec/support/models/name_only.rb
888
+ - spec/support/models/node.rb
889
+ - spec/support/models/note.rb
890
+ - spec/support/models/odd.rb
891
+ - spec/support/models/ordered_post.rb
892
+ - spec/support/models/ordered_preference.rb
893
+ - spec/support/models/oscar.rb
894
+ - spec/support/models/other_owner_object.rb
895
+ - spec/support/models/override.rb
896
+ - spec/support/models/ownable.rb
897
+ - spec/support/models/owner.rb
898
+ - spec/support/models/pack.rb
899
+ - spec/support/models/page.rb
900
+ - spec/support/models/page_question.rb
901
+ - spec/support/models/palette.rb
902
+ - spec/support/models/parent.rb
903
+ - spec/support/models/parent_doc.rb
904
+ - spec/support/models/passport.rb
905
+ - spec/support/models/patient.rb
906
+ - spec/support/models/pdf_writer.rb
907
+ - spec/support/models/pencil.rb
908
+ - spec/support/models/person.rb
909
+ - spec/support/models/pet.rb
910
+ - spec/support/models/pet_owner.rb
911
+ - spec/support/models/phone.rb
912
+ - spec/support/models/piano.rb
913
+ - spec/support/models/pizza.rb
914
+ - spec/support/models/player.rb
915
+ - spec/support/models/post.rb
916
+ - spec/support/models/post_genre.rb
917
+ - spec/support/models/powerup.rb
918
+ - spec/support/models/preference.rb
919
+ - spec/support/models/princess.rb
920
+ - spec/support/models/product.rb
921
+ - spec/support/models/profile.rb
922
+ - spec/support/models/pronunciation.rb
923
+ - spec/support/models/pub.rb
924
+ - spec/support/models/publication.rb
925
+ - spec/support/models/publication/encyclopedia.rb
926
+ - spec/support/models/publication/review.rb
927
+ - spec/support/models/purchase.rb
928
+ - spec/support/models/question.rb
929
+ - spec/support/models/quiz.rb
930
+ - spec/support/models/rating.rb
931
+ - spec/support/models/record.rb
932
+ - spec/support/models/registry.rb
933
+ - spec/support/models/role.rb
934
+ - spec/support/models/root_category.rb
935
+ - spec/support/models/sandwich.rb
936
+ - spec/support/models/scheduler.rb
937
+ - spec/support/models/scribe.rb
938
+ - spec/support/models/seat.rb
939
+ - spec/support/models/seo.rb
940
+ - spec/support/models/series.rb
941
+ - spec/support/models/server.rb
942
+ - spec/support/models/service.rb
943
+ - spec/support/models/shape.rb
944
+ - spec/support/models/shelf.rb
945
+ - spec/support/models/shipment_address.rb
946
+ - spec/support/models/shipping_container.rb
947
+ - spec/support/models/shipping_pack.rb
948
+ - spec/support/models/shop.rb
949
+ - spec/support/models/short_agent.rb
950
+ - spec/support/models/short_quiz.rb
951
+ - spec/support/models/simple.rb
952
+ - spec/support/models/slave.rb
953
+ - spec/support/models/song.rb
954
+ - spec/support/models/sound.rb
955
+ - spec/support/models/square.rb
956
+ - spec/support/models/staff.rb
957
+ - spec/support/models/store_as_dup_test1.rb
958
+ - spec/support/models/store_as_dup_test2.rb
959
+ - spec/support/models/store_as_dup_test3.rb
960
+ - spec/support/models/store_as_dup_test4.rb
961
+ - spec/support/models/strategy.rb
962
+ - spec/support/models/sub_item.rb
963
+ - spec/support/models/subscription.rb
964
+ - spec/support/models/survey.rb
965
+ - spec/support/models/symptom.rb
966
+ - spec/support/models/system_role.rb
967
+ - spec/support/models/tag.rb
968
+ - spec/support/models/target.rb
969
+ - spec/support/models/template.rb
970
+ - spec/support/models/thing.rb
971
+ - spec/support/models/title.rb
972
+ - spec/support/models/tool.rb
973
+ - spec/support/models/topping.rb
974
+ - spec/support/models/toy.rb
975
+ - spec/support/models/track.rb
976
+ - spec/support/models/translation.rb
977
+ - spec/support/models/tree.rb
978
+ - spec/support/models/truck.rb
979
+ - spec/support/models/updatable.rb
980
+ - spec/support/models/user.rb
981
+ - spec/support/models/user_account.rb
982
+ - spec/support/models/validation_callback.rb
983
+ - spec/support/models/vehicle.rb
984
+ - spec/support/models/version.rb
985
+ - spec/support/models/vertex.rb
986
+ - spec/support/models/vet_visit.rb
987
+ - spec/support/models/video.rb
988
+ - spec/support/models/video_game.rb
989
+ - spec/support/models/weapon.rb
990
+ - spec/support/models/wiki_page.rb
991
+ - spec/support/models/word.rb
992
+ - spec/support/models/word_origin.rb
993
+ - spec/support/models/writer.rb
994
994
  - spec/support/session_registry.rb
995
995
  - spec/support/shared/time.rb
996
996
  - spec/support/spec_config.rb
997
+ - spec/support/spec_organizer.rb
997
998
  homepage: https://mongoid.org
998
999
  licenses:
999
1000
  - MIT
@@ -1018,576 +1019,578 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1018
1019
  - !ruby/object:Gem::Version
1019
1020
  version: 1.3.6
1020
1021
  requirements: []
1021
- rubyforge_project:
1022
- rubygems_version: 2.7.6.2
1022
+ rubygems_version: 3.0.3
1023
1023
  signing_key:
1024
1024
  specification_version: 4
1025
1025
  summary: Elegant Persistence in Ruby for MongoDB.
1026
1026
  test_files:
1027
- - spec/README.md
1028
- - spec/app/models/account.rb
1029
- - spec/app/models/acolyte.rb
1030
- - spec/app/models/actor.rb
1031
- - spec/app/models/actress.rb
1032
- - spec/app/models/address.rb
1033
- - spec/app/models/address_component.rb
1034
- - spec/app/models/address_number.rb
1035
- - spec/app/models/agency.rb
1036
- - spec/app/models/agent.rb
1037
- - spec/app/models/album.rb
1038
- - spec/app/models/alert.rb
1039
- - spec/app/models/animal.rb
1040
- - spec/app/models/answer.rb
1041
- - spec/app/models/appointment.rb
1042
- - spec/app/models/array_field.rb
1043
- - spec/app/models/article.rb
1044
- - spec/app/models/artist.rb
1045
- - spec/app/models/artwork.rb
1046
- - spec/app/models/audio.rb
1047
- - spec/app/models/augmentation.rb
1048
- - spec/app/models/author.rb
1049
- - spec/app/models/baby.rb
1050
- - spec/app/models/band.rb
1051
- - spec/app/models/bar.rb
1052
- - spec/app/models/basic.rb
1053
- - spec/app/models/bed.rb
1054
- - spec/app/models/big_palette.rb
1055
- - spec/app/models/birthday.rb
1056
- - spec/app/models/bomb.rb
1057
- - spec/app/models/book.rb
1058
- - spec/app/models/breed.rb
1059
- - spec/app/models/browser.rb
1060
- - spec/app/models/building.rb
1061
- - spec/app/models/building_address.rb
1062
- - spec/app/models/bus.rb
1063
- - spec/app/models/business.rb
1064
- - spec/app/models/callback_test.rb
1065
- - spec/app/models/canvas.rb
1066
- - spec/app/models/car.rb
1067
- - spec/app/models/cat.rb
1068
- - spec/app/models/category.rb
1069
- - spec/app/models/child.rb
1070
- - spec/app/models/child_doc.rb
1071
- - spec/app/models/church.rb
1072
- - spec/app/models/circle.rb
1073
- - spec/app/models/circuit.rb
1074
- - spec/app/models/circus.rb
1075
- - spec/app/models/code.rb
1076
- - spec/app/models/coding/pull_request.rb
1077
- - spec/app/models/coding.rb
1078
- - spec/app/models/comment.rb
1079
- - spec/app/models/company.rb
1080
- - spec/app/models/consumption_period.rb
1081
- - spec/app/models/contextable_item.rb
1082
- - spec/app/models/contractor.rb
1083
- - spec/app/models/cookie.rb
1084
- - spec/app/models/country_code.rb
1085
- - spec/app/models/courier_job.rb
1086
- - spec/app/models/customer.rb
1087
- - spec/app/models/customer_address.rb
1088
- - spec/app/models/definition.rb
1089
- - spec/app/models/delegating_patient.rb
1090
- - spec/app/models/description.rb
1091
- - spec/app/models/dictionary.rb
1092
- - spec/app/models/division.rb
1093
- - spec/app/models/doctor.rb
1094
- - spec/app/models/dog.rb
1095
- - spec/app/models/dokument.rb
1096
- - spec/app/models/draft.rb
1097
- - spec/app/models/dragon.rb
1098
- - spec/app/models/driver.rb
1099
- - spec/app/models/drug.rb
1100
- - spec/app/models/dungeon.rb
1101
- - spec/app/models/edit.rb
1102
- - spec/app/models/email.rb
1103
- - spec/app/models/employer.rb
1104
- - spec/app/models/entry.rb
1105
- - spec/app/models/eraser.rb
1106
- - spec/app/models/even.rb
1107
- - spec/app/models/event.rb
1108
- - spec/app/models/exhibition.rb
1109
- - spec/app/models/exhibitor.rb
1110
- - spec/app/models/explosion.rb
1111
- - spec/app/models/eye.rb
1112
- - spec/app/models/eye_bowl.rb
1113
- - spec/app/models/face.rb
1114
- - spec/app/models/favorite.rb
1115
- - spec/app/models/filesystem.rb
1116
- - spec/app/models/fire_hydrant.rb
1117
- - spec/app/models/firefox.rb
1118
- - spec/app/models/fish.rb
1119
- - spec/app/models/folder.rb
1120
- - spec/app/models/folder_item.rb
1121
- - spec/app/models/fruits.rb
1122
- - spec/app/models/game.rb
1123
- - spec/app/models/ghost.rb
1124
- - spec/app/models/home.rb
1125
- - spec/app/models/house.rb
1126
- - spec/app/models/html_writer.rb
1127
- - spec/app/models/id_key.rb
1128
- - spec/app/models/image.rb
1129
- - spec/app/models/implant.rb
1130
- - spec/app/models/item.rb
1131
- - spec/app/models/jar.rb
1132
- - spec/app/models/kaleidoscope.rb
1133
- - spec/app/models/kangaroo.rb
1134
- - spec/app/models/label.rb
1135
- - spec/app/models/language.rb
1136
- - spec/app/models/lat_lng.rb
1137
- - spec/app/models/league.rb
1138
- - spec/app/models/learner.rb
1139
- - spec/app/models/line_item.rb
1140
- - spec/app/models/location.rb
1141
- - spec/app/models/login.rb
1142
- - spec/app/models/manufacturer.rb
1143
- - spec/app/models/meat.rb
1144
- - spec/app/models/membership.rb
1145
- - spec/app/models/message.rb
1146
- - spec/app/models/minim.rb
1147
- - spec/app/models/mixed_drink.rb
1148
- - spec/app/models/mop.rb
1149
- - spec/app/models/movie.rb
1150
- - spec/app/models/my_hash.rb
1151
- - spec/app/models/name.rb
1152
- - spec/app/models/name_only.rb
1153
- - spec/app/models/node.rb
1154
- - spec/app/models/note.rb
1155
- - spec/app/models/odd.rb
1156
- - spec/app/models/ordered_post.rb
1157
- - spec/app/models/ordered_preference.rb
1158
- - spec/app/models/oscar.rb
1159
- - spec/app/models/other_owner_object.rb
1160
- - spec/app/models/override.rb
1161
- - spec/app/models/ownable.rb
1162
- - spec/app/models/owner.rb
1163
- - spec/app/models/pack.rb
1164
- - spec/app/models/page.rb
1165
- - spec/app/models/page_question.rb
1166
- - spec/app/models/palette.rb
1167
- - spec/app/models/parent.rb
1168
- - spec/app/models/parent_doc.rb
1169
- - spec/app/models/passport.rb
1170
- - spec/app/models/patient.rb
1171
- - spec/app/models/pdf_writer.rb
1172
- - spec/app/models/pencil.rb
1173
- - spec/app/models/person.rb
1174
- - spec/app/models/pet.rb
1175
- - spec/app/models/pet_owner.rb
1176
- - spec/app/models/phone.rb
1177
- - spec/app/models/pizza.rb
1178
- - spec/app/models/player.rb
1179
- - spec/app/models/post.rb
1180
- - spec/app/models/post_genre.rb
1181
- - spec/app/models/powerup.rb
1182
- - spec/app/models/preference.rb
1183
- - spec/app/models/princess.rb
1184
- - spec/app/models/product.rb
1185
- - spec/app/models/profile.rb
1186
- - spec/app/models/pronunciation.rb
1187
- - spec/app/models/pub.rb
1188
- - spec/app/models/publication/encyclopedia.rb
1189
- - spec/app/models/publication/review.rb
1190
- - spec/app/models/publication.rb
1191
- - spec/app/models/purchase.rb
1192
- - spec/app/models/question.rb
1193
- - spec/app/models/quiz.rb
1194
- - spec/app/models/rating.rb
1195
- - spec/app/models/record.rb
1196
- - spec/app/models/registry.rb
1197
- - spec/app/models/role.rb
1198
- - spec/app/models/root_category.rb
1199
- - spec/app/models/sandwich.rb
1200
- - spec/app/models/scheduler.rb
1201
- - spec/app/models/seo.rb
1202
- - spec/app/models/series.rb
1203
- - spec/app/models/server.rb
1204
- - spec/app/models/service.rb
1205
- - spec/app/models/shape.rb
1206
- - spec/app/models/shelf.rb
1207
- - spec/app/models/shipment_address.rb
1208
- - spec/app/models/shipping_container.rb
1209
- - spec/app/models/shipping_pack.rb
1210
- - spec/app/models/shop.rb
1211
- - spec/app/models/short_agent.rb
1212
- - spec/app/models/short_quiz.rb
1213
- - spec/app/models/simple.rb
1214
- - spec/app/models/slave.rb
1215
- - spec/app/models/song.rb
1216
- - spec/app/models/sound.rb
1217
- - spec/app/models/square.rb
1218
- - spec/app/models/staff.rb
1219
- - spec/app/models/store_as_dup_test1.rb
1220
- - spec/app/models/store_as_dup_test2.rb
1221
- - spec/app/models/store_as_dup_test3.rb
1222
- - spec/app/models/store_as_dup_test4.rb
1223
- - spec/app/models/strategy.rb
1224
- - spec/app/models/sub_item.rb
1225
- - spec/app/models/subscription.rb
1226
- - spec/app/models/survey.rb
1227
- - spec/app/models/symptom.rb
1228
- - spec/app/models/tag.rb
1229
- - spec/app/models/target.rb
1230
- - spec/app/models/template.rb
1231
- - spec/app/models/thing.rb
1232
- - spec/app/models/title.rb
1233
- - spec/app/models/tool.rb
1234
- - spec/app/models/topping.rb
1235
- - spec/app/models/track.rb
1236
- - spec/app/models/translation.rb
1237
- - spec/app/models/tree.rb
1238
- - spec/app/models/truck.rb
1239
- - spec/app/models/updatable.rb
1240
- - spec/app/models/user.rb
1241
- - spec/app/models/user_account.rb
1242
- - spec/app/models/validation_callback.rb
1243
- - spec/app/models/vehicle.rb
1244
- - spec/app/models/version.rb
1245
- - spec/app/models/vertex.rb
1246
- - spec/app/models/vet_visit.rb
1247
- - spec/app/models/video.rb
1248
- - spec/app/models/video_game.rb
1249
- - spec/app/models/weapon.rb
1250
- - spec/app/models/wiki_page.rb
1251
- - spec/app/models/word.rb
1252
- - spec/app/models/word_origin.rb
1253
- - spec/app/models/writer.rb
1254
- - spec/config/mongoid.yml
1255
- - spec/integration/app_spec.rb
1256
- - spec/integration/associations/belongs_to_spec.rb
1257
- - spec/integration/associations/embedded_spec.rb
1258
- - spec/integration/associations/embeds_many_spec.rb
1259
- - spec/integration/associations/embeds_one_spec.rb
1260
- - spec/integration/associations/foreign_key_spec.rb
1261
- - spec/integration/associations/foreign_key_spec_models.rb
1262
- - spec/integration/associations/has_many_spec.rb
1263
- - spec/integration/associations/has_one_spec.rb
1264
- - spec/integration/associations/reverse_population_spec.rb
1265
- - spec/integration/associations/reverse_population_spec_models.rb
1266
- - spec/integration/bson_regexp_raw_spec.rb
1267
- - spec/integration/callbacks_models.rb
1268
- - spec/integration/callbacks_spec.rb
1269
- - spec/integration/contextual/empty_spec.rb
1270
- - spec/integration/criteria/date_field_spec.rb
1271
- - spec/integration/criteria/default_scope_spec.rb
1272
- - spec/integration/criteria/logical_spec.rb
1273
- - spec/integration/criteria/time_with_zone_spec.rb
1274
- - spec/integration/document_spec.rb
1275
- - spec/integration/i18n_fallbacks_spec.rb
1276
- - spec/integration/matchable_spec.rb
1277
- - spec/integration/shardable_spec.rb
1278
- - spec/lite_spec_helper.rb
1027
+ - spec/mongoid/indexable_spec.rb
1028
+ - spec/mongoid/scopable_spec.rb
1029
+ - spec/mongoid/clients/factory_spec.rb
1030
+ - spec/mongoid/clients/options_spec.rb
1031
+ - spec/mongoid/clients/sessions_spec.rb
1032
+ - spec/mongoid/clients/transactions_spec.rb
1033
+ - spec/mongoid/copyable_spec.rb
1034
+ - spec/mongoid/changeable_spec.rb
1035
+ - spec/mongoid/document_query_spec.rb
1036
+ - spec/mongoid/config_spec.rb
1037
+ - spec/mongoid/association/eager_spec.rb
1038
+ - spec/mongoid/association/macros_spec.rb
1039
+ - spec/mongoid/association/counter_cache_spec.rb
1040
+ - spec/mongoid/association/options_spec.rb
1279
1041
  - spec/mongoid/association/accessors_spec.rb
1280
1042
  - spec/mongoid/association/auto_save_spec.rb
1281
- - spec/mongoid/association/builders_spec.rb
1043
+ - spec/mongoid/association/syncable_spec.rb
1282
1044
  - spec/mongoid/association/constrainable_spec.rb
1283
- - spec/mongoid/association/counter_cache_spec.rb
1284
1045
  - spec/mongoid/association/depending_spec.rb
1285
- - spec/mongoid/association/eager_spec.rb
1286
- - spec/mongoid/association/embedded/cyclic_spec.rb
1287
- - spec/mongoid/association/embedded/dirty_spec.rb
1288
- - spec/mongoid/association/embedded/embedded_in/binding_spec.rb
1289
- - spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
1290
- - spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
1291
- - spec/mongoid/association/embedded/embedded_in_spec.rb
1292
- - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1293
- - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1294
- - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1295
- - spec/mongoid/association/embedded/embeds_many_models.rb
1296
- - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1297
- - spec/mongoid/association/embedded/embeds_many_spec.rb
1298
- - spec/mongoid/association/embedded/embeds_one/binding_spec.rb
1299
- - spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
1300
- - spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
1301
- - spec/mongoid/association/embedded/embeds_one_dnl_models.rb
1302
- - spec/mongoid/association/embedded/embeds_one_models.rb
1303
- - spec/mongoid/association/embedded/embeds_one_query_spec.rb
1304
- - spec/mongoid/association/embedded/embeds_one_spec.rb
1305
- - spec/mongoid/association/macros_spec.rb
1306
- - spec/mongoid/association/nested/many_spec.rb
1307
- - spec/mongoid/association/nested/one_spec.rb
1308
- - spec/mongoid/association/options_spec.rb
1309
- - spec/mongoid/association/polymorphic_spec.rb
1310
- - spec/mongoid/association/referenced/belongs_to/binding_spec.rb
1311
- - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
1312
- - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1313
- - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1314
- - spec/mongoid/association/referenced/belongs_to_query_spec.rb
1315
- - spec/mongoid/association/referenced/belongs_to_spec.rb
1316
- - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
1317
- - spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
1318
- - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1319
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1320
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1321
- - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1322
- - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1323
- - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1324
- - spec/mongoid/association/referenced/has_many/binding_spec.rb
1325
- - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1046
+ - spec/mongoid/association/referenced/has_one_spec.rb
1326
1047
  - spec/mongoid/association/referenced/has_many/eager_spec.rb
1327
- - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1048
+ - spec/mongoid/association/referenced/has_many/binding_spec.rb
1328
1049
  - spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
1050
+ - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1329
1051
  - spec/mongoid/association/referenced/has_many/proxy_spec.rb
1052
+ - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1053
+ - spec/mongoid/association/referenced/has_one_query_spec.rb
1054
+ - spec/mongoid/association/referenced/has_one/eager_spec.rb
1055
+ - spec/mongoid/association/referenced/has_one/binding_spec.rb
1056
+ - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1057
+ - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1058
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1059
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1060
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
1061
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1062
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1063
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
1330
1064
  - spec/mongoid/association/referenced/has_many_models.rb
1331
1065
  - spec/mongoid/association/referenced/has_many_query_spec.rb
1066
+ - spec/mongoid/association/referenced/belongs_to_query_spec.rb
1332
1067
  - spec/mongoid/association/referenced/has_many_spec.rb
1333
- - spec/mongoid/association/referenced/has_one/binding_spec.rb
1334
- - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1335
- - spec/mongoid/association/referenced/has_one/eager_spec.rb
1336
- - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1068
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1069
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1337
1070
  - spec/mongoid/association/referenced/has_one_models.rb
1338
- - spec/mongoid/association/referenced/has_one_query_spec.rb
1339
- - spec/mongoid/association/referenced/has_one_spec.rb
1071
+ - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1072
+ - spec/mongoid/association/referenced/belongs_to/binding_spec.rb
1073
+ - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1074
+ - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
1075
+ - spec/mongoid/association/referenced/belongs_to_spec.rb
1076
+ - spec/mongoid/association/nested/one_spec.rb
1077
+ - spec/mongoid/association/nested/many_spec.rb
1078
+ - spec/mongoid/association/builders_spec.rb
1079
+ - spec/mongoid/association/polymorphic_spec.rb
1340
1080
  - spec/mongoid/association/reflections_spec.rb
1341
- - spec/mongoid/association/syncable_spec.rb
1342
- - spec/mongoid/association_spec.rb
1343
- - spec/mongoid/atomic/modifiers_spec.rb
1344
- - spec/mongoid/atomic/paths/embedded/many_spec.rb
1345
- - spec/mongoid/atomic/paths/embedded/one_spec.rb
1346
- - spec/mongoid/atomic/paths/root_spec.rb
1347
- - spec/mongoid/atomic/paths_spec.rb
1081
+ - spec/mongoid/association/embedded/embedded_in/binding_spec.rb
1082
+ - spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
1083
+ - spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
1084
+ - spec/mongoid/association/embedded/embeds_many_models.rb
1085
+ - spec/mongoid/association/embedded/embeds_one/binding_spec.rb
1086
+ - spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
1087
+ - spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
1088
+ - spec/mongoid/association/embedded/dirty_spec.rb
1089
+ - spec/mongoid/association/embedded/embedded_in_spec.rb
1090
+ - spec/mongoid/association/embedded/embeds_many_spec.rb
1091
+ - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1092
+ - spec/mongoid/association/embedded/embeds_one_query_spec.rb
1093
+ - spec/mongoid/association/embedded/cyclic_spec.rb
1094
+ - spec/mongoid/association/embedded/embeds_one_spec.rb
1095
+ - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1096
+ - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1097
+ - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1098
+ - spec/mongoid/association/embedded/embeds_one_dnl_models.rb
1099
+ - spec/mongoid/association/embedded/embeds_one_models.rb
1100
+ - spec/mongoid/tasks/database_spec.rb
1101
+ - spec/mongoid/tasks/database_rake_spec.rb
1102
+ - spec/mongoid/shardable_spec.rb
1103
+ - spec/mongoid/selectable_spec.rb
1104
+ - spec/mongoid/copyable_spec_models.rb
1105
+ - spec/mongoid/loggable_spec.rb
1348
1106
  - spec/mongoid/atomic_spec.rb
1349
- - spec/mongoid/attributes/dynamic_spec.rb
1350
- - spec/mongoid/attributes/nested_spec.rb
1351
- - spec/mongoid/attributes/readonly_spec.rb
1352
- - spec/mongoid/attributes_spec.rb
1353
- - spec/mongoid/cacheable_spec.rb
1354
- - spec/mongoid/changeable_spec.rb
1355
- - spec/mongoid/clients/factory_spec.rb
1356
- - spec/mongoid/clients/options_spec.rb
1357
- - spec/mongoid/clients/sessions_spec.rb
1358
- - spec/mongoid/clients/transactions_spec.rb
1359
- - spec/mongoid/clients_spec.rb
1360
- - spec/mongoid/composable_spec.rb
1107
+ - spec/mongoid/traversable_spec.rb
1108
+ - spec/mongoid/timestamps/updated_spec.rb
1109
+ - spec/mongoid/timestamps/created_spec.rb
1110
+ - spec/mongoid/timestamps/created/short_spec.rb
1111
+ - spec/mongoid/timestamps/updated/short_spec.rb
1112
+ - spec/mongoid/timestamps/timeless_spec.rb
1113
+ - spec/mongoid/factory_spec.rb
1114
+ - spec/mongoid/relations/proxy_spec.rb
1361
1115
  - spec/mongoid/config/environment_spec.rb
1362
1116
  - spec/mongoid/config/options_spec.rb
1363
- - spec/mongoid/config_spec.rb
1364
- - spec/mongoid/contextual/aggregable/memory_spec.rb
1365
- - spec/mongoid/contextual/aggregable/mongo_spec.rb
1117
+ - spec/mongoid/contextual/memory_spec.rb
1118
+ - spec/mongoid/contextual/none_spec.rb
1366
1119
  - spec/mongoid/contextual/atomic_spec.rb
1367
- - spec/mongoid/contextual/geo_near_spec.rb
1368
1120
  - spec/mongoid/contextual/map_reduce_spec.rb
1369
- - spec/mongoid/contextual/memory_spec.rb
1370
1121
  - spec/mongoid/contextual/mongo_spec.rb
1371
- - spec/mongoid/contextual/none_spec.rb
1372
- - spec/mongoid/copyable_spec.rb
1373
- - spec/mongoid/copyable_spec_models.rb
1374
- - spec/mongoid/criteria/findable_spec.rb
1375
- - spec/mongoid/criteria/inspectable_spec.rb
1376
- - spec/mongoid/criteria/marshalable_spec.rb
1377
- - spec/mongoid/criteria/modifiable_spec.rb
1378
- - spec/mongoid/criteria/options_spec.rb
1379
- - spec/mongoid/criteria/queryable/aggregable_spec.rb
1380
- - spec/mongoid/criteria/queryable/expandable_spec.rb
1381
- - spec/mongoid/criteria/queryable/extensions/array_spec.rb
1382
- - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1383
- - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
1384
- - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1385
- - spec/mongoid/criteria/queryable/extensions/date_spec.rb
1386
- - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
1387
- - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
1388
- - spec/mongoid/criteria/queryable/extensions/float_spec.rb
1389
- - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1390
- - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1391
- - spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
1392
- - spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
1393
- - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1394
- - spec/mongoid/criteria/queryable/extensions/range_spec.rb
1395
- - spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
1396
- - spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
1397
- - spec/mongoid/criteria/queryable/extensions/set_spec.rb
1398
- - spec/mongoid/criteria/queryable/extensions/string_spec.rb
1399
- - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1400
- - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1401
- - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1402
- - spec/mongoid/criteria/queryable/key_spec.rb
1403
- - spec/mongoid/criteria/queryable/mergeable_spec.rb
1404
- - spec/mongoid/criteria/queryable/optional_spec.rb
1405
- - spec/mongoid/criteria/queryable/options_spec.rb
1406
- - spec/mongoid/criteria/queryable/pipeline_spec.rb
1407
- - spec/mongoid/criteria/queryable/queryable_spec.rb
1408
- - spec/mongoid/criteria/queryable/selectable_logical_spec.rb
1409
- - spec/mongoid/criteria/queryable/selectable_spec.rb
1410
- - spec/mongoid/criteria/queryable/selector_spec.rb
1411
- - spec/mongoid/criteria/queryable/smash_spec.rb
1412
- - spec/mongoid/criteria/queryable/storable_spec.rb
1413
- - spec/mongoid/criteria/scopable_spec.rb
1414
- - spec/mongoid/criteria_spec.rb
1415
- - spec/mongoid/document_fields_spec.rb
1122
+ - spec/mongoid/contextual/aggregable/memory_spec.rb
1123
+ - spec/mongoid/contextual/aggregable/mongo_spec.rb
1124
+ - spec/mongoid/contextual/geo_near_spec.rb
1125
+ - spec/mongoid/fields_spec.rb
1126
+ - spec/mongoid/attributes_spec.rb
1416
1127
  - spec/mongoid/document_persistence_context_spec.rb
1417
- - spec/mongoid/document_query_spec.rb
1418
- - spec/mongoid/document_spec.rb
1419
- - spec/mongoid/equality_spec.rb
1420
- - spec/mongoid/errors/ambiguous_relationship_spec.rb
1421
- - spec/mongoid/errors/callback_spec.rb
1422
- - spec/mongoid/errors/delete_restriction_spec.rb
1423
- - spec/mongoid/errors/document_not_destroyed_spec.rb
1424
- - spec/mongoid/errors/document_not_found_spec.rb
1425
- - spec/mongoid/errors/eager_load_spec.rb
1426
- - spec/mongoid/errors/invalid_collection_spec.rb
1427
- - spec/mongoid/errors/invalid_config_file_spec.rb
1428
- - spec/mongoid/errors/invalid_config_option_spec.rb
1429
- - spec/mongoid/errors/invalid_field_option_spec.rb
1430
- - spec/mongoid/errors/invalid_field_spec.rb
1431
- - spec/mongoid/errors/invalid_find_spec.rb
1432
- - spec/mongoid/errors/invalid_includes_spec.rb
1433
- - spec/mongoid/errors/invalid_index_spec.rb
1434
- - spec/mongoid/errors/invalid_options_spec.rb
1435
- - spec/mongoid/errors/invalid_path_spec.rb
1436
- - spec/mongoid/errors/invalid_relation_spec.rb
1437
- - spec/mongoid/errors/invalid_scope_spec.rb
1438
- - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1439
- - spec/mongoid/errors/invalid_storage_options_spec.rb
1440
- - spec/mongoid/errors/invalid_time_spec.rb
1441
- - spec/mongoid/errors/inverse_not_found_spec.rb
1442
- - spec/mongoid/errors/mixed_client_configuration_spec.rb
1443
- - spec/mongoid/errors/mixed_relations_spec.rb
1444
- - spec/mongoid/errors/mongoid_error_spec.rb
1445
- - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1446
- - spec/mongoid/errors/no_client_config_spec.rb
1447
- - spec/mongoid/errors/no_client_database_spec.rb
1448
- - spec/mongoid/errors/no_client_hosts_spec.rb
1449
- - spec/mongoid/errors/no_clients_config_spec.rb
1450
- - spec/mongoid/errors/no_environment_spec.rb
1451
- - spec/mongoid/errors/no_map_reduce_output_spec.rb
1452
- - spec/mongoid/errors/no_metadata_spec.rb
1453
- - spec/mongoid/errors/no_parent_spec.rb
1454
- - spec/mongoid/errors/readonly_attribute_spec.rb
1455
- - spec/mongoid/errors/readonly_document_spec.rb
1456
- - spec/mongoid/errors/scope_overwrite_spec.rb
1457
- - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1458
- - spec/mongoid/errors/unknown_attribute_spec.rb
1459
- - spec/mongoid/errors/unsaved_document_spec.rb
1460
- - spec/mongoid/errors/unsupported_javascript_spec.rb
1461
- - spec/mongoid/errors/validations_spec.rb
1462
- - spec/mongoid/extensions/array_spec.rb
1128
+ - spec/mongoid/findable_spec.rb
1129
+ - spec/mongoid/query_cache_spec.rb
1130
+ - spec/mongoid/persistence_context_spec.rb
1131
+ - spec/mongoid/interceptable_spec.rb
1132
+ - spec/mongoid/extensions_spec.rb
1133
+ - spec/mongoid/criteria_spec.rb
1134
+ - spec/mongoid/composable_spec.rb
1135
+ - spec/mongoid/touchable_spec.rb
1136
+ - spec/mongoid/matcher/extract_attribute_spec.rb
1137
+ - spec/mongoid/matcher/extract_attribute_data/traversal.yml
1138
+ - spec/mongoid/atomic/paths_spec.rb
1139
+ - spec/mongoid/atomic/paths/root_spec.rb
1140
+ - spec/mongoid/atomic/paths/embedded/one_spec.rb
1141
+ - spec/mongoid/atomic/paths/embedded/many_spec.rb
1142
+ - spec/mongoid/atomic/modifiers_spec.rb
1143
+ - spec/mongoid/indexable/specification_spec.rb
1144
+ - spec/mongoid/cacheable_spec.rb
1145
+ - spec/mongoid/extensions/regexp_spec.rb
1463
1146
  - spec/mongoid/extensions/big_decimal_spec.rb
1464
- - spec/mongoid/extensions/binary_spec.rb
1465
- - spec/mongoid/extensions/boolean_spec.rb
1466
1147
  - spec/mongoid/extensions/date_class_mongoize_spec.rb
1148
+ - spec/mongoid/extensions/time_spec.rb
1149
+ - spec/mongoid/extensions/boolean_spec.rb
1150
+ - spec/mongoid/extensions/object_spec.rb
1151
+ - spec/mongoid/extensions/array_spec.rb
1152
+ - spec/mongoid/extensions/set_spec.rb
1153
+ - spec/mongoid/extensions/hash_spec.rb
1467
1154
  - spec/mongoid/extensions/date_spec.rb
1155
+ - spec/mongoid/extensions/module_spec.rb
1156
+ - spec/mongoid/extensions/time_with_zone_spec.rb
1157
+ - spec/mongoid/extensions/binary_spec.rb
1468
1158
  - spec/mongoid/extensions/date_time_spec.rb
1469
- - spec/mongoid/extensions/decimal128_spec.rb
1470
1159
  - spec/mongoid/extensions/false_class_spec.rb
1471
- - spec/mongoid/extensions/float_spec.rb
1472
- - spec/mongoid/extensions/hash_spec.rb
1473
- - spec/mongoid/extensions/integer_spec.rb
1474
- - spec/mongoid/extensions/module_spec.rb
1475
- - spec/mongoid/extensions/nil_class_spec.rb
1476
- - spec/mongoid/extensions/object_id_spec.rb
1477
- - spec/mongoid/extensions/object_spec.rb
1478
- - spec/mongoid/extensions/range_spec.rb
1479
- - spec/mongoid/extensions/regexp_spec.rb
1480
- - spec/mongoid/extensions/set_spec.rb
1481
1160
  - spec/mongoid/extensions/string_spec.rb
1161
+ - spec/mongoid/extensions/range_spec.rb
1482
1162
  - spec/mongoid/extensions/symbol_spec.rb
1483
- - spec/mongoid/extensions/time_spec.rb
1484
- - spec/mongoid/extensions/time_with_zone_spec.rb
1163
+ - spec/mongoid/extensions/decimal128_spec.rb
1164
+ - spec/mongoid/extensions/integer_spec.rb
1165
+ - spec/mongoid/extensions/float_spec.rb
1166
+ - spec/mongoid/extensions/nil_class_spec.rb
1485
1167
  - spec/mongoid/extensions/true_class_spec.rb
1486
- - spec/mongoid/extensions_spec.rb
1487
- - spec/mongoid/factory_spec.rb
1488
- - spec/mongoid/fields/foreign_key_spec.rb
1489
- - spec/mongoid/fields/localized_spec.rb
1490
- - spec/mongoid/fields/standard_spec.rb
1491
- - spec/mongoid/fields_spec.rb
1492
- - spec/mongoid/findable_spec.rb
1493
- - spec/mongoid/indexable/specification_spec.rb
1494
- - spec/mongoid/indexable_spec.rb
1495
- - spec/mongoid/inspectable_spec.rb
1496
- - spec/mongoid/interceptable_spec.rb
1497
- - spec/mongoid/interceptable_spec_models.rb
1498
- - spec/mongoid/loggable_spec.rb
1499
- - spec/mongoid/matchable/all_spec.rb
1500
- - spec/mongoid/matchable/and_spec.rb
1501
- - spec/mongoid/matchable/default_spec.rb
1502
- - spec/mongoid/matchable/elem_match_spec.rb
1503
- - spec/mongoid/matchable/eq_spec.rb
1504
- - spec/mongoid/matchable/exists_spec.rb
1505
- - spec/mongoid/matchable/gt_spec.rb
1506
- - spec/mongoid/matchable/gte_spec.rb
1507
- - spec/mongoid/matchable/in_spec.rb
1508
- - spec/mongoid/matchable/lt_spec.rb
1509
- - spec/mongoid/matchable/lte_spec.rb
1510
- - spec/mongoid/matchable/ne_spec.rb
1511
- - spec/mongoid/matchable/nin_spec.rb
1512
- - spec/mongoid/matchable/nor_spec.rb
1513
- - spec/mongoid/matchable/or_spec.rb
1514
- - spec/mongoid/matchable/regexp_spec.rb
1515
- - spec/mongoid/matchable/size_spec.rb
1516
- - spec/mongoid/matchable_spec.rb
1517
- - spec/mongoid/persistable/creatable_spec.rb
1168
+ - spec/mongoid/extensions/object_id_spec.rb
1169
+ - spec/mongoid/timestamps_spec.rb
1170
+ - spec/mongoid/stateful_spec.rb
1171
+ - spec/mongoid/attributes/readonly_spec.rb
1172
+ - spec/mongoid/attributes/dynamic_spec.rb
1173
+ - spec/mongoid/attributes/nested_spec.rb
1174
+ - spec/mongoid/positional_spec.rb
1175
+ - spec/mongoid/persistable_spec.rb
1176
+ - spec/mongoid/serializable_spec.rb
1518
1177
  - spec/mongoid/persistable/deletable_spec.rb
1178
+ - spec/mongoid/persistable/creatable_spec.rb
1179
+ - spec/mongoid/persistable/updatable_spec.rb
1180
+ - spec/mongoid/persistable/unsettable_spec.rb
1519
1181
  - spec/mongoid/persistable/destroyable_spec.rb
1520
- - spec/mongoid/persistable/incrementable_spec.rb
1521
- - spec/mongoid/persistable/logical_spec.rb
1522
- - spec/mongoid/persistable/poppable_spec.rb
1523
- - spec/mongoid/persistable/pullable_spec.rb
1524
1182
  - spec/mongoid/persistable/pushable_spec.rb
1525
- - spec/mongoid/persistable/renamable_spec.rb
1526
- - spec/mongoid/persistable/savable_spec.rb
1183
+ - spec/mongoid/persistable/logical_spec.rb
1527
1184
  - spec/mongoid/persistable/settable_spec.rb
1528
- - spec/mongoid/persistable/unsettable_spec.rb
1529
- - spec/mongoid/persistable/updatable_spec.rb
1185
+ - spec/mongoid/persistable/incrementable_spec.rb
1530
1186
  - spec/mongoid/persistable/upsertable_spec.rb
1531
- - spec/mongoid/persistable_spec.rb
1532
- - spec/mongoid/persistence_context_spec.rb
1533
- - spec/mongoid/positional_spec.rb
1534
- - spec/mongoid/query_cache_middleware_spec.rb
1535
- - spec/mongoid/query_cache_spec.rb
1536
- - spec/mongoid/relations/proxy_spec.rb
1187
+ - spec/mongoid/persistable/savable_spec.rb
1188
+ - spec/mongoid/persistable/pullable_spec.rb
1189
+ - spec/mongoid/persistable/renamable_spec.rb
1190
+ - spec/mongoid/persistable/poppable_spec.rb
1537
1191
  - spec/mongoid/reloadable_spec.rb
1538
- - spec/mongoid/scopable_spec.rb
1539
- - spec/mongoid/selectable_spec.rb
1540
- - spec/mongoid/serializable_spec.rb
1541
- - spec/mongoid/shardable_models.rb
1542
- - spec/mongoid/shardable_spec.rb
1543
- - spec/mongoid/stateful_spec.rb
1544
- - spec/mongoid/tasks/database_rake_spec.rb
1545
- - spec/mongoid/tasks/database_spec.rb
1546
1192
  - spec/mongoid/threaded_spec.rb
1547
- - spec/mongoid/timestamps/created/short_spec.rb
1548
- - spec/mongoid/timestamps/created_spec.rb
1549
- - spec/mongoid/timestamps/timeless_spec.rb
1550
- - spec/mongoid/timestamps/updated/short_spec.rb
1551
- - spec/mongoid/timestamps/updated_spec.rb
1552
- - spec/mongoid/timestamps_spec.rb
1553
- - spec/mongoid/touchable_spec.rb
1554
- - spec/mongoid/traversable_spec.rb
1193
+ - spec/mongoid/document_fields_spec.rb
1194
+ - spec/mongoid/validatable_spec.rb
1195
+ - spec/mongoid/fields/standard_spec.rb
1196
+ - spec/mongoid/fields/localized_spec.rb
1197
+ - spec/mongoid/fields/foreign_key_spec.rb
1198
+ - spec/mongoid/inspectable_spec.rb
1199
+ - spec/mongoid/errors/invalid_options_spec.rb
1200
+ - spec/mongoid/errors/mixed_relations_spec.rb
1201
+ - spec/mongoid/errors/unsaved_document_spec.rb
1202
+ - spec/mongoid/errors/invalid_index_spec.rb
1203
+ - spec/mongoid/errors/invalid_scope_spec.rb
1204
+ - spec/mongoid/errors/document_not_destroyed_spec.rb
1205
+ - spec/mongoid/errors/invalid_storage_options_spec.rb
1206
+ - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1207
+ - spec/mongoid/errors/invalid_relation_spec.rb
1208
+ - spec/mongoid/errors/scope_overwrite_spec.rb
1209
+ - spec/mongoid/errors/invalid_collection_spec.rb
1210
+ - spec/mongoid/errors/mongoid_error_spec.rb
1211
+ - spec/mongoid/errors/invalid_path_spec.rb
1212
+ - spec/mongoid/errors/invalid_config_option_spec.rb
1213
+ - spec/mongoid/errors/unsupported_javascript_spec.rb
1214
+ - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1215
+ - spec/mongoid/errors/no_client_config_spec.rb
1216
+ - spec/mongoid/errors/no_metadata_spec.rb
1217
+ - spec/mongoid/errors/validations_spec.rb
1218
+ - spec/mongoid/errors/no_clients_config_spec.rb
1219
+ - spec/mongoid/errors/ambiguous_relationship_spec.rb
1220
+ - spec/mongoid/errors/no_client_hosts_spec.rb
1221
+ - spec/mongoid/errors/mixed_client_configuration_spec.rb
1222
+ - spec/mongoid/errors/no_client_database_spec.rb
1223
+ - spec/mongoid/errors/invalid_find_spec.rb
1224
+ - spec/mongoid/errors/inverse_not_found_spec.rb
1225
+ - spec/mongoid/errors/unknown_attribute_spec.rb
1226
+ - spec/mongoid/errors/invalid_time_spec.rb
1227
+ - spec/mongoid/errors/callback_spec.rb
1228
+ - spec/mongoid/errors/no_parent_spec.rb
1229
+ - spec/mongoid/errors/no_map_reduce_output_spec.rb
1230
+ - spec/mongoid/errors/document_not_found_spec.rb
1231
+ - spec/mongoid/errors/no_environment_spec.rb
1232
+ - spec/mongoid/errors/delete_restriction_spec.rb
1233
+ - spec/mongoid/errors/readonly_document_spec.rb
1234
+ - spec/mongoid/errors/invalid_includes_spec.rb
1235
+ - spec/mongoid/errors/readonly_attribute_spec.rb
1236
+ - spec/mongoid/errors/invalid_field_spec.rb
1237
+ - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1238
+ - spec/mongoid/errors/eager_load_spec.rb
1239
+ - spec/mongoid/errors/invalid_field_option_spec.rb
1240
+ - spec/mongoid/equality_spec.rb
1241
+ - spec/mongoid/association_spec.rb
1242
+ - spec/mongoid/criteria/scopable_spec.rb
1243
+ - spec/mongoid/criteria/modifiable_spec.rb
1244
+ - spec/mongoid/criteria/findable_spec.rb
1245
+ - spec/mongoid/criteria/options_spec.rb
1246
+ - spec/mongoid/criteria/queryable/storable_spec.rb
1247
+ - spec/mongoid/criteria/queryable/selectable_spec.rb
1248
+ - spec/mongoid/criteria/queryable/selector_spec.rb
1249
+ - spec/mongoid/criteria/queryable/expandable_spec.rb
1250
+ - spec/mongoid/criteria/queryable/selectable_logical_spec.rb
1251
+ - spec/mongoid/criteria/queryable/options_spec.rb
1252
+ - spec/mongoid/criteria/queryable/optional_spec.rb
1253
+ - spec/mongoid/criteria/queryable/key_spec.rb
1254
+ - spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
1255
+ - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1256
+ - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1257
+ - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1258
+ - spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
1259
+ - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1260
+ - spec/mongoid/criteria/queryable/extensions/array_spec.rb
1261
+ - spec/mongoid/criteria/queryable/extensions/set_spec.rb
1262
+ - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1263
+ - spec/mongoid/criteria/queryable/extensions/date_spec.rb
1264
+ - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1265
+ - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
1266
+ - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
1267
+ - spec/mongoid/criteria/queryable/extensions/string_spec.rb
1268
+ - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
1269
+ - spec/mongoid/criteria/queryable/extensions/range_spec.rb
1270
+ - spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
1271
+ - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1272
+ - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1273
+ - spec/mongoid/criteria/queryable/extensions/float_spec.rb
1274
+ - spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
1275
+ - spec/mongoid/criteria/queryable/smash_spec.rb
1276
+ - spec/mongoid/criteria/queryable/aggregable_spec.rb
1277
+ - spec/mongoid/criteria/queryable/mergeable_spec.rb
1278
+ - spec/mongoid/criteria/queryable/pipeline_spec.rb
1279
+ - spec/mongoid/criteria/queryable/queryable_spec.rb
1280
+ - spec/mongoid/criteria/marshalable_spec.rb
1281
+ - spec/mongoid/criteria/inspectable_spec.rb
1282
+ - spec/mongoid/validatable/presence_spec.rb
1555
1283
  - spec/mongoid/validatable/associated_spec.rb
1284
+ - spec/mongoid/validatable/uniqueness_spec.rb
1556
1285
  - spec/mongoid/validatable/format_spec.rb
1557
- - spec/mongoid/validatable/length_spec.rb
1558
1286
  - spec/mongoid/validatable/numericality_spec.rb
1559
- - spec/mongoid/validatable/presence_spec.rb
1560
- - spec/mongoid/validatable/uniqueness_spec.rb
1561
- - spec/mongoid/validatable_spec.rb
1562
- - spec/mongoid_spec.rb
1563
- - spec/rails/controller_extension/controller_runtime_spec.rb
1564
- - spec/rails/mongoid_spec.rb
1565
- - spec/shared/LICENSE
1566
- - spec/shared/bin/get-mongodb-download-url
1567
- - spec/shared/bin/s3-copy
1568
- - spec/shared/bin/s3-upload
1569
- - spec/shared/lib/mrss/child_process_helper.rb
1570
- - spec/shared/lib/mrss/cluster_config.rb
1571
- - spec/shared/lib/mrss/constraints.rb
1572
- - spec/shared/lib/mrss/docker_runner.rb
1573
- - spec/shared/lib/mrss/event_subscriber.rb
1574
- - spec/shared/lib/mrss/lite_constraints.rb
1575
- - spec/shared/lib/mrss/server_version_registry.rb
1576
- - spec/shared/lib/mrss/spec_organizer.rb
1577
- - spec/shared/lib/mrss/utils.rb
1578
- - spec/shared/share/Dockerfile.erb
1579
- - spec/shared/share/haproxy-1.conf
1580
- - spec/shared/share/haproxy-2.conf
1581
- - spec/shared/shlib/distro.sh
1582
- - spec/shared/shlib/server.sh
1583
- - spec/shared/shlib/set_env.sh
1287
+ - spec/mongoid/validatable/length_spec.rb
1288
+ - spec/mongoid/document_spec.rb
1289
+ - spec/mongoid/interceptable_spec_models.rb
1290
+ - spec/mongoid/query_cache_middleware_spec.rb
1291
+ - spec/mongoid/shardable_models.rb
1292
+ - spec/mongoid/clients_spec.rb
1584
1293
  - spec/spec_helper.rb
1585
- - spec/support/authorization.rb
1586
- - spec/support/cluster_config.rb
1587
- - spec/support/constraints.rb
1588
- - spec/support/expectations.rb
1294
+ - spec/config/mongoid.yml
1295
+ - spec/integration/matcher_spec.rb
1296
+ - spec/integration/associations/has_one_spec.rb
1297
+ - spec/integration/associations/nested_attributes_assignment_spec.rb
1298
+ - spec/integration/associations/embedded_spec.rb
1299
+ - spec/integration/associations/reverse_population_spec_models.rb
1300
+ - spec/integration/associations/foreign_key_spec.rb
1301
+ - spec/integration/associations/has_many_spec.rb
1302
+ - spec/integration/associations/foreign_key_spec_models.rb
1303
+ - spec/integration/associations/belongs_to_spec.rb
1304
+ - spec/integration/associations/reverse_population_spec.rb
1305
+ - spec/integration/shardable_spec.rb
1306
+ - spec/integration/server_query_spec.rb
1307
+ - spec/integration/discriminator_value_spec.rb
1308
+ - spec/integration/atomic/modifiers_spec.rb
1309
+ - spec/integration/discriminator_key_spec.rb
1310
+ - spec/integration/matcher_examples_spec.rb
1311
+ - spec/integration/bson_regexp_raw_spec.rb
1312
+ - spec/integration/matcher_operator_data/nor.yml
1313
+ - spec/integration/matcher_operator_data/exists.yml
1314
+ - spec/integration/matcher_operator_data/or.yml
1315
+ - spec/integration/matcher_operator_data/not.yml
1316
+ - spec/integration/matcher_operator_data/invalid_syntax.yml
1317
+ - spec/integration/matcher_operator_data/ne.yml
1318
+ - spec/integration/matcher_operator_data/elem_match.yml
1319
+ - spec/integration/matcher_operator_data/gte.yml
1320
+ - spec/integration/matcher_operator_data/implicit_traversal.yml
1321
+ - spec/integration/matcher_operator_data/elem_match_expr.yml
1322
+ - spec/integration/matcher_operator_data/multiple.yml
1323
+ - spec/integration/matcher_operator_data/generic_op.yml
1324
+ - spec/integration/matcher_operator_data/eq.yml
1325
+ - spec/integration/matcher_operator_data/all.yml
1326
+ - spec/integration/matcher_operator_data/in.yml
1327
+ - spec/integration/matcher_operator_data/and.yml
1328
+ - spec/integration/matcher_operator_data/nin.yml
1329
+ - spec/integration/matcher_operator_data/gt.yml
1330
+ - spec/integration/matcher_operator_data/regex_options.yml
1331
+ - spec/integration/matcher_operator_data/invalid_op.yml
1332
+ - spec/integration/matcher_operator_data/lte.yml
1333
+ - spec/integration/matcher_operator_data/implicit.yml
1334
+ - spec/integration/matcher_operator_data/lt.yml
1335
+ - spec/integration/matcher_operator_data/size.yml
1336
+ - spec/integration/matcher_operator_data/regex.yml
1337
+ - spec/integration/app_spec.rb
1338
+ - spec/integration/criteria/date_field_spec.rb
1339
+ - spec/integration/criteria/time_with_zone_spec.rb
1340
+ - spec/integration/criteria/logical_spec.rb
1341
+ - spec/integration/criteria/default_scope_spec.rb
1342
+ - spec/integration/document_spec.rb
1343
+ - spec/integration/matcher_operator_spec.rb
1344
+ - spec/integration/i18n_fallbacks_spec.rb
1345
+ - spec/mongoid_spec.rb
1346
+ - spec/lite_spec_helper.rb
1347
+ - spec/README.md
1589
1348
  - spec/support/helpers.rb
1590
- - spec/support/macros.rb
1591
1349
  - spec/support/session_registry.rb
1350
+ - spec/support/child_process_helper.rb
1351
+ - spec/support/constraints.rb
1352
+ - spec/support/lite_constraints.rb
1353
+ - spec/support/macros.rb
1354
+ - spec/support/expectations.rb
1592
1355
  - spec/support/shared/time.rb
1356
+ - spec/support/models/draft.rb
1357
+ - spec/support/models/fish.rb
1358
+ - spec/support/models/word.rb
1359
+ - spec/support/models/image.rb
1360
+ - spec/support/models/short_agent.rb
1361
+ - spec/support/models/courier_job.rb
1362
+ - spec/support/models/eye_bowl.rb
1363
+ - spec/support/models/song.rb
1364
+ - spec/support/models/thing.rb
1365
+ - spec/support/models/membership.rb
1366
+ - spec/support/models/note.rb
1367
+ - spec/support/models/shop.rb
1368
+ - spec/support/models/tool.rb
1369
+ - spec/support/models/doctor.rb
1370
+ - spec/support/models/video.rb
1371
+ - spec/support/models/title.rb
1372
+ - spec/support/models/account.rb
1373
+ - spec/support/models/other_owner_object.rb
1374
+ - spec/support/models/learner.rb
1375
+ - spec/support/models/face.rb
1376
+ - spec/support/models/alert.rb
1377
+ - spec/support/models/explosion.rb
1378
+ - spec/support/models/article.rb
1379
+ - spec/support/models/category.rb
1380
+ - spec/support/models/acolyte.rb
1381
+ - spec/support/models/tag.rb
1382
+ - spec/support/models/override.rb
1383
+ - spec/support/models/item.rb
1384
+ - spec/support/models/odd.rb
1385
+ - spec/support/models/canvas.rb
1386
+ - spec/support/models/actress.rb
1387
+ - spec/support/models/circus.rb
1388
+ - spec/support/models/actor.rb
1389
+ - spec/support/models/manufacturer.rb
1390
+ - spec/support/models/contextable_item.rb
1391
+ - spec/support/models/system_role.rb
1392
+ - spec/support/models/login.rb
1393
+ - spec/support/models/node.rb
1394
+ - spec/support/models/shipping_container.rb
1395
+ - spec/support/models/square.rb
1396
+ - spec/support/models/audio.rb
1397
+ - spec/support/models/piano.rb
1398
+ - spec/support/models/publication/review.rb
1399
+ - spec/support/models/publication/encyclopedia.rb
1400
+ - spec/support/models/short_quiz.rb
1401
+ - spec/support/models/scheduler.rb
1402
+ - spec/support/models/exhibition.rb
1403
+ - spec/support/models/pet_owner.rb
1404
+ - spec/support/models/employer.rb
1405
+ - spec/support/models/appointment.rb
1406
+ - spec/support/models/driver.rb
1407
+ - spec/support/models/simple.rb
1408
+ - spec/support/models/toy.rb
1409
+ - spec/support/models/ghost.rb
1410
+ - spec/support/models/page_question.rb
1411
+ - spec/support/models/bed.rb
1412
+ - spec/support/models/instrument.rb
1413
+ - spec/support/models/country_code.rb
1414
+ - spec/support/models/name.rb
1415
+ - spec/support/models/dictionary.rb
1416
+ - spec/support/models/baby.rb
1417
+ - spec/support/models/label.rb
1418
+ - spec/support/models/entry.rb
1419
+ - spec/support/models/language.rb
1420
+ - spec/support/models/definition.rb
1421
+ - spec/support/models/store_as_dup_test2.rb
1422
+ - spec/support/models/agent.rb
1423
+ - spec/support/models/publication.rb
1424
+ - spec/support/models/shipment_address.rb
1425
+ - spec/support/models/array_field.rb
1426
+ - spec/support/models/kangaroo.rb
1427
+ - spec/support/models/my_hash.rb
1428
+ - spec/support/models/favorite.rb
1429
+ - spec/support/models/ordered_preference.rb
1430
+ - spec/support/models/translation.rb
1431
+ - spec/support/models/breed.rb
1432
+ - spec/support/models/email.rb
1433
+ - spec/support/models/slave.rb
1434
+ - spec/support/models/lat_lng.rb
1435
+ - spec/support/models/child.rb
1436
+ - spec/support/models/word_origin.rb
1437
+ - spec/support/models/guitar.rb
1438
+ - spec/support/models/shape.rb
1439
+ - spec/support/models/product.rb
1440
+ - spec/support/models/writer.rb
1441
+ - spec/support/models/book.rb
1442
+ - spec/support/models/target.rb
1443
+ - spec/support/models/crate.rb
1444
+ - spec/support/models/dog.rb
1445
+ - spec/support/models/record.rb
1446
+ - spec/support/models/template.rb
1447
+ - spec/support/models/bar.rb
1448
+ - spec/support/models/birthday.rb
1449
+ - spec/support/models/powerup.rb
1450
+ - spec/support/models/movie.rb
1451
+ - spec/support/models/dokument.rb
1452
+ - spec/support/models/fire_hydrant.rb
1453
+ - spec/support/models/car.rb
1454
+ - spec/support/models/shipping_pack.rb
1455
+ - spec/support/models/post_genre.rb
1456
+ - spec/support/models/location.rb
1457
+ - spec/support/models/name_only.rb
1458
+ - spec/support/models/eraser.rb
1459
+ - spec/support/models/weapon.rb
1460
+ - spec/support/models/album.rb
1461
+ - spec/support/models/cookie.rb
1462
+ - spec/support/models/browser.rb
1463
+ - spec/support/models/artist.rb
1464
+ - spec/support/models/business.rb
1465
+ - spec/support/models/player.rb
1466
+ - spec/support/models/store_as_dup_test3.rb
1467
+ - spec/support/models/basic.rb
1468
+ - spec/support/models/sub_item.rb
1469
+ - spec/support/models/wiki_page.rb
1470
+ - spec/support/models/fruits.rb
1471
+ - spec/support/models/validation_callback.rb
1472
+ - spec/support/models/bus.rb
1473
+ - spec/support/models/mop.rb
1474
+ - spec/support/models/strategy.rb
1475
+ - spec/support/models/page.rb
1476
+ - spec/support/models/church.rb
1477
+ - spec/support/models/vertex.rb
1478
+ - spec/support/models/message.rb
1479
+ - spec/support/models/store_as_dup_test4.rb
1480
+ - spec/support/models/sandwich.rb
1481
+ - spec/support/models/edit.rb
1482
+ - spec/support/models/deed.rb
1483
+ - spec/support/models/animal.rb
1484
+ - spec/support/models/vehicle.rb
1485
+ - spec/support/models/code.rb
1486
+ - spec/support/models/drug.rb
1487
+ - spec/support/models/series.rb
1488
+ - spec/support/models/mixed_drink.rb
1489
+ - spec/support/models/parent.rb
1490
+ - spec/support/models/author.rb
1491
+ - spec/support/models/question.rb
1492
+ - spec/support/models/implant.rb
1493
+ - spec/support/models/id_key.rb
1494
+ - spec/support/models/delegating_patient.rb
1495
+ - spec/support/models/palette.rb
1496
+ - spec/support/models/owner.rb
1497
+ - spec/support/models/address_component.rb
1498
+ - spec/support/models/purchase.rb
1499
+ - spec/support/models/truck.rb
1500
+ - spec/support/models/role.rb
1501
+ - spec/support/models/princess.rb
1502
+ - spec/support/models/vet_visit.rb
1503
+ - spec/support/models/cat.rb
1504
+ - spec/support/models/folder.rb
1505
+ - spec/support/models/league.rb
1506
+ - spec/support/models/store_as_dup_test1.rb
1507
+ - spec/support/models/scribe.rb
1508
+ - spec/support/models/house.rb
1509
+ - spec/support/models/patient.rb
1510
+ - spec/support/models/rating.rb
1511
+ - spec/support/models/track.rb
1512
+ - spec/support/models/registry.rb
1513
+ - spec/support/models/dragon.rb
1514
+ - spec/support/models/building.rb
1515
+ - spec/support/models/circle.rb
1516
+ - spec/support/models/game.rb
1517
+ - spec/support/models/meat.rb
1518
+ - spec/support/models/idnodef.rb
1519
+ - spec/support/models/oscar.rb
1520
+ - spec/support/models/armrest.rb
1521
+ - spec/support/models/pub.rb
1522
+ - spec/support/models/dungeon.rb
1523
+ - spec/support/models/callback_test.rb
1524
+ - spec/support/models/user_account.rb
1525
+ - spec/support/models/ordered_post.rb
1526
+ - spec/support/models/contractor.rb
1527
+ - spec/support/models/eye.rb
1528
+ - spec/support/models/filesystem.rb
1529
+ - spec/support/models/profile.rb
1530
+ - spec/support/models/pizza.rb
1531
+ - spec/support/models/building_address.rb
1532
+ - spec/support/models/augmentation.rb
1533
+ - spec/support/models/answer.rb
1534
+ - spec/support/models/firefox.rb
1535
+ - spec/support/models/coding/pull_request.rb
1536
+ - spec/support/models/pet.rb
1537
+ - spec/support/models/parent_doc.rb
1538
+ - spec/support/models/company.rb
1539
+ - spec/support/models/version.rb
1540
+ - spec/support/models/child_doc.rb
1541
+ - spec/support/models/home.rb
1542
+ - spec/support/models/staff.rb
1543
+ - spec/support/models/even.rb
1544
+ - spec/support/models/pdf_writer.rb
1545
+ - spec/support/models/description.rb
1546
+ - spec/support/models/updatable.rb
1547
+ - spec/support/models/comment.rb
1548
+ - spec/support/models/video_game.rb
1549
+ - spec/support/models/circuit.rb
1550
+ - spec/support/models/minim.rb
1551
+ - spec/support/models/person.rb
1552
+ - spec/support/models/passport.rb
1553
+ - spec/support/models/jar.rb
1554
+ - spec/support/models/agency.rb
1555
+ - spec/support/models/folder_item.rb
1556
+ - spec/support/models/coding.rb
1557
+ - spec/support/models/subscription.rb
1558
+ - spec/support/models/seo.rb
1559
+ - spec/support/models/pronunciation.rb
1560
+ - spec/support/models/root_category.rb
1561
+ - spec/support/models/seat.rb
1562
+ - spec/support/models/exhibitor.rb
1563
+ - spec/support/models/band.rb
1564
+ - spec/support/models/pencil.rb
1565
+ - spec/support/models/symptom.rb
1566
+ - spec/support/models/survey.rb
1567
+ - spec/support/models/consumption_period.rb
1568
+ - spec/support/models/post.rb
1569
+ - spec/support/models/address.rb
1570
+ - spec/support/models/sound.rb
1571
+ - spec/support/models/phone.rb
1572
+ - spec/support/models/topping.rb
1573
+ - spec/support/models/ownable.rb
1574
+ - spec/support/models/line_item.rb
1575
+ - spec/support/models/pack.rb
1576
+ - spec/support/models/division.rb
1577
+ - spec/support/models/bomb.rb
1578
+ - spec/support/models/big_palette.rb
1579
+ - spec/support/models/event.rb
1580
+ - spec/support/models/shelf.rb
1581
+ - spec/support/models/server.rb
1582
+ - spec/support/models/html_writer.rb
1583
+ - spec/support/models/quiz.rb
1584
+ - spec/support/models/preference.rb
1585
+ - spec/support/models/service.rb
1586
+ - spec/support/models/user.rb
1587
+ - spec/support/models/tree.rb
1588
+ - spec/support/models/address_number.rb
1589
+ - spec/support/models/kaleidoscope.rb
1590
+ - spec/support/models/artwork.rb
1591
+ - spec/support/authorization.rb
1593
1592
  - spec/support/spec_config.rb
1593
+ - spec/support/cluster_config.rb
1594
+ - spec/support/spec_organizer.rb
1595
+ - spec/rails/controller_extension/controller_runtime_spec.rb
1596
+ - spec/rails/mongoid_spec.rb