mongoid 7.5.1 → 8.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (424) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +3 -3
  4. data/README.md +6 -6
  5. data/Rakefile +25 -0
  6. data/lib/config/locales/en.yml +92 -43
  7. data/lib/mongoid/association/accessors.rb +40 -11
  8. data/lib/mongoid/association/bindable.rb +50 -2
  9. data/lib/mongoid/association/builders.rb +5 -3
  10. data/lib/mongoid/association/constrainable.rb +0 -1
  11. data/lib/mongoid/association/eager_loadable.rb +29 -7
  12. data/lib/mongoid/association/embedded/batchable.rb +54 -14
  13. data/lib/mongoid/association/embedded/cyclic.rb +1 -1
  14. data/lib/mongoid/association/embedded/embedded_in/binding.rb +24 -2
  15. data/lib/mongoid/association/embedded/embedded_in/buildable.rb +2 -2
  16. data/lib/mongoid/association/embedded/embedded_in/proxy.rb +4 -3
  17. data/lib/mongoid/association/embedded/embedded_in.rb +3 -2
  18. data/lib/mongoid/association/embedded/embeds_many/binding.rb +1 -0
  19. data/lib/mongoid/association/embedded/embeds_many/buildable.rb +4 -3
  20. data/lib/mongoid/association/embedded/embeds_many/proxy.rb +69 -45
  21. data/lib/mongoid/association/embedded/embeds_many.rb +2 -2
  22. data/lib/mongoid/association/embedded/embeds_one/buildable.rb +19 -5
  23. data/lib/mongoid/association/embedded/embeds_one/proxy.rb +24 -5
  24. data/lib/mongoid/association/embedded/embeds_one.rb +3 -3
  25. data/lib/mongoid/association/macros.rb +8 -1
  26. data/lib/mongoid/association/many.rb +11 -7
  27. data/lib/mongoid/association/nested/many.rb +5 -4
  28. data/lib/mongoid/association/nested/nested_buildable.rb +4 -4
  29. data/lib/mongoid/association/nested/one.rb +45 -7
  30. data/lib/mongoid/association/one.rb +2 -2
  31. data/lib/mongoid/association/options.rb +9 -9
  32. data/lib/mongoid/association/proxy.rb +15 -4
  33. data/lib/mongoid/association/referenced/auto_save.rb +4 -3
  34. data/lib/mongoid/association/referenced/belongs_to/binding.rb +1 -0
  35. data/lib/mongoid/association/referenced/belongs_to/buildable.rb +1 -1
  36. data/lib/mongoid/association/referenced/belongs_to/proxy.rb +5 -6
  37. data/lib/mongoid/association/referenced/belongs_to.rb +2 -2
  38. data/lib/mongoid/association/referenced/counter_cache.rb +10 -10
  39. data/lib/mongoid/association/referenced/eager.rb +2 -2
  40. data/lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb +70 -13
  41. data/lib/mongoid/association/referenced/has_and_belongs_to_many.rb +6 -3
  42. data/lib/mongoid/association/referenced/has_many/enumerable.rb +22 -30
  43. data/lib/mongoid/association/referenced/has_many/proxy.rb +29 -19
  44. data/lib/mongoid/association/referenced/has_many.rb +3 -3
  45. data/lib/mongoid/association/referenced/has_one/buildable.rb +1 -1
  46. data/lib/mongoid/association/referenced/has_one/nested_builder.rb +5 -5
  47. data/lib/mongoid/association/referenced/has_one/proxy.rb +9 -12
  48. data/lib/mongoid/association/referenced/has_one.rb +3 -3
  49. data/lib/mongoid/association/referenced/syncable.rb +4 -4
  50. data/lib/mongoid/association/reflections.rb +4 -4
  51. data/lib/mongoid/association/relatable.rb +44 -10
  52. data/lib/mongoid/association.rb +5 -5
  53. data/lib/mongoid/atomic/modifiers.rb +2 -2
  54. data/lib/mongoid/atomic/paths/embedded/many.rb +19 -0
  55. data/lib/mongoid/atomic.rb +7 -0
  56. data/lib/mongoid/attributes/dynamic.rb +4 -4
  57. data/lib/mongoid/attributes/nested.rb +6 -6
  58. data/lib/mongoid/attributes/processing.rb +37 -6
  59. data/lib/mongoid/attributes/projector.rb +2 -2
  60. data/lib/mongoid/attributes/readonly.rb +3 -3
  61. data/lib/mongoid/attributes.rb +51 -42
  62. data/lib/mongoid/cacheable.rb +2 -2
  63. data/lib/mongoid/changeable.rb +147 -14
  64. data/lib/mongoid/clients/options.rb +5 -1
  65. data/lib/mongoid/clients/sessions.rb +2 -14
  66. data/lib/mongoid/clients/storage_options.rb +2 -5
  67. data/lib/mongoid/clients/validators/storage.rb +3 -15
  68. data/lib/mongoid/collection_configurable.rb +58 -0
  69. data/lib/mongoid/composable.rb +2 -0
  70. data/lib/mongoid/config/defaults.rb +60 -0
  71. data/lib/mongoid/config/options.rb +3 -0
  72. data/lib/mongoid/config/validators/async_query_executor.rb +24 -0
  73. data/lib/mongoid/config/validators/client.rb +6 -6
  74. data/lib/mongoid/config/validators.rb +1 -0
  75. data/lib/mongoid/config.rb +145 -17
  76. data/lib/mongoid/contextual/aggregable/memory.rb +24 -16
  77. data/lib/mongoid/contextual/aggregable/mongo.rb +5 -5
  78. data/lib/mongoid/contextual/aggregable/none.rb +1 -1
  79. data/lib/mongoid/contextual/atomic.rb +1 -1
  80. data/lib/mongoid/contextual/geo_near.rb +7 -7
  81. data/lib/mongoid/contextual/map_reduce.rb +2 -2
  82. data/lib/mongoid/contextual/memory.rb +285 -58
  83. data/lib/mongoid/contextual/mongo/documents_loader.rb +177 -0
  84. data/lib/mongoid/contextual/mongo.rb +521 -333
  85. data/lib/mongoid/contextual/none.rb +193 -20
  86. data/lib/mongoid/contextual/queryable.rb +1 -1
  87. data/lib/mongoid/contextual.rb +14 -2
  88. data/lib/mongoid/copyable.rb +32 -8
  89. data/lib/mongoid/criteria/findable.rb +8 -5
  90. data/lib/mongoid/criteria/includable.rb +27 -22
  91. data/lib/mongoid/criteria/marshalable.rb +10 -2
  92. data/lib/mongoid/criteria/permission.rb +1 -1
  93. data/lib/mongoid/criteria/queryable/aggregable.rb +2 -2
  94. data/lib/mongoid/criteria/queryable/extensions/array.rb +3 -16
  95. data/lib/mongoid/criteria/queryable/extensions/big_decimal.rb +25 -4
  96. data/lib/mongoid/criteria/queryable/extensions/boolean.rb +2 -2
  97. data/lib/mongoid/criteria/queryable/extensions/date.rb +6 -1
  98. data/lib/mongoid/criteria/queryable/extensions/date_time.rb +6 -1
  99. data/lib/mongoid/criteria/queryable/extensions/hash.rb +1 -17
  100. data/lib/mongoid/criteria/queryable/extensions/numeric.rb +1 -9
  101. data/lib/mongoid/criteria/queryable/extensions/object.rb +2 -1
  102. data/lib/mongoid/criteria/queryable/extensions/range.rb +13 -5
  103. data/lib/mongoid/criteria/queryable/extensions/regexp.rb +3 -3
  104. data/lib/mongoid/criteria/queryable/extensions/set.rb +1 -1
  105. data/lib/mongoid/criteria/queryable/extensions/string.rb +4 -14
  106. data/lib/mongoid/criteria/queryable/extensions/symbol.rb +4 -12
  107. data/lib/mongoid/criteria/queryable/extensions/time.rb +6 -1
  108. data/lib/mongoid/criteria/queryable/extensions/time_with_zone.rb +6 -1
  109. data/lib/mongoid/criteria/queryable/key.rb +4 -4
  110. data/lib/mongoid/criteria/queryable/mergeable.rb +1 -1
  111. data/lib/mongoid/criteria/queryable/optional.rb +11 -17
  112. data/lib/mongoid/criteria/queryable/options.rb +2 -2
  113. data/lib/mongoid/criteria/queryable/pipeline.rb +1 -1
  114. data/lib/mongoid/criteria/queryable/selectable.rb +47 -38
  115. data/lib/mongoid/criteria/queryable/selector.rb +93 -8
  116. data/lib/mongoid/criteria/queryable/smash.rb +40 -7
  117. data/lib/mongoid/criteria/queryable/storable.rb +1 -1
  118. data/lib/mongoid/criteria/queryable.rb +12 -7
  119. data/lib/mongoid/criteria/scopable.rb +2 -2
  120. data/lib/mongoid/criteria/translator.rb +45 -0
  121. data/lib/mongoid/criteria.rb +20 -40
  122. data/lib/mongoid/deprecable.rb +36 -0
  123. data/lib/mongoid/deprecation.rb +25 -0
  124. data/lib/mongoid/document.rb +135 -36
  125. data/lib/mongoid/equality.rb +8 -8
  126. data/lib/mongoid/errors/create_collection_failure.rb +33 -0
  127. data/lib/mongoid/errors/document_not_found.rb +10 -6
  128. data/lib/mongoid/errors/drop_collection_failure.rb +27 -0
  129. data/lib/mongoid/errors/immutable_attribute.rb +26 -0
  130. data/lib/mongoid/errors/invalid_async_query_executor.rb +25 -0
  131. data/lib/mongoid/errors/invalid_config_option.rb +1 -1
  132. data/lib/mongoid/errors/invalid_dependent_strategy.rb +1 -1
  133. data/lib/mongoid/errors/invalid_dot_dollar_assignment.rb +23 -0
  134. data/lib/mongoid/errors/invalid_field.rb +6 -2
  135. data/lib/mongoid/errors/invalid_field_type.rb +26 -0
  136. data/lib/mongoid/errors/invalid_global_executor_concurrency.rb +22 -0
  137. data/lib/mongoid/errors/invalid_relation.rb +1 -1
  138. data/lib/mongoid/errors/invalid_relation_option.rb +1 -1
  139. data/lib/mongoid/errors/invalid_session_use.rb +1 -1
  140. data/lib/mongoid/errors/invalid_storage_options.rb +1 -1
  141. data/lib/mongoid/errors/invalid_storage_parent.rb +2 -0
  142. data/lib/mongoid/errors/mongoid_error.rb +3 -3
  143. data/lib/mongoid/errors/nested_attributes_metadata_not_found.rb +1 -1
  144. data/lib/mongoid/errors/no_client_database.rb +1 -1
  145. data/lib/mongoid/errors/no_client_hosts.rb +1 -1
  146. data/lib/mongoid/errors/readonly_attribute.rb +1 -1
  147. data/lib/mongoid/errors/too_many_nested_attribute_records.rb +1 -1
  148. data/lib/mongoid/errors/unknown_attribute.rb +1 -1
  149. data/lib/mongoid/errors.rb +6 -3
  150. data/lib/mongoid/extensions/array.rb +9 -7
  151. data/lib/mongoid/extensions/big_decimal.rb +33 -10
  152. data/lib/mongoid/extensions/binary.rb +42 -0
  153. data/lib/mongoid/extensions/boolean.rb +8 -2
  154. data/lib/mongoid/extensions/date.rb +26 -20
  155. data/lib/mongoid/extensions/date_time.rb +1 -1
  156. data/lib/mongoid/extensions/false_class.rb +1 -1
  157. data/lib/mongoid/extensions/float.rb +7 -4
  158. data/lib/mongoid/extensions/hash.rb +19 -8
  159. data/lib/mongoid/extensions/integer.rb +7 -4
  160. data/lib/mongoid/extensions/module.rb +1 -1
  161. data/lib/mongoid/extensions/object.rb +10 -8
  162. data/lib/mongoid/extensions/range.rb +41 -10
  163. data/lib/mongoid/extensions/regexp.rb +11 -4
  164. data/lib/mongoid/extensions/set.rb +11 -4
  165. data/lib/mongoid/extensions/string.rb +11 -22
  166. data/lib/mongoid/extensions/symbol.rb +4 -15
  167. data/lib/mongoid/extensions/time.rb +29 -16
  168. data/lib/mongoid/extensions/time_with_zone.rb +1 -2
  169. data/lib/mongoid/extensions/true_class.rb +1 -1
  170. data/lib/mongoid/extensions.rb +1 -0
  171. data/lib/mongoid/factory.rb +55 -7
  172. data/lib/mongoid/fields/foreign_key.rb +11 -4
  173. data/lib/mongoid/fields/localized.rb +19 -4
  174. data/lib/mongoid/fields/standard.rb +17 -7
  175. data/lib/mongoid/fields/validators/macro.rb +3 -9
  176. data/lib/mongoid/fields.rb +129 -20
  177. data/lib/mongoid/findable.rb +54 -24
  178. data/lib/mongoid/indexable/specification.rb +2 -2
  179. data/lib/mongoid/indexable/validators/options.rb +6 -2
  180. data/lib/mongoid/interceptable.rb +76 -15
  181. data/lib/mongoid/matchable.rb +1 -1
  182. data/lib/mongoid/matcher/eq_impl.rb +1 -1
  183. data/lib/mongoid/matcher/type.rb +1 -1
  184. data/lib/mongoid/matcher.rb +33 -13
  185. data/lib/mongoid/persistable/creatable.rb +19 -9
  186. data/lib/mongoid/persistable/deletable.rb +2 -2
  187. data/lib/mongoid/persistable/destroyable.rb +1 -1
  188. data/lib/mongoid/persistable/savable.rb +14 -2
  189. data/lib/mongoid/persistable/unsettable.rb +2 -2
  190. data/lib/mongoid/persistable/updatable.rb +69 -12
  191. data/lib/mongoid/persistable/upsertable.rb +21 -2
  192. data/lib/mongoid/persistable.rb +6 -3
  193. data/lib/mongoid/persistence_context.rb +63 -10
  194. data/lib/mongoid/query_cache.rb +13 -261
  195. data/lib/mongoid/railties/controller_runtime.rb +1 -1
  196. data/lib/mongoid/railties/database.rake +7 -2
  197. data/lib/mongoid/reloadable.rb +10 -8
  198. data/lib/mongoid/scopable.rb +15 -13
  199. data/lib/mongoid/selectable.rb +1 -2
  200. data/lib/mongoid/serializable.rb +10 -6
  201. data/lib/mongoid/shardable.rb +35 -11
  202. data/lib/mongoid/stateful.rb +57 -10
  203. data/lib/mongoid/tasks/database.rake +12 -0
  204. data/lib/mongoid/tasks/database.rb +20 -2
  205. data/lib/mongoid/threaded/lifecycle.rb +5 -5
  206. data/lib/mongoid/threaded.rb +42 -12
  207. data/lib/mongoid/timestamps/created.rb +1 -1
  208. data/lib/mongoid/timestamps/updated.rb +2 -2
  209. data/lib/mongoid/touchable.rb +2 -3
  210. data/lib/mongoid/traversable.rb +5 -4
  211. data/lib/mongoid/utils.rb +22 -0
  212. data/lib/mongoid/validatable/localizable.rb +1 -1
  213. data/lib/mongoid/validatable/macros.rb +5 -7
  214. data/lib/mongoid/validatable/presence.rb +2 -2
  215. data/lib/mongoid/validatable/uniqueness.rb +9 -8
  216. data/lib/mongoid/validatable.rb +9 -6
  217. data/lib/mongoid/version.rb +1 -1
  218. data/lib/mongoid/warnings.rb +19 -4
  219. data/lib/mongoid.rb +17 -3
  220. data/spec/config/mongoid.yml +16 -0
  221. data/spec/integration/app_spec.rb +10 -14
  222. data/spec/integration/associations/belongs_to_spec.rb +18 -0
  223. data/spec/integration/associations/embedded_spec.rb +15 -0
  224. data/spec/integration/associations/embeds_many_spec.rb +15 -2
  225. data/spec/integration/associations/embeds_one_spec.rb +18 -0
  226. data/spec/integration/associations/foreign_key_spec.rb +9 -0
  227. data/spec/integration/associations/has_and_belongs_to_many_spec.rb +21 -0
  228. data/spec/integration/associations/has_one_spec.rb +97 -1
  229. data/spec/integration/associations/scope_option_spec.rb +1 -1
  230. data/spec/integration/callbacks_models.rb +132 -1
  231. data/spec/integration/callbacks_spec.rb +360 -4
  232. data/spec/integration/criteria/range_spec.rb +95 -1
  233. data/spec/integration/discriminator_key_spec.rb +118 -80
  234. data/spec/integration/dots_and_dollars_spec.rb +277 -0
  235. data/spec/integration/i18n_fallbacks_spec.rb +3 -32
  236. data/spec/integration/matcher_examples_spec.rb +20 -13
  237. data/spec/integration/matcher_operator_data/type_decimal.yml +3 -2
  238. data/spec/integration/matcher_operator_spec.rb +3 -5
  239. data/spec/integration/persistence/range_field_spec.rb +350 -0
  240. data/spec/mongoid/association/counter_cache_spec.rb +1 -1
  241. data/spec/mongoid/association/depending_spec.rb +9 -9
  242. data/spec/mongoid/association/eager_spec.rb +2 -1
  243. data/spec/mongoid/association/embedded/embedded_in/binding_spec.rb +2 -1
  244. data/spec/mongoid/association/embedded/embedded_in/buildable_spec.rb +54 -0
  245. data/spec/mongoid/association/embedded/embedded_in/proxy_spec.rb +96 -9
  246. data/spec/mongoid/association/embedded/embeds_many/buildable_spec.rb +112 -0
  247. data/spec/mongoid/association/embedded/embeds_many/proxy_spec.rb +276 -65
  248. data/spec/mongoid/association/embedded/embeds_many_models.rb +158 -0
  249. data/spec/mongoid/association/embedded/embeds_many_query_spec.rb +12 -0
  250. data/spec/mongoid/association/embedded/embeds_many_spec.rb +68 -0
  251. data/spec/mongoid/association/embedded/embeds_one/buildable_spec.rb +25 -0
  252. data/spec/mongoid/association/embedded/embeds_one/proxy_spec.rb +15 -2
  253. data/spec/mongoid/association/embedded/embeds_one_models.rb +19 -0
  254. data/spec/mongoid/association/embedded/embeds_one_spec.rb +28 -0
  255. data/spec/mongoid/association/referenced/belongs_to/binding_spec.rb +2 -1
  256. data/spec/mongoid/association/referenced/belongs_to/buildable_spec.rb +54 -0
  257. data/spec/mongoid/association/referenced/belongs_to/proxy_spec.rb +15 -0
  258. data/spec/mongoid/association/referenced/belongs_to_models.rb +11 -0
  259. data/spec/mongoid/association/referenced/belongs_to_spec.rb +4 -20
  260. data/spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb +215 -228
  261. data/spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb +25 -0
  262. data/spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb +35 -2
  263. data/spec/mongoid/association/referenced/has_many/buildable_spec.rb +109 -0
  264. data/spec/mongoid/association/referenced/has_many/enumerable_spec.rb +2 -56
  265. data/spec/mongoid/association/referenced/has_many/proxy_spec.rb +193 -177
  266. data/spec/mongoid/association/referenced/has_many_models.rb +3 -1
  267. data/spec/mongoid/association/referenced/has_many_spec.rb +25 -0
  268. data/spec/mongoid/association/referenced/has_one/buildable_spec.rb +2 -2
  269. data/spec/mongoid/association/referenced/has_one/proxy_spec.rb +107 -1
  270. data/spec/mongoid/association/referenced/has_one_models.rb +16 -0
  271. data/spec/mongoid/association/syncable_spec.rb +15 -1
  272. data/spec/mongoid/atomic/paths_spec.rb +0 -14
  273. data/spec/mongoid/attributes/nested_spec.rb +80 -11
  274. data/spec/mongoid/attributes/nested_spec_models.rb +48 -0
  275. data/spec/mongoid/attributes/projector_spec.rb +1 -5
  276. data/spec/mongoid/attributes_spec.rb +554 -33
  277. data/spec/mongoid/cacheable_spec.rb +3 -3
  278. data/spec/mongoid/changeable_spec.rb +429 -37
  279. data/spec/mongoid/clients/factory_spec.rb +23 -30
  280. data/spec/mongoid/clients/sessions_spec.rb +0 -38
  281. data/spec/mongoid/clients_spec.rb +179 -15
  282. data/spec/mongoid/collection_configurable_spec.rb +158 -0
  283. data/spec/mongoid/config/defaults_spec.rb +160 -0
  284. data/spec/mongoid/config_spec.rb +220 -30
  285. data/spec/mongoid/contextual/aggregable/memory_spec.rb +396 -158
  286. data/spec/mongoid/contextual/aggregable/memory_table.yml +88 -0
  287. data/spec/mongoid/contextual/aggregable/memory_table_spec.rb +62 -0
  288. data/spec/mongoid/contextual/map_reduce_spec.rb +2 -16
  289. data/spec/mongoid/contextual/memory_spec.rb +850 -88
  290. data/spec/mongoid/contextual/mongo/documents_loader_spec.rb +187 -0
  291. data/spec/mongoid/contextual/mongo_spec.rb +1570 -413
  292. data/spec/mongoid/contextual/none_spec.rb +60 -21
  293. data/spec/mongoid/copyable_spec.rb +453 -11
  294. data/spec/mongoid/criteria/findable_spec.rb +86 -210
  295. data/spec/mongoid/criteria/includable_spec.rb +1492 -0
  296. data/spec/mongoid/criteria/includable_spec_models.rb +54 -0
  297. data/spec/mongoid/criteria/marshalable_spec.rb +18 -1
  298. data/spec/mongoid/criteria/queryable/extensions/array_spec.rb +7 -19
  299. data/spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb +134 -26
  300. data/spec/mongoid/criteria/queryable/extensions/date_spec.rb +11 -0
  301. data/spec/mongoid/criteria/queryable/extensions/date_time_spec.rb +11 -0
  302. data/spec/mongoid/criteria/queryable/extensions/hash_spec.rb +0 -15
  303. data/spec/mongoid/criteria/queryable/extensions/numeric_spec.rb +73 -7
  304. data/spec/mongoid/criteria/queryable/extensions/string_spec.rb +4 -69
  305. data/spec/mongoid/criteria/queryable/extensions/symbol_spec.rb +0 -59
  306. data/spec/mongoid/criteria/queryable/extensions/time_spec.rb +11 -0
  307. data/spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb +11 -0
  308. data/spec/mongoid/criteria/queryable/optional_spec.rb +15 -484
  309. data/spec/mongoid/criteria/queryable/options_spec.rb +1 -1
  310. data/spec/mongoid/criteria/queryable/selectable_logical_spec.rb +469 -0
  311. data/spec/mongoid/criteria/queryable/selectable_spec.rb +78 -86
  312. data/spec/mongoid/criteria/queryable/selector_spec.rb +90 -5
  313. data/spec/mongoid/criteria/queryable/storable_spec.rb +72 -0
  314. data/spec/mongoid/criteria/translator_spec.rb +132 -0
  315. data/spec/mongoid/criteria_projection_spec.rb +1 -5
  316. data/spec/mongoid/criteria_spec.rb +469 -1205
  317. data/spec/mongoid/document_fields_spec.rb +173 -24
  318. data/spec/mongoid/document_spec.rb +32 -41
  319. data/spec/mongoid/errors/document_not_found_spec.rb +29 -2
  320. data/spec/mongoid/errors/invalid_field_spec.rb +1 -1
  321. data/spec/mongoid/errors/invalid_field_type_spec.rb +55 -0
  322. data/spec/mongoid/errors/mongoid_error_spec.rb +3 -1
  323. data/spec/mongoid/errors/no_environment_spec.rb +3 -3
  324. data/spec/mongoid/errors/readonly_document_spec.rb +2 -2
  325. data/spec/mongoid/errors/too_many_nested_attribute_records_spec.rb +1 -1
  326. data/spec/mongoid/extensions/array_spec.rb +16 -2
  327. data/spec/mongoid/extensions/big_decimal_spec.rb +712 -212
  328. data/spec/mongoid/extensions/binary_spec.rb +44 -9
  329. data/spec/mongoid/extensions/boolean_spec.rb +68 -82
  330. data/spec/mongoid/extensions/date_class_mongoize_spec.rb +7 -3
  331. data/spec/mongoid/extensions/date_spec.rb +71 -1
  332. data/spec/mongoid/extensions/date_time_spec.rb +15 -9
  333. data/spec/mongoid/extensions/float_spec.rb +53 -74
  334. data/spec/mongoid/extensions/hash_spec.rb +33 -3
  335. data/spec/mongoid/extensions/integer_spec.rb +50 -64
  336. data/spec/mongoid/extensions/range_spec.rb +255 -54
  337. data/spec/mongoid/extensions/regexp_spec.rb +58 -33
  338. data/spec/mongoid/extensions/set_spec.rb +106 -0
  339. data/spec/mongoid/extensions/string_spec.rb +53 -25
  340. data/spec/mongoid/extensions/symbol_spec.rb +18 -25
  341. data/spec/mongoid/extensions/time_spec.rb +639 -106
  342. data/spec/mongoid/extensions/time_with_zone_spec.rb +24 -83
  343. data/spec/mongoid/factory_spec.rb +61 -1
  344. data/spec/mongoid/fields/localized_spec.rb +80 -37
  345. data/spec/mongoid/fields_spec.rb +500 -84
  346. data/spec/mongoid/findable_spec.rb +450 -58
  347. data/spec/mongoid/indexable/specification_spec.rb +2 -2
  348. data/spec/mongoid/indexable_spec.rb +55 -30
  349. data/spec/mongoid/interceptable_spec.rb +599 -8
  350. data/spec/mongoid/interceptable_spec_models.rb +235 -4
  351. data/spec/mongoid/matcher/extract_attribute_spec.rb +1 -5
  352. data/spec/mongoid/mongoizable_spec.rb +285 -0
  353. data/spec/mongoid/persistable/creatable_spec.rb +2 -2
  354. data/spec/mongoid/persistable/deletable_spec.rb +28 -8
  355. data/spec/mongoid/persistable/destroyable_spec.rb +28 -8
  356. data/spec/mongoid/persistable/incrementable_spec.rb +37 -0
  357. data/spec/mongoid/persistable/logical_spec.rb +37 -0
  358. data/spec/mongoid/persistable/poppable_spec.rb +36 -0
  359. data/spec/mongoid/persistable/pullable_spec.rb +72 -0
  360. data/spec/mongoid/persistable/pushable_spec.rb +72 -0
  361. data/spec/mongoid/persistable/renamable_spec.rb +36 -0
  362. data/spec/mongoid/persistable/savable_spec.rb +96 -0
  363. data/spec/mongoid/persistable/settable_spec.rb +37 -0
  364. data/spec/mongoid/persistable/unsettable_spec.rb +36 -0
  365. data/spec/mongoid/persistable/updatable_spec.rb +20 -28
  366. data/spec/mongoid/persistable/upsertable_spec.rb +89 -1
  367. data/spec/mongoid/persistence_context_spec.rb +57 -58
  368. data/spec/mongoid/query_cache_middleware_spec.rb +0 -18
  369. data/spec/mongoid/query_cache_spec.rb +56 -215
  370. data/spec/mongoid/reloadable_spec.rb +83 -6
  371. data/spec/mongoid/scopable_spec.rb +91 -1
  372. data/spec/mongoid/serializable_spec.rb +9 -30
  373. data/spec/mongoid/shardable_models.rb +14 -0
  374. data/spec/mongoid/shardable_spec.rb +157 -51
  375. data/spec/mongoid/stateful_spec.rb +150 -8
  376. data/spec/mongoid/tasks/database_rake_spec.rb +74 -0
  377. data/spec/mongoid/tasks/database_spec.rb +127 -0
  378. data/spec/mongoid/timestamps_spec.rb +392 -4
  379. data/spec/mongoid/timestamps_spec_models.rb +67 -0
  380. data/spec/mongoid/touchable_spec.rb +390 -2
  381. data/spec/mongoid/touchable_spec_models.rb +14 -8
  382. data/spec/mongoid/traversable_spec.rb +13 -35
  383. data/spec/mongoid/validatable/presence_spec.rb +1 -1
  384. data/spec/mongoid/validatable/uniqueness_spec.rb +58 -31
  385. data/spec/mongoid/warnings_spec.rb +35 -0
  386. data/spec/mongoid_spec.rb +34 -10
  387. data/spec/rails/controller_extension/controller_runtime_spec.rb +2 -2
  388. data/spec/rails/mongoid_spec.rb +4 -16
  389. data/spec/shared/lib/mrss/lite_constraints.rb +8 -0
  390. data/spec/shared/shlib/server.sh +5 -5
  391. data/spec/spec_helper.rb +5 -0
  392. data/spec/support/constraints.rb +24 -0
  393. data/spec/support/immutable_ids.rb +118 -0
  394. data/spec/support/macros.rb +78 -0
  395. data/spec/support/models/artist.rb +0 -1
  396. data/spec/support/models/augmentation.rb +12 -0
  397. data/spec/support/models/band.rb +4 -0
  398. data/spec/support/models/book.rb +1 -0
  399. data/spec/support/models/building.rb +2 -0
  400. data/spec/support/models/catalog.rb +24 -0
  401. data/spec/support/models/circus.rb +3 -0
  402. data/spec/support/models/cover.rb +10 -0
  403. data/spec/support/models/fanatic.rb +8 -0
  404. data/spec/support/models/implant.rb +9 -0
  405. data/spec/support/models/label.rb +2 -0
  406. data/spec/support/models/passport.rb +9 -0
  407. data/spec/support/models/person.rb +2 -0
  408. data/spec/support/models/player.rb +2 -0
  409. data/spec/support/models/powerup.rb +12 -0
  410. data/spec/support/models/product.rb +1 -0
  411. data/spec/support/models/purse.rb +9 -0
  412. data/spec/support/models/registry.rb +1 -0
  413. data/spec/support/models/school.rb +14 -0
  414. data/spec/support/models/shield.rb +18 -0
  415. data/spec/support/models/student.rb +14 -0
  416. data/spec/support/models/weapon.rb +12 -0
  417. data.tar.gz.sig +0 -0
  418. metadata +720 -638
  419. metadata.gz.sig +0 -0
  420. data/lib/mongoid/errors/eager_load.rb +0 -23
  421. data/lib/mongoid/errors/invalid_value.rb +0 -17
  422. data/spec/mongoid/criteria/queryable/extensions/bignum_spec.rb +0 -60
  423. data/spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb +0 -60
  424. data/spec/mongoid/errors/eager_load_spec.rb +0 -31
metadata CHANGED
@@ -1,36 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.1
4
+ version: 8.1.2
5
5
  platform: ruby
6
6
  authors:
7
- - Durran Jordan
8
- autorequire:
7
+ - The MongoDB Ruby Team
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtkcml2
14
- ZXItcnVieTEVMBMGCgmSJomT8ixkARkWBTEwZ2VuMRMwEQYKCZImiZPyLGQBGRYD
15
- Y29tMB4XDTIyMDMzMDE5MTcwMloXDTIzMDMzMDE5MTcwMlowQjEUMBIGA1UEAwwL
16
- ZHJpdmVyLXJ1YnkxFTATBgoJkiaJk/IsZAEZFgUxMGdlbjETMBEGCgmSJomT8ixk
17
- ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFdSAa8fRm1
18
- bAM9za6Z0fAH4g02bqM1NGnw8zJQrE/PFrFfY6IFCT2AsLfOwr1maVm7iU1+kdVI
19
- IQ+iI/9+E+ArJ+rbGV3dDPQ+SLl3mLT+vXjfjcxMqI2IW6UuVtt2U3Rxd4QU0kdT
20
- JxmcPYs5fDN6BgYc6XXgUjy3m+Kwha2pGctdciUOwEfOZ4RmNRlEZKCMLRHdFP8j
21
- 4WTnJSGfXDiuoXICJb5yOPOZPuaapPSNXp93QkUdsqdKC32I+KMpKKYGBQ6yisfA
22
- 5MyVPPCzLR1lP5qXVGJPnOqUAkvEUfCahg7EP9tI20qxiXrR6TSEraYhIFXL0EGY
23
- u8KAcPHm5KkCAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
24
- BBYEFFt3WbF+9JpUjAoj62cQBgNb8HzXMCAGA1UdEQQZMBeBFWRyaXZlci1ydWJ5
25
- QDEwZ2VuLmNvbTAgBgNVHRIEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5jb20wDQYJ
26
- KoZIhvcNAQEFBQADggEBAM0s7jz2IGD8Ms035b1tMnbNP2CBPq3pen3KQj7IkGF7
27
- x8LPDdOqUj4pUMLeefntX/PkSvwROo677TnWK6+GLayGm5xLHrZH3svybC6QtqTR
28
- mVOLUoZ4TgUmtnMUa/ZvgrIsOeiCysjSf4WECuw7g+LE6jcpLepgYTLk2u1+5SgH
29
- JVENj0BMkdeZIKkc2G97DSx3Zrmz7QWAaH+99XlajJbfcgvhDso+ffQkTBlOgLBg
30
- +WyKQ+QTIdtDiyf2LQmxWnxt/W1CmScjdLS7/yXGkkB/D9Uy+sJD747O/B9P238Q
31
- XnerrtyOu04RsWDvaZkCwSDVzoqfICh4CP1mlde73Ts=
13
+ MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMREwDwYDVQQDDAhkYngt
14
+ cnVieTEXMBUGCgmSJomT8ixkARkWB21vbmdvZGIxEzARBgoJkiaJk/IsZAEZFgNj
15
+ b20wHhcNMjMwMTMxMTE1NjM1WhcNMjQwMTMxMTE1NjM1WjBBMREwDwYDVQQDDAhk
16
+ YngtcnVieTEXMBUGCgmSJomT8ixkARkWB21vbmdvZGIxEzARBgoJkiaJk/IsZAEZ
17
+ FgNjb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0/Veq9l47cTfX
18
+ tQ+kHq2NOCwJuJGt1iXWQ/vH/yp7pZ/bLej7gPDl2CfIngAXRjM7r1FkR9ya7VAm
19
+ IneBFcVU3HhpIXWi4ByXGjBOXFD1Dfbz4C4zedIWRk/hNzXa+rQY4KPwpOwG/hZg
20
+ id+rSXWSbNlkyN97XfonweVh7JsIa9X/2JY9ADYjhCfEZF+b0+Wl7+jgwzLWb46I
21
+ 0WH0bZBIZ0BbKAwUXIgvq5mQf9PzukmMVYCwnkJ/P4wrHO22HuwnbMyvJuGjVwqi
22
+ j1NRp/2vjmKBFWxIfhlSXEIiqAmeEVNXzhPvTVeyo+rma+7R3Bo+4WHkcnPpXJJZ
23
+ Jd63qXMvTB0GplEcMJPztWhrJOmcxIOVoQyigEPSQT8JpzFVXby4SGioizv2eT7l
24
+ VYSiCHuc3yEDyq5M+98WGX2etbj6esYtzI3rDevpIAHPB6HQmtoJIA4dSl3gjFb+
25
+ D+YQSuB2qYu021FI9zeY9sbZyWysEXBxhwrmTk+XUV0qz+OQZkMCAwEAAaN7MHkw
26
+ CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFH4nnr4tYlatU57RbExW
27
+ jG86YM5nMB8GA1UdEQQYMBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMB8GA1UdEgQY
28
+ MBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMA0GCSqGSIb3DQEBCwUAA4IBgQAVSlgM
29
+ nFDWCCNLOCqG5/Lj4U62XoALkdCI+OZ30+WrA8qiRLSL9ZEziVK9AV7ylez+sriQ
30
+ m8XKZKsCN5ON4+zXw1S+6Ftz/R4zDg7nTb9Wgw8ibzsoiP6e4pRW3Fls3ZdaG4pW
31
+ +qMTbae9OiSrgI2bxNTII+v+1FcbQjOlMu8HPZ3ZfXnurXPgN5GxSyyclZI1QONO
32
+ HbUoKHRirZu0F7JCvQQq4EkSuLWPplRJfYEeJIYm05zhhFeEyqea2B/TTlCtXa42
33
+ 84vxXsxGzumuO8F2Q9m6/p95sNhqCp0B/SkKXIrRGJ7FBzupoORNRXHviS2OC3ty
34
+ 4lwUzOlLTF/yO0wwYYfmtQOALQwKnW838vbYthMXvTjxB0EgVZ5PKto99WbjsXzy
35
+ wkeAWhd5b+5JS0zgDL4SvGB8/W2IY+y0zELkojBMgJPyrpAWHL/WSsSBMuhyI2Pv
36
+ xxaBVLklnJJ/qCCOZ3lG2MyVc/Nb0Mmq8ygWNsfwHmKKYuuWcviit0D0Tek=
32
37
  -----END CERTIFICATE-----
33
- date: 2022-07-23 00:00:00.000000000 Z
38
+ date: 2023-08-24 00:00:00.000000000 Z
34
39
  dependencies:
35
40
  - !ruby/object:Gem::Dependency
36
41
  name: activemodel
@@ -64,7 +69,7 @@ dependencies:
64
69
  requirements:
65
70
  - - ">="
66
71
  - !ruby/object:Gem::Version
67
- version: 2.10.5
72
+ version: 2.18.0
68
73
  - - "<"
69
74
  - !ruby/object:Gem::Version
70
75
  version: 3.0.0
@@ -74,10 +79,30 @@ dependencies:
74
79
  requirements:
75
80
  - - ">="
76
81
  - !ruby/object:Gem::Version
77
- version: 2.10.5
82
+ version: 2.18.0
78
83
  - - "<"
79
84
  - !ruby/object:Gem::Version
80
85
  version: 3.0.0
86
+ - !ruby/object:Gem::Dependency
87
+ name: concurrent-ruby
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 1.0.5
93
+ - - "<"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.0.5
103
+ - - "<"
104
+ - !ruby/object:Gem::Version
105
+ version: '2.0'
81
106
  - !ruby/object:Gem::Dependency
82
107
  name: ruby2_keywords
83
108
  requirement: !ruby/object:Gem::Requirement
@@ -98,7 +123,7 @@ dependencies:
98
123
  requirements:
99
124
  - - ">="
100
125
  - !ruby/object:Gem::Version
101
- version: 4.9.4
126
+ version: 4.14.0
102
127
  - - "<"
103
128
  - !ruby/object:Gem::Version
104
129
  version: 5.0.0
@@ -108,13 +133,13 @@ dependencies:
108
133
  requirements:
109
134
  - - ">="
110
135
  - !ruby/object:Gem::Version
111
- version: 4.9.4
136
+ version: 4.14.0
112
137
  - - "<"
113
138
  - !ruby/object:Gem::Version
114
139
  version: 5.0.0
115
140
  description: Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written
116
141
  in Ruby.
117
- email:
142
+ email: dbx-ruby@mongodb.com
118
143
  executables: []
119
144
  extensions: []
120
145
  extra_rdoc_files: []
@@ -208,11 +233,14 @@ files:
208
233
  - lib/mongoid/clients/storage_options.rb
209
234
  - lib/mongoid/clients/validators.rb
210
235
  - lib/mongoid/clients/validators/storage.rb
236
+ - lib/mongoid/collection_configurable.rb
211
237
  - lib/mongoid/composable.rb
212
238
  - lib/mongoid/config.rb
239
+ - lib/mongoid/config/defaults.rb
213
240
  - lib/mongoid/config/environment.rb
214
241
  - lib/mongoid/config/options.rb
215
242
  - lib/mongoid/config/validators.rb
243
+ - lib/mongoid/config/validators/async_query_executor.rb
216
244
  - lib/mongoid/config/validators/client.rb
217
245
  - lib/mongoid/config/validators/option.rb
218
246
  - lib/mongoid/contextual.rb
@@ -226,6 +254,7 @@ files:
226
254
  - lib/mongoid/contextual/map_reduce.rb
227
255
  - lib/mongoid/contextual/memory.rb
228
256
  - lib/mongoid/contextual/mongo.rb
257
+ - lib/mongoid/contextual/mongo/documents_loader.rb
229
258
  - lib/mongoid/contextual/none.rb
230
259
  - lib/mongoid/contextual/queryable.rb
231
260
  - lib/mongoid/copyable.rb
@@ -268,30 +297,39 @@ files:
268
297
  - lib/mongoid/criteria/queryable/smash.rb
269
298
  - lib/mongoid/criteria/queryable/storable.rb
270
299
  - lib/mongoid/criteria/scopable.rb
300
+ - lib/mongoid/criteria/translator.rb
301
+ - lib/mongoid/deprecable.rb
302
+ - lib/mongoid/deprecation.rb
271
303
  - lib/mongoid/document.rb
272
304
  - lib/mongoid/equality.rb
273
305
  - lib/mongoid/errors.rb
274
306
  - lib/mongoid/errors/ambiguous_relationship.rb
275
307
  - lib/mongoid/errors/callback.rb
308
+ - lib/mongoid/errors/create_collection_failure.rb
276
309
  - lib/mongoid/errors/criteria_argument_required.rb
277
310
  - lib/mongoid/errors/delete_restriction.rb
278
311
  - lib/mongoid/errors/document_not_destroyed.rb
279
312
  - lib/mongoid/errors/document_not_found.rb
280
- - lib/mongoid/errors/eager_load.rb
313
+ - lib/mongoid/errors/drop_collection_failure.rb
281
314
  - lib/mongoid/errors/empty_config_file.rb
315
+ - lib/mongoid/errors/immutable_attribute.rb
282
316
  - lib/mongoid/errors/in_memory_collation_not_supported.rb
317
+ - lib/mongoid/errors/invalid_async_query_executor.rb
283
318
  - lib/mongoid/errors/invalid_collection.rb
284
319
  - lib/mongoid/errors/invalid_config_file.rb
285
320
  - lib/mongoid/errors/invalid_config_option.rb
286
321
  - lib/mongoid/errors/invalid_dependent_strategy.rb
287
322
  - lib/mongoid/errors/invalid_discriminator_key_target.rb
323
+ - lib/mongoid/errors/invalid_dot_dollar_assignment.rb
288
324
  - lib/mongoid/errors/invalid_elem_match_operator.rb
289
325
  - lib/mongoid/errors/invalid_estimated_count_criteria.rb
290
326
  - lib/mongoid/errors/invalid_expression_operator.rb
291
327
  - lib/mongoid/errors/invalid_field.rb
292
328
  - lib/mongoid/errors/invalid_field_operator.rb
293
329
  - lib/mongoid/errors/invalid_field_option.rb
330
+ - lib/mongoid/errors/invalid_field_type.rb
294
331
  - lib/mongoid/errors/invalid_find.rb
332
+ - lib/mongoid/errors/invalid_global_executor_concurrency.rb
295
333
  - lib/mongoid/errors/invalid_includes.rb
296
334
  - lib/mongoid/errors/invalid_index.rb
297
335
  - lib/mongoid/errors/invalid_options.rb
@@ -306,7 +344,6 @@ files:
306
344
  - lib/mongoid/errors/invalid_storage_options.rb
307
345
  - lib/mongoid/errors/invalid_storage_parent.rb
308
346
  - lib/mongoid/errors/invalid_time.rb
309
- - lib/mongoid/errors/invalid_value.rb
310
347
  - lib/mongoid/errors/inverse_not_found.rb
311
348
  - lib/mongoid/errors/mixed_client_configuration.rb
312
349
  - lib/mongoid/errors/mixed_relations.rb
@@ -334,6 +371,7 @@ files:
334
371
  - lib/mongoid/extensions.rb
335
372
  - lib/mongoid/extensions/array.rb
336
373
  - lib/mongoid/extensions/big_decimal.rb
374
+ - lib/mongoid/extensions/binary.rb
337
375
  - lib/mongoid/extensions/boolean.rb
338
376
  - lib/mongoid/extensions/date.rb
339
377
  - lib/mongoid/extensions/date_time.rb
@@ -442,6 +480,7 @@ files:
442
480
  - lib/mongoid/timestamps/updated/short.rb
443
481
  - lib/mongoid/touchable.rb
444
482
  - lib/mongoid/traversable.rb
483
+ - lib/mongoid/utils.rb
445
484
  - lib/mongoid/validatable.rb
446
485
  - lib/mongoid/validatable/associated.rb
447
486
  - lib/mongoid/validatable/format.rb
@@ -470,6 +509,7 @@ files:
470
509
  - spec/integration/associations/embeds_one_spec.rb
471
510
  - spec/integration/associations/foreign_key_spec.rb
472
511
  - spec/integration/associations/foreign_key_spec_models.rb
512
+ - spec/integration/associations/has_and_belongs_to_many_spec.rb
473
513
  - spec/integration/associations/has_many_spec.rb
474
514
  - spec/integration/associations/has_one_spec.rb
475
515
  - spec/integration/associations/nested_attributes_assignment_spec.rb
@@ -490,6 +530,7 @@ files:
490
530
  - spec/integration/discriminator_key_spec.rb
491
531
  - spec/integration/discriminator_value_spec.rb
492
532
  - spec/integration/document_spec.rb
533
+ - spec/integration/dots_and_dollars_spec.rb
493
534
  - spec/integration/i18n_fallbacks_spec.rb
494
535
  - spec/integration/matcher_examples_spec.rb
495
536
  - spec/integration/matcher_operator_data/all.yml
@@ -552,6 +593,7 @@ files:
552
593
  - spec/integration/matcher_operator_data/type_undefined.yml
553
594
  - spec/integration/matcher_operator_spec.rb
554
595
  - spec/integration/matcher_spec.rb
596
+ - spec/integration/persistence/range_field_spec.rb
555
597
  - spec/integration/server_query_spec.rb
556
598
  - spec/integration/shardable_spec.rb
557
599
  - spec/integration/stringified_symbol_field_spec.rb
@@ -591,6 +633,7 @@ files:
591
633
  - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
592
634
  - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
593
635
  - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
636
+ - spec/mongoid/association/referenced/belongs_to_models.rb
594
637
  - spec/mongoid/association/referenced/belongs_to_query_spec.rb
595
638
  - spec/mongoid/association/referenced/belongs_to_spec.rb
596
639
  - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
@@ -628,6 +671,7 @@ files:
628
671
  - spec/mongoid/atomic_spec.rb
629
672
  - spec/mongoid/attributes/dynamic_spec.rb
630
673
  - spec/mongoid/attributes/nested_spec.rb
674
+ - spec/mongoid/attributes/nested_spec_models.rb
631
675
  - spec/mongoid/attributes/projector_data/embedded.yml
632
676
  - spec/mongoid/attributes/projector_data/fields.yml
633
677
  - spec/mongoid/attributes/projector_spec.rb
@@ -640,22 +684,29 @@ files:
640
684
  - spec/mongoid/clients/sessions_spec.rb
641
685
  - spec/mongoid/clients/transactions_spec.rb
642
686
  - spec/mongoid/clients_spec.rb
687
+ - spec/mongoid/collection_configurable_spec.rb
643
688
  - spec/mongoid/composable_spec.rb
689
+ - spec/mongoid/config/defaults_spec.rb
644
690
  - spec/mongoid/config/environment_spec.rb
645
691
  - spec/mongoid/config/options_spec.rb
646
692
  - spec/mongoid/config_spec.rb
647
693
  - spec/mongoid/contextual/aggregable/memory_spec.rb
694
+ - spec/mongoid/contextual/aggregable/memory_table.yml
695
+ - spec/mongoid/contextual/aggregable/memory_table_spec.rb
648
696
  - spec/mongoid/contextual/aggregable/mongo_spec.rb
649
697
  - spec/mongoid/contextual/aggregable/none_spec.rb
650
698
  - spec/mongoid/contextual/atomic_spec.rb
651
699
  - spec/mongoid/contextual/geo_near_spec.rb
652
700
  - spec/mongoid/contextual/map_reduce_spec.rb
653
701
  - spec/mongoid/contextual/memory_spec.rb
702
+ - spec/mongoid/contextual/mongo/documents_loader_spec.rb
654
703
  - spec/mongoid/contextual/mongo_spec.rb
655
704
  - spec/mongoid/contextual/none_spec.rb
656
705
  - spec/mongoid/copyable_spec.rb
657
706
  - spec/mongoid/copyable_spec_models.rb
658
707
  - spec/mongoid/criteria/findable_spec.rb
708
+ - spec/mongoid/criteria/includable_spec.rb
709
+ - spec/mongoid/criteria/includable_spec_models.rb
659
710
  - spec/mongoid/criteria/inspectable_spec.rb
660
711
  - spec/mongoid/criteria/marshalable_spec.rb
661
712
  - spec/mongoid/criteria/modifiable_spec.rb
@@ -664,11 +715,9 @@ files:
664
715
  - spec/mongoid/criteria/queryable/expandable_spec.rb
665
716
  - spec/mongoid/criteria/queryable/extensions/array_spec.rb
666
717
  - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
667
- - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
668
718
  - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
669
719
  - spec/mongoid/criteria/queryable/extensions/date_spec.rb
670
720
  - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
671
- - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
672
721
  - spec/mongoid/criteria/queryable/extensions/float_spec.rb
673
722
  - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
674
723
  - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
@@ -697,6 +746,7 @@ files:
697
746
  - spec/mongoid/criteria/queryable/smash_spec.rb
698
747
  - spec/mongoid/criteria/queryable/storable_spec.rb
699
748
  - spec/mongoid/criteria/scopable_spec.rb
749
+ - spec/mongoid/criteria/translator_spec.rb
700
750
  - spec/mongoid/criteria_projection_spec.rb
701
751
  - spec/mongoid/criteria_spec.rb
702
752
  - spec/mongoid/document_fields_spec.rb
@@ -709,12 +759,12 @@ files:
709
759
  - spec/mongoid/errors/delete_restriction_spec.rb
710
760
  - spec/mongoid/errors/document_not_destroyed_spec.rb
711
761
  - spec/mongoid/errors/document_not_found_spec.rb
712
- - spec/mongoid/errors/eager_load_spec.rb
713
762
  - spec/mongoid/errors/invalid_collection_spec.rb
714
763
  - spec/mongoid/errors/invalid_config_file_spec.rb
715
764
  - spec/mongoid/errors/invalid_config_option_spec.rb
716
765
  - spec/mongoid/errors/invalid_field_option_spec.rb
717
766
  - spec/mongoid/errors/invalid_field_spec.rb
767
+ - spec/mongoid/errors/invalid_field_type_spec.rb
718
768
  - spec/mongoid/errors/invalid_find_spec.rb
719
769
  - spec/mongoid/errors/invalid_includes_spec.rb
720
770
  - spec/mongoid/errors/invalid_index_spec.rb
@@ -787,6 +837,7 @@ files:
787
837
  - spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml
788
838
  - spec/mongoid/matcher/extract_attribute_data/traversal.yml
789
839
  - spec/mongoid/matcher/extract_attribute_spec.rb
840
+ - spec/mongoid/mongoizable_spec.rb
790
841
  - spec/mongoid/persistable/creatable_spec.rb
791
842
  - spec/mongoid/persistable/deletable_spec.rb
792
843
  - spec/mongoid/persistable/destroyable_spec.rb
@@ -823,6 +874,7 @@ files:
823
874
  - spec/mongoid/timestamps/updated/short_spec.rb
824
875
  - spec/mongoid/timestamps/updated_spec.rb
825
876
  - spec/mongoid/timestamps_spec.rb
877
+ - spec/mongoid/timestamps_spec_models.rb
826
878
  - spec/mongoid/touchable_spec.rb
827
879
  - spec/mongoid/touchable_spec_models.rb
828
880
  - spec/mongoid/traversable_spec.rb
@@ -833,6 +885,7 @@ files:
833
885
  - spec/mongoid/validatable/presence_spec.rb
834
886
  - spec/mongoid/validatable/uniqueness_spec.rb
835
887
  - spec/mongoid/validatable_spec.rb
888
+ - spec/mongoid/warnings_spec.rb
836
889
  - spec/mongoid_spec.rb
837
890
  - spec/rails/controller_extension/controller_runtime_spec.rb
838
891
  - spec/rails/mongoid_spec.rb
@@ -865,6 +918,7 @@ files:
865
918
  - spec/support/constraints.rb
866
919
  - spec/support/expectations.rb
867
920
  - spec/support/helpers.rb
921
+ - spec/support/immutable_ids.rb
868
922
  - spec/support/macros.rb
869
923
  - spec/support/models/account.rb
870
924
  - spec/support/models/acolyte.rb
@@ -909,6 +963,7 @@ files:
909
963
  - spec/support/models/canvas.rb
910
964
  - spec/support/models/car.rb
911
965
  - spec/support/models/cat.rb
966
+ - spec/support/models/catalog.rb
912
967
  - spec/support/models/category.rb
913
968
  - spec/support/models/child.rb
914
969
  - spec/support/models/child_doc.rb
@@ -927,6 +982,7 @@ files:
927
982
  - spec/support/models/cookie.rb
928
983
  - spec/support/models/country_code.rb
929
984
  - spec/support/models/courier_job.rb
985
+ - spec/support/models/cover.rb
930
986
  - spec/support/models/crate.rb
931
987
  - spec/support/models/customer.rb
932
988
  - spec/support/models/customer_address.rb
@@ -957,6 +1013,7 @@ files:
957
1013
  - spec/support/models/eye.rb
958
1014
  - spec/support/models/eye_bowl.rb
959
1015
  - spec/support/models/face.rb
1016
+ - spec/support/models/fanatic.rb
960
1017
  - spec/support/models/favorite.rb
961
1018
  - spec/support/models/filesystem.rb
962
1019
  - spec/support/models/fire_hydrant.rb
@@ -1043,6 +1100,7 @@ files:
1043
1100
  - spec/support/models/publication/review.rb
1044
1101
  - spec/support/models/purchase.rb
1045
1102
  - spec/support/models/purchased_item.rb
1103
+ - spec/support/models/purse.rb
1046
1104
  - spec/support/models/question.rb
1047
1105
  - spec/support/models/quiz.rb
1048
1106
  - spec/support/models/rating.rb
@@ -1052,6 +1110,7 @@ files:
1052
1110
  - spec/support/models/root_category.rb
1053
1111
  - spec/support/models/sandwich.rb
1054
1112
  - spec/support/models/scheduler.rb
1113
+ - spec/support/models/school.rb
1055
1114
  - spec/support/models/scribe.rb
1056
1115
  - spec/support/models/sealer.rb
1057
1116
  - spec/support/models/seat.rb
@@ -1061,6 +1120,7 @@ files:
1061
1120
  - spec/support/models/service.rb
1062
1121
  - spec/support/models/shape.rb
1063
1122
  - spec/support/models/shelf.rb
1123
+ - spec/support/models/shield.rb
1064
1124
  - spec/support/models/shipment_address.rb
1065
1125
  - spec/support/models/shipping_container.rb
1066
1126
  - spec/support/models/shipping_pack.rb
@@ -1080,6 +1140,7 @@ files:
1080
1140
  - spec/support/models/store_as_dup_test3.rb
1081
1141
  - spec/support/models/store_as_dup_test4.rb
1082
1142
  - spec/support/models/strategy.rb
1143
+ - spec/support/models/student.rb
1083
1144
  - spec/support/models/sub_item.rb
1084
1145
  - spec/support/models/subscription.rb
1085
1146
  - spec/support/models/survey.rb
@@ -1132,10 +1193,10 @@ licenses:
1132
1193
  metadata:
1133
1194
  bug_tracker_uri: https://jira.mongodb.org/projects/MONGOID
1134
1195
  changelog_uri: https://github.com/mongodb/mongoid/releases
1135
- documentation_uri: https://docs.mongodb.com/mongoid/
1196
+ documentation_uri: https://www.mongodb.com/docs/mongoid/
1136
1197
  homepage_uri: https://mongoid.org/
1137
1198
  source_code_uri: https://github.com/mongodb/mongoid
1138
- post_install_message:
1199
+ post_install_message:
1139
1200
  rdoc_options: []
1140
1201
  require_paths:
1141
1202
  - lib
@@ -1143,683 +1204,704 @@ required_ruby_version: !ruby/object:Gem::Requirement
1143
1204
  requirements:
1144
1205
  - - ">="
1145
1206
  - !ruby/object:Gem::Version
1146
- version: '2.5'
1207
+ version: '2.6'
1147
1208
  required_rubygems_version: !ruby/object:Gem::Requirement
1148
1209
  requirements:
1149
1210
  - - ">="
1150
1211
  - !ruby/object:Gem::Version
1151
1212
  version: 1.3.6
1152
1213
  requirements: []
1153
- rubyforge_project:
1154
- rubygems_version: 2.7.6.2
1155
- signing_key:
1214
+ rubygems_version: 3.4.17
1215
+ signing_key:
1156
1216
  specification_version: 4
1157
1217
  summary: Elegant Persistence in Ruby for MongoDB.
1158
1218
  test_files:
1159
- - spec/lite_spec_helper.rb
1160
1219
  - spec/README.md
1161
- - spec/rails/controller_extension/controller_runtime_spec.rb
1162
- - spec/rails/mongoid_spec.rb
1163
- - spec/spec_helper.rb
1220
+ - spec/config/mongoid.yml
1221
+ - spec/config/mongoid_with_schema_map_uuid.yml
1222
+ - spec/integration/app_spec.rb
1223
+ - spec/integration/associations/belongs_to_spec.rb
1224
+ - spec/integration/associations/embedded_dirty_spec.rb
1225
+ - spec/integration/associations/embedded_spec.rb
1226
+ - spec/integration/associations/embeds_many_spec.rb
1227
+ - spec/integration/associations/embeds_one_spec.rb
1228
+ - spec/integration/associations/foreign_key_spec.rb
1229
+ - spec/integration/associations/foreign_key_spec_models.rb
1230
+ - spec/integration/associations/has_and_belongs_to_many_spec.rb
1231
+ - spec/integration/associations/has_many_spec.rb
1232
+ - spec/integration/associations/has_one_spec.rb
1233
+ - spec/integration/associations/nested_attributes_assignment_spec.rb
1234
+ - spec/integration/associations/reverse_population_spec.rb
1235
+ - spec/integration/associations/reverse_population_spec_models.rb
1236
+ - spec/integration/associations/scope_option_spec.rb
1164
1237
  - spec/integration/atomic/modifiers_spec.rb
1165
- - spec/integration/discriminator_key_spec.rb
1166
- - spec/integration/callbacks_spec.rb
1238
+ - spec/integration/bson_regexp_raw_spec.rb
1167
1239
  - spec/integration/callbacks_models.rb
1168
- - spec/integration/matcher_spec.rb
1240
+ - spec/integration/callbacks_spec.rb
1169
1241
  - spec/integration/contextual/empty_spec.rb
1170
- - spec/integration/criteria/range_spec.rb
1171
- - spec/integration/criteria/time_with_zone_spec.rb
1172
- - spec/integration/criteria/logical_spec.rb
1173
- - spec/integration/criteria/default_scope_spec.rb
1174
1242
  - spec/integration/criteria/alias_query_spec.rb
1175
1243
  - spec/integration/criteria/date_field_spec.rb
1176
- - spec/integration/stringified_symbol_field_spec.rb
1244
+ - spec/integration/criteria/default_scope_spec.rb
1245
+ - spec/integration/criteria/logical_spec.rb
1246
+ - spec/integration/criteria/range_spec.rb
1247
+ - spec/integration/criteria/time_with_zone_spec.rb
1248
+ - spec/integration/discriminator_key_spec.rb
1249
+ - spec/integration/discriminator_value_spec.rb
1177
1250
  - spec/integration/document_spec.rb
1251
+ - spec/integration/dots_and_dollars_spec.rb
1178
1252
  - spec/integration/i18n_fallbacks_spec.rb
1179
- - spec/integration/associations/belongs_to_spec.rb
1180
- - spec/integration/associations/has_one_spec.rb
1181
- - spec/integration/associations/scope_option_spec.rb
1182
- - spec/integration/associations/has_many_spec.rb
1183
- - spec/integration/associations/embedded_dirty_spec.rb
1184
- - spec/integration/associations/foreign_key_spec.rb
1185
- - spec/integration/associations/embeds_one_spec.rb
1186
- - spec/integration/associations/reverse_population_spec_models.rb
1187
- - spec/integration/associations/embedded_spec.rb
1188
- - spec/integration/associations/reverse_population_spec.rb
1189
- - spec/integration/associations/foreign_key_spec_models.rb
1190
- - spec/integration/associations/nested_attributes_assignment_spec.rb
1191
- - spec/integration/associations/embeds_many_spec.rb
1192
- - spec/integration/shardable_spec.rb
1193
- - spec/integration/matcher_operator_data/type_binary.yml
1194
- - spec/integration/matcher_operator_data/lte_types.yml
1195
- - spec/integration/matcher_operator_data/in.yml
1196
- - spec/integration/matcher_operator_data/regex_options.yml
1253
+ - spec/integration/matcher_examples_spec.rb
1254
+ - spec/integration/matcher_operator_data/all.yml
1255
+ - spec/integration/matcher_operator_data/and.yml
1256
+ - spec/integration/matcher_operator_data/bits_all_clear.yml
1257
+ - spec/integration/matcher_operator_data/bits_all_set.yml
1258
+ - spec/integration/matcher_operator_data/bits_any_clear.yml
1259
+ - spec/integration/matcher_operator_data/bits_any_set.yml
1260
+ - spec/integration/matcher_operator_data/comment.yml
1261
+ - spec/integration/matcher_operator_data/elem_match.yml
1262
+ - spec/integration/matcher_operator_data/elem_match_expr.yml
1263
+ - spec/integration/matcher_operator_data/eq.yml
1197
1264
  - spec/integration/matcher_operator_data/exists.yml
1198
- - spec/integration/matcher_operator_data/type_code_with_scope.yml
1199
- - spec/integration/matcher_operator_data/invalid_op.yml
1200
- - spec/integration/matcher_operator_data/not.yml
1201
- - spec/integration/matcher_operator_data/type_symbol.yml
1202
- - spec/integration/matcher_operator_data/type_object_id.yml
1203
- - spec/integration/matcher_operator_data/implicit_traversal.yml
1204
- - spec/integration/matcher_operator_data/ne.yml
1205
- - spec/integration/matcher_operator_data/type_double.yml
1206
- - spec/integration/matcher_operator_data/mod.yml
1207
- - spec/integration/matcher_operator_data/type_max_key.yml
1208
- - spec/integration/matcher_operator_data/type_array.yml
1209
1265
  - spec/integration/matcher_operator_data/generic_op.yml
1210
- - spec/integration/matcher_operator_data/or.yml
1211
- - spec/integration/matcher_operator_data/type_boolean.yml
1212
- - spec/integration/matcher_operator_data/type_int64.yml
1213
- - spec/integration/matcher_operator_data/type_db_pointer.yml
1266
+ - spec/integration/matcher_operator_data/gt.yml
1267
+ - spec/integration/matcher_operator_data/gt_types.yml
1214
1268
  - spec/integration/matcher_operator_data/gte.yml
1215
- - spec/integration/matcher_operator_data/comment.yml
1216
- - spec/integration/matcher_operator_data/elem_match.yml
1217
- - spec/integration/matcher_operator_data/bits_any_clear.yml
1218
- - spec/integration/matcher_operator_data/ne_types.yml
1219
- - spec/integration/matcher_operator_data/type_string.yml
1220
- - spec/integration/matcher_operator_data/type_undefined.yml
1221
- - spec/integration/matcher_operator_data/type_timestamp.yml
1222
- - spec/integration/matcher_operator_data/type_null.yml
1223
- - spec/integration/matcher_operator_data/type_min_key.yml
1224
- - spec/integration/matcher_operator_data/type_code.yml
1225
- - spec/integration/matcher_operator_data/lt_types.yml
1226
- - spec/integration/matcher_operator_data/lte.yml
1227
1269
  - spec/integration/matcher_operator_data/gte_types.yml
1228
- - spec/integration/matcher_operator_data/type_regex.yml
1229
- - spec/integration/matcher_operator_data/bits_any_set.yml
1270
+ - spec/integration/matcher_operator_data/implicit.yml
1271
+ - spec/integration/matcher_operator_data/implicit_traversal.yml
1272
+ - spec/integration/matcher_operator_data/in.yml
1273
+ - spec/integration/matcher_operator_data/invalid_op.yml
1230
1274
  - spec/integration/matcher_operator_data/invalid_syntax.yml
1231
- - spec/integration/matcher_operator_data/and.yml
1232
- - spec/integration/matcher_operator_data/all.yml
1275
+ - spec/integration/matcher_operator_data/lt.yml
1276
+ - spec/integration/matcher_operator_data/lt_types.yml
1277
+ - spec/integration/matcher_operator_data/lte.yml
1278
+ - spec/integration/matcher_operator_data/lte_types.yml
1279
+ - spec/integration/matcher_operator_data/mod.yml
1280
+ - spec/integration/matcher_operator_data/multiple.yml
1281
+ - spec/integration/matcher_operator_data/ne.yml
1282
+ - spec/integration/matcher_operator_data/ne_types.yml
1233
1283
  - spec/integration/matcher_operator_data/nin.yml
1234
- - spec/integration/matcher_operator_data/eq.yml
1235
- - spec/integration/matcher_operator_data/elem_match_expr.yml
1284
+ - spec/integration/matcher_operator_data/nor.yml
1285
+ - spec/integration/matcher_operator_data/not.yml
1286
+ - spec/integration/matcher_operator_data/or.yml
1236
1287
  - spec/integration/matcher_operator_data/regex.yml
1237
- - spec/integration/matcher_operator_data/implicit.yml
1238
- - spec/integration/matcher_operator_data/bits_all_clear.yml
1288
+ - spec/integration/matcher_operator_data/regex_options.yml
1239
1289
  - spec/integration/matcher_operator_data/size.yml
1240
- - spec/integration/matcher_operator_data/multiple.yml
1241
- - spec/integration/matcher_operator_data/gt.yml
1242
1290
  - spec/integration/matcher_operator_data/type.yml
1243
- - spec/integration/matcher_operator_data/gt_types.yml
1291
+ - spec/integration/matcher_operator_data/type_array.yml
1292
+ - spec/integration/matcher_operator_data/type_binary.yml
1293
+ - spec/integration/matcher_operator_data/type_boolean.yml
1294
+ - spec/integration/matcher_operator_data/type_code.yml
1295
+ - spec/integration/matcher_operator_data/type_code_with_scope.yml
1296
+ - spec/integration/matcher_operator_data/type_date.yml
1297
+ - spec/integration/matcher_operator_data/type_db_pointer.yml
1298
+ - spec/integration/matcher_operator_data/type_decimal.yml
1299
+ - spec/integration/matcher_operator_data/type_double.yml
1244
1300
  - spec/integration/matcher_operator_data/type_int32.yml
1245
- - spec/integration/matcher_operator_data/bits_all_set.yml
1246
- - spec/integration/matcher_operator_data/lt.yml
1301
+ - spec/integration/matcher_operator_data/type_int64.yml
1302
+ - spec/integration/matcher_operator_data/type_max_key.yml
1303
+ - spec/integration/matcher_operator_data/type_min_key.yml
1304
+ - spec/integration/matcher_operator_data/type_null.yml
1247
1305
  - spec/integration/matcher_operator_data/type_object.yml
1248
- - spec/integration/matcher_operator_data/nor.yml
1249
- - spec/integration/matcher_operator_data/type_decimal.yml
1250
- - spec/integration/matcher_operator_data/type_date.yml
1251
- - spec/integration/bson_regexp_raw_spec.rb
1252
- - spec/integration/discriminator_value_spec.rb
1253
- - spec/integration/server_query_spec.rb
1306
+ - spec/integration/matcher_operator_data/type_object_id.yml
1307
+ - spec/integration/matcher_operator_data/type_regex.yml
1308
+ - spec/integration/matcher_operator_data/type_string.yml
1309
+ - spec/integration/matcher_operator_data/type_symbol.yml
1310
+ - spec/integration/matcher_operator_data/type_timestamp.yml
1311
+ - spec/integration/matcher_operator_data/type_undefined.yml
1254
1312
  - spec/integration/matcher_operator_spec.rb
1255
- - spec/integration/app_spec.rb
1256
- - spec/integration/matcher_examples_spec.rb
1257
- - spec/config/mongoid_with_schema_map_uuid.yml
1258
- - spec/config/mongoid.yml
1259
- - spec/support/constraints.rb
1260
- - spec/support/models/tree.rb
1261
- - spec/support/models/server.rb
1262
- - spec/support/models/agency.rb
1263
- - spec/support/models/browser.rb
1264
- - spec/support/models/override.rb
1265
- - spec/support/models/line_item.rb
1266
- - spec/support/models/callback_test.rb
1267
- - spec/support/models/dungeon.rb
1268
- - spec/support/models/shape.rb
1269
- - spec/support/models/slave.rb
1270
- - spec/support/models/name.rb
1271
- - spec/support/models/post_genre.rb
1272
- - spec/support/models/scribe.rb
1273
- - spec/support/models/dragon.rb
1274
- - spec/support/models/armrest.rb
1275
- - spec/support/models/folder_item.rb
1276
- - spec/support/models/word_origin.rb
1277
- - spec/support/models/agent.rb
1278
- - spec/support/models/coding.rb
1279
- - spec/support/models/square.rb
1280
- - spec/support/models/sound.rb
1281
- - spec/support/models/staff.rb
1282
- - spec/support/models/pet_owner.rb
1283
- - spec/support/models/author.rb
1284
- - spec/support/models/vet_visit.rb
1285
- - spec/support/models/powerup.rb
1286
- - spec/support/models/drug.rb
1287
- - spec/support/models/eraser.rb
1288
- - spec/support/models/ordered_preference.rb
1289
- - spec/support/models/publication/encyclopedia.rb
1290
- - spec/support/models/publication/review.rb
1291
- - spec/support/models/animal.rb
1292
- - spec/support/models/root_category.rb
1293
- - spec/support/models/spacer.rb
1294
- - spec/support/models/draft.rb
1295
- - spec/support/models/princess.rb
1296
- - spec/support/models/dictionary.rb
1297
- - spec/support/models/system_role.rb
1298
- - spec/support/models/preference.rb
1299
- - spec/support/models/topping.rb
1300
- - spec/support/models/customer.rb
1301
- - spec/support/models/sub_item.rb
1302
- - spec/support/models/ordered_post.rb
1303
- - spec/support/models/login.rb
1304
- - spec/support/models/basic.rb
1305
- - spec/support/models/order.rb
1306
- - spec/support/models/shipping_pack.rb
1307
- - spec/support/models/address_component.rb
1308
- - spec/support/models/scheduler.rb
1309
- - spec/support/models/version.rb
1310
- - spec/support/models/registry.rb
1311
- - spec/support/models/league.rb
1312
- - spec/support/models/contractor.rb
1313
- - spec/support/models/breed.rb
1314
- - spec/support/models/artist.rb
1315
- - spec/support/models/jar.rb
1316
- - spec/support/models/ghost.rb
1317
- - spec/support/models/my_hash.rb
1318
- - spec/support/models/membership.rb
1319
- - spec/support/models/kangaroo.rb
1320
- - spec/support/models/audio.rb
1321
- - spec/support/models/message.rb
1322
- - spec/support/models/writer.rb
1323
- - spec/support/models/artwork.rb
1324
- - spec/support/models/word.rb
1325
- - spec/support/models/car.rb
1326
- - spec/support/models/vehicle.rb
1327
- - spec/support/models/answer.rb
1328
- - spec/support/models/cookie.rb
1329
- - spec/support/models/folder.rb
1330
- - spec/support/models/weapon.rb
1331
- - spec/support/models/parent.rb
1332
- - spec/support/models/series.rb
1333
- - spec/support/models/birthday.rb
1334
- - spec/support/models/phone.rb
1335
- - spec/support/models/courier_job.rb
1336
- - spec/support/models/seat.rb
1337
- - spec/support/models/company.rb
1338
- - spec/support/models/song.rb
1339
- - spec/support/models/deed.rb
1340
- - spec/support/models/appointment.rb
1341
- - spec/support/models/cat.rb
1342
- - spec/support/models/thing.rb
1343
- - spec/support/models/purchased_item.rb
1344
- - spec/support/models/id_key.rb
1345
- - spec/support/models/acolyte.rb
1346
- - spec/support/models/vertex.rb
1347
- - spec/support/models/bomb.rb
1348
- - spec/support/models/pub.rb
1349
- - spec/support/models/seo.rb
1350
- - spec/support/models/article.rb
1351
- - spec/support/models/post.rb
1352
- - spec/support/models/implant.rb
1353
- - spec/support/models/target.rb
1354
- - spec/support/models/shelf.rb
1355
- - spec/support/models/shop.rb
1356
- - spec/support/models/piano.rb
1357
- - spec/support/models/hole.rb
1358
- - spec/support/models/pdf_writer.rb
1359
- - spec/support/models/html_writer.rb
1360
- - spec/support/models/ownable.rb
1361
- - spec/support/models/profile.rb
1362
- - spec/support/models/bed.rb
1363
- - spec/support/models/category.rb
1364
- - spec/support/models/country_code.rb
1365
- - spec/support/models/pack.rb
1366
- - spec/support/models/kaleidoscope.rb
1367
- - spec/support/models/child_doc.rb
1368
- - spec/support/models/parent_doc.rb
1369
- - spec/support/models/video_game.rb
1370
- - spec/support/models/manufacturer.rb
1371
- - spec/support/models/nut.rb
1372
- - spec/support/models/oscar.rb
1373
- - spec/support/models/pronunciation.rb
1374
- - spec/support/models/address.rb
1375
- - spec/support/models/threadlocker.rb
1376
- - spec/support/models/label.rb
1377
- - spec/support/models/edit.rb
1378
- - spec/support/models/address_number.rb
1379
- - spec/support/models/strategy.rb
1380
- - spec/support/models/user_account.rb
1381
- - spec/support/models/array_field.rb
1382
- - spec/support/models/exhibitor.rb
1383
- - spec/support/models/item.rb
1384
- - spec/support/models/canvas.rb
1385
- - spec/support/models/store_as_dup_test3.rb
1386
- - spec/support/models/toy.rb
1387
- - spec/support/models/event.rb
1388
- - spec/support/models/house.rb
1389
- - spec/support/models/email.rb
1390
- - spec/support/models/shipment_address.rb
1391
- - spec/support/models/patient.rb
1392
- - spec/support/models/actress.rb
1393
- - spec/support/models/learner.rb
1394
- - spec/support/models/subscription.rb
1395
- - spec/support/models/filesystem.rb
1396
- - spec/support/models/crate.rb
1397
- - spec/support/models/passport.rb
1398
- - spec/support/models/building_address.rb
1399
- - spec/support/models/augmentation.rb
1400
- - spec/support/models/guitar.rb
1401
- - spec/support/models/pet.rb
1402
- - spec/support/models/shirt.rb
1403
- - spec/support/models/coding/pull_request.rb
1404
- - spec/support/models/service.rb
1405
- - spec/support/models/doctor.rb
1406
- - spec/support/models/node.rb
1407
- - spec/support/models/store_as_dup_test1.rb
1408
- - spec/support/models/updatable.rb
1409
- - spec/support/models/survey.rb
1410
- - spec/support/models/minim.rb
1411
- - spec/support/models/store_as_dup_test4.rb
1412
- - spec/support/models/meat.rb
1413
- - spec/support/models/code.rb
1414
- - spec/support/models/short_agent.rb
1415
- - spec/support/models/title.rb
1416
- - spec/support/models/audible_sound.rb
1417
- - spec/support/models/division.rb
1418
- - spec/support/models/employer.rb
1419
- - spec/support/models/book.rb
1420
- - spec/support/models/eye_bowl.rb
1421
- - spec/support/models/odd.rb
1422
- - spec/support/models/home.rb
1423
- - spec/support/models/circuit.rb
1424
- - spec/support/models/pizza.rb
1425
- - spec/support/models/wiki_page.rb
1426
- - spec/support/models/movie.rb
1427
- - spec/support/models/mop.rb
1428
- - spec/support/models/alert.rb
1429
- - spec/support/models/account.rb
1430
- - spec/support/models/sealer.rb
1431
- - spec/support/models/fruits.rb
1432
- - spec/support/models/translation.rb
1433
- - spec/support/models/person.rb
1434
- - spec/support/models/bus.rb
1435
- - spec/support/models/bolt.rb
1436
- - spec/support/models/even.rb
1437
- - spec/support/models/validation_callback.rb
1438
- - spec/support/models/product.rb
1439
- - spec/support/models/definition.rb
1440
- - spec/support/models/bar.rb
1441
- - spec/support/models/language.rb
1442
- - spec/support/models/firefox.rb
1443
- - spec/support/models/entry.rb
1444
- - spec/support/models/symptom.rb
1445
- - spec/support/models/customer_address.rb
1446
- - spec/support/models/player.rb
1447
- - spec/support/models/building.rb
1448
- - spec/support/models/big_palette.rb
1449
- - spec/support/models/image.rb
1450
- - spec/support/models/fish.rb
1451
- - spec/support/models/other_owner_object.rb
1452
- - spec/support/models/fire_hydrant.rb
1453
- - spec/support/models/driver.rb
1454
- - spec/support/models/name_only.rb
1455
- - spec/support/models/truck.rb
1456
- - spec/support/models/quiz.rb
1457
- - spec/support/models/template.rb
1458
- - spec/support/models/owner.rb
1459
- - spec/support/models/church.rb
1460
- - spec/support/models/contextable_item.rb
1461
- - spec/support/models/game.rb
1462
- - spec/support/models/page.rb
1463
- - spec/support/models/user.rb
1464
- - spec/support/models/baby.rb
1465
- - spec/support/models/palette.rb
1466
- - spec/support/models/simple.rb
1467
- - spec/support/models/mixed_drink.rb
1468
- - spec/support/models/question.rb
1469
- - spec/support/models/consumption_period.rb
1470
- - spec/support/models/role.rb
1471
- - spec/support/models/tag.rb
1472
- - spec/support/models/instrument.rb
1473
- - spec/support/models/circus.rb
1474
- - spec/support/models/description.rb
1475
- - spec/support/models/child.rb
1476
- - spec/support/models/tool.rb
1477
- - spec/support/models/track.rb
1478
- - spec/support/models/idnodef.rb
1479
- - spec/support/models/band.rb
1480
- - spec/support/models/favorite.rb
1481
- - spec/support/models/store_as_dup_test2.rb
1482
- - spec/support/models/delegating_patient.rb
1483
- - spec/support/models/explosion.rb
1484
- - spec/support/models/record.rb
1485
- - spec/support/models/location.rb
1486
- - spec/support/models/page_question.rb
1487
- - spec/support/models/publication.rb
1488
- - spec/support/models/note.rb
1489
- - spec/support/models/business.rb
1490
- - spec/support/models/exhibition.rb
1491
- - spec/support/models/pencil.rb
1492
- - spec/support/models/circle.rb
1493
- - spec/support/models/shipping_container.rb
1494
- - spec/support/models/dokument.rb
1495
- - spec/support/models/comment.rb
1496
- - spec/support/models/face.rb
1497
- - spec/support/models/actor.rb
1498
- - spec/support/models/short_quiz.rb
1499
- - spec/support/models/rating.rb
1500
- - spec/support/models/album.rb
1501
- - spec/support/models/dog.rb
1502
- - spec/support/models/video.rb
1503
- - spec/support/models/eye.rb
1504
- - spec/support/models/washer.rb
1505
- - spec/support/models/lat_lng.rb
1506
- - spec/support/models/sandwich.rb
1507
- - spec/support/models/purchase.rb
1508
- - spec/support/macros.rb
1509
- - spec/support/spec_config.rb
1510
- - spec/support/helpers.rb
1511
- - spec/support/schema_maps/schema_map_local_key_alt_names.json
1512
- - spec/support/schema_maps/schema_map_aws_key_alt_names.json
1513
- - spec/support/schema_maps/schema_map_kmip.json
1514
- - spec/support/schema_maps/schema_map_azure.json
1515
- - spec/support/schema_maps/schema_map_kmip_key_alt_names.json
1516
- - spec/support/schema_maps/schema_map_local.json
1517
- - spec/support/schema_maps/schema_map_gcp_key_alt_names.json
1518
- - spec/support/schema_maps/schema_map_aws.json
1519
- - spec/support/schema_maps/schema_map_gcp.json
1520
- - spec/support/schema_maps/schema_map_azure_key_alt_names.json
1521
- - spec/support/client_registry.rb
1522
- - spec/support/expectations.rb
1523
- - spec/support/authorization.rb
1524
- - spec/support/shared/time.rb
1525
- - spec/mongoid_spec.rb
1526
- - spec/shared/share/Dockerfile.erb
1527
- - spec/shared/share/haproxy-2.conf
1528
- - spec/shared/share/haproxy-1.conf
1529
- - spec/shared/bin/s3-copy
1530
- - spec/shared/bin/get-mongodb-download-url
1531
- - spec/shared/bin/s3-upload
1532
- - spec/shared/shlib/distro.sh
1533
- - spec/shared/shlib/set_env.sh
1534
- - spec/shared/shlib/config.sh
1535
- - spec/shared/shlib/server.sh
1536
- - spec/shared/LICENSE
1537
- - spec/shared/lib/mrss/constraints.rb
1538
- - spec/shared/lib/mrss/cluster_config.rb
1539
- - spec/shared/lib/mrss/child_process_helper.rb
1540
- - spec/shared/lib/mrss/eg_config_utils.rb
1541
- - spec/shared/lib/mrss/event_subscriber.rb
1542
- - spec/shared/lib/mrss/utils.rb
1543
- - spec/shared/lib/mrss/server_version_registry.rb
1544
- - spec/shared/lib/mrss/session_registry.rb
1545
- - spec/shared/lib/mrss/lite_constraints.rb
1546
- - spec/shared/lib/mrss/docker_runner.rb
1547
- - spec/shared/lib/mrss/spec_organizer.rb
1548
- - spec/shared/lib/mrss/session_registry_legacy.rb
1549
- - spec/mongoid/atomic/paths/embedded/one_spec.rb
1550
- - spec/mongoid/atomic/paths/embedded/many_spec.rb
1551
- - spec/mongoid/atomic/paths/root_spec.rb
1552
- - spec/mongoid/atomic/paths_spec.rb
1553
- - spec/mongoid/atomic/modifiers_spec.rb
1554
- - spec/mongoid/threaded_spec.rb
1555
- - spec/mongoid/factory_spec.rb
1556
- - spec/mongoid/association/macros_spec.rb
1313
+ - spec/integration/matcher_spec.rb
1314
+ - spec/integration/persistence/range_field_spec.rb
1315
+ - spec/integration/server_query_spec.rb
1316
+ - spec/integration/shardable_spec.rb
1317
+ - spec/integration/stringified_symbol_field_spec.rb
1318
+ - spec/lite_spec_helper.rb
1319
+ - spec/mongoid/association/accessors_spec.rb
1557
1320
  - spec/mongoid/association/auto_save_spec.rb
1558
- - spec/mongoid/association/syncable_spec.rb
1559
- - spec/mongoid/association/referenced/belongs_to_spec.rb
1560
- - spec/mongoid/association/referenced/has_one_spec.rb
1561
- - spec/mongoid/association/referenced/has_many_spec.rb
1562
- - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1563
- - spec/mongoid/association/referenced/belongs_to/binding_spec.rb
1564
- - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
1565
- - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1566
- - spec/mongoid/association/referenced/has_many/eager_spec.rb
1567
- - spec/mongoid/association/referenced/has_many/binding_spec.rb
1568
- - spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
1569
- - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1570
- - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1571
- - spec/mongoid/association/referenced/has_many/proxy_spec.rb
1572
- - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1573
- - spec/mongoid/association/referenced/has_many_models.rb
1574
- - spec/mongoid/association/referenced/has_one_query_spec.rb
1575
- - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1576
- - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1577
- - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
1578
- - spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
1579
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1580
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1581
- - spec/mongoid/association/referenced/has_many_query_spec.rb
1582
- - spec/mongoid/association/referenced/belongs_to_query_spec.rb
1583
- - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1584
- - spec/mongoid/association/referenced/has_one/eager_spec.rb
1585
- - spec/mongoid/association/referenced/has_one/binding_spec.rb
1586
- - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1587
- - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1588
- - spec/mongoid/association/referenced/has_one_models.rb
1321
+ - spec/mongoid/association/builders_spec.rb
1322
+ - spec/mongoid/association/constrainable_spec.rb
1589
1323
  - spec/mongoid/association/counter_cache_spec.rb
1590
- - spec/mongoid/association/options_spec.rb
1324
+ - spec/mongoid/association/depending_spec.rb
1325
+ - spec/mongoid/association/eager_spec.rb
1326
+ - spec/mongoid/association/embedded/cyclic_spec.rb
1327
+ - spec/mongoid/association/embedded/dirty_spec.rb
1591
1328
  - spec/mongoid/association/embedded/embedded_in/binding_spec.rb
1592
1329
  - spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
1593
1330
  - spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
1594
- - spec/mongoid/association/embedded/dirty_spec.rb
1595
- - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1596
1331
  - spec/mongoid/association/embedded/embedded_in_spec.rb
1597
- - spec/mongoid/association/embedded/embeds_one_spec.rb
1332
+ - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1333
+ - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1334
+ - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1335
+ - spec/mongoid/association/embedded/embeds_many_models.rb
1336
+ - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1337
+ - spec/mongoid/association/embedded/embeds_many_spec.rb
1598
1338
  - spec/mongoid/association/embedded/embeds_one/binding_spec.rb
1599
1339
  - spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
1600
1340
  - spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
1601
1341
  - spec/mongoid/association/embedded/embeds_one_dnl_models.rb
1602
1342
  - spec/mongoid/association/embedded/embeds_one_models.rb
1603
- - spec/mongoid/association/embedded/cyclic_spec.rb
1604
1343
  - spec/mongoid/association/embedded/embeds_one_query_spec.rb
1605
- - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1606
- - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1607
- - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1608
- - spec/mongoid/association/embedded/embeds_many_models.rb
1609
- - spec/mongoid/association/embedded/embeds_many_spec.rb
1344
+ - spec/mongoid/association/embedded/embeds_one_spec.rb
1345
+ - spec/mongoid/association/macros_spec.rb
1346
+ - spec/mongoid/association/nested/many_spec.rb
1347
+ - spec/mongoid/association/nested/one_spec.rb
1348
+ - spec/mongoid/association/options_spec.rb
1610
1349
  - spec/mongoid/association/polymorphic_spec.rb
1611
- - spec/mongoid/association/builders_spec.rb
1612
- - spec/mongoid/association/eager_spec.rb
1350
+ - spec/mongoid/association/referenced/belongs_to/binding_spec.rb
1351
+ - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
1352
+ - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1353
+ - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1354
+ - spec/mongoid/association/referenced/belongs_to_models.rb
1355
+ - spec/mongoid/association/referenced/belongs_to_query_spec.rb
1356
+ - spec/mongoid/association/referenced/belongs_to_spec.rb
1357
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
1358
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
1359
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1360
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1361
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1362
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1363
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1364
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1365
+ - spec/mongoid/association/referenced/has_many/binding_spec.rb
1366
+ - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1367
+ - spec/mongoid/association/referenced/has_many/eager_spec.rb
1368
+ - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1369
+ - spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
1370
+ - spec/mongoid/association/referenced/has_many/proxy_spec.rb
1371
+ - spec/mongoid/association/referenced/has_many_models.rb
1372
+ - spec/mongoid/association/referenced/has_many_query_spec.rb
1373
+ - spec/mongoid/association/referenced/has_many_spec.rb
1374
+ - spec/mongoid/association/referenced/has_one/binding_spec.rb
1375
+ - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1376
+ - spec/mongoid/association/referenced/has_one/eager_spec.rb
1377
+ - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1378
+ - spec/mongoid/association/referenced/has_one_models.rb
1379
+ - spec/mongoid/association/referenced/has_one_query_spec.rb
1380
+ - spec/mongoid/association/referenced/has_one_spec.rb
1613
1381
  - spec/mongoid/association/reflections_spec.rb
1614
- - spec/mongoid/association/depending_spec.rb
1615
- - spec/mongoid/association/nested/one_spec.rb
1616
- - spec/mongoid/association/nested/many_spec.rb
1617
- - spec/mongoid/association/constrainable_spec.rb
1618
- - spec/mongoid/association/accessors_spec.rb
1619
- - spec/mongoid/fields/foreign_key_spec.rb
1620
- - spec/mongoid/fields/localized_spec.rb
1621
- - spec/mongoid/fields/standard_spec.rb
1622
- - spec/mongoid/touchable_spec.rb
1623
- - spec/mongoid/validatable/length_spec.rb
1624
- - spec/mongoid/validatable/uniqueness_spec.rb
1625
- - spec/mongoid/validatable/format_spec.rb
1626
- - spec/mongoid/validatable/associated_spec.rb
1627
- - spec/mongoid/validatable/presence_spec.rb
1628
- - spec/mongoid/validatable/numericality_spec.rb
1629
- - spec/mongoid/document_persistence_context_spec.rb
1630
- - spec/mongoid/copyable_spec.rb
1631
- - spec/mongoid/persistence_context_spec.rb
1632
- - spec/mongoid/cacheable_spec.rb
1633
- - spec/mongoid/equality_spec.rb
1634
- - spec/mongoid/validatable_spec.rb
1382
+ - spec/mongoid/association/syncable_spec.rb
1383
+ - spec/mongoid/association_spec.rb
1384
+ - spec/mongoid/atomic/modifiers_spec.rb
1385
+ - spec/mongoid/atomic/paths/embedded/many_spec.rb
1386
+ - spec/mongoid/atomic/paths/embedded/one_spec.rb
1387
+ - spec/mongoid/atomic/paths/root_spec.rb
1388
+ - spec/mongoid/atomic/paths_spec.rb
1389
+ - spec/mongoid/atomic_spec.rb
1390
+ - spec/mongoid/attributes/dynamic_spec.rb
1391
+ - spec/mongoid/attributes/nested_spec.rb
1392
+ - spec/mongoid/attributes/nested_spec_models.rb
1393
+ - spec/mongoid/attributes/projector_data/embedded.yml
1394
+ - spec/mongoid/attributes/projector_data/fields.yml
1395
+ - spec/mongoid/attributes/projector_spec.rb
1396
+ - spec/mongoid/attributes/readonly_spec.rb
1635
1397
  - spec/mongoid/attributes_spec.rb
1636
- - spec/mongoid/extensions_spec.rb
1637
- - spec/mongoid/touchable_spec_models.rb
1638
- - spec/mongoid/query_cache_middleware_spec.rb
1639
- - spec/mongoid/query_cache_spec.rb
1640
- - spec/mongoid/fields_spec.rb
1641
- - spec/mongoid/indexable_spec.rb
1642
- - spec/mongoid/contextual/mongo_spec.rb
1398
+ - spec/mongoid/cacheable_spec.rb
1399
+ - spec/mongoid/changeable_spec.rb
1400
+ - spec/mongoid/clients/factory_spec.rb
1401
+ - spec/mongoid/clients/options_spec.rb
1402
+ - spec/mongoid/clients/sessions_spec.rb
1403
+ - spec/mongoid/clients/transactions_spec.rb
1404
+ - spec/mongoid/clients_spec.rb
1405
+ - spec/mongoid/collection_configurable_spec.rb
1406
+ - spec/mongoid/composable_spec.rb
1407
+ - spec/mongoid/config/defaults_spec.rb
1408
+ - spec/mongoid/config/environment_spec.rb
1409
+ - spec/mongoid/config/options_spec.rb
1410
+ - spec/mongoid/config_spec.rb
1411
+ - spec/mongoid/contextual/aggregable/memory_spec.rb
1412
+ - spec/mongoid/contextual/aggregable/memory_table.yml
1413
+ - spec/mongoid/contextual/aggregable/memory_table_spec.rb
1414
+ - spec/mongoid/contextual/aggregable/mongo_spec.rb
1415
+ - spec/mongoid/contextual/aggregable/none_spec.rb
1416
+ - spec/mongoid/contextual/atomic_spec.rb
1643
1417
  - spec/mongoid/contextual/geo_near_spec.rb
1644
1418
  - spec/mongoid/contextual/map_reduce_spec.rb
1645
1419
  - spec/mongoid/contextual/memory_spec.rb
1420
+ - spec/mongoid/contextual/mongo/documents_loader_spec.rb
1421
+ - spec/mongoid/contextual/mongo_spec.rb
1646
1422
  - spec/mongoid/contextual/none_spec.rb
1647
- - spec/mongoid/contextual/atomic_spec.rb
1648
- - spec/mongoid/contextual/aggregable/mongo_spec.rb
1649
- - spec/mongoid/contextual/aggregable/memory_spec.rb
1650
- - spec/mongoid/contextual/aggregable/none_spec.rb
1423
+ - spec/mongoid/copyable_spec.rb
1424
+ - spec/mongoid/copyable_spec_models.rb
1425
+ - spec/mongoid/criteria/findable_spec.rb
1426
+ - spec/mongoid/criteria/includable_spec.rb
1427
+ - spec/mongoid/criteria/includable_spec_models.rb
1428
+ - spec/mongoid/criteria/inspectable_spec.rb
1429
+ - spec/mongoid/criteria/marshalable_spec.rb
1430
+ - spec/mongoid/criteria/modifiable_spec.rb
1651
1431
  - spec/mongoid/criteria/options_spec.rb
1652
- - spec/mongoid/criteria/queryable/smash_spec.rb
1653
- - spec/mongoid/criteria/queryable/pipeline_spec.rb
1654
- - spec/mongoid/criteria/queryable/options_spec.rb
1655
- - spec/mongoid/criteria/queryable/storable_spec.rb
1656
- - spec/mongoid/criteria/queryable/selectable_shared_examples.rb
1657
- - spec/mongoid/criteria/queryable/key_spec.rb
1658
- - spec/mongoid/criteria/queryable/queryable_spec.rb
1659
- - spec/mongoid/criteria/queryable/selectable_where_spec.rb
1432
+ - spec/mongoid/criteria/queryable/aggregable_spec.rb
1660
1433
  - spec/mongoid/criteria/queryable/expandable_spec.rb
1434
+ - spec/mongoid/criteria/queryable/extensions/array_spec.rb
1435
+ - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1436
+ - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1661
1437
  - spec/mongoid/criteria/queryable/extensions/date_spec.rb
1662
- - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
1663
- - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1664
- - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1665
- - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
1438
+ - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
1666
1439
  - spec/mongoid/criteria/queryable/extensions/float_spec.rb
1440
+ - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1441
+ - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1442
+ - spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
1443
+ - spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
1444
+ - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1667
1445
  - spec/mongoid/criteria/queryable/extensions/range_spec.rb
1668
1446
  - spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
1669
- - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1670
- - spec/mongoid/criteria/queryable/extensions/set_spec.rb
1671
- - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1672
1447
  - spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
1673
- - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1674
- - spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
1675
- - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1676
- - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1448
+ - spec/mongoid/criteria/queryable/extensions/set_spec.rb
1677
1449
  - spec/mongoid/criteria/queryable/extensions/string_spec.rb
1678
- - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1679
- - spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
1680
- - spec/mongoid/criteria/queryable/extensions/array_spec.rb
1681
- - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
1682
- - spec/mongoid/criteria/queryable/optional_spec.rb
1683
- - spec/mongoid/criteria/queryable/aggregable_spec.rb
1684
- - spec/mongoid/criteria/queryable/selector_spec.rb
1685
- - spec/mongoid/criteria/queryable/selectable_spec.rb
1450
+ - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1451
+ - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1452
+ - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1453
+ - spec/mongoid/criteria/queryable/key_spec.rb
1686
1454
  - spec/mongoid/criteria/queryable/mergeable_spec.rb
1455
+ - spec/mongoid/criteria/queryable/optional_spec.rb
1456
+ - spec/mongoid/criteria/queryable/options_spec.rb
1457
+ - spec/mongoid/criteria/queryable/pipeline_spec.rb
1458
+ - spec/mongoid/criteria/queryable/queryable_spec.rb
1687
1459
  - spec/mongoid/criteria/queryable/selectable_logical_spec.rb
1688
- - spec/mongoid/criteria/modifiable_spec.rb
1689
- - spec/mongoid/criteria/inspectable_spec.rb
1690
- - spec/mongoid/criteria/marshalable_spec.rb
1460
+ - spec/mongoid/criteria/queryable/selectable_shared_examples.rb
1461
+ - spec/mongoid/criteria/queryable/selectable_spec.rb
1462
+ - spec/mongoid/criteria/queryable/selectable_where_spec.rb
1463
+ - spec/mongoid/criteria/queryable/selector_spec.rb
1464
+ - spec/mongoid/criteria/queryable/smash_spec.rb
1465
+ - spec/mongoid/criteria/queryable/storable_spec.rb
1691
1466
  - spec/mongoid/criteria/scopable_spec.rb
1692
- - spec/mongoid/criteria/findable_spec.rb
1693
- - spec/mongoid/config_spec.rb
1694
- - spec/mongoid/relations/proxy_spec.rb
1695
- - spec/mongoid/traversable_spec.rb
1467
+ - spec/mongoid/criteria/translator_spec.rb
1696
1468
  - spec/mongoid/criteria_projection_spec.rb
1469
+ - spec/mongoid/criteria_spec.rb
1470
+ - spec/mongoid/document_fields_spec.rb
1471
+ - spec/mongoid/document_persistence_context_spec.rb
1472
+ - spec/mongoid/document_query_spec.rb
1697
1473
  - spec/mongoid/document_spec.rb
1698
- - spec/mongoid/interceptable_spec_models.rb
1474
+ - spec/mongoid/equality_spec.rb
1475
+ - spec/mongoid/errors/ambiguous_relationship_spec.rb
1476
+ - spec/mongoid/errors/callback_spec.rb
1477
+ - spec/mongoid/errors/delete_restriction_spec.rb
1478
+ - spec/mongoid/errors/document_not_destroyed_spec.rb
1479
+ - spec/mongoid/errors/document_not_found_spec.rb
1480
+ - spec/mongoid/errors/invalid_collection_spec.rb
1481
+ - spec/mongoid/errors/invalid_config_file_spec.rb
1482
+ - spec/mongoid/errors/invalid_config_option_spec.rb
1483
+ - spec/mongoid/errors/invalid_field_option_spec.rb
1484
+ - spec/mongoid/errors/invalid_field_spec.rb
1485
+ - spec/mongoid/errors/invalid_field_type_spec.rb
1486
+ - spec/mongoid/errors/invalid_find_spec.rb
1487
+ - spec/mongoid/errors/invalid_includes_spec.rb
1488
+ - spec/mongoid/errors/invalid_index_spec.rb
1489
+ - spec/mongoid/errors/invalid_options_spec.rb
1490
+ - spec/mongoid/errors/invalid_path_spec.rb
1491
+ - spec/mongoid/errors/invalid_relation_spec.rb
1492
+ - spec/mongoid/errors/invalid_scope_spec.rb
1493
+ - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1494
+ - spec/mongoid/errors/invalid_storage_options_spec.rb
1495
+ - spec/mongoid/errors/invalid_time_spec.rb
1496
+ - spec/mongoid/errors/inverse_not_found_spec.rb
1497
+ - spec/mongoid/errors/mixed_client_configuration_spec.rb
1498
+ - spec/mongoid/errors/mixed_relations_spec.rb
1499
+ - spec/mongoid/errors/mongoid_error_spec.rb
1500
+ - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1501
+ - spec/mongoid/errors/no_client_config_spec.rb
1502
+ - spec/mongoid/errors/no_client_database_spec.rb
1503
+ - spec/mongoid/errors/no_client_hosts_spec.rb
1504
+ - spec/mongoid/errors/no_clients_config_spec.rb
1505
+ - spec/mongoid/errors/no_environment_spec.rb
1506
+ - spec/mongoid/errors/no_map_reduce_output_spec.rb
1507
+ - spec/mongoid/errors/no_metadata_spec.rb
1508
+ - spec/mongoid/errors/no_parent_spec.rb
1509
+ - spec/mongoid/errors/readonly_attribute_spec.rb
1510
+ - spec/mongoid/errors/readonly_document_spec.rb
1511
+ - spec/mongoid/errors/scope_overwrite_spec.rb
1512
+ - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1513
+ - spec/mongoid/errors/unknown_attribute_spec.rb
1514
+ - spec/mongoid/errors/unsaved_document_spec.rb
1515
+ - spec/mongoid/errors/unsupported_javascript_spec.rb
1516
+ - spec/mongoid/errors/validations_spec.rb
1517
+ - spec/mongoid/extensions/array_spec.rb
1518
+ - spec/mongoid/extensions/big_decimal_spec.rb
1519
+ - spec/mongoid/extensions/binary_spec.rb
1520
+ - spec/mongoid/extensions/boolean_spec.rb
1521
+ - spec/mongoid/extensions/date_class_mongoize_spec.rb
1699
1522
  - spec/mongoid/extensions/date_spec.rb
1523
+ - spec/mongoid/extensions/date_time_spec.rb
1524
+ - spec/mongoid/extensions/decimal128_spec.rb
1700
1525
  - spec/mongoid/extensions/false_class_spec.rb
1701
- - spec/mongoid/extensions/symbol_spec.rb
1702
- - spec/mongoid/extensions/integer_spec.rb
1703
1526
  - spec/mongoid/extensions/float_spec.rb
1704
- - spec/mongoid/extensions/range_spec.rb
1705
- - spec/mongoid/extensions/time_spec.rb
1706
- - spec/mongoid/extensions/set_spec.rb
1527
+ - spec/mongoid/extensions/hash_spec.rb
1528
+ - spec/mongoid/extensions/integer_spec.rb
1707
1529
  - spec/mongoid/extensions/module_spec.rb
1708
- - spec/mongoid/extensions/time_with_zone_spec.rb
1709
- - spec/mongoid/extensions/date_class_mongoize_spec.rb
1710
- - spec/mongoid/extensions/regexp_spec.rb
1711
- - spec/mongoid/extensions/boolean_spec.rb
1712
1530
  - spec/mongoid/extensions/nil_class_spec.rb
1713
- - spec/mongoid/extensions/big_decimal_spec.rb
1531
+ - spec/mongoid/extensions/object_id_spec.rb
1714
1532
  - spec/mongoid/extensions/object_spec.rb
1715
- - spec/mongoid/extensions/true_class_spec.rb
1716
- - spec/mongoid/extensions/stringified_symbol_spec.rb
1533
+ - spec/mongoid/extensions/range_spec.rb
1534
+ - spec/mongoid/extensions/regexp_spec.rb
1535
+ - spec/mongoid/extensions/set_spec.rb
1717
1536
  - spec/mongoid/extensions/string_spec.rb
1718
- - spec/mongoid/extensions/hash_spec.rb
1719
- - spec/mongoid/extensions/decimal128_spec.rb
1720
- - spec/mongoid/extensions/object_id_spec.rb
1721
- - spec/mongoid/extensions/array_spec.rb
1722
- - spec/mongoid/extensions/date_time_spec.rb
1723
- - spec/mongoid/extensions/binary_spec.rb
1724
- - spec/mongoid/attributes/projector_spec.rb
1725
- - spec/mongoid/attributes/readonly_spec.rb
1726
- - spec/mongoid/attributes/dynamic_spec.rb
1727
- - spec/mongoid/attributes/projector_data/embedded.yml
1728
- - spec/mongoid/attributes/projector_data/fields.yml
1729
- - spec/mongoid/attributes/nested_spec.rb
1537
+ - spec/mongoid/extensions/stringified_symbol_spec.rb
1538
+ - spec/mongoid/extensions/symbol_spec.rb
1539
+ - spec/mongoid/extensions/time_spec.rb
1540
+ - spec/mongoid/extensions/time_with_zone_spec.rb
1541
+ - spec/mongoid/extensions/true_class_spec.rb
1542
+ - spec/mongoid/extensions_spec.rb
1543
+ - spec/mongoid/factory_spec.rb
1544
+ - spec/mongoid/fields/foreign_key_spec.rb
1545
+ - spec/mongoid/fields/localized_spec.rb
1546
+ - spec/mongoid/fields/standard_spec.rb
1547
+ - spec/mongoid/fields_spec.rb
1548
+ - spec/mongoid/findable_spec.rb
1549
+ - spec/mongoid/indexable/specification_spec.rb
1550
+ - spec/mongoid/indexable_spec.rb
1730
1551
  - spec/mongoid/inspectable_spec.rb
1731
- - spec/mongoid/reloadable_spec.rb
1732
- - spec/mongoid/shardable_spec.rb
1733
- - spec/mongoid/stateful_spec.rb
1734
- - spec/mongoid/composable_spec.rb
1735
- - spec/mongoid/association_spec.rb
1736
- - spec/mongoid/serializable_spec.rb
1737
- - spec/mongoid/timestamps_spec.rb
1738
- - spec/mongoid/matcher/extract_attribute_spec.rb
1739
- - spec/mongoid/matcher/extract_attribute_data/traversal.yml
1740
- - spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml
1741
- - spec/mongoid/copyable_spec_models.rb
1742
- - spec/mongoid/clients/factory_spec.rb
1743
- - spec/mongoid/clients/options_spec.rb
1744
- - spec/mongoid/clients/transactions_spec.rb
1745
- - spec/mongoid/clients/sessions_spec.rb
1552
+ - spec/mongoid/interceptable_spec.rb
1553
+ - spec/mongoid/interceptable_spec_models.rb
1746
1554
  - spec/mongoid/loggable_spec.rb
1747
- - spec/mongoid/config/options_spec.rb
1748
- - spec/mongoid/config/environment_spec.rb
1749
- - spec/mongoid/indexable/specification_spec.rb
1750
- - spec/mongoid/positional_spec.rb
1751
- - spec/mongoid/changeable_spec.rb
1752
- - spec/mongoid/selectable_spec.rb
1753
- - spec/mongoid/scopable_spec.rb
1754
- - spec/mongoid/document_query_spec.rb
1755
- - spec/mongoid/shardable_models.rb
1756
- - spec/mongoid/findable_spec.rb
1757
- - spec/mongoid/timestamps/created_spec.rb
1758
- - spec/mongoid/timestamps/updated/short_spec.rb
1759
- - spec/mongoid/timestamps/timeless_spec.rb
1760
- - spec/mongoid/timestamps/updated_spec.rb
1761
- - spec/mongoid/timestamps/created/short_spec.rb
1762
- - spec/mongoid/tasks/database_spec.rb
1763
- - spec/mongoid/tasks/database_rake_spec.rb
1764
- - spec/mongoid/persistable/settable_spec.rb
1765
- - spec/mongoid/persistable/updatable_spec.rb
1766
- - spec/mongoid/persistable/poppable_spec.rb
1767
- - spec/mongoid/persistable/logical_spec.rb
1555
+ - spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml
1556
+ - spec/mongoid/matcher/extract_attribute_data/traversal.yml
1557
+ - spec/mongoid/matcher/extract_attribute_spec.rb
1558
+ - spec/mongoid/mongoizable_spec.rb
1768
1559
  - spec/mongoid/persistable/creatable_spec.rb
1769
- - spec/mongoid/persistable/savable_spec.rb
1770
- - spec/mongoid/persistable/unsettable_spec.rb
1560
+ - spec/mongoid/persistable/deletable_spec.rb
1771
1561
  - spec/mongoid/persistable/destroyable_spec.rb
1562
+ - spec/mongoid/persistable/incrementable_spec.rb
1563
+ - spec/mongoid/persistable/logical_spec.rb
1564
+ - spec/mongoid/persistable/poppable_spec.rb
1772
1565
  - spec/mongoid/persistable/pullable_spec.rb
1773
1566
  - spec/mongoid/persistable/pushable_spec.rb
1774
1567
  - spec/mongoid/persistable/renamable_spec.rb
1775
- - spec/mongoid/persistable/deletable_spec.rb
1568
+ - spec/mongoid/persistable/savable_spec.rb
1569
+ - spec/mongoid/persistable/settable_spec.rb
1570
+ - spec/mongoid/persistable/unsettable_spec.rb
1571
+ - spec/mongoid/persistable/updatable_spec.rb
1776
1572
  - spec/mongoid/persistable/upsertable_spec.rb
1777
- - spec/mongoid/persistable/incrementable_spec.rb
1778
- - spec/mongoid/clients_spec.rb
1779
- - spec/mongoid/atomic_spec.rb
1780
- - spec/mongoid/errors/document_not_destroyed_spec.rb
1781
- - spec/mongoid/errors/mixed_client_configuration_spec.rb
1782
- - spec/mongoid/errors/invalid_collection_spec.rb
1783
- - spec/mongoid/errors/no_client_database_spec.rb
1784
- - spec/mongoid/errors/no_clients_config_spec.rb
1785
- - spec/mongoid/errors/invalid_index_spec.rb
1786
- - spec/mongoid/errors/no_map_reduce_output_spec.rb
1787
- - spec/mongoid/errors/no_client_hosts_spec.rb
1788
- - spec/mongoid/errors/invalid_path_spec.rb
1789
- - spec/mongoid/errors/scope_overwrite_spec.rb
1790
- - spec/mongoid/errors/invalid_field_spec.rb
1791
- - spec/mongoid/errors/validations_spec.rb
1792
- - spec/mongoid/errors/invalid_includes_spec.rb
1793
- - spec/mongoid/errors/ambiguous_relationship_spec.rb
1794
- - spec/mongoid/errors/invalid_config_option_spec.rb
1795
- - spec/mongoid/errors/readonly_attribute_spec.rb
1796
- - spec/mongoid/errors/invalid_find_spec.rb
1797
- - spec/mongoid/errors/no_client_config_spec.rb
1798
- - spec/mongoid/errors/invalid_relation_spec.rb
1799
- - spec/mongoid/errors/unsupported_javascript_spec.rb
1800
- - spec/mongoid/errors/invalid_time_spec.rb
1801
- - spec/mongoid/errors/no_parent_spec.rb
1802
- - spec/mongoid/errors/mixed_relations_spec.rb
1803
- - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1804
- - spec/mongoid/errors/invalid_scope_spec.rb
1805
- - spec/mongoid/errors/unsaved_document_spec.rb
1806
- - spec/mongoid/errors/invalid_field_option_spec.rb
1807
- - spec/mongoid/errors/inverse_not_found_spec.rb
1808
- - spec/mongoid/errors/no_metadata_spec.rb
1809
- - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1810
- - spec/mongoid/errors/callback_spec.rb
1811
- - spec/mongoid/errors/no_environment_spec.rb
1812
- - spec/mongoid/errors/readonly_document_spec.rb
1813
- - spec/mongoid/errors/unknown_attribute_spec.rb
1814
- - spec/mongoid/errors/mongoid_error_spec.rb
1815
- - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1816
- - spec/mongoid/errors/delete_restriction_spec.rb
1817
- - spec/mongoid/errors/invalid_storage_options_spec.rb
1818
- - spec/mongoid/errors/invalid_config_file_spec.rb
1819
- - spec/mongoid/errors/invalid_options_spec.rb
1820
- - spec/mongoid/errors/document_not_found_spec.rb
1821
- - spec/mongoid/errors/eager_load_spec.rb
1822
- - spec/mongoid/interceptable_spec.rb
1823
- - spec/mongoid/document_fields_spec.rb
1824
- - spec/mongoid/criteria_spec.rb
1825
1573
  - spec/mongoid/persistable_spec.rb
1574
+ - spec/mongoid/persistence_context_spec.rb
1575
+ - spec/mongoid/positional_spec.rb
1576
+ - spec/mongoid/query_cache_middleware_spec.rb
1577
+ - spec/mongoid/query_cache_spec.rb
1578
+ - spec/mongoid/relations/proxy_spec.rb
1579
+ - spec/mongoid/reloadable_spec.rb
1580
+ - spec/mongoid/scopable_spec.rb
1581
+ - spec/mongoid/selectable_spec.rb
1582
+ - spec/mongoid/serializable_spec.rb
1583
+ - spec/mongoid/shardable_models.rb
1584
+ - spec/mongoid/shardable_spec.rb
1585
+ - spec/mongoid/stateful_spec.rb
1586
+ - spec/mongoid/tasks/database_rake_spec.rb
1587
+ - spec/mongoid/tasks/database_spec.rb
1588
+ - spec/mongoid/threaded_spec.rb
1589
+ - spec/mongoid/timestamps/created/short_spec.rb
1590
+ - spec/mongoid/timestamps/created_spec.rb
1591
+ - spec/mongoid/timestamps/timeless_spec.rb
1592
+ - spec/mongoid/timestamps/updated/short_spec.rb
1593
+ - spec/mongoid/timestamps/updated_spec.rb
1594
+ - spec/mongoid/timestamps_spec.rb
1595
+ - spec/mongoid/timestamps_spec_models.rb
1596
+ - spec/mongoid/touchable_spec.rb
1597
+ - spec/mongoid/touchable_spec_models.rb
1598
+ - spec/mongoid/traversable_spec.rb
1599
+ - spec/mongoid/validatable/associated_spec.rb
1600
+ - spec/mongoid/validatable/format_spec.rb
1601
+ - spec/mongoid/validatable/length_spec.rb
1602
+ - spec/mongoid/validatable/numericality_spec.rb
1603
+ - spec/mongoid/validatable/presence_spec.rb
1604
+ - spec/mongoid/validatable/uniqueness_spec.rb
1605
+ - spec/mongoid/validatable_spec.rb
1606
+ - spec/mongoid/warnings_spec.rb
1607
+ - spec/mongoid_spec.rb
1608
+ - spec/rails/controller_extension/controller_runtime_spec.rb
1609
+ - spec/rails/mongoid_spec.rb
1610
+ - spec/shared/LICENSE
1611
+ - spec/shared/bin/get-mongodb-download-url
1612
+ - spec/shared/bin/s3-copy
1613
+ - spec/shared/bin/s3-upload
1614
+ - spec/shared/lib/mrss/child_process_helper.rb
1615
+ - spec/shared/lib/mrss/cluster_config.rb
1616
+ - spec/shared/lib/mrss/constraints.rb
1617
+ - spec/shared/lib/mrss/docker_runner.rb
1618
+ - spec/shared/lib/mrss/eg_config_utils.rb
1619
+ - spec/shared/lib/mrss/event_subscriber.rb
1620
+ - spec/shared/lib/mrss/lite_constraints.rb
1621
+ - spec/shared/lib/mrss/server_version_registry.rb
1622
+ - spec/shared/lib/mrss/session_registry.rb
1623
+ - spec/shared/lib/mrss/session_registry_legacy.rb
1624
+ - spec/shared/lib/mrss/spec_organizer.rb
1625
+ - spec/shared/lib/mrss/utils.rb
1626
+ - spec/shared/share/Dockerfile.erb
1627
+ - spec/shared/share/haproxy-1.conf
1628
+ - spec/shared/share/haproxy-2.conf
1629
+ - spec/shared/shlib/config.sh
1630
+ - spec/shared/shlib/distro.sh
1631
+ - spec/shared/shlib/server.sh
1632
+ - spec/shared/shlib/set_env.sh
1633
+ - spec/spec_helper.rb
1634
+ - spec/support/authorization.rb
1635
+ - spec/support/client_registry.rb
1636
+ - spec/support/constraints.rb
1637
+ - spec/support/expectations.rb
1638
+ - spec/support/helpers.rb
1639
+ - spec/support/immutable_ids.rb
1640
+ - spec/support/macros.rb
1641
+ - spec/support/models/account.rb
1642
+ - spec/support/models/acolyte.rb
1643
+ - spec/support/models/actor.rb
1644
+ - spec/support/models/actress.rb
1645
+ - spec/support/models/address.rb
1646
+ - spec/support/models/address_component.rb
1647
+ - spec/support/models/address_number.rb
1648
+ - spec/support/models/agency.rb
1649
+ - spec/support/models/agent.rb
1650
+ - spec/support/models/album.rb
1651
+ - spec/support/models/alert.rb
1652
+ - spec/support/models/animal.rb
1653
+ - spec/support/models/answer.rb
1654
+ - spec/support/models/appointment.rb
1655
+ - spec/support/models/armrest.rb
1656
+ - spec/support/models/array_field.rb
1657
+ - spec/support/models/article.rb
1658
+ - spec/support/models/artist.rb
1659
+ - spec/support/models/artwork.rb
1660
+ - spec/support/models/audible_sound.rb
1661
+ - spec/support/models/audio.rb
1662
+ - spec/support/models/augmentation.rb
1663
+ - spec/support/models/author.rb
1664
+ - spec/support/models/baby.rb
1665
+ - spec/support/models/band.rb
1666
+ - spec/support/models/bar.rb
1667
+ - spec/support/models/basic.rb
1668
+ - spec/support/models/bed.rb
1669
+ - spec/support/models/big_palette.rb
1670
+ - spec/support/models/birthday.rb
1671
+ - spec/support/models/bolt.rb
1672
+ - spec/support/models/bomb.rb
1673
+ - spec/support/models/book.rb
1674
+ - spec/support/models/breed.rb
1675
+ - spec/support/models/browser.rb
1676
+ - spec/support/models/building.rb
1677
+ - spec/support/models/building_address.rb
1678
+ - spec/support/models/bus.rb
1679
+ - spec/support/models/business.rb
1680
+ - spec/support/models/callback_test.rb
1681
+ - spec/support/models/canvas.rb
1682
+ - spec/support/models/car.rb
1683
+ - spec/support/models/cat.rb
1684
+ - spec/support/models/catalog.rb
1685
+ - spec/support/models/category.rb
1686
+ - spec/support/models/child.rb
1687
+ - spec/support/models/child_doc.rb
1688
+ - spec/support/models/church.rb
1689
+ - spec/support/models/circle.rb
1690
+ - spec/support/models/circuit.rb
1691
+ - spec/support/models/circus.rb
1692
+ - spec/support/models/code.rb
1693
+ - spec/support/models/coding/pull_request.rb
1694
+ - spec/support/models/coding.rb
1695
+ - spec/support/models/comment.rb
1696
+ - spec/support/models/company.rb
1697
+ - spec/support/models/consumption_period.rb
1698
+ - spec/support/models/contextable_item.rb
1699
+ - spec/support/models/contractor.rb
1700
+ - spec/support/models/cookie.rb
1701
+ - spec/support/models/country_code.rb
1702
+ - spec/support/models/courier_job.rb
1703
+ - spec/support/models/cover.rb
1704
+ - spec/support/models/crate.rb
1705
+ - spec/support/models/customer.rb
1706
+ - spec/support/models/customer_address.rb
1707
+ - spec/support/models/deed.rb
1708
+ - spec/support/models/definition.rb
1709
+ - spec/support/models/delegating_patient.rb
1710
+ - spec/support/models/description.rb
1711
+ - spec/support/models/dictionary.rb
1712
+ - spec/support/models/division.rb
1713
+ - spec/support/models/doctor.rb
1714
+ - spec/support/models/dog.rb
1715
+ - spec/support/models/dokument.rb
1716
+ - spec/support/models/draft.rb
1717
+ - spec/support/models/dragon.rb
1718
+ - spec/support/models/driver.rb
1719
+ - spec/support/models/drug.rb
1720
+ - spec/support/models/dungeon.rb
1721
+ - spec/support/models/edit.rb
1722
+ - spec/support/models/email.rb
1723
+ - spec/support/models/employer.rb
1724
+ - spec/support/models/entry.rb
1725
+ - spec/support/models/eraser.rb
1726
+ - spec/support/models/even.rb
1727
+ - spec/support/models/event.rb
1728
+ - spec/support/models/exhibition.rb
1729
+ - spec/support/models/exhibitor.rb
1730
+ - spec/support/models/explosion.rb
1731
+ - spec/support/models/eye.rb
1732
+ - spec/support/models/eye_bowl.rb
1733
+ - spec/support/models/face.rb
1734
+ - spec/support/models/fanatic.rb
1735
+ - spec/support/models/favorite.rb
1736
+ - spec/support/models/filesystem.rb
1737
+ - spec/support/models/fire_hydrant.rb
1738
+ - spec/support/models/firefox.rb
1739
+ - spec/support/models/fish.rb
1740
+ - spec/support/models/folder.rb
1741
+ - spec/support/models/folder_item.rb
1742
+ - spec/support/models/fruits.rb
1743
+ - spec/support/models/game.rb
1744
+ - spec/support/models/ghost.rb
1745
+ - spec/support/models/guitar.rb
1746
+ - spec/support/models/hole.rb
1747
+ - spec/support/models/home.rb
1748
+ - spec/support/models/house.rb
1749
+ - spec/support/models/html_writer.rb
1750
+ - spec/support/models/id_key.rb
1751
+ - spec/support/models/idnodef.rb
1752
+ - spec/support/models/image.rb
1753
+ - spec/support/models/implant.rb
1754
+ - spec/support/models/instrument.rb
1755
+ - spec/support/models/item.rb
1756
+ - spec/support/models/jar.rb
1757
+ - spec/support/models/kaleidoscope.rb
1758
+ - spec/support/models/kangaroo.rb
1759
+ - spec/support/models/label.rb
1760
+ - spec/support/models/language.rb
1761
+ - spec/support/models/lat_lng.rb
1762
+ - spec/support/models/league.rb
1763
+ - spec/support/models/learner.rb
1764
+ - spec/support/models/line_item.rb
1765
+ - spec/support/models/location.rb
1766
+ - spec/support/models/login.rb
1767
+ - spec/support/models/manufacturer.rb
1768
+ - spec/support/models/meat.rb
1769
+ - spec/support/models/membership.rb
1770
+ - spec/support/models/message.rb
1771
+ - spec/support/models/minim.rb
1772
+ - spec/support/models/mixed_drink.rb
1773
+ - spec/support/models/mop.rb
1774
+ - spec/support/models/movie.rb
1775
+ - spec/support/models/my_hash.rb
1776
+ - spec/support/models/name.rb
1777
+ - spec/support/models/name_only.rb
1778
+ - spec/support/models/node.rb
1779
+ - spec/support/models/note.rb
1780
+ - spec/support/models/nut.rb
1781
+ - spec/support/models/odd.rb
1782
+ - spec/support/models/order.rb
1783
+ - spec/support/models/ordered_post.rb
1784
+ - spec/support/models/ordered_preference.rb
1785
+ - spec/support/models/oscar.rb
1786
+ - spec/support/models/other_owner_object.rb
1787
+ - spec/support/models/override.rb
1788
+ - spec/support/models/ownable.rb
1789
+ - spec/support/models/owner.rb
1790
+ - spec/support/models/pack.rb
1791
+ - spec/support/models/page.rb
1792
+ - spec/support/models/page_question.rb
1793
+ - spec/support/models/palette.rb
1794
+ - spec/support/models/parent.rb
1795
+ - spec/support/models/parent_doc.rb
1796
+ - spec/support/models/passport.rb
1797
+ - spec/support/models/patient.rb
1798
+ - spec/support/models/pdf_writer.rb
1799
+ - spec/support/models/pencil.rb
1800
+ - spec/support/models/person.rb
1801
+ - spec/support/models/pet.rb
1802
+ - spec/support/models/pet_owner.rb
1803
+ - spec/support/models/phone.rb
1804
+ - spec/support/models/piano.rb
1805
+ - spec/support/models/pizza.rb
1806
+ - spec/support/models/player.rb
1807
+ - spec/support/models/post.rb
1808
+ - spec/support/models/post_genre.rb
1809
+ - spec/support/models/powerup.rb
1810
+ - spec/support/models/preference.rb
1811
+ - spec/support/models/princess.rb
1812
+ - spec/support/models/product.rb
1813
+ - spec/support/models/profile.rb
1814
+ - spec/support/models/pronunciation.rb
1815
+ - spec/support/models/pub.rb
1816
+ - spec/support/models/publication/encyclopedia.rb
1817
+ - spec/support/models/publication/review.rb
1818
+ - spec/support/models/publication.rb
1819
+ - spec/support/models/purchase.rb
1820
+ - spec/support/models/purchased_item.rb
1821
+ - spec/support/models/purse.rb
1822
+ - spec/support/models/question.rb
1823
+ - spec/support/models/quiz.rb
1824
+ - spec/support/models/rating.rb
1825
+ - spec/support/models/record.rb
1826
+ - spec/support/models/registry.rb
1827
+ - spec/support/models/role.rb
1828
+ - spec/support/models/root_category.rb
1829
+ - spec/support/models/sandwich.rb
1830
+ - spec/support/models/scheduler.rb
1831
+ - spec/support/models/school.rb
1832
+ - spec/support/models/scribe.rb
1833
+ - spec/support/models/sealer.rb
1834
+ - spec/support/models/seat.rb
1835
+ - spec/support/models/seo.rb
1836
+ - spec/support/models/series.rb
1837
+ - spec/support/models/server.rb
1838
+ - spec/support/models/service.rb
1839
+ - spec/support/models/shape.rb
1840
+ - spec/support/models/shelf.rb
1841
+ - spec/support/models/shield.rb
1842
+ - spec/support/models/shipment_address.rb
1843
+ - spec/support/models/shipping_container.rb
1844
+ - spec/support/models/shipping_pack.rb
1845
+ - spec/support/models/shirt.rb
1846
+ - spec/support/models/shop.rb
1847
+ - spec/support/models/short_agent.rb
1848
+ - spec/support/models/short_quiz.rb
1849
+ - spec/support/models/simple.rb
1850
+ - spec/support/models/slave.rb
1851
+ - spec/support/models/song.rb
1852
+ - spec/support/models/sound.rb
1853
+ - spec/support/models/spacer.rb
1854
+ - spec/support/models/square.rb
1855
+ - spec/support/models/staff.rb
1856
+ - spec/support/models/store_as_dup_test1.rb
1857
+ - spec/support/models/store_as_dup_test2.rb
1858
+ - spec/support/models/store_as_dup_test3.rb
1859
+ - spec/support/models/store_as_dup_test4.rb
1860
+ - spec/support/models/strategy.rb
1861
+ - spec/support/models/student.rb
1862
+ - spec/support/models/sub_item.rb
1863
+ - spec/support/models/subscription.rb
1864
+ - spec/support/models/survey.rb
1865
+ - spec/support/models/symptom.rb
1866
+ - spec/support/models/system_role.rb
1867
+ - spec/support/models/tag.rb
1868
+ - spec/support/models/target.rb
1869
+ - spec/support/models/template.rb
1870
+ - spec/support/models/thing.rb
1871
+ - spec/support/models/threadlocker.rb
1872
+ - spec/support/models/title.rb
1873
+ - spec/support/models/tool.rb
1874
+ - spec/support/models/topping.rb
1875
+ - spec/support/models/toy.rb
1876
+ - spec/support/models/track.rb
1877
+ - spec/support/models/translation.rb
1878
+ - spec/support/models/tree.rb
1879
+ - spec/support/models/truck.rb
1880
+ - spec/support/models/updatable.rb
1881
+ - spec/support/models/user.rb
1882
+ - spec/support/models/user_account.rb
1883
+ - spec/support/models/validation_callback.rb
1884
+ - spec/support/models/vehicle.rb
1885
+ - spec/support/models/version.rb
1886
+ - spec/support/models/vertex.rb
1887
+ - spec/support/models/vet_visit.rb
1888
+ - spec/support/models/video.rb
1889
+ - spec/support/models/video_game.rb
1890
+ - spec/support/models/washer.rb
1891
+ - spec/support/models/weapon.rb
1892
+ - spec/support/models/wiki_page.rb
1893
+ - spec/support/models/word.rb
1894
+ - spec/support/models/word_origin.rb
1895
+ - spec/support/models/writer.rb
1896
+ - spec/support/schema_maps/schema_map_aws.json
1897
+ - spec/support/schema_maps/schema_map_aws_key_alt_names.json
1898
+ - spec/support/schema_maps/schema_map_azure.json
1899
+ - spec/support/schema_maps/schema_map_azure_key_alt_names.json
1900
+ - spec/support/schema_maps/schema_map_gcp.json
1901
+ - spec/support/schema_maps/schema_map_gcp_key_alt_names.json
1902
+ - spec/support/schema_maps/schema_map_kmip.json
1903
+ - spec/support/schema_maps/schema_map_kmip_key_alt_names.json
1904
+ - spec/support/schema_maps/schema_map_local.json
1905
+ - spec/support/schema_maps/schema_map_local_key_alt_names.json
1906
+ - spec/support/shared/time.rb
1907
+ - spec/support/spec_config.rb