mongoid 7.2.1 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +20 -20
- data/LICENSE +1 -1
- data/README.md +7 -12
- data/Rakefile +58 -1
- data/lib/config/locales/en.yml +191 -60
- data/lib/mongoid/association/accessors.rb +67 -53
- data/lib/mongoid/association/bindable.rb +77 -31
- data/lib/mongoid/association/builders.rb +8 -14
- data/lib/mongoid/association/constrainable.rb +2 -5
- data/lib/mongoid/association/depending.rb +20 -12
- data/lib/mongoid/association/eager.rb +160 -0
- data/lib/mongoid/association/eager_loadable.rb +41 -11
- data/lib/mongoid/association/embedded/batchable.rb +63 -52
- data/lib/mongoid/association/embedded/cyclic.rb +4 -12
- data/lib/mongoid/association/embedded/eager.rb +23 -0
- data/lib/mongoid/association/embedded/embedded_in/binding.rb +29 -13
- data/lib/mongoid/association/embedded/embedded_in/buildable.rb +3 -5
- data/lib/mongoid/association/embedded/embedded_in/proxy.rb +25 -23
- data/lib/mongoid/association/embedded/embedded_in.rb +11 -26
- data/lib/mongoid/association/embedded/embeds_many/binding.rb +4 -9
- data/lib/mongoid/association/embedded/embeds_many/buildable.rb +5 -6
- data/lib/mongoid/association/embedded/embeds_many/proxy.rb +226 -203
- data/lib/mongoid/association/embedded/embeds_many.rb +3 -33
- data/lib/mongoid/association/embedded/embeds_one/binding.rb +3 -9
- data/lib/mongoid/association/embedded/embeds_one/buildable.rb +20 -8
- data/lib/mongoid/association/embedded/embeds_one/proxy.rb +131 -42
- data/lib/mongoid/association/embedded/embeds_one.rb +4 -30
- data/lib/mongoid/association/embedded.rb +2 -1
- data/lib/mongoid/association/macros.rb +47 -16
- data/lib/mongoid/association/many.rb +12 -24
- data/lib/mongoid/association/marshalable.rb +4 -5
- data/lib/mongoid/association/nested/many.rb +14 -19
- data/lib/mongoid/association/nested/nested_buildable.rb +36 -13
- data/lib/mongoid/association/nested/one.rb +54 -26
- data/lib/mongoid/association/nested.rb +1 -3
- data/lib/mongoid/association/one.rb +3 -11
- data/lib/mongoid/association/options.rb +18 -44
- data/lib/mongoid/association/proxy.rb +49 -42
- data/lib/mongoid/association/referenced/auto_save.rb +11 -15
- data/lib/mongoid/association/referenced/belongs_to/binding.rb +2 -7
- data/lib/mongoid/association/referenced/belongs_to/buildable.rb +6 -6
- data/lib/mongoid/association/referenced/belongs_to/eager.rb +2 -2
- data/lib/mongoid/association/referenced/belongs_to/proxy.rb +23 -32
- data/lib/mongoid/association/referenced/belongs_to.rb +13 -37
- data/lib/mongoid/association/referenced/counter_cache.rb +18 -26
- data/lib/mongoid/association/referenced/has_and_belongs_to_many/binding.rb +15 -8
- data/lib/mongoid/association/referenced/has_and_belongs_to_many/buildable.rb +1 -3
- data/lib/mongoid/association/referenced/has_and_belongs_to_many/eager.rb +2 -2
- data/lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb +191 -123
- data/lib/mongoid/association/referenced/has_and_belongs_to_many.rb +23 -42
- data/lib/mongoid/association/referenced/has_many/binding.rb +1 -5
- data/lib/mongoid/association/referenced/has_many/buildable.rb +1 -3
- data/lib/mongoid/association/referenced/has_many/eager.rb +2 -2
- data/lib/mongoid/association/referenced/has_many/enumerable.rb +471 -496
- data/lib/mongoid/association/referenced/has_many/proxy.rb +182 -179
- data/lib/mongoid/association/referenced/has_many.rb +17 -43
- data/lib/mongoid/association/referenced/has_one/binding.rb +1 -7
- data/lib/mongoid/association/referenced/has_one/buildable.rb +5 -5
- data/lib/mongoid/association/referenced/has_one/eager.rb +3 -4
- data/lib/mongoid/association/referenced/has_one/proxy.rb +38 -41
- data/lib/mongoid/association/referenced/has_one.rb +17 -36
- data/lib/mongoid/association/referenced/syncable.rb +11 -27
- data/lib/mongoid/association/referenced.rb +1 -1
- data/lib/mongoid/association/reflections.rb +9 -9
- data/lib/mongoid/association/relatable.rb +55 -74
- data/lib/mongoid/association.rb +10 -22
- data/lib/mongoid/atomic/modifiers.rb +7 -53
- data/lib/mongoid/atomic/paths/embedded/many.rb +20 -5
- data/lib/mongoid/atomic/paths/embedded/one.rb +1 -5
- data/lib/mongoid/atomic/paths/embedded.rb +1 -3
- data/lib/mongoid/atomic/paths/root.rb +1 -5
- data/lib/mongoid/atomic/paths.rb +1 -1
- data/lib/mongoid/atomic.rb +39 -86
- data/lib/mongoid/atomic_update_preparer.rb +88 -0
- data/lib/mongoid/attributes/dynamic.rb +5 -21
- data/lib/mongoid/attributes/embedded.rb +34 -0
- data/lib/mongoid/attributes/nested.rb +9 -13
- data/lib/mongoid/attributes/processing.rb +43 -28
- data/lib/mongoid/attributes/projector.rb +120 -0
- data/lib/mongoid/attributes/readonly.rb +4 -8
- data/lib/mongoid/attributes.rb +85 -89
- data/lib/mongoid/cacheable.rb +5 -9
- data/lib/mongoid/changeable.rb +183 -97
- data/lib/mongoid/clients/factory.rb +58 -15
- data/lib/mongoid/clients/options.rb +117 -8
- data/lib/mongoid/clients/sessions.rb +246 -84
- data/lib/mongoid/clients/storage_options.rb +37 -11
- data/lib/mongoid/clients/validators/storage.rb +4 -24
- data/lib/mongoid/clients/validators.rb +1 -1
- data/lib/mongoid/clients.rb +37 -14
- data/lib/mongoid/collection_configurable.rb +59 -0
- data/lib/mongoid/composable.rb +7 -7
- data/lib/mongoid/config/defaults.rb +40 -0
- data/lib/mongoid/config/encryption.rb +213 -0
- data/lib/mongoid/config/environment.rb +25 -5
- data/lib/mongoid/config/introspection.rb +152 -0
- data/lib/mongoid/config/options.rb +11 -14
- data/lib/mongoid/config/validators/async_query_executor.rb +34 -0
- data/lib/mongoid/config/validators/client.rb +7 -23
- data/lib/mongoid/config/validators/option.rb +1 -3
- data/lib/mongoid/config/validators.rb +2 -1
- data/lib/mongoid/config.rb +183 -46
- data/lib/mongoid/contextual/aggregable/memory.rb +38 -26
- data/lib/mongoid/contextual/aggregable/mongo.rb +26 -32
- data/lib/mongoid/contextual/aggregable/none.rb +66 -0
- data/lib/mongoid/contextual/aggregable.rb +18 -0
- data/lib/mongoid/contextual/atomic.rb +97 -30
- data/lib/mongoid/contextual/command.rb +3 -5
- data/lib/mongoid/contextual/map_reduce.rb +8 -33
- data/lib/mongoid/contextual/memory.rb +396 -89
- data/lib/mongoid/contextual/mongo/documents_loader.rb +178 -0
- data/lib/mongoid/contextual/mongo.rb +640 -311
- data/lib/mongoid/contextual/none.rb +244 -30
- data/lib/mongoid/contextual/queryable.rb +5 -4
- data/lib/mongoid/contextual.rb +18 -7
- data/lib/mongoid/copyable.rb +34 -14
- data/lib/mongoid/criteria/findable.rb +52 -22
- data/lib/mongoid/criteria/includable.rb +31 -34
- data/lib/mongoid/criteria/inspectable.rb +4 -3
- data/lib/mongoid/criteria/marshalable.rb +14 -7
- data/lib/mongoid/criteria/modifiable.rb +5 -19
- data/lib/mongoid/criteria/options.rb +1 -3
- data/lib/mongoid/criteria/permission.rb +6 -2
- data/lib/mongoid/criteria/queryable/aggregable.rb +3 -15
- data/lib/mongoid/criteria/queryable/expandable.rb +1 -25
- data/lib/mongoid/criteria/queryable/extensions/array.rb +6 -41
- data/lib/mongoid/criteria/queryable/extensions/big_decimal.rb +25 -9
- data/lib/mongoid/criteria/queryable/extensions/boolean.rb +5 -7
- data/lib/mongoid/criteria/queryable/extensions/date.rb +10 -11
- data/lib/mongoid/criteria/queryable/extensions/date_time.rb +8 -7
- data/lib/mongoid/criteria/queryable/extensions/hash.rb +3 -41
- data/lib/mongoid/criteria/queryable/extensions/nil_class.rb +2 -14
- data/lib/mongoid/criteria/queryable/extensions/numeric.rb +3 -21
- data/lib/mongoid/criteria/queryable/extensions/object.rb +7 -30
- data/lib/mongoid/criteria/queryable/extensions/range.rb +48 -17
- data/lib/mongoid/criteria/queryable/extensions/regexp.rb +10 -13
- data/lib/mongoid/criteria/queryable/extensions/set.rb +3 -5
- data/lib/mongoid/criteria/queryable/extensions/string.rb +19 -34
- data/lib/mongoid/criteria/queryable/extensions/symbol.rb +6 -22
- data/lib/mongoid/criteria/queryable/extensions/time.rb +8 -9
- data/lib/mongoid/criteria/queryable/extensions/time_with_zone.rb +9 -9
- data/lib/mongoid/criteria/queryable/extensions.rb +1 -5
- data/lib/mongoid/criteria/queryable/key.rb +15 -18
- data/lib/mongoid/criteria/queryable/macroable.rb +1 -3
- data/lib/mongoid/criteria/queryable/mergeable.rb +69 -50
- data/lib/mongoid/criteria/queryable/optional.rb +12 -62
- data/lib/mongoid/criteria/queryable/options.rb +3 -21
- data/lib/mongoid/criteria/queryable/pipeline.rb +2 -14
- data/lib/mongoid/criteria/queryable/selectable.rb +87 -124
- data/lib/mongoid/criteria/queryable/selector.rb +96 -25
- data/lib/mongoid/criteria/queryable/smash.rb +41 -18
- data/lib/mongoid/criteria/queryable/storable.rb +14 -9
- data/lib/mongoid/criteria/queryable.rb +12 -13
- data/lib/mongoid/criteria/scopable.rb +32 -21
- data/lib/mongoid/criteria/translator.rb +46 -0
- data/lib/mongoid/criteria.rb +60 -109
- data/lib/mongoid/deprecable.rb +38 -0
- data/lib/mongoid/deprecation.rb +29 -0
- data/lib/mongoid/document.rb +263 -173
- data/lib/mongoid/encryptable.rb +53 -0
- data/lib/mongoid/equality.rb +22 -25
- data/lib/mongoid/errors/ambiguous_relationship.rb +3 -5
- data/lib/mongoid/errors/attribute_not_loaded.rb +34 -0
- data/lib/mongoid/errors/callback.rb +1 -3
- data/lib/mongoid/errors/create_collection_failure.rb +34 -0
- data/lib/mongoid/errors/criteria_argument_required.rb +1 -1
- data/lib/mongoid/errors/delete_restriction.rb +9 -12
- data/lib/mongoid/errors/document_not_destroyed.rb +3 -7
- data/lib/mongoid/errors/document_not_found.rb +34 -21
- data/lib/mongoid/errors/drop_collection_failure.rb +28 -0
- data/lib/mongoid/errors/empty_config_file.rb +26 -0
- data/lib/mongoid/errors/immutable_attribute.rb +27 -0
- data/lib/mongoid/errors/in_memory_collation_not_supported.rb +1 -3
- data/lib/mongoid/errors/invalid_async_query_executor.rb +26 -0
- data/lib/mongoid/errors/invalid_auto_encryption_configuration.rb +33 -0
- data/lib/mongoid/errors/invalid_collection.rb +1 -1
- data/lib/mongoid/errors/invalid_config_file.rb +26 -0
- data/lib/mongoid/errors/invalid_config_option.rb +2 -4
- data/lib/mongoid/errors/invalid_dependent_strategy.rb +2 -4
- data/lib/mongoid/errors/invalid_discriminator_key_target.rb +1 -1
- data/lib/mongoid/errors/invalid_dot_dollar_assignment.rb +24 -0
- data/lib/mongoid/errors/invalid_elem_match_operator.rb +1 -1
- data/lib/mongoid/errors/invalid_estimated_count_criteria.rb +6 -5
- data/lib/mongoid/errors/invalid_estimated_count_scoping.rb +27 -0
- data/lib/mongoid/errors/invalid_expression_operator.rb +1 -1
- data/lib/mongoid/errors/invalid_field.rb +7 -7
- data/lib/mongoid/errors/invalid_field_operator.rb +1 -1
- data/lib/mongoid/errors/invalid_field_option.rb +1 -3
- data/lib/mongoid/errors/invalid_field_type.rb +27 -0
- data/lib/mongoid/errors/invalid_find.rb +1 -3
- data/lib/mongoid/errors/invalid_global_executor_concurrency.rb +23 -0
- data/lib/mongoid/errors/invalid_includes.rb +1 -3
- data/lib/mongoid/errors/invalid_index.rb +1 -3
- data/lib/mongoid/errors/invalid_options.rb +1 -3
- data/lib/mongoid/errors/invalid_path.rb +1 -3
- data/lib/mongoid/errors/invalid_persistence_option.rb +1 -5
- data/lib/mongoid/errors/invalid_query.rb +1 -1
- data/lib/mongoid/errors/invalid_relation.rb +2 -8
- data/lib/mongoid/errors/invalid_relation_option.rb +2 -4
- data/lib/mongoid/errors/invalid_scope.rb +1 -3
- data/lib/mongoid/errors/invalid_session_nesting.rb +17 -0
- data/lib/mongoid/errors/invalid_set_polymorphic_relation.rb +1 -2
- data/lib/mongoid/errors/invalid_storage_options.rb +2 -4
- data/lib/mongoid/errors/invalid_time.rb +1 -3
- data/lib/mongoid/errors/invalid_transaction_nesting.rb +17 -0
- data/lib/mongoid/errors/inverse_not_found.rb +1 -3
- data/lib/mongoid/errors/mixed_client_configuration.rb +1 -3
- data/lib/mongoid/errors/mixed_relations.rb +1 -3
- data/lib/mongoid/errors/mongoid_error.rb +8 -16
- data/lib/mongoid/errors/nested_attributes_metadata_not_found.rb +2 -4
- data/lib/mongoid/errors/no_client_config.rb +1 -3
- data/lib/mongoid/errors/no_client_database.rb +2 -4
- data/lib/mongoid/errors/no_client_hosts.rb +2 -4
- data/lib/mongoid/errors/no_clients_config.rb +1 -3
- data/lib/mongoid/errors/no_default_client.rb +1 -3
- data/lib/mongoid/errors/no_environment.rb +1 -3
- data/lib/mongoid/errors/no_map_reduce_output.rb +1 -3
- data/lib/mongoid/errors/no_metadata.rb +1 -3
- data/lib/mongoid/errors/no_parent.rb +1 -3
- data/lib/mongoid/errors/readonly_attribute.rb +2 -4
- data/lib/mongoid/errors/readonly_document.rb +2 -6
- data/lib/mongoid/errors/rollback.rb +15 -0
- data/lib/mongoid/errors/scope_overwrite.rb +1 -1
- data/lib/mongoid/errors/sessions_not_supported.rb +17 -0
- data/lib/mongoid/errors/too_many_nested_attribute_records.rb +2 -2
- data/lib/mongoid/errors/transaction_error.rb +25 -0
- data/lib/mongoid/errors/transactions_not_supported.rb +17 -0
- data/lib/mongoid/errors/unknown_attribute.rb +2 -4
- data/lib/mongoid/errors/unknown_model.rb +1 -3
- data/lib/mongoid/errors/unsaved_document.rb +2 -2
- data/lib/mongoid/errors/unsupported_javascript.rb +1 -3
- data/lib/mongoid/errors/validations.rb +1 -1
- data/lib/mongoid/errors.rb +18 -5
- data/lib/mongoid/evolvable.rb +2 -4
- data/lib/mongoid/extensions/array.rb +20 -58
- data/lib/mongoid/extensions/big_decimal.rb +44 -24
- data/lib/mongoid/extensions/binary.rb +45 -0
- data/lib/mongoid/extensions/boolean.rb +11 -6
- data/lib/mongoid/extensions/date.rb +31 -29
- data/lib/mongoid/extensions/date_time.rb +5 -16
- data/lib/mongoid/extensions/decimal128.rb +3 -5
- data/lib/mongoid/extensions/false_class.rb +8 -10
- data/lib/mongoid/extensions/float.rb +11 -12
- data/lib/mongoid/extensions/hash.rb +28 -148
- data/lib/mongoid/extensions/integer.rb +13 -14
- data/lib/mongoid/extensions/module.rb +5 -5
- data/lib/mongoid/extensions/nil_class.rb +5 -7
- data/lib/mongoid/extensions/object.rb +32 -81
- data/lib/mongoid/extensions/object_id.rb +3 -7
- data/lib/mongoid/extensions/range.rb +47 -24
- data/lib/mongoid/extensions/raw_value.rb +34 -0
- data/lib/mongoid/extensions/regexp.rb +14 -7
- data/lib/mongoid/extensions/set.rb +24 -13
- data/lib/mongoid/extensions/string.rb +30 -62
- data/lib/mongoid/extensions/symbol.rb +9 -22
- data/lib/mongoid/extensions/time.rb +30 -40
- data/lib/mongoid/extensions/time_with_zone.rb +18 -11
- data/lib/mongoid/extensions/true_class.rb +8 -10
- data/lib/mongoid/extensions.rb +3 -20
- data/lib/mongoid/factory.rb +178 -37
- data/lib/mongoid/fields/encrypted.rb +48 -0
- data/lib/mongoid/fields/foreign_key.rb +39 -27
- data/lib/mongoid/fields/localized.rb +25 -15
- data/lib/mongoid/fields/standard.rb +22 -40
- data/lib/mongoid/fields/validators/macro.rb +6 -19
- data/lib/mongoid/fields/validators.rb +1 -1
- data/lib/mongoid/fields.rb +354 -76
- data/lib/mongoid/findable.rb +62 -22
- data/lib/mongoid/indexable/specification.rb +55 -34
- data/lib/mongoid/indexable/validators/options.rb +7 -9
- data/lib/mongoid/indexable.rb +2 -18
- data/lib/mongoid/inspectable.rb +34 -11
- data/lib/mongoid/interceptable.rb +197 -41
- data/lib/mongoid/loadable.rb +83 -0
- data/lib/mongoid/loggable.rb +1 -9
- data/lib/mongoid/matchable.rb +2 -6
- data/lib/mongoid/matcher/all.rb +15 -0
- data/lib/mongoid/matcher/and.rb +14 -0
- data/lib/mongoid/matcher/bits.rb +60 -0
- data/lib/mongoid/matcher/bits_all_clear.rb +41 -0
- data/lib/mongoid/matcher/bits_all_set.rb +41 -0
- data/lib/mongoid/matcher/bits_any_clear.rb +41 -0
- data/lib/mongoid/matcher/bits_any_set.rb +41 -0
- data/lib/mongoid/matcher/elem_match.rb +17 -1
- data/lib/mongoid/matcher/elem_match_expression.rb +14 -2
- data/lib/mongoid/matcher/eq.rb +15 -0
- data/lib/mongoid/matcher/eq_impl.rb +54 -2
- data/lib/mongoid/matcher/eq_impl_with_regexp.rb +18 -1
- data/lib/mongoid/matcher/exists.rb +15 -0
- data/lib/mongoid/matcher/expression.rb +22 -14
- data/lib/mongoid/matcher/expression_operator.rb +14 -0
- data/lib/mongoid/matcher/field_expression.rb +19 -5
- data/lib/mongoid/matcher/field_operator.rb +30 -0
- data/lib/mongoid/matcher/gt.rb +15 -0
- data/lib/mongoid/matcher/gte.rb +15 -0
- data/lib/mongoid/matcher/in.rb +15 -0
- data/lib/mongoid/matcher/lt.rb +15 -0
- data/lib/mongoid/matcher/lte.rb +15 -0
- data/lib/mongoid/matcher/mod.rb +33 -0
- data/lib/mongoid/matcher/ne.rb +15 -0
- data/lib/mongoid/matcher/nin.rb +15 -0
- data/lib/mongoid/matcher/nor.rb +14 -0
- data/lib/mongoid/matcher/not.rb +16 -0
- data/lib/mongoid/matcher/or.rb +14 -0
- data/lib/mongoid/matcher/regex.rb +24 -0
- data/lib/mongoid/matcher/size.rb +16 -0
- data/lib/mongoid/matcher/type.rb +124 -0
- data/lib/mongoid/matcher.rb +59 -52
- data/lib/mongoid/persistable/creatable.rb +25 -29
- data/lib/mongoid/persistable/deletable.rb +10 -23
- data/lib/mongoid/persistable/destroyable.rb +37 -11
- data/lib/mongoid/persistable/incrementable.rb +2 -6
- data/lib/mongoid/persistable/logical.rb +1 -5
- data/lib/mongoid/persistable/maxable.rb +37 -0
- data/lib/mongoid/persistable/minable.rb +37 -0
- data/lib/mongoid/persistable/multipliable.rb +36 -0
- data/lib/mongoid/persistable/poppable.rb +1 -5
- data/lib/mongoid/persistable/pullable.rb +1 -7
- data/lib/mongoid/persistable/pushable.rb +1 -7
- data/lib/mongoid/persistable/renamable.rb +1 -5
- data/lib/mongoid/persistable/savable.rb +14 -8
- data/lib/mongoid/persistable/settable.rb +1 -5
- data/lib/mongoid/persistable/unsettable.rb +3 -7
- data/lib/mongoid/persistable/updatable.rb +114 -28
- data/lib/mongoid/persistable/upsertable.rb +33 -8
- data/lib/mongoid/persistable.rb +17 -27
- data/lib/mongoid/persistence_context.rb +111 -43
- data/lib/mongoid/positional.rb +1 -5
- data/lib/mongoid/railtie.rb +23 -15
- data/lib/mongoid/railties/bson_object_id_serializer.rb +39 -0
- data/lib/mongoid/railties/console_sandbox.rb +42 -0
- data/lib/mongoid/railties/controller_runtime.rb +21 -6
- data/lib/mongoid/railties/database.rake +19 -2
- data/lib/mongoid/reloadable.rb +45 -42
- data/lib/mongoid/scopable.rb +25 -53
- data/lib/mongoid/search_indexable.rb +167 -0
- data/lib/mongoid/selectable.rb +6 -17
- data/lib/mongoid/serializable.rb +11 -21
- data/lib/mongoid/shardable.rb +50 -16
- data/lib/mongoid/stateful.rb +66 -22
- data/lib/mongoid/stringified_symbol.rb +19 -7
- data/lib/mongoid/tasks/database.rake +25 -0
- data/lib/mongoid/tasks/database.rb +84 -8
- data/lib/mongoid/tasks/encryption.rake +59 -0
- data/lib/mongoid/tasks/encryption.rb +108 -0
- data/lib/mongoid/threaded/lifecycle.rb +6 -26
- data/lib/mongoid/threaded.rb +131 -92
- data/lib/mongoid/timestamps/created/short.rb +1 -1
- data/lib/mongoid/timestamps/created.rb +4 -4
- data/lib/mongoid/timestamps/short.rb +1 -1
- data/lib/mongoid/timestamps/timeless.rb +29 -7
- data/lib/mongoid/timestamps/updated/short.rb +1 -1
- data/lib/mongoid/timestamps/updated.rb +3 -5
- data/lib/mongoid/timestamps.rb +1 -1
- data/lib/mongoid/touchable.rb +155 -29
- data/lib/mongoid/traversable.rb +180 -125
- data/lib/mongoid/utils.rb +52 -0
- data/lib/mongoid/validatable/associated.rb +97 -21
- data/lib/mongoid/validatable/format.rb +1 -1
- data/lib/mongoid/validatable/length.rb +1 -1
- data/lib/mongoid/validatable/localizable.rb +2 -4
- data/lib/mongoid/validatable/macros.rb +10 -14
- data/lib/mongoid/validatable/presence.rb +7 -13
- data/lib/mongoid/validatable/queryable.rb +9 -3
- data/lib/mongoid/validatable/uniqueness.rb +26 -39
- data/lib/mongoid/validatable.rb +20 -29
- data/lib/mongoid/version.rb +2 -2
- data/lib/mongoid/warnings.rb +37 -0
- data/lib/mongoid.rb +56 -22
- data/lib/rails/generators/mongoid/config/config_generator.rb +25 -5
- data/lib/rails/generators/mongoid/config/templates/mongoid.rb +25 -0
- data/lib/rails/generators/mongoid/config/templates/mongoid.yml +44 -64
- data/lib/rails/generators/mongoid/model/model_generator.rb +4 -1
- data/lib/rails/generators/mongoid_generator.rb +13 -1
- data/lib/rails/mongoid.rb +4 -32
- data/spec/config/mongoid.yml +16 -1
- data/spec/config/mongoid_with_schema_map_uuid.yml +27 -0
- data/spec/integration/active_job_spec.rb +32 -0
- data/spec/integration/app_spec.rb +180 -89
- data/spec/integration/associations/belongs_to_spec.rb +19 -1
- data/spec/integration/associations/embedded_dirty_spec.rb +58 -0
- data/spec/integration/associations/embedded_spec.rb +90 -7
- data/spec/integration/associations/embeds_many_spec.rb +197 -1
- data/spec/integration/associations/embeds_one_spec.rb +19 -1
- data/spec/integration/associations/foreign_key_spec.rb +10 -1
- data/spec/integration/associations/foreign_key_spec_models.rb +1 -1
- data/spec/integration/associations/has_and_belongs_to_many_spec.rb +62 -0
- data/spec/integration/associations/has_many_spec.rb +1 -1
- data/spec/integration/associations/has_one_spec.rb +145 -1
- data/spec/integration/associations/nested_attributes_assignment_spec.rb +1 -1
- data/spec/integration/associations/reverse_population_spec.rb +1 -1
- data/spec/integration/associations/reverse_population_spec_models.rb +1 -1
- data/spec/integration/associations/scope_option_spec.rb +102 -0
- data/spec/integration/atomic/modifiers_spec.rb +1 -1
- data/spec/integration/bson_regexp_raw_spec.rb +1 -1
- data/spec/integration/callbacks_models.rb +147 -3
- data/spec/integration/callbacks_spec.rb +398 -8
- data/spec/integration/contextual/empty_spec.rb +142 -0
- data/spec/integration/criteria/alias_query_spec.rb +98 -0
- data/spec/integration/criteria/date_field_spec.rb +2 -2
- data/spec/integration/criteria/default_scope_spec.rb +52 -0
- data/spec/integration/criteria/logical_spec.rb +12 -0
- data/spec/integration/criteria/range_spec.rb +358 -0
- data/spec/integration/criteria/raw_value_spec.rb +525 -0
- data/spec/integration/criteria/time_with_zone_spec.rb +126 -15
- data/spec/integration/discriminator_key_spec.rb +119 -81
- data/spec/integration/discriminator_value_spec.rb +1 -1
- data/spec/integration/document_spec.rb +31 -1
- data/spec/integration/dots_and_dollars_spec.rb +278 -0
- data/spec/integration/encryption_spec.rb +100 -0
- data/spec/integration/i18n_fallbacks_spec.rb +10 -52
- data/spec/integration/matcher_examples_spec.rb +21 -14
- data/spec/integration/matcher_operator_data/bits_all_clear.yml +144 -0
- data/spec/integration/matcher_operator_data/bits_all_set.yml +144 -0
- data/spec/integration/matcher_operator_data/bits_any_clear.yml +144 -0
- data/spec/integration/matcher_operator_data/bits_any_set.yml +144 -0
- data/spec/integration/matcher_operator_data/comment.yml +22 -0
- data/spec/integration/matcher_operator_data/elem_match.yml +46 -0
- data/spec/integration/matcher_operator_data/implicit_traversal.yml +96 -0
- data/spec/integration/matcher_operator_data/in.yml +16 -0
- data/spec/integration/matcher_operator_data/mod.yml +55 -0
- data/spec/integration/matcher_operator_data/size.yml +0 -3
- data/spec/integration/matcher_operator_data/type.yml +64 -0
- data/spec/integration/matcher_operator_data/type_array.yml +15 -0
- data/spec/integration/matcher_operator_data/type_binary.yml +18 -0
- data/spec/integration/matcher_operator_data/type_boolean.yml +39 -0
- data/spec/integration/matcher_operator_data/type_code.yml +26 -0
- data/spec/integration/matcher_operator_data/type_code_with_scope.yml +26 -0
- data/spec/integration/matcher_operator_data/type_date.yml +39 -0
- data/spec/integration/matcher_operator_data/type_db_pointer.yml +19 -0
- data/spec/integration/matcher_operator_data/type_decimal.yml +37 -0
- data/spec/integration/matcher_operator_data/type_double.yml +15 -0
- data/spec/integration/matcher_operator_data/type_int32.yml +33 -0
- data/spec/integration/matcher_operator_data/type_int64.yml +33 -0
- data/spec/integration/matcher_operator_data/type_max_key.yml +17 -0
- data/spec/integration/matcher_operator_data/type_min_key.yml +17 -0
- data/spec/integration/matcher_operator_data/type_null.yml +23 -0
- data/spec/integration/matcher_operator_data/type_object.yml +23 -0
- data/spec/integration/matcher_operator_data/type_object_id.yml +25 -0
- data/spec/integration/matcher_operator_data/type_regex.yml +44 -0
- data/spec/integration/matcher_operator_data/type_string.yml +15 -0
- data/spec/integration/matcher_operator_data/type_symbol.yml +32 -0
- data/spec/integration/matcher_operator_data/type_timestamp.yml +25 -0
- data/spec/integration/matcher_operator_data/type_undefined.yml +17 -0
- data/spec/integration/matcher_operator_spec.rb +26 -3
- data/spec/integration/matcher_spec.rb +50 -1
- data/spec/integration/persistence/range_field_spec.rb +351 -0
- data/spec/integration/server_query_spec.rb +1 -1
- data/spec/integration/shardable_spec.rb +1 -1
- data/spec/integration/stringified_symbol_field_spec.rb +17 -3
- data/spec/lite_spec_helper.rb +47 -14
- data/spec/mongoid/association/accessors_spec.rb +31 -19
- data/spec/mongoid/association/auto_save_spec.rb +73 -34
- data/spec/mongoid/association/builders_spec.rb +2 -2
- data/spec/mongoid/association/constrainable_spec.rb +1 -1
- data/spec/mongoid/association/counter_cache_spec.rb +34 -34
- data/spec/mongoid/association/depending_spec.rb +397 -358
- data/spec/mongoid/association/eager_spec.rb +56 -6
- data/spec/mongoid/association/embedded/cyclic_spec.rb +3 -3
- data/spec/mongoid/association/embedded/dirty_spec.rb +3 -3
- data/spec/mongoid/association/embedded/embedded_in/binding_spec.rb +3 -2
- data/spec/mongoid/association/embedded/embedded_in/buildable_spec.rb +55 -1
- data/spec/mongoid/association/embedded/embedded_in/proxy_spec.rb +110 -23
- data/spec/mongoid/association/embedded/embedded_in_spec.rb +19 -8
- data/spec/mongoid/association/embedded/embeds_many/binding_spec.rb +1 -1
- data/spec/mongoid/association/embedded/embeds_many/buildable_spec.rb +113 -1
- data/spec/mongoid/association/embedded/embeds_many/proxy_spec.rb +712 -203
- data/spec/mongoid/association/embedded/embeds_many_models.rb +189 -1
- data/spec/mongoid/association/embedded/embeds_many_query_spec.rb +14 -2
- data/spec/mongoid/association/embedded/embeds_many_spec.rb +69 -1
- data/spec/mongoid/association/embedded/embeds_one/binding_spec.rb +1 -1
- data/spec/mongoid/association/embedded/embeds_one/buildable_spec.rb +26 -1
- data/spec/mongoid/association/embedded/embeds_one/proxy_spec.rb +37 -24
- data/spec/mongoid/association/embedded/embeds_one_dnl_models.rb +1 -1
- data/spec/mongoid/association/embedded/embeds_one_models.rb +25 -2
- data/spec/mongoid/association/embedded/embeds_one_query_spec.rb +2 -2
- data/spec/mongoid/association/embedded/embeds_one_spec.rb +29 -1
- data/spec/mongoid/association/macros_spec.rb +10 -10
- data/spec/mongoid/association/nested/many_spec.rb +1 -1
- data/spec/mongoid/association/nested/one_spec.rb +17 -13
- data/spec/mongoid/association/options_spec.rb +1 -1
- data/spec/mongoid/association/polymorphic_spec.rb +1 -1
- data/spec/mongoid/association/referenced/belongs_to/binding_spec.rb +3 -2
- data/spec/mongoid/association/referenced/belongs_to/buildable_spec.rb +110 -17
- data/spec/mongoid/association/referenced/belongs_to/eager_spec.rb +51 -15
- data/spec/mongoid/association/referenced/belongs_to/proxy_spec.rb +113 -59
- data/spec/mongoid/association/referenced/belongs_to_models.rb +12 -0
- data/spec/mongoid/association/referenced/belongs_to_query_spec.rb +22 -2
- data/spec/mongoid/association/referenced/belongs_to_spec.rb +27 -22
- data/spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb +2 -2
- data/spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb +28 -3
- data/spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb +32 -3
- data/spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb +1 -1
- data/spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb +386 -376
- data/spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb +44 -1
- data/spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb +2 -2
- data/spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb +57 -3
- data/spec/mongoid/association/referenced/has_many/binding_spec.rb +2 -2
- data/spec/mongoid/association/referenced/has_many/buildable_spec.rb +131 -1
- data/spec/mongoid/association/referenced/has_many/eager_spec.rb +24 -7
- data/spec/mongoid/association/referenced/has_many/enumerable_spec.rb +313 -134
- data/spec/mongoid/association/referenced/has_many/proxy_query_spec.rb +1 -1
- data/spec/mongoid/association/referenced/has_many/proxy_spec.rb +1313 -2109
- data/spec/mongoid/association/referenced/has_many_models.rb +39 -2
- data/spec/mongoid/association/referenced/has_many_query_spec.rb +2 -2
- data/spec/mongoid/association/referenced/has_many_spec.rb +47 -1
- data/spec/mongoid/association/referenced/has_one/binding_spec.rb +1 -1
- data/spec/mongoid/association/referenced/has_one/buildable_spec.rb +54 -10
- data/spec/mongoid/association/referenced/has_one/eager_spec.rb +18 -2
- data/spec/mongoid/association/referenced/has_one/proxy_spec.rb +134 -28
- data/spec/mongoid/association/referenced/has_one_models.rb +43 -1
- data/spec/mongoid/association/referenced/has_one_query_spec.rb +2 -2
- data/spec/mongoid/association/referenced/has_one_spec.rb +22 -1
- data/spec/mongoid/association/reflections_spec.rb +1 -1
- data/spec/mongoid/association/syncable_spec.rb +47 -33
- data/spec/mongoid/association_spec.rb +1 -1
- data/spec/mongoid/atomic/modifiers_spec.rb +1 -1
- data/spec/mongoid/atomic/paths/embedded/many_spec.rb +1 -1
- data/spec/mongoid/atomic/paths/embedded/one_spec.rb +1 -1
- data/spec/mongoid/atomic/paths/root_spec.rb +1 -1
- data/spec/mongoid/atomic/paths_spec.rb +65 -27
- data/spec/mongoid/atomic_spec.rb +29 -7
- data/spec/mongoid/atomic_update_preparer_spec.rb +83 -0
- data/spec/mongoid/attributes/dynamic_spec.rb +1 -1
- data/spec/mongoid/attributes/embedded_spec.rb +118 -0
- data/spec/mongoid/attributes/nested_spec.rb +147 -78
- data/spec/mongoid/attributes/nested_spec_models.rb +49 -0
- data/spec/mongoid/attributes/projector_data/embedded.yml +105 -0
- data/spec/mongoid/attributes/projector_data/fields.yml +93 -0
- data/spec/mongoid/attributes/projector_spec.rb +41 -0
- data/spec/mongoid/attributes/readonly_spec.rb +23 -23
- data/spec/mongoid/attributes_spec.rb +921 -69
- data/spec/mongoid/cacheable_spec.rb +5 -5
- data/spec/mongoid/changeable_spec.rb +468 -76
- data/spec/mongoid/clients/factory_spec.rb +152 -30
- data/spec/mongoid/clients/options_spec.rb +24 -12
- data/spec/mongoid/clients/sessions_spec.rb +49 -71
- data/spec/mongoid/clients/transactions_spec.rb +971 -176
- data/spec/mongoid/clients/transactions_spec_models.rb +159 -0
- data/spec/mongoid/clients_spec.rb +230 -22
- data/spec/mongoid/collection_configurable_spec.rb +159 -0
- data/spec/mongoid/composable_spec.rb +1 -1
- data/spec/mongoid/config/defaults_spec.rb +99 -0
- data/spec/mongoid/config/encryption_spec.rb +152 -0
- data/spec/mongoid/config/environment_spec.rb +126 -39
- data/spec/mongoid/config/introspection_spec.rb +114 -0
- data/spec/mongoid/config/options_spec.rb +1 -1
- data/spec/mongoid/config_spec.rb +375 -43
- data/spec/mongoid/contextual/aggregable/memory_spec.rb +432 -154
- data/spec/mongoid/contextual/aggregable/memory_table.yml +88 -0
- data/spec/mongoid/contextual/aggregable/memory_table_spec.rb +63 -0
- data/spec/mongoid/contextual/aggregable/mongo_spec.rb +95 -20
- data/spec/mongoid/contextual/aggregable/none_spec.rb +49 -0
- data/spec/mongoid/contextual/atomic_spec.rb +329 -87
- data/spec/mongoid/contextual/map_reduce_spec.rb +5 -19
- data/spec/mongoid/contextual/memory_spec.rb +1479 -127
- data/spec/mongoid/contextual/mongo/documents_loader_spec.rb +194 -0
- data/spec/mongoid/contextual/mongo_spec.rb +3374 -1254
- data/spec/mongoid/contextual/none_spec.rb +79 -68
- data/spec/mongoid/copyable_spec.rb +465 -23
- data/spec/mongoid/copyable_spec_models.rb +1 -1
- data/spec/mongoid/criteria/findable_spec.rb +295 -229
- data/spec/mongoid/criteria/includable_spec.rb +1493 -0
- data/spec/mongoid/criteria/includable_spec_models.rb +55 -0
- data/spec/mongoid/criteria/inspectable_spec.rb +1 -1
- data/spec/mongoid/criteria/marshalable_spec.rb +19 -2
- data/spec/mongoid/criteria/modifiable_spec.rb +38 -38
- data/spec/mongoid/criteria/options_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/aggregable_spec.rb +2 -2
- data/spec/mongoid/criteria/queryable/expandable_spec.rb +1 -74
- data/spec/mongoid/criteria/queryable/extensions/array_spec.rb +8 -20
- data/spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb +135 -27
- data/spec/mongoid/criteria/queryable/extensions/boolean_spec.rb +2 -2
- data/spec/mongoid/criteria/queryable/extensions/date_spec.rb +32 -12
- data/spec/mongoid/criteria/queryable/extensions/date_time_spec.rb +12 -1
- data/spec/mongoid/criteria/queryable/extensions/float_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/hash_spec.rb +1 -16
- data/spec/mongoid/criteria/queryable/extensions/integer_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/numeric_spec.rb +74 -8
- data/spec/mongoid/criteria/queryable/extensions/object_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/range_spec.rb +238 -179
- data/spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb +1 -12
- data/spec/mongoid/criteria/queryable/extensions/regexp_spec.rb +1 -12
- data/spec/mongoid/criteria/queryable/extensions/set_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/string_spec.rb +48 -132
- data/spec/mongoid/criteria/queryable/extensions/symbol_spec.rb +5 -60
- data/spec/mongoid/criteria/queryable/extensions/time_spec.rb +12 -1
- data/spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb +12 -1
- data/spec/mongoid/criteria/queryable/key_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/mergeable_spec.rb +106 -8
- data/spec/mongoid/criteria/queryable/optional_spec.rb +17 -486
- data/spec/mongoid/criteria/queryable/options_spec.rb +2 -2
- data/spec/mongoid/criteria/queryable/pipeline_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/queryable_spec.rb +2 -2
- data/spec/mongoid/criteria/queryable/selectable_logical_spec.rb +700 -26
- data/spec/mongoid/criteria/queryable/selectable_shared_examples.rb +39 -0
- data/spec/mongoid/criteria/queryable/selectable_spec.rb +149 -683
- data/spec/mongoid/criteria/queryable/selectable_where_spec.rb +590 -0
- data/spec/mongoid/criteria/queryable/selector_spec.rb +186 -6
- data/spec/mongoid/criteria/queryable/smash_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/storable_spec.rb +87 -1
- data/spec/mongoid/criteria/scopable_spec.rb +128 -1
- data/spec/mongoid/criteria/translator_spec.rb +133 -0
- data/spec/mongoid/criteria_projection_spec.rb +407 -0
- data/spec/mongoid/criteria_spec.rb +1029 -1806
- data/spec/mongoid/document_fields_spec.rb +180 -5
- data/spec/mongoid/document_persistence_context_spec.rb +77 -1
- data/spec/mongoid/document_query_spec.rb +55 -4
- data/spec/mongoid/document_spec.rb +43 -172
- data/spec/mongoid/equality_spec.rb +7 -8
- data/spec/mongoid/errors/ambiguous_relationship_spec.rb +1 -1
- data/spec/mongoid/errors/attribute_not_loaded_spec.rb +32 -0
- data/spec/mongoid/errors/callback_spec.rb +1 -1
- data/spec/mongoid/errors/delete_restriction_spec.rb +2 -2
- data/spec/mongoid/errors/document_not_destroyed_spec.rb +1 -1
- data/spec/mongoid/errors/document_not_found_spec.rb +77 -1
- data/spec/mongoid/errors/invalid_collection_spec.rb +1 -1
- data/spec/mongoid/errors/{eager_load_spec.rb → invalid_config_file_spec.rb} +6 -6
- data/spec/mongoid/errors/invalid_config_option_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_field_option_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_field_spec.rb +2 -2
- data/spec/mongoid/errors/invalid_field_type_spec.rb +56 -0
- data/spec/mongoid/errors/invalid_find_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_includes_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_index_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_options_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_path_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_relation_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_scope_spec.rb +2 -2
- data/spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_storage_options_spec.rb +1 -1
- data/spec/mongoid/errors/invalid_time_spec.rb +1 -1
- data/spec/mongoid/errors/inverse_not_found_spec.rb +1 -1
- data/spec/mongoid/errors/mixed_client_configuration_spec.rb +1 -1
- data/spec/mongoid/errors/mixed_relations_spec.rb +1 -1
- data/spec/mongoid/errors/mongoid_error_spec.rb +4 -4
- data/spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb +1 -1
- data/spec/mongoid/errors/no_client_config_spec.rb +1 -1
- data/spec/mongoid/errors/no_client_database_spec.rb +1 -1
- data/spec/mongoid/errors/no_client_hosts_spec.rb +1 -1
- data/spec/mongoid/errors/no_clients_config_spec.rb +1 -1
- data/spec/mongoid/errors/no_environment_spec.rb +4 -4
- data/spec/mongoid/errors/no_map_reduce_output_spec.rb +1 -1
- data/spec/mongoid/errors/no_metadata_spec.rb +1 -1
- data/spec/mongoid/errors/no_parent_spec.rb +1 -1
- data/spec/mongoid/errors/readonly_attribute_spec.rb +1 -1
- data/spec/mongoid/errors/readonly_document_spec.rb +3 -3
- data/spec/mongoid/errors/scope_overwrite_spec.rb +1 -1
- data/spec/mongoid/errors/too_many_nested_attribute_records_spec.rb +2 -2
- data/spec/mongoid/errors/unknown_attribute_spec.rb +3 -3
- data/spec/mongoid/errors/unsaved_document_spec.rb +1 -1
- data/spec/mongoid/errors/unsupported_javascript_spec.rb +1 -1
- data/spec/mongoid/errors/validations_spec.rb +1 -1
- data/spec/mongoid/extensions/array_spec.rb +19 -265
- data/spec/mongoid/extensions/big_decimal_spec.rb +713 -213
- data/spec/mongoid/extensions/binary_spec.rb +45 -10
- data/spec/mongoid/extensions/boolean_spec.rb +69 -83
- data/spec/mongoid/extensions/date_class_mongoize_spec.rb +15 -11
- data/spec/mongoid/extensions/date_spec.rb +74 -22
- data/spec/mongoid/extensions/date_time_spec.rb +18 -19
- data/spec/mongoid/extensions/decimal128_spec.rb +1 -1
- data/spec/mongoid/extensions/false_class_spec.rb +2 -9
- data/spec/mongoid/extensions/float_spec.rb +56 -84
- data/spec/mongoid/extensions/hash_spec.rb +45 -219
- data/spec/mongoid/extensions/integer_spec.rb +53 -73
- data/spec/mongoid/extensions/module_spec.rb +1 -1
- data/spec/mongoid/extensions/nil_class_spec.rb +1 -1
- data/spec/mongoid/extensions/object_id_spec.rb +1 -1
- data/spec/mongoid/extensions/object_spec.rb +1 -177
- data/spec/mongoid/extensions/range_spec.rb +254 -64
- data/spec/mongoid/extensions/raw_value_spec.rb +67 -0
- data/spec/mongoid/extensions/regexp_spec.rb +59 -34
- data/spec/mongoid/extensions/set_spec.rb +105 -1
- data/spec/mongoid/extensions/string_spec.rb +21 -104
- data/spec/mongoid/extensions/stringified_symbol_spec.rb +1 -1
- data/spec/mongoid/extensions/symbol_spec.rb +15 -53
- data/spec/mongoid/extensions/time_spec.rb +345 -131
- data/spec/mongoid/extensions/time_with_zone_spec.rb +34 -107
- data/spec/mongoid/extensions/true_class_spec.rb +2 -9
- data/spec/mongoid/factory_spec.rb +63 -2
- data/spec/mongoid/fields/foreign_key_spec.rb +282 -120
- data/spec/mongoid/fields/localized_spec.rb +85 -42
- data/spec/mongoid/fields/standard_spec.rb +1 -1
- data/spec/mongoid/fields_spec.rb +826 -121
- data/spec/mongoid/findable_spec.rb +442 -80
- data/spec/mongoid/indexable/specification_spec.rb +132 -14
- data/spec/mongoid/indexable_spec.rb +361 -23
- data/spec/mongoid/inspectable_spec.rb +93 -5
- data/spec/mongoid/interceptable_spec.rb +926 -116
- data/spec/mongoid/interceptable_spec_models.rb +236 -4
- data/spec/mongoid/loading_spec.rb +110 -0
- data/spec/mongoid/loggable_spec.rb +1 -1
- data/spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml +104 -0
- data/spec/mongoid/matcher/extract_attribute_data/traversal.yml +68 -88
- data/spec/mongoid/matcher/extract_attribute_spec.rb +5 -15
- data/spec/mongoid/mongoizable_spec.rb +286 -0
- data/spec/mongoid/monkey_patches_spec.rb +211 -0
- data/spec/mongoid/persistable/creatable_spec.rb +5 -5
- data/spec/mongoid/persistable/deletable_spec.rb +267 -27
- data/spec/mongoid/persistable/destroyable_spec.rb +409 -24
- data/spec/mongoid/persistable/incrementable_spec.rb +46 -9
- data/spec/mongoid/persistable/logical_spec.rb +42 -5
- data/spec/mongoid/persistable/maxable_spec.rb +147 -0
- data/spec/mongoid/persistable/minable_spec.rb +147 -0
- data/spec/mongoid/persistable/multipliable_spec.rb +227 -0
- data/spec/mongoid/persistable/poppable_spec.rb +41 -5
- data/spec/mongoid/persistable/pullable_spec.rb +81 -9
- data/spec/mongoid/persistable/pushable_spec.rb +81 -9
- data/spec/mongoid/persistable/renamable_spec.rb +40 -4
- data/spec/mongoid/persistable/savable_spec.rb +114 -20
- data/spec/mongoid/persistable/settable_spec.rb +77 -10
- data/spec/mongoid/persistable/unsettable_spec.rb +41 -5
- data/spec/mongoid/persistable/updatable_spec.rb +64 -52
- data/spec/mongoid/persistable/upsertable_spec.rb +124 -4
- data/spec/mongoid/persistable_spec.rb +4 -4
- data/spec/mongoid/persistence_context_spec.rb +58 -59
- data/spec/mongoid/positional_spec.rb +1 -1
- data/spec/mongoid/railties/bson_object_id_serializer_spec.rb +24 -0
- data/spec/mongoid/railties/console_sandbox_spec.rb +44 -0
- data/spec/mongoid/relations/proxy_spec.rb +7 -7
- data/spec/mongoid/reloadable_spec.rb +255 -30
- data/spec/mongoid/scopable_spec.rb +198 -58
- data/spec/mongoid/search_indexable_spec.rb +147 -0
- data/spec/mongoid/selectable_spec.rb +7 -7
- data/spec/mongoid/serializable_spec.rb +19 -40
- data/spec/mongoid/shardable_models.rb +15 -0
- data/spec/mongoid/shardable_spec.rb +181 -31
- data/spec/mongoid/stateful_spec.rb +152 -10
- data/spec/mongoid/tasks/database_rake_spec.rb +193 -42
- data/spec/mongoid/tasks/database_spec.rb +175 -2
- data/spec/mongoid/tasks/encryption_spec.rb +187 -0
- data/spec/mongoid/threaded_spec.rb +40 -3
- data/spec/mongoid/timestamps/created/short_spec.rb +2 -2
- data/spec/mongoid/timestamps/created_spec.rb +2 -2
- data/spec/mongoid/timestamps/timeless_spec.rb +3 -3
- data/spec/mongoid/timestamps/updated/short_spec.rb +4 -4
- data/spec/mongoid/timestamps/updated_spec.rb +4 -4
- data/spec/mongoid/timestamps_spec.rb +399 -11
- data/spec/mongoid/timestamps_spec_models.rb +68 -0
- data/spec/mongoid/touchable_spec.rb +971 -54
- data/spec/mongoid/touchable_spec_models.rb +154 -0
- data/spec/mongoid/traversable_spec.rb +79 -37
- data/spec/mongoid/validatable/associated_spec.rb +14 -31
- data/spec/mongoid/validatable/format_spec.rb +1 -1
- data/spec/mongoid/validatable/length_spec.rb +1 -1
- data/spec/mongoid/validatable/numericality_spec.rb +1 -1
- data/spec/mongoid/validatable/presence_spec.rb +27 -23
- data/spec/mongoid/validatable/uniqueness_spec.rb +170 -99
- data/spec/mongoid/validatable_spec.rb +4 -4
- data/spec/mongoid/warnings_spec.rb +36 -0
- data/spec/mongoid_spec.rb +61 -11
- data/spec/rails/controller_extension/controller_runtime_spec.rb +3 -3
- data/spec/rails/mongoid_spec.rb +28 -132
- data/spec/shared/bin/get-mongodb-download-url +17 -0
- data/spec/shared/bin/s3-copy +45 -0
- data/spec/shared/bin/s3-upload +69 -0
- data/spec/shared/lib/mrss/cluster_config.rb +24 -4
- data/spec/shared/lib/mrss/constraints.rb +77 -29
- data/spec/shared/lib/mrss/docker_runner.rb +40 -4
- data/spec/shared/lib/mrss/eg_config_utils.rb +51 -0
- data/spec/shared/lib/mrss/event_subscriber.rb +210 -0
- data/spec/shared/lib/mrss/lite_constraints.rb +64 -1
- data/spec/shared/lib/mrss/server_version_registry.rb +78 -34
- data/spec/shared/lib/mrss/session_registry.rb +69 -0
- data/spec/shared/lib/mrss/session_registry_legacy.rb +60 -0
- data/spec/shared/lib/mrss/spec_organizer.rb +32 -2
- data/spec/shared/lib/mrss/utils.rb +37 -0
- data/spec/shared/share/Dockerfile.erb +123 -71
- data/spec/shared/share/haproxy-1.conf +16 -0
- data/spec/shared/share/haproxy-2.conf +17 -0
- data/spec/shared/shlib/config.sh +27 -0
- data/spec/shared/shlib/distro.sh +2 -1
- data/spec/shared/shlib/server.sh +187 -40
- data/spec/shared/shlib/set_env.sh +49 -31
- data/spec/spec_helper.rb +46 -49
- data/spec/support/authorization.rb +1 -1
- data/spec/support/client_registry.rb +10 -0
- data/spec/support/constraints.rb +25 -1
- data/spec/support/crypt/models.rb +50 -0
- data/spec/support/crypt.rb +80 -0
- data/spec/support/expectations.rb +1 -1
- data/spec/support/feature_sandbox.rb +72 -0
- data/spec/support/helpers.rb +1 -0
- data/spec/support/immutable_ids.rb +119 -0
- data/spec/support/macros.rb +107 -1
- data/spec/support/models/account.rb +2 -2
- data/spec/support/models/acolyte.rb +1 -1
- data/spec/support/models/actor.rb +1 -1
- data/spec/support/models/actress.rb +1 -1
- data/spec/support/models/address.rb +7 -1
- data/spec/support/models/address_component.rb +1 -1
- data/spec/support/models/address_number.rb +1 -1
- data/spec/support/models/agency.rb +1 -1
- data/spec/support/models/agent.rb +1 -1
- data/spec/support/models/album.rb +1 -1
- data/spec/support/models/alert.rb +1 -1
- data/spec/support/models/animal.rb +1 -1
- data/spec/support/models/answer.rb +1 -1
- data/spec/support/models/appointment.rb +1 -1
- data/spec/support/models/armrest.rb +1 -1
- data/spec/support/models/array_field.rb +1 -1
- data/spec/support/models/article.rb +1 -1
- data/spec/support/models/artist.rb +3 -2
- data/spec/support/models/artwork.rb +1 -1
- data/spec/support/models/audible_sound.rb +4 -0
- data/spec/support/models/audio.rb +1 -1
- data/spec/support/models/augmentation.rb +13 -1
- data/spec/support/models/author.rb +1 -1
- data/spec/support/models/baby.rb +1 -1
- data/spec/support/models/band.rb +13 -1
- data/spec/support/models/bar.rb +1 -1
- data/spec/support/models/basic.rb +1 -1
- data/spec/support/models/bed.rb +1 -1
- data/spec/support/models/big_palette.rb +1 -1
- data/spec/support/models/birthday.rb +1 -1
- data/spec/support/models/bolt.rb +8 -0
- data/spec/support/models/bomb.rb +1 -1
- data/spec/support/models/book.rb +2 -1
- data/spec/support/models/breed.rb +1 -1
- data/spec/support/models/browser.rb +1 -1
- data/spec/support/models/building.rb +3 -1
- data/spec/support/models/building_address.rb +1 -1
- data/spec/support/models/bus.rb +1 -1
- data/spec/support/models/business.rb +1 -1
- data/spec/support/models/callback_test.rb +1 -1
- data/spec/support/models/canvas.rb +1 -1
- data/spec/support/models/car.rb +1 -1
- data/spec/support/models/cat.rb +1 -1
- data/spec/support/models/catalog.rb +25 -0
- data/spec/support/models/category.rb +1 -1
- data/spec/support/models/child.rb +1 -1
- data/spec/support/models/child_doc.rb +4 -4
- data/spec/support/models/church.rb +1 -1
- data/spec/support/models/circle.rb +1 -1
- data/spec/support/models/circuit.rb +1 -1
- data/spec/support/models/circus.rb +4 -1
- data/spec/support/models/code.rb +3 -1
- data/spec/support/models/coding/pull_request.rb +1 -1
- data/spec/support/models/coding.rb +1 -1
- data/spec/support/models/comment.rb +1 -1
- data/spec/support/models/company.rb +1 -1
- data/spec/support/models/consumption_period.rb +1 -1
- data/spec/support/models/contextable_item.rb +1 -1
- data/spec/support/models/contractor.rb +1 -1
- data/spec/support/models/cookie.rb +1 -1
- data/spec/support/models/country_code.rb +3 -1
- data/spec/support/models/courier_job.rb +1 -1
- data/spec/support/models/cover.rb +11 -0
- data/spec/support/models/crate.rb +1 -1
- data/spec/support/models/customer.rb +1 -1
- data/spec/support/models/customer_address.rb +1 -1
- data/spec/support/models/deed.rb +1 -1
- data/spec/support/models/definition.rb +1 -1
- data/spec/support/models/delegating_patient.rb +1 -1
- data/spec/support/models/description.rb +1 -1
- data/spec/support/models/dictionary.rb +1 -1
- data/spec/support/models/division.rb +1 -1
- data/spec/support/models/doctor.rb +1 -1
- data/spec/support/models/dog.rb +1 -1
- data/spec/support/models/dokument.rb +1 -1
- data/spec/support/models/draft.rb +1 -1
- data/spec/support/models/dragon.rb +1 -1
- data/spec/support/models/driver.rb +1 -1
- data/spec/support/models/drug.rb +1 -1
- data/spec/support/models/dungeon.rb +1 -1
- data/spec/support/models/edit.rb +1 -1
- data/spec/support/models/email.rb +1 -1
- data/spec/support/models/employer.rb +1 -1
- data/spec/support/models/entry.rb +1 -1
- data/spec/support/models/eraser.rb +1 -1
- data/spec/support/models/even.rb +1 -1
- data/spec/support/models/event.rb +1 -1
- data/spec/support/models/exhibition.rb +1 -1
- data/spec/support/models/exhibitor.rb +1 -1
- data/spec/support/models/explosion.rb +1 -1
- data/spec/support/models/eye.rb +1 -1
- data/spec/support/models/eye_bowl.rb +1 -1
- data/spec/support/models/face.rb +1 -1
- data/spec/support/models/fanatic.rb +9 -0
- data/spec/support/models/favorite.rb +8 -2
- data/spec/support/models/filesystem.rb +1 -1
- data/spec/support/models/fire_hydrant.rb +1 -1
- data/spec/support/models/firefox.rb +1 -1
- data/spec/support/models/fish.rb +1 -1
- data/spec/support/models/folder.rb +1 -1
- data/spec/support/models/folder_item.rb +1 -1
- data/spec/support/models/fruits.rb +1 -1
- data/spec/support/models/game.rb +1 -1
- data/spec/support/models/ghost.rb +1 -1
- data/spec/support/models/guitar.rb +1 -1
- data/spec/support/models/hole.rb +13 -0
- data/spec/support/models/home.rb +1 -1
- data/spec/support/models/house.rb +1 -1
- data/spec/support/models/html_writer.rb +1 -1
- data/spec/support/models/id_key.rb +1 -1
- data/spec/support/models/idnodef.rb +1 -1
- data/spec/support/models/image.rb +1 -1
- data/spec/support/models/implant.rb +10 -1
- data/spec/support/models/instrument.rb +1 -1
- data/spec/support/models/item.rb +1 -1
- data/spec/support/models/jar.rb +1 -1
- data/spec/support/models/kaleidoscope.rb +1 -1
- data/spec/support/models/kangaroo.rb +1 -1
- data/spec/support/models/label.rb +5 -2
- data/spec/support/models/language.rb +1 -1
- data/spec/support/models/lat_lng.rb +1 -1
- data/spec/support/models/league.rb +1 -1
- data/spec/support/models/learner.rb +1 -1
- data/spec/support/models/line_item.rb +1 -1
- data/spec/support/models/location.rb +1 -1
- data/spec/support/models/login.rb +1 -1
- data/spec/support/models/manufacturer.rb +1 -1
- data/spec/support/models/meat.rb +1 -1
- data/spec/support/models/membership.rb +2 -1
- data/spec/support/models/message.rb +1 -1
- data/spec/support/models/minim.rb +1 -1
- data/spec/support/models/mixed_drink.rb +1 -1
- data/spec/support/models/mop.rb +10 -1
- data/spec/support/models/movie.rb +1 -1
- data/spec/support/models/my_hash.rb +1 -1
- data/spec/support/models/name.rb +11 -1
- data/spec/support/models/name_only.rb +1 -1
- data/spec/support/models/node.rb +1 -1
- data/spec/support/models/note.rb +1 -1
- data/spec/support/models/nut.rb +8 -0
- data/spec/support/models/odd.rb +1 -1
- data/spec/support/models/order.rb +3 -1
- data/spec/support/models/ordered_post.rb +2 -2
- data/spec/support/models/ordered_preference.rb +1 -1
- data/spec/support/models/oscar.rb +1 -1
- data/spec/support/models/other_owner_object.rb +1 -1
- data/spec/support/models/override.rb +1 -1
- data/spec/support/models/ownable.rb +1 -1
- data/spec/support/models/owner.rb +1 -1
- data/spec/support/models/pack.rb +1 -1
- data/spec/support/models/page.rb +1 -1
- data/spec/support/models/page_question.rb +1 -1
- data/spec/support/models/palette.rb +1 -1
- data/spec/support/models/parent.rb +1 -1
- data/spec/support/models/parent_doc.rb +1 -1
- data/spec/support/models/passport.rb +15 -1
- data/spec/support/models/patient.rb +1 -1
- data/spec/support/models/pdf_writer.rb +1 -1
- data/spec/support/models/pencil.rb +1 -1
- data/spec/support/models/person.rb +19 -1
- data/spec/support/models/pet.rb +1 -1
- data/spec/support/models/pet_owner.rb +1 -1
- data/spec/support/models/phone.rb +3 -2
- data/spec/support/models/piano.rb +1 -1
- data/spec/support/models/pizza.rb +1 -1
- data/spec/support/models/player.rb +3 -1
- data/spec/support/models/post.rb +1 -1
- data/spec/support/models/post_genre.rb +1 -1
- data/spec/support/models/powerup.rb +13 -1
- data/spec/support/models/preference.rb +1 -1
- data/spec/support/models/princess.rb +1 -1
- data/spec/support/models/product.rb +2 -1
- data/spec/support/models/profile.rb +1 -1
- data/spec/support/models/pronunciation.rb +1 -1
- data/spec/support/models/pub.rb +1 -1
- data/spec/support/models/publication/encyclopedia.rb +1 -1
- data/spec/support/models/publication/review.rb +1 -1
- data/spec/support/models/publication.rb +1 -1
- data/spec/support/models/purchase.rb +1 -1
- data/spec/support/models/purchased_item.rb +11 -0
- data/spec/support/models/purse.rb +9 -0
- data/spec/support/models/question.rb +1 -1
- data/spec/support/models/quiz.rb +1 -1
- data/spec/support/models/rating.rb +1 -1
- data/spec/support/models/record.rb +1 -1
- data/spec/support/models/registry.rb +2 -1
- data/spec/support/models/role.rb +1 -1
- data/spec/support/models/root_category.rb +1 -1
- data/spec/support/models/sandbox/app/models/app_models_message.rb +4 -0
- data/spec/support/models/sandbox/lib/models/lib_models_message.rb +4 -0
- data/spec/support/models/sandbox/sandbox_message.rb +4 -0
- data/spec/support/models/sandbox/sandbox_user.rb +4 -0
- data/spec/support/models/sandbox/subdir/sandbox_comment.rb +4 -0
- data/spec/support/models/sandwich.rb +1 -1
- data/spec/support/models/scheduler.rb +1 -1
- data/spec/support/models/school.rb +15 -0
- data/spec/support/models/scribe.rb +1 -1
- data/spec/support/models/sealer.rb +8 -0
- data/spec/support/models/seat.rb +1 -1
- data/spec/support/models/seo.rb +1 -1
- data/spec/support/models/series.rb +1 -1
- data/spec/support/models/server.rb +1 -1
- data/spec/support/models/service.rb +1 -1
- data/spec/support/models/shape.rb +1 -1
- data/spec/support/models/shelf.rb +1 -1
- data/spec/support/models/shield.rb +19 -0
- data/spec/support/models/shipment_address.rb +1 -1
- data/spec/support/models/shipping_container.rb +1 -1
- data/spec/support/models/shipping_pack.rb +1 -1
- data/spec/support/models/shirt.rb +12 -0
- data/spec/support/models/shop.rb +1 -1
- data/spec/support/models/short_agent.rb +1 -1
- data/spec/support/models/short_quiz.rb +1 -1
- data/spec/support/models/simple.rb +1 -1
- data/spec/support/models/slave.rb +1 -1
- data/spec/support/models/song.rb +1 -1
- data/spec/support/models/sound.rb +1 -1
- data/spec/support/models/spacer.rb +8 -0
- data/spec/support/models/square.rb +1 -1
- data/spec/support/models/staff.rb +1 -1
- data/spec/support/models/store_as_dup_test1.rb +1 -1
- data/spec/support/models/store_as_dup_test2.rb +1 -1
- data/spec/support/models/store_as_dup_test3.rb +1 -1
- data/spec/support/models/store_as_dup_test4.rb +1 -1
- data/spec/support/models/strategy.rb +1 -1
- data/spec/support/models/student.rb +15 -0
- data/spec/support/models/sub_item.rb +1 -1
- data/spec/support/models/subscription.rb +1 -1
- data/spec/support/models/survey.rb +1 -1
- data/spec/support/models/symptom.rb +1 -1
- data/spec/support/models/system_role.rb +1 -0
- data/spec/support/models/tag.rb +1 -1
- data/spec/support/models/target.rb +1 -1
- data/spec/support/models/template.rb +1 -1
- data/spec/support/models/thing.rb +1 -1
- data/spec/support/models/threadlocker.rb +8 -0
- data/spec/support/models/title.rb +1 -1
- data/spec/support/models/tool.rb +1 -1
- data/spec/support/models/topping.rb +1 -1
- data/spec/support/models/toy.rb +1 -1
- data/spec/support/models/track.rb +1 -1
- data/spec/support/models/translation.rb +1 -1
- data/spec/support/models/tree.rb +1 -1
- data/spec/support/models/truck.rb +1 -1
- data/spec/support/models/updatable.rb +1 -1
- data/spec/support/models/user.rb +1 -1
- data/spec/support/models/user_account.rb +1 -1
- data/spec/support/models/validation_callback.rb +1 -1
- data/spec/support/models/vehicle.rb +1 -1
- data/spec/support/models/version.rb +1 -1
- data/spec/support/models/vertex.rb +1 -1
- data/spec/support/models/vet_visit.rb +1 -1
- data/spec/support/models/video.rb +1 -1
- data/spec/support/models/video_game.rb +1 -1
- data/spec/support/models/washer.rb +8 -0
- data/spec/support/models/weapon.rb +13 -1
- data/spec/support/models/wiki_page.rb +1 -1
- data/spec/support/models/word.rb +1 -1
- data/spec/support/models/word_origin.rb +1 -1
- data/spec/support/models/writer.rb +1 -1
- data/spec/support/rails_mock.rb +32 -0
- data/spec/support/schema_maps/schema_map_aws.json +17 -0
- data/spec/support/schema_maps/schema_map_aws_key_alt_names.json +12 -0
- data/spec/support/schema_maps/schema_map_azure.json +17 -0
- data/spec/support/schema_maps/schema_map_azure_key_alt_names.json +12 -0
- data/spec/support/schema_maps/schema_map_gcp.json +17 -0
- data/spec/support/schema_maps/schema_map_gcp_key_alt_names.json +12 -0
- data/spec/support/schema_maps/schema_map_kmip.json +17 -0
- data/spec/support/schema_maps/schema_map_kmip_key_alt_names.json +12 -0
- data/spec/support/schema_maps/schema_map_local.json +18 -0
- data/spec/support/schema_maps/schema_map_local_key_alt_names.json +12 -0
- data/spec/support/shared/time.rb +3 -22
- data/spec/support/sinatra_mock.rb +7 -0
- data/spec/support/spec_config.rb +42 -7
- data.tar.gz.sig +0 -0
- metadata +883 -562
- metadata.gz.sig +0 -0
- data/lib/mongoid/association/referenced/eager.rb +0 -184
- data/lib/mongoid/association/referenced/has_one/nested_builder.rb +0 -128
- data/lib/mongoid/contextual/geo_near.rb +0 -269
- data/lib/mongoid/errors/eager_load.rb +0 -26
- data/lib/mongoid/errors/invalid_session_use.rb +0 -26
- data/lib/mongoid/errors/invalid_storage_parent.rb +0 -28
- data/lib/mongoid/errors/invalid_value.rb +0 -18
- data/lib/mongoid/query_cache.rb +0 -333
- data/lib/support/ruby_version.rb +0 -29
- data/spec/mongoid/contextual/geo_near_spec.rb +0 -472
- data/spec/mongoid/criteria/queryable/extensions/bignum_spec.rb +0 -61
- data/spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb +0 -61
- data/spec/mongoid/extensions_spec.rb +0 -32
- data/spec/mongoid/query_cache_middleware_spec.rb +0 -61
- data/spec/mongoid/query_cache_spec.rb +0 -978
- data/spec/support/cluster_config.rb +0 -158
- data/spec/support/session_registry.rb +0 -50
metadata
CHANGED
@@ -1,35 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- The MongoDB Ruby Team
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMREwDwYDVQQDDAhkYngt
|
14
|
+
cnVieTEXMBUGCgmSJomT8ixkARkWB21vbmdvZGIxEzARBgoJkiaJk/IsZAEZFgNj
|
15
|
+
b20wHhcNMjQwMjA5MTc0NzIyWhcNMjUwMjA4MTc0NzIyWjBBMREwDwYDVQQDDAhk
|
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
|
+
MBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMA0GCSqGSIb3DQEBCwUAA4IBgQBKGtHA
|
29
|
+
fpi3N/BL1J5O4CBsAjtF4jHDiw2r5MwK+66NzMh3uedjgPI7MoosemLy++SB+8BR
|
30
|
+
SE8bDkb6gfDQQzrI6KSXXyqH2TbQXpY5Tac7/yqXRiu8G2qOrOj4czB/Hq7j09CV
|
31
|
+
YoH88v6hL11i5jt6jPjFh8hXYG0hDQxhi3atRz5Wwd98tUf2DSbyJXJiRgCBeZjl
|
32
|
+
rP7AnKsWMu0C+zPlL+nXtQr+nTFtkKXRWfUJMqePpBqtriQvgQ+Y1ItqYVTSLuiM
|
33
|
+
iwUMcn/rGhdCMBSaKDXdFkIveCHQE2f2WBo2EdErrcTrgEKYYdNfzcb/43j7L1kx
|
34
|
+
AUwyTtk+HFrviBynQbKN82rjbZE+5gukVea5c7idQPkqacPYsoU37DI+hTlUyJkV
|
35
|
+
dcTtfEg44lLlfNukBslfiQf54r+uWbyB0m0rDUN/py7/Ghyzt5GLBU91uCO3dGoI
|
36
|
+
55uFRHMvEcJMTDeImC/nuucPCAiEGMHggr9+NPC0tqpxjGKTo7lS7GzUFjg=
|
31
37
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
38
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
33
39
|
dependencies:
|
34
40
|
- !ruby/object:Gem::Dependency
|
35
41
|
name: activemodel
|
@@ -40,7 +46,10 @@ dependencies:
|
|
40
46
|
version: '5.1'
|
41
47
|
- - "<"
|
42
48
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
49
|
+
version: '7.2'
|
50
|
+
- - "!="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 7.0.0
|
44
53
|
type: :runtime
|
45
54
|
prerelease: false
|
46
55
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,14 +59,17 @@ dependencies:
|
|
50
59
|
version: '5.1'
|
51
60
|
- - "<"
|
52
61
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
62
|
+
version: '7.2'
|
63
|
+
- - "!="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 7.0.0
|
54
66
|
- !ruby/object:Gem::Dependency
|
55
67
|
name: mongo
|
56
68
|
requirement: !ruby/object:Gem::Requirement
|
57
69
|
requirements:
|
58
70
|
- - ">="
|
59
71
|
- !ruby/object:Gem::Version
|
60
|
-
version: 2.
|
72
|
+
version: 2.18.0
|
61
73
|
- - "<"
|
62
74
|
- !ruby/object:Gem::Version
|
63
75
|
version: 3.0.0
|
@@ -67,33 +79,53 @@ dependencies:
|
|
67
79
|
requirements:
|
68
80
|
- - ">="
|
69
81
|
- !ruby/object:Gem::Version
|
70
|
-
version: 2.
|
82
|
+
version: 2.18.0
|
71
83
|
- - "<"
|
72
84
|
- !ruby/object:Gem::Version
|
73
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'
|
74
106
|
- !ruby/object:Gem::Dependency
|
75
107
|
name: bson
|
76
108
|
requirement: !ruby/object:Gem::Requirement
|
77
109
|
requirements:
|
78
110
|
- - ">="
|
79
111
|
- !ruby/object:Gem::Version
|
80
|
-
version: 4.
|
112
|
+
version: 4.14.0
|
81
113
|
- - "<"
|
82
114
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
115
|
+
version: 6.0.0
|
84
116
|
type: :development
|
85
117
|
prerelease: false
|
86
118
|
version_requirements: !ruby/object:Gem::Requirement
|
87
119
|
requirements:
|
88
120
|
- - ">="
|
89
121
|
- !ruby/object:Gem::Version
|
90
|
-
version: 4.
|
122
|
+
version: 4.14.0
|
91
123
|
- - "<"
|
92
124
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
125
|
+
version: 6.0.0
|
94
126
|
description: Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written
|
95
127
|
in Ruby.
|
96
|
-
email:
|
128
|
+
email: dbx-ruby@mongodb.com
|
97
129
|
executables: []
|
98
130
|
extensions: []
|
99
131
|
extra_rdoc_files: []
|
@@ -110,10 +142,12 @@ files:
|
|
110
142
|
- lib/mongoid/association/builders.rb
|
111
143
|
- lib/mongoid/association/constrainable.rb
|
112
144
|
- lib/mongoid/association/depending.rb
|
145
|
+
- lib/mongoid/association/eager.rb
|
113
146
|
- lib/mongoid/association/eager_loadable.rb
|
114
147
|
- lib/mongoid/association/embedded.rb
|
115
148
|
- lib/mongoid/association/embedded/batchable.rb
|
116
149
|
- lib/mongoid/association/embedded/cyclic.rb
|
150
|
+
- lib/mongoid/association/embedded/eager.rb
|
117
151
|
- lib/mongoid/association/embedded/embedded_in.rb
|
118
152
|
- lib/mongoid/association/embedded/embedded_in/binding.rb
|
119
153
|
- lib/mongoid/association/embedded/embedded_in/buildable.rb
|
@@ -144,7 +178,6 @@ files:
|
|
144
178
|
- lib/mongoid/association/referenced/belongs_to/eager.rb
|
145
179
|
- lib/mongoid/association/referenced/belongs_to/proxy.rb
|
146
180
|
- lib/mongoid/association/referenced/counter_cache.rb
|
147
|
-
- lib/mongoid/association/referenced/eager.rb
|
148
181
|
- lib/mongoid/association/referenced/has_and_belongs_to_many.rb
|
149
182
|
- lib/mongoid/association/referenced/has_and_belongs_to_many/binding.rb
|
150
183
|
- lib/mongoid/association/referenced/has_and_belongs_to_many/buildable.rb
|
@@ -160,7 +193,6 @@ files:
|
|
160
193
|
- lib/mongoid/association/referenced/has_one/binding.rb
|
161
194
|
- lib/mongoid/association/referenced/has_one/buildable.rb
|
162
195
|
- lib/mongoid/association/referenced/has_one/eager.rb
|
163
|
-
- lib/mongoid/association/referenced/has_one/nested_builder.rb
|
164
196
|
- lib/mongoid/association/referenced/has_one/proxy.rb
|
165
197
|
- lib/mongoid/association/referenced/syncable.rb
|
166
198
|
- lib/mongoid/association/reflections.rb
|
@@ -172,10 +204,13 @@ files:
|
|
172
204
|
- lib/mongoid/atomic/paths/embedded/many.rb
|
173
205
|
- lib/mongoid/atomic/paths/embedded/one.rb
|
174
206
|
- lib/mongoid/atomic/paths/root.rb
|
207
|
+
- lib/mongoid/atomic_update_preparer.rb
|
175
208
|
- lib/mongoid/attributes.rb
|
176
209
|
- lib/mongoid/attributes/dynamic.rb
|
210
|
+
- lib/mongoid/attributes/embedded.rb
|
177
211
|
- lib/mongoid/attributes/nested.rb
|
178
212
|
- lib/mongoid/attributes/processing.rb
|
213
|
+
- lib/mongoid/attributes/projector.rb
|
179
214
|
- lib/mongoid/attributes/readonly.rb
|
180
215
|
- lib/mongoid/cacheable.rb
|
181
216
|
- lib/mongoid/changeable.rb
|
@@ -186,22 +221,29 @@ files:
|
|
186
221
|
- lib/mongoid/clients/storage_options.rb
|
187
222
|
- lib/mongoid/clients/validators.rb
|
188
223
|
- lib/mongoid/clients/validators/storage.rb
|
224
|
+
- lib/mongoid/collection_configurable.rb
|
189
225
|
- lib/mongoid/composable.rb
|
190
226
|
- lib/mongoid/config.rb
|
227
|
+
- lib/mongoid/config/defaults.rb
|
228
|
+
- lib/mongoid/config/encryption.rb
|
191
229
|
- lib/mongoid/config/environment.rb
|
230
|
+
- lib/mongoid/config/introspection.rb
|
192
231
|
- lib/mongoid/config/options.rb
|
193
232
|
- lib/mongoid/config/validators.rb
|
233
|
+
- lib/mongoid/config/validators/async_query_executor.rb
|
194
234
|
- lib/mongoid/config/validators/client.rb
|
195
235
|
- lib/mongoid/config/validators/option.rb
|
196
236
|
- lib/mongoid/contextual.rb
|
237
|
+
- lib/mongoid/contextual/aggregable.rb
|
197
238
|
- lib/mongoid/contextual/aggregable/memory.rb
|
198
239
|
- lib/mongoid/contextual/aggregable/mongo.rb
|
240
|
+
- lib/mongoid/contextual/aggregable/none.rb
|
199
241
|
- lib/mongoid/contextual/atomic.rb
|
200
242
|
- lib/mongoid/contextual/command.rb
|
201
|
-
- lib/mongoid/contextual/geo_near.rb
|
202
243
|
- lib/mongoid/contextual/map_reduce.rb
|
203
244
|
- lib/mongoid/contextual/memory.rb
|
204
245
|
- lib/mongoid/contextual/mongo.rb
|
246
|
+
- lib/mongoid/contextual/mongo/documents_loader.rb
|
205
247
|
- lib/mongoid/contextual/none.rb
|
206
248
|
- lib/mongoid/contextual/queryable.rb
|
207
249
|
- lib/mongoid/copyable.rb
|
@@ -244,28 +286,43 @@ files:
|
|
244
286
|
- lib/mongoid/criteria/queryable/smash.rb
|
245
287
|
- lib/mongoid/criteria/queryable/storable.rb
|
246
288
|
- lib/mongoid/criteria/scopable.rb
|
289
|
+
- lib/mongoid/criteria/translator.rb
|
290
|
+
- lib/mongoid/deprecable.rb
|
291
|
+
- lib/mongoid/deprecation.rb
|
247
292
|
- lib/mongoid/document.rb
|
293
|
+
- lib/mongoid/encryptable.rb
|
248
294
|
- lib/mongoid/equality.rb
|
249
295
|
- lib/mongoid/errors.rb
|
250
296
|
- lib/mongoid/errors/ambiguous_relationship.rb
|
297
|
+
- lib/mongoid/errors/attribute_not_loaded.rb
|
251
298
|
- lib/mongoid/errors/callback.rb
|
299
|
+
- lib/mongoid/errors/create_collection_failure.rb
|
252
300
|
- lib/mongoid/errors/criteria_argument_required.rb
|
253
301
|
- lib/mongoid/errors/delete_restriction.rb
|
254
302
|
- lib/mongoid/errors/document_not_destroyed.rb
|
255
303
|
- lib/mongoid/errors/document_not_found.rb
|
256
|
-
- lib/mongoid/errors/
|
304
|
+
- lib/mongoid/errors/drop_collection_failure.rb
|
305
|
+
- lib/mongoid/errors/empty_config_file.rb
|
306
|
+
- lib/mongoid/errors/immutable_attribute.rb
|
257
307
|
- lib/mongoid/errors/in_memory_collation_not_supported.rb
|
308
|
+
- lib/mongoid/errors/invalid_async_query_executor.rb
|
309
|
+
- lib/mongoid/errors/invalid_auto_encryption_configuration.rb
|
258
310
|
- lib/mongoid/errors/invalid_collection.rb
|
311
|
+
- lib/mongoid/errors/invalid_config_file.rb
|
259
312
|
- lib/mongoid/errors/invalid_config_option.rb
|
260
313
|
- lib/mongoid/errors/invalid_dependent_strategy.rb
|
261
314
|
- lib/mongoid/errors/invalid_discriminator_key_target.rb
|
315
|
+
- lib/mongoid/errors/invalid_dot_dollar_assignment.rb
|
262
316
|
- lib/mongoid/errors/invalid_elem_match_operator.rb
|
263
317
|
- lib/mongoid/errors/invalid_estimated_count_criteria.rb
|
318
|
+
- lib/mongoid/errors/invalid_estimated_count_scoping.rb
|
264
319
|
- lib/mongoid/errors/invalid_expression_operator.rb
|
265
320
|
- lib/mongoid/errors/invalid_field.rb
|
266
321
|
- lib/mongoid/errors/invalid_field_operator.rb
|
267
322
|
- lib/mongoid/errors/invalid_field_option.rb
|
323
|
+
- lib/mongoid/errors/invalid_field_type.rb
|
268
324
|
- lib/mongoid/errors/invalid_find.rb
|
325
|
+
- lib/mongoid/errors/invalid_global_executor_concurrency.rb
|
269
326
|
- lib/mongoid/errors/invalid_includes.rb
|
270
327
|
- lib/mongoid/errors/invalid_index.rb
|
271
328
|
- lib/mongoid/errors/invalid_options.rb
|
@@ -275,12 +332,11 @@ files:
|
|
275
332
|
- lib/mongoid/errors/invalid_relation.rb
|
276
333
|
- lib/mongoid/errors/invalid_relation_option.rb
|
277
334
|
- lib/mongoid/errors/invalid_scope.rb
|
278
|
-
- lib/mongoid/errors/
|
335
|
+
- lib/mongoid/errors/invalid_session_nesting.rb
|
279
336
|
- lib/mongoid/errors/invalid_set_polymorphic_relation.rb
|
280
337
|
- lib/mongoid/errors/invalid_storage_options.rb
|
281
|
-
- lib/mongoid/errors/invalid_storage_parent.rb
|
282
338
|
- lib/mongoid/errors/invalid_time.rb
|
283
|
-
- lib/mongoid/errors/
|
339
|
+
- lib/mongoid/errors/invalid_transaction_nesting.rb
|
284
340
|
- lib/mongoid/errors/inverse_not_found.rb
|
285
341
|
- lib/mongoid/errors/mixed_client_configuration.rb
|
286
342
|
- lib/mongoid/errors/mixed_relations.rb
|
@@ -297,8 +353,12 @@ files:
|
|
297
353
|
- lib/mongoid/errors/no_parent.rb
|
298
354
|
- lib/mongoid/errors/readonly_attribute.rb
|
299
355
|
- lib/mongoid/errors/readonly_document.rb
|
356
|
+
- lib/mongoid/errors/rollback.rb
|
300
357
|
- lib/mongoid/errors/scope_overwrite.rb
|
358
|
+
- lib/mongoid/errors/sessions_not_supported.rb
|
301
359
|
- lib/mongoid/errors/too_many_nested_attribute_records.rb
|
360
|
+
- lib/mongoid/errors/transaction_error.rb
|
361
|
+
- lib/mongoid/errors/transactions_not_supported.rb
|
302
362
|
- lib/mongoid/errors/unknown_attribute.rb
|
303
363
|
- lib/mongoid/errors/unknown_model.rb
|
304
364
|
- lib/mongoid/errors/unsaved_document.rb
|
@@ -308,6 +368,7 @@ files:
|
|
308
368
|
- lib/mongoid/extensions.rb
|
309
369
|
- lib/mongoid/extensions/array.rb
|
310
370
|
- lib/mongoid/extensions/big_decimal.rb
|
371
|
+
- lib/mongoid/extensions/binary.rb
|
311
372
|
- lib/mongoid/extensions/boolean.rb
|
312
373
|
- lib/mongoid/extensions/date.rb
|
313
374
|
- lib/mongoid/extensions/date_time.rb
|
@@ -321,6 +382,7 @@ files:
|
|
321
382
|
- lib/mongoid/extensions/object.rb
|
322
383
|
- lib/mongoid/extensions/object_id.rb
|
323
384
|
- lib/mongoid/extensions/range.rb
|
385
|
+
- lib/mongoid/extensions/raw_value.rb
|
324
386
|
- lib/mongoid/extensions/regexp.rb
|
325
387
|
- lib/mongoid/extensions/set.rb
|
326
388
|
- lib/mongoid/extensions/string.rb
|
@@ -330,6 +392,7 @@ files:
|
|
330
392
|
- lib/mongoid/extensions/true_class.rb
|
331
393
|
- lib/mongoid/factory.rb
|
332
394
|
- lib/mongoid/fields.rb
|
395
|
+
- lib/mongoid/fields/encrypted.rb
|
333
396
|
- lib/mongoid/fields/foreign_key.rb
|
334
397
|
- lib/mongoid/fields/localized.rb
|
335
398
|
- lib/mongoid/fields/standard.rb
|
@@ -341,11 +404,17 @@ files:
|
|
341
404
|
- lib/mongoid/indexable/validators/options.rb
|
342
405
|
- lib/mongoid/inspectable.rb
|
343
406
|
- lib/mongoid/interceptable.rb
|
407
|
+
- lib/mongoid/loadable.rb
|
344
408
|
- lib/mongoid/loggable.rb
|
345
409
|
- lib/mongoid/matchable.rb
|
346
410
|
- lib/mongoid/matcher.rb
|
347
411
|
- lib/mongoid/matcher/all.rb
|
348
412
|
- lib/mongoid/matcher/and.rb
|
413
|
+
- lib/mongoid/matcher/bits.rb
|
414
|
+
- lib/mongoid/matcher/bits_all_clear.rb
|
415
|
+
- lib/mongoid/matcher/bits_all_set.rb
|
416
|
+
- lib/mongoid/matcher/bits_any_clear.rb
|
417
|
+
- lib/mongoid/matcher/bits_any_set.rb
|
349
418
|
- lib/mongoid/matcher/elem_match.rb
|
350
419
|
- lib/mongoid/matcher/elem_match_expression.rb
|
351
420
|
- lib/mongoid/matcher/eq.rb
|
@@ -361,6 +430,7 @@ files:
|
|
361
430
|
- lib/mongoid/matcher/in.rb
|
362
431
|
- lib/mongoid/matcher/lt.rb
|
363
432
|
- lib/mongoid/matcher/lte.rb
|
433
|
+
- lib/mongoid/matcher/mod.rb
|
364
434
|
- lib/mongoid/matcher/ne.rb
|
365
435
|
- lib/mongoid/matcher/nin.rb
|
366
436
|
- lib/mongoid/matcher/nor.rb
|
@@ -368,12 +438,16 @@ files:
|
|
368
438
|
- lib/mongoid/matcher/or.rb
|
369
439
|
- lib/mongoid/matcher/regex.rb
|
370
440
|
- lib/mongoid/matcher/size.rb
|
441
|
+
- lib/mongoid/matcher/type.rb
|
371
442
|
- lib/mongoid/persistable.rb
|
372
443
|
- lib/mongoid/persistable/creatable.rb
|
373
444
|
- lib/mongoid/persistable/deletable.rb
|
374
445
|
- lib/mongoid/persistable/destroyable.rb
|
375
446
|
- lib/mongoid/persistable/incrementable.rb
|
376
447
|
- lib/mongoid/persistable/logical.rb
|
448
|
+
- lib/mongoid/persistable/maxable.rb
|
449
|
+
- lib/mongoid/persistable/minable.rb
|
450
|
+
- lib/mongoid/persistable/multipliable.rb
|
377
451
|
- lib/mongoid/persistable/poppable.rb
|
378
452
|
- lib/mongoid/persistable/pullable.rb
|
379
453
|
- lib/mongoid/persistable/pushable.rb
|
@@ -385,12 +459,14 @@ files:
|
|
385
459
|
- lib/mongoid/persistable/upsertable.rb
|
386
460
|
- lib/mongoid/persistence_context.rb
|
387
461
|
- lib/mongoid/positional.rb
|
388
|
-
- lib/mongoid/query_cache.rb
|
389
462
|
- lib/mongoid/railtie.rb
|
463
|
+
- lib/mongoid/railties/bson_object_id_serializer.rb
|
464
|
+
- lib/mongoid/railties/console_sandbox.rb
|
390
465
|
- lib/mongoid/railties/controller_runtime.rb
|
391
466
|
- lib/mongoid/railties/database.rake
|
392
467
|
- lib/mongoid/reloadable.rb
|
393
468
|
- lib/mongoid/scopable.rb
|
469
|
+
- lib/mongoid/search_indexable.rb
|
394
470
|
- lib/mongoid/selectable.rb
|
395
471
|
- lib/mongoid/serializable.rb
|
396
472
|
- lib/mongoid/shardable.rb
|
@@ -398,6 +474,8 @@ files:
|
|
398
474
|
- lib/mongoid/stringified_symbol.rb
|
399
475
|
- lib/mongoid/tasks/database.rake
|
400
476
|
- lib/mongoid/tasks/database.rb
|
477
|
+
- lib/mongoid/tasks/encryption.rake
|
478
|
+
- lib/mongoid/tasks/encryption.rb
|
401
479
|
- lib/mongoid/threaded.rb
|
402
480
|
- lib/mongoid/threaded/lifecycle.rb
|
403
481
|
- lib/mongoid/timestamps.rb
|
@@ -409,6 +487,7 @@ files:
|
|
409
487
|
- lib/mongoid/timestamps/updated/short.rb
|
410
488
|
- lib/mongoid/touchable.rb
|
411
489
|
- lib/mongoid/traversable.rb
|
490
|
+
- lib/mongoid/utils.rb
|
412
491
|
- lib/mongoid/validatable.rb
|
413
492
|
- lib/mongoid/validatable/associated.rb
|
414
493
|
- lib/mongoid/validatable/format.rb
|
@@ -419,42 +498,59 @@ files:
|
|
419
498
|
- lib/mongoid/validatable/queryable.rb
|
420
499
|
- lib/mongoid/validatable/uniqueness.rb
|
421
500
|
- lib/mongoid/version.rb
|
501
|
+
- lib/mongoid/warnings.rb
|
422
502
|
- lib/rails/generators/mongoid/config/config_generator.rb
|
503
|
+
- lib/rails/generators/mongoid/config/templates/mongoid.rb
|
423
504
|
- lib/rails/generators/mongoid/config/templates/mongoid.yml
|
424
505
|
- lib/rails/generators/mongoid/model/model_generator.rb
|
425
506
|
- lib/rails/generators/mongoid/model/templates/model.rb.tt
|
426
507
|
- lib/rails/generators/mongoid_generator.rb
|
427
508
|
- lib/rails/mongoid.rb
|
428
|
-
- lib/support/ruby_version.rb
|
429
509
|
- spec/README.md
|
430
510
|
- spec/config/mongoid.yml
|
511
|
+
- spec/config/mongoid_with_schema_map_uuid.yml
|
512
|
+
- spec/integration/active_job_spec.rb
|
431
513
|
- spec/integration/app_spec.rb
|
432
514
|
- spec/integration/associations/belongs_to_spec.rb
|
515
|
+
- spec/integration/associations/embedded_dirty_spec.rb
|
433
516
|
- spec/integration/associations/embedded_spec.rb
|
434
517
|
- spec/integration/associations/embeds_many_spec.rb
|
435
518
|
- spec/integration/associations/embeds_one_spec.rb
|
436
519
|
- spec/integration/associations/foreign_key_spec.rb
|
437
520
|
- spec/integration/associations/foreign_key_spec_models.rb
|
521
|
+
- spec/integration/associations/has_and_belongs_to_many_spec.rb
|
438
522
|
- spec/integration/associations/has_many_spec.rb
|
439
523
|
- spec/integration/associations/has_one_spec.rb
|
440
524
|
- spec/integration/associations/nested_attributes_assignment_spec.rb
|
441
525
|
- spec/integration/associations/reverse_population_spec.rb
|
442
526
|
- spec/integration/associations/reverse_population_spec_models.rb
|
527
|
+
- spec/integration/associations/scope_option_spec.rb
|
443
528
|
- spec/integration/atomic/modifiers_spec.rb
|
444
529
|
- spec/integration/bson_regexp_raw_spec.rb
|
445
530
|
- spec/integration/callbacks_models.rb
|
446
531
|
- spec/integration/callbacks_spec.rb
|
532
|
+
- spec/integration/contextual/empty_spec.rb
|
533
|
+
- spec/integration/criteria/alias_query_spec.rb
|
447
534
|
- spec/integration/criteria/date_field_spec.rb
|
448
535
|
- spec/integration/criteria/default_scope_spec.rb
|
449
536
|
- spec/integration/criteria/logical_spec.rb
|
537
|
+
- spec/integration/criteria/range_spec.rb
|
538
|
+
- spec/integration/criteria/raw_value_spec.rb
|
450
539
|
- spec/integration/criteria/time_with_zone_spec.rb
|
451
540
|
- spec/integration/discriminator_key_spec.rb
|
452
541
|
- spec/integration/discriminator_value_spec.rb
|
453
542
|
- spec/integration/document_spec.rb
|
543
|
+
- spec/integration/dots_and_dollars_spec.rb
|
544
|
+
- spec/integration/encryption_spec.rb
|
454
545
|
- spec/integration/i18n_fallbacks_spec.rb
|
455
546
|
- spec/integration/matcher_examples_spec.rb
|
456
547
|
- spec/integration/matcher_operator_data/all.yml
|
457
548
|
- spec/integration/matcher_operator_data/and.yml
|
549
|
+
- spec/integration/matcher_operator_data/bits_all_clear.yml
|
550
|
+
- spec/integration/matcher_operator_data/bits_all_set.yml
|
551
|
+
- spec/integration/matcher_operator_data/bits_any_clear.yml
|
552
|
+
- spec/integration/matcher_operator_data/bits_any_set.yml
|
553
|
+
- spec/integration/matcher_operator_data/comment.yml
|
458
554
|
- spec/integration/matcher_operator_data/elem_match.yml
|
459
555
|
- spec/integration/matcher_operator_data/elem_match_expr.yml
|
460
556
|
- spec/integration/matcher_operator_data/eq.yml
|
@@ -473,6 +569,7 @@ files:
|
|
473
569
|
- spec/integration/matcher_operator_data/lt_types.yml
|
474
570
|
- spec/integration/matcher_operator_data/lte.yml
|
475
571
|
- spec/integration/matcher_operator_data/lte_types.yml
|
572
|
+
- spec/integration/matcher_operator_data/mod.yml
|
476
573
|
- spec/integration/matcher_operator_data/multiple.yml
|
477
574
|
- spec/integration/matcher_operator_data/ne.yml
|
478
575
|
- spec/integration/matcher_operator_data/ne_types.yml
|
@@ -483,8 +580,31 @@ files:
|
|
483
580
|
- spec/integration/matcher_operator_data/regex.yml
|
484
581
|
- spec/integration/matcher_operator_data/regex_options.yml
|
485
582
|
- spec/integration/matcher_operator_data/size.yml
|
583
|
+
- spec/integration/matcher_operator_data/type.yml
|
584
|
+
- spec/integration/matcher_operator_data/type_array.yml
|
585
|
+
- spec/integration/matcher_operator_data/type_binary.yml
|
586
|
+
- spec/integration/matcher_operator_data/type_boolean.yml
|
587
|
+
- spec/integration/matcher_operator_data/type_code.yml
|
588
|
+
- spec/integration/matcher_operator_data/type_code_with_scope.yml
|
589
|
+
- spec/integration/matcher_operator_data/type_date.yml
|
590
|
+
- spec/integration/matcher_operator_data/type_db_pointer.yml
|
591
|
+
- spec/integration/matcher_operator_data/type_decimal.yml
|
592
|
+
- spec/integration/matcher_operator_data/type_double.yml
|
593
|
+
- spec/integration/matcher_operator_data/type_int32.yml
|
594
|
+
- spec/integration/matcher_operator_data/type_int64.yml
|
595
|
+
- spec/integration/matcher_operator_data/type_max_key.yml
|
596
|
+
- spec/integration/matcher_operator_data/type_min_key.yml
|
597
|
+
- spec/integration/matcher_operator_data/type_null.yml
|
598
|
+
- spec/integration/matcher_operator_data/type_object.yml
|
599
|
+
- spec/integration/matcher_operator_data/type_object_id.yml
|
600
|
+
- spec/integration/matcher_operator_data/type_regex.yml
|
601
|
+
- spec/integration/matcher_operator_data/type_string.yml
|
602
|
+
- spec/integration/matcher_operator_data/type_symbol.yml
|
603
|
+
- spec/integration/matcher_operator_data/type_timestamp.yml
|
604
|
+
- spec/integration/matcher_operator_data/type_undefined.yml
|
486
605
|
- spec/integration/matcher_operator_spec.rb
|
487
606
|
- spec/integration/matcher_spec.rb
|
607
|
+
- spec/integration/persistence/range_field_spec.rb
|
488
608
|
- spec/integration/server_query_spec.rb
|
489
609
|
- spec/integration/shardable_spec.rb
|
490
610
|
- spec/integration/stringified_symbol_field_spec.rb
|
@@ -524,6 +644,7 @@ files:
|
|
524
644
|
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
525
645
|
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
526
646
|
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
647
|
+
- spec/mongoid/association/referenced/belongs_to_models.rb
|
527
648
|
- spec/mongoid/association/referenced/belongs_to_query_spec.rb
|
528
649
|
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
529
650
|
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
@@ -559,8 +680,14 @@ files:
|
|
559
680
|
- spec/mongoid/atomic/paths/root_spec.rb
|
560
681
|
- spec/mongoid/atomic/paths_spec.rb
|
561
682
|
- spec/mongoid/atomic_spec.rb
|
683
|
+
- spec/mongoid/atomic_update_preparer_spec.rb
|
562
684
|
- spec/mongoid/attributes/dynamic_spec.rb
|
685
|
+
- spec/mongoid/attributes/embedded_spec.rb
|
563
686
|
- spec/mongoid/attributes/nested_spec.rb
|
687
|
+
- spec/mongoid/attributes/nested_spec_models.rb
|
688
|
+
- spec/mongoid/attributes/projector_data/embedded.yml
|
689
|
+
- spec/mongoid/attributes/projector_data/fields.yml
|
690
|
+
- spec/mongoid/attributes/projector_spec.rb
|
564
691
|
- spec/mongoid/attributes/readonly_spec.rb
|
565
692
|
- spec/mongoid/attributes_spec.rb
|
566
693
|
- spec/mongoid/cacheable_spec.rb
|
@@ -569,22 +696,32 @@ files:
|
|
569
696
|
- spec/mongoid/clients/options_spec.rb
|
570
697
|
- spec/mongoid/clients/sessions_spec.rb
|
571
698
|
- spec/mongoid/clients/transactions_spec.rb
|
699
|
+
- spec/mongoid/clients/transactions_spec_models.rb
|
572
700
|
- spec/mongoid/clients_spec.rb
|
701
|
+
- spec/mongoid/collection_configurable_spec.rb
|
573
702
|
- spec/mongoid/composable_spec.rb
|
703
|
+
- spec/mongoid/config/defaults_spec.rb
|
704
|
+
- spec/mongoid/config/encryption_spec.rb
|
574
705
|
- spec/mongoid/config/environment_spec.rb
|
706
|
+
- spec/mongoid/config/introspection_spec.rb
|
575
707
|
- spec/mongoid/config/options_spec.rb
|
576
708
|
- spec/mongoid/config_spec.rb
|
577
709
|
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
710
|
+
- spec/mongoid/contextual/aggregable/memory_table.yml
|
711
|
+
- spec/mongoid/contextual/aggregable/memory_table_spec.rb
|
578
712
|
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
713
|
+
- spec/mongoid/contextual/aggregable/none_spec.rb
|
579
714
|
- spec/mongoid/contextual/atomic_spec.rb
|
580
|
-
- spec/mongoid/contextual/geo_near_spec.rb
|
581
715
|
- spec/mongoid/contextual/map_reduce_spec.rb
|
582
716
|
- spec/mongoid/contextual/memory_spec.rb
|
717
|
+
- spec/mongoid/contextual/mongo/documents_loader_spec.rb
|
583
718
|
- spec/mongoid/contextual/mongo_spec.rb
|
584
719
|
- spec/mongoid/contextual/none_spec.rb
|
585
720
|
- spec/mongoid/copyable_spec.rb
|
586
721
|
- spec/mongoid/copyable_spec_models.rb
|
587
722
|
- spec/mongoid/criteria/findable_spec.rb
|
723
|
+
- spec/mongoid/criteria/includable_spec.rb
|
724
|
+
- spec/mongoid/criteria/includable_spec_models.rb
|
588
725
|
- spec/mongoid/criteria/inspectable_spec.rb
|
589
726
|
- spec/mongoid/criteria/marshalable_spec.rb
|
590
727
|
- spec/mongoid/criteria/modifiable_spec.rb
|
@@ -593,11 +730,9 @@ files:
|
|
593
730
|
- spec/mongoid/criteria/queryable/expandable_spec.rb
|
594
731
|
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
595
732
|
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
596
|
-
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
597
733
|
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
598
734
|
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
599
735
|
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
600
|
-
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
601
736
|
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
602
737
|
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
603
738
|
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
@@ -619,11 +754,15 @@ files:
|
|
619
754
|
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
620
755
|
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
621
756
|
- spec/mongoid/criteria/queryable/selectable_logical_spec.rb
|
757
|
+
- spec/mongoid/criteria/queryable/selectable_shared_examples.rb
|
622
758
|
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
759
|
+
- spec/mongoid/criteria/queryable/selectable_where_spec.rb
|
623
760
|
- spec/mongoid/criteria/queryable/selector_spec.rb
|
624
761
|
- spec/mongoid/criteria/queryable/smash_spec.rb
|
625
762
|
- spec/mongoid/criteria/queryable/storable_spec.rb
|
626
763
|
- spec/mongoid/criteria/scopable_spec.rb
|
764
|
+
- spec/mongoid/criteria/translator_spec.rb
|
765
|
+
- spec/mongoid/criteria_projection_spec.rb
|
627
766
|
- spec/mongoid/criteria_spec.rb
|
628
767
|
- spec/mongoid/document_fields_spec.rb
|
629
768
|
- spec/mongoid/document_persistence_context_spec.rb
|
@@ -631,15 +770,17 @@ files:
|
|
631
770
|
- spec/mongoid/document_spec.rb
|
632
771
|
- spec/mongoid/equality_spec.rb
|
633
772
|
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
773
|
+
- spec/mongoid/errors/attribute_not_loaded_spec.rb
|
634
774
|
- spec/mongoid/errors/callback_spec.rb
|
635
775
|
- spec/mongoid/errors/delete_restriction_spec.rb
|
636
776
|
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
637
777
|
- spec/mongoid/errors/document_not_found_spec.rb
|
638
|
-
- spec/mongoid/errors/eager_load_spec.rb
|
639
778
|
- spec/mongoid/errors/invalid_collection_spec.rb
|
779
|
+
- spec/mongoid/errors/invalid_config_file_spec.rb
|
640
780
|
- spec/mongoid/errors/invalid_config_option_spec.rb
|
641
781
|
- spec/mongoid/errors/invalid_field_option_spec.rb
|
642
782
|
- spec/mongoid/errors/invalid_field_spec.rb
|
783
|
+
- spec/mongoid/errors/invalid_field_type_spec.rb
|
643
784
|
- spec/mongoid/errors/invalid_find_spec.rb
|
644
785
|
- spec/mongoid/errors/invalid_includes_spec.rb
|
645
786
|
- spec/mongoid/errors/invalid_index_spec.rb
|
@@ -688,6 +829,7 @@ files:
|
|
688
829
|
- spec/mongoid/extensions/object_id_spec.rb
|
689
830
|
- spec/mongoid/extensions/object_spec.rb
|
690
831
|
- spec/mongoid/extensions/range_spec.rb
|
832
|
+
- spec/mongoid/extensions/raw_value_spec.rb
|
691
833
|
- spec/mongoid/extensions/regexp_spec.rb
|
692
834
|
- spec/mongoid/extensions/set_spec.rb
|
693
835
|
- spec/mongoid/extensions/string_spec.rb
|
@@ -696,7 +838,6 @@ files:
|
|
696
838
|
- spec/mongoid/extensions/time_spec.rb
|
697
839
|
- spec/mongoid/extensions/time_with_zone_spec.rb
|
698
840
|
- spec/mongoid/extensions/true_class_spec.rb
|
699
|
-
- spec/mongoid/extensions_spec.rb
|
700
841
|
- spec/mongoid/factory_spec.rb
|
701
842
|
- spec/mongoid/fields/foreign_key_spec.rb
|
702
843
|
- spec/mongoid/fields/localized_spec.rb
|
@@ -708,14 +849,21 @@ files:
|
|
708
849
|
- spec/mongoid/inspectable_spec.rb
|
709
850
|
- spec/mongoid/interceptable_spec.rb
|
710
851
|
- spec/mongoid/interceptable_spec_models.rb
|
852
|
+
- spec/mongoid/loading_spec.rb
|
711
853
|
- spec/mongoid/loggable_spec.rb
|
854
|
+
- spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml
|
712
855
|
- spec/mongoid/matcher/extract_attribute_data/traversal.yml
|
713
856
|
- spec/mongoid/matcher/extract_attribute_spec.rb
|
857
|
+
- spec/mongoid/mongoizable_spec.rb
|
858
|
+
- spec/mongoid/monkey_patches_spec.rb
|
714
859
|
- spec/mongoid/persistable/creatable_spec.rb
|
715
860
|
- spec/mongoid/persistable/deletable_spec.rb
|
716
861
|
- spec/mongoid/persistable/destroyable_spec.rb
|
717
862
|
- spec/mongoid/persistable/incrementable_spec.rb
|
718
863
|
- spec/mongoid/persistable/logical_spec.rb
|
864
|
+
- spec/mongoid/persistable/maxable_spec.rb
|
865
|
+
- spec/mongoid/persistable/minable_spec.rb
|
866
|
+
- spec/mongoid/persistable/multipliable_spec.rb
|
719
867
|
- spec/mongoid/persistable/poppable_spec.rb
|
720
868
|
- spec/mongoid/persistable/pullable_spec.rb
|
721
869
|
- spec/mongoid/persistable/pushable_spec.rb
|
@@ -728,11 +876,12 @@ files:
|
|
728
876
|
- spec/mongoid/persistable_spec.rb
|
729
877
|
- spec/mongoid/persistence_context_spec.rb
|
730
878
|
- spec/mongoid/positional_spec.rb
|
731
|
-
- spec/mongoid/
|
732
|
-
- spec/mongoid/
|
879
|
+
- spec/mongoid/railties/bson_object_id_serializer_spec.rb
|
880
|
+
- spec/mongoid/railties/console_sandbox_spec.rb
|
733
881
|
- spec/mongoid/relations/proxy_spec.rb
|
734
882
|
- spec/mongoid/reloadable_spec.rb
|
735
883
|
- spec/mongoid/scopable_spec.rb
|
884
|
+
- spec/mongoid/search_indexable_spec.rb
|
736
885
|
- spec/mongoid/selectable_spec.rb
|
737
886
|
- spec/mongoid/serializable_spec.rb
|
738
887
|
- spec/mongoid/shardable_models.rb
|
@@ -740,6 +889,7 @@ files:
|
|
740
889
|
- spec/mongoid/stateful_spec.rb
|
741
890
|
- spec/mongoid/tasks/database_rake_spec.rb
|
742
891
|
- spec/mongoid/tasks/database_spec.rb
|
892
|
+
- spec/mongoid/tasks/encryption_spec.rb
|
743
893
|
- spec/mongoid/threaded_spec.rb
|
744
894
|
- spec/mongoid/timestamps/created/short_spec.rb
|
745
895
|
- spec/mongoid/timestamps/created_spec.rb
|
@@ -747,7 +897,9 @@ files:
|
|
747
897
|
- spec/mongoid/timestamps/updated/short_spec.rb
|
748
898
|
- spec/mongoid/timestamps/updated_spec.rb
|
749
899
|
- spec/mongoid/timestamps_spec.rb
|
900
|
+
- spec/mongoid/timestamps_spec_models.rb
|
750
901
|
- spec/mongoid/touchable_spec.rb
|
902
|
+
- spec/mongoid/touchable_spec_models.rb
|
751
903
|
- spec/mongoid/traversable_spec.rb
|
752
904
|
- spec/mongoid/validatable/associated_spec.rb
|
753
905
|
- spec/mongoid/validatable/format_spec.rb
|
@@ -756,27 +908,43 @@ files:
|
|
756
908
|
- spec/mongoid/validatable/presence_spec.rb
|
757
909
|
- spec/mongoid/validatable/uniqueness_spec.rb
|
758
910
|
- spec/mongoid/validatable_spec.rb
|
911
|
+
- spec/mongoid/warnings_spec.rb
|
759
912
|
- spec/mongoid_spec.rb
|
760
913
|
- spec/rails/controller_extension/controller_runtime_spec.rb
|
761
914
|
- spec/rails/mongoid_spec.rb
|
762
915
|
- spec/shared/LICENSE
|
916
|
+
- spec/shared/bin/get-mongodb-download-url
|
917
|
+
- spec/shared/bin/s3-copy
|
918
|
+
- spec/shared/bin/s3-upload
|
763
919
|
- spec/shared/lib/mrss/child_process_helper.rb
|
764
920
|
- spec/shared/lib/mrss/cluster_config.rb
|
765
921
|
- spec/shared/lib/mrss/constraints.rb
|
766
922
|
- spec/shared/lib/mrss/docker_runner.rb
|
923
|
+
- spec/shared/lib/mrss/eg_config_utils.rb
|
924
|
+
- spec/shared/lib/mrss/event_subscriber.rb
|
767
925
|
- spec/shared/lib/mrss/lite_constraints.rb
|
768
926
|
- spec/shared/lib/mrss/server_version_registry.rb
|
927
|
+
- spec/shared/lib/mrss/session_registry.rb
|
928
|
+
- spec/shared/lib/mrss/session_registry_legacy.rb
|
769
929
|
- spec/shared/lib/mrss/spec_organizer.rb
|
930
|
+
- spec/shared/lib/mrss/utils.rb
|
770
931
|
- spec/shared/share/Dockerfile.erb
|
932
|
+
- spec/shared/share/haproxy-1.conf
|
933
|
+
- spec/shared/share/haproxy-2.conf
|
934
|
+
- spec/shared/shlib/config.sh
|
771
935
|
- spec/shared/shlib/distro.sh
|
772
936
|
- spec/shared/shlib/server.sh
|
773
937
|
- spec/shared/shlib/set_env.sh
|
774
938
|
- spec/spec_helper.rb
|
775
939
|
- spec/support/authorization.rb
|
776
|
-
- spec/support/
|
940
|
+
- spec/support/client_registry.rb
|
777
941
|
- spec/support/constraints.rb
|
942
|
+
- spec/support/crypt.rb
|
943
|
+
- spec/support/crypt/models.rb
|
778
944
|
- spec/support/expectations.rb
|
945
|
+
- spec/support/feature_sandbox.rb
|
779
946
|
- spec/support/helpers.rb
|
947
|
+
- spec/support/immutable_ids.rb
|
780
948
|
- spec/support/macros.rb
|
781
949
|
- spec/support/models/account.rb
|
782
950
|
- spec/support/models/acolyte.rb
|
@@ -797,6 +965,7 @@ files:
|
|
797
965
|
- spec/support/models/article.rb
|
798
966
|
- spec/support/models/artist.rb
|
799
967
|
- spec/support/models/artwork.rb
|
968
|
+
- spec/support/models/audible_sound.rb
|
800
969
|
- spec/support/models/audio.rb
|
801
970
|
- spec/support/models/augmentation.rb
|
802
971
|
- spec/support/models/author.rb
|
@@ -807,6 +976,7 @@ files:
|
|
807
976
|
- spec/support/models/bed.rb
|
808
977
|
- spec/support/models/big_palette.rb
|
809
978
|
- spec/support/models/birthday.rb
|
979
|
+
- spec/support/models/bolt.rb
|
810
980
|
- spec/support/models/bomb.rb
|
811
981
|
- spec/support/models/book.rb
|
812
982
|
- spec/support/models/breed.rb
|
@@ -819,6 +989,7 @@ files:
|
|
819
989
|
- spec/support/models/canvas.rb
|
820
990
|
- spec/support/models/car.rb
|
821
991
|
- spec/support/models/cat.rb
|
992
|
+
- spec/support/models/catalog.rb
|
822
993
|
- spec/support/models/category.rb
|
823
994
|
- spec/support/models/child.rb
|
824
995
|
- spec/support/models/child_doc.rb
|
@@ -837,6 +1008,7 @@ files:
|
|
837
1008
|
- spec/support/models/cookie.rb
|
838
1009
|
- spec/support/models/country_code.rb
|
839
1010
|
- spec/support/models/courier_job.rb
|
1011
|
+
- spec/support/models/cover.rb
|
840
1012
|
- spec/support/models/crate.rb
|
841
1013
|
- spec/support/models/customer.rb
|
842
1014
|
- spec/support/models/customer_address.rb
|
@@ -867,6 +1039,7 @@ files:
|
|
867
1039
|
- spec/support/models/eye.rb
|
868
1040
|
- spec/support/models/eye_bowl.rb
|
869
1041
|
- spec/support/models/face.rb
|
1042
|
+
- spec/support/models/fanatic.rb
|
870
1043
|
- spec/support/models/favorite.rb
|
871
1044
|
- spec/support/models/filesystem.rb
|
872
1045
|
- spec/support/models/fire_hydrant.rb
|
@@ -878,6 +1051,7 @@ files:
|
|
878
1051
|
- spec/support/models/game.rb
|
879
1052
|
- spec/support/models/ghost.rb
|
880
1053
|
- spec/support/models/guitar.rb
|
1054
|
+
- spec/support/models/hole.rb
|
881
1055
|
- spec/support/models/home.rb
|
882
1056
|
- spec/support/models/house.rb
|
883
1057
|
- spec/support/models/html_writer.rb
|
@@ -911,6 +1085,7 @@ files:
|
|
911
1085
|
- spec/support/models/name_only.rb
|
912
1086
|
- spec/support/models/node.rb
|
913
1087
|
- spec/support/models/note.rb
|
1088
|
+
- spec/support/models/nut.rb
|
914
1089
|
- spec/support/models/odd.rb
|
915
1090
|
- spec/support/models/order.rb
|
916
1091
|
- spec/support/models/ordered_post.rb
|
@@ -950,6 +1125,8 @@ files:
|
|
950
1125
|
- spec/support/models/publication/encyclopedia.rb
|
951
1126
|
- spec/support/models/publication/review.rb
|
952
1127
|
- spec/support/models/purchase.rb
|
1128
|
+
- spec/support/models/purchased_item.rb
|
1129
|
+
- spec/support/models/purse.rb
|
953
1130
|
- spec/support/models/question.rb
|
954
1131
|
- spec/support/models/quiz.rb
|
955
1132
|
- spec/support/models/rating.rb
|
@@ -957,9 +1134,16 @@ files:
|
|
957
1134
|
- spec/support/models/registry.rb
|
958
1135
|
- spec/support/models/role.rb
|
959
1136
|
- spec/support/models/root_category.rb
|
1137
|
+
- spec/support/models/sandbox/app/models/app_models_message.rb
|
1138
|
+
- spec/support/models/sandbox/lib/models/lib_models_message.rb
|
1139
|
+
- spec/support/models/sandbox/sandbox_message.rb
|
1140
|
+
- spec/support/models/sandbox/sandbox_user.rb
|
1141
|
+
- spec/support/models/sandbox/subdir/sandbox_comment.rb
|
960
1142
|
- spec/support/models/sandwich.rb
|
961
1143
|
- spec/support/models/scheduler.rb
|
1144
|
+
- spec/support/models/school.rb
|
962
1145
|
- spec/support/models/scribe.rb
|
1146
|
+
- spec/support/models/sealer.rb
|
963
1147
|
- spec/support/models/seat.rb
|
964
1148
|
- spec/support/models/seo.rb
|
965
1149
|
- spec/support/models/series.rb
|
@@ -967,9 +1151,11 @@ files:
|
|
967
1151
|
- spec/support/models/service.rb
|
968
1152
|
- spec/support/models/shape.rb
|
969
1153
|
- spec/support/models/shelf.rb
|
1154
|
+
- spec/support/models/shield.rb
|
970
1155
|
- spec/support/models/shipment_address.rb
|
971
1156
|
- spec/support/models/shipping_container.rb
|
972
1157
|
- spec/support/models/shipping_pack.rb
|
1158
|
+
- spec/support/models/shirt.rb
|
973
1159
|
- spec/support/models/shop.rb
|
974
1160
|
- spec/support/models/short_agent.rb
|
975
1161
|
- spec/support/models/short_quiz.rb
|
@@ -977,6 +1163,7 @@ files:
|
|
977
1163
|
- spec/support/models/slave.rb
|
978
1164
|
- spec/support/models/song.rb
|
979
1165
|
- spec/support/models/sound.rb
|
1166
|
+
- spec/support/models/spacer.rb
|
980
1167
|
- spec/support/models/square.rb
|
981
1168
|
- spec/support/models/staff.rb
|
982
1169
|
- spec/support/models/store_as_dup_test1.rb
|
@@ -984,6 +1171,7 @@ files:
|
|
984
1171
|
- spec/support/models/store_as_dup_test3.rb
|
985
1172
|
- spec/support/models/store_as_dup_test4.rb
|
986
1173
|
- spec/support/models/strategy.rb
|
1174
|
+
- spec/support/models/student.rb
|
987
1175
|
- spec/support/models/sub_item.rb
|
988
1176
|
- spec/support/models/subscription.rb
|
989
1177
|
- spec/support/models/survey.rb
|
@@ -993,6 +1181,7 @@ files:
|
|
993
1181
|
- spec/support/models/target.rb
|
994
1182
|
- spec/support/models/template.rb
|
995
1183
|
- spec/support/models/thing.rb
|
1184
|
+
- spec/support/models/threadlocker.rb
|
996
1185
|
- spec/support/models/title.rb
|
997
1186
|
- spec/support/models/tool.rb
|
998
1187
|
- spec/support/models/topping.rb
|
@@ -1011,13 +1200,25 @@ files:
|
|
1011
1200
|
- spec/support/models/vet_visit.rb
|
1012
1201
|
- spec/support/models/video.rb
|
1013
1202
|
- spec/support/models/video_game.rb
|
1203
|
+
- spec/support/models/washer.rb
|
1014
1204
|
- spec/support/models/weapon.rb
|
1015
1205
|
- spec/support/models/wiki_page.rb
|
1016
1206
|
- spec/support/models/word.rb
|
1017
1207
|
- spec/support/models/word_origin.rb
|
1018
1208
|
- spec/support/models/writer.rb
|
1019
|
-
- spec/support/
|
1209
|
+
- spec/support/rails_mock.rb
|
1210
|
+
- spec/support/schema_maps/schema_map_aws.json
|
1211
|
+
- spec/support/schema_maps/schema_map_aws_key_alt_names.json
|
1212
|
+
- spec/support/schema_maps/schema_map_azure.json
|
1213
|
+
- spec/support/schema_maps/schema_map_azure_key_alt_names.json
|
1214
|
+
- spec/support/schema_maps/schema_map_gcp.json
|
1215
|
+
- spec/support/schema_maps/schema_map_gcp_key_alt_names.json
|
1216
|
+
- spec/support/schema_maps/schema_map_kmip.json
|
1217
|
+
- spec/support/schema_maps/schema_map_kmip_key_alt_names.json
|
1218
|
+
- spec/support/schema_maps/schema_map_local.json
|
1219
|
+
- spec/support/schema_maps/schema_map_local_key_alt_names.json
|
1020
1220
|
- spec/support/shared/time.rb
|
1221
|
+
- spec/support/sinatra_mock.rb
|
1021
1222
|
- spec/support/spec_config.rb
|
1022
1223
|
homepage: https://mongoid.org
|
1023
1224
|
licenses:
|
@@ -1025,10 +1226,10 @@ licenses:
|
|
1025
1226
|
metadata:
|
1026
1227
|
bug_tracker_uri: https://jira.mongodb.org/projects/MONGOID
|
1027
1228
|
changelog_uri: https://github.com/mongodb/mongoid/releases
|
1028
|
-
documentation_uri: https://
|
1229
|
+
documentation_uri: https://www.mongodb.com/docs/mongoid/
|
1029
1230
|
homepage_uri: https://mongoid.org/
|
1030
1231
|
source_code_uri: https://github.com/mongodb/mongoid
|
1031
|
-
post_install_message:
|
1232
|
+
post_install_message:
|
1032
1233
|
rdoc_options: []
|
1033
1234
|
require_paths:
|
1034
1235
|
- lib
|
@@ -1036,609 +1237,729 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1036
1237
|
requirements:
|
1037
1238
|
- - ">="
|
1038
1239
|
- !ruby/object:Gem::Version
|
1039
|
-
version: '2.
|
1240
|
+
version: '2.7'
|
1040
1241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1041
1242
|
requirements:
|
1042
1243
|
- - ">="
|
1043
1244
|
- !ruby/object:Gem::Version
|
1044
1245
|
version: 1.3.6
|
1045
1246
|
requirements: []
|
1046
|
-
|
1047
|
-
|
1048
|
-
signing_key:
|
1247
|
+
rubygems_version: 3.3.15
|
1248
|
+
signing_key:
|
1049
1249
|
specification_version: 4
|
1050
1250
|
summary: Elegant Persistence in Ruby for MongoDB.
|
1051
1251
|
test_files:
|
1052
|
-
- spec/
|
1252
|
+
- spec/README.md
|
1053
1253
|
- spec/config/mongoid.yml
|
1054
|
-
- spec/
|
1055
|
-
- spec/
|
1056
|
-
- spec/
|
1057
|
-
- spec/
|
1058
|
-
- spec/
|
1059
|
-
- spec/
|
1060
|
-
- spec/
|
1254
|
+
- spec/config/mongoid_with_schema_map_uuid.yml
|
1255
|
+
- spec/integration/active_job_spec.rb
|
1256
|
+
- spec/integration/app_spec.rb
|
1257
|
+
- spec/integration/associations/belongs_to_spec.rb
|
1258
|
+
- spec/integration/associations/embedded_dirty_spec.rb
|
1259
|
+
- spec/integration/associations/embedded_spec.rb
|
1260
|
+
- spec/integration/associations/embeds_many_spec.rb
|
1261
|
+
- spec/integration/associations/embeds_one_spec.rb
|
1262
|
+
- spec/integration/associations/foreign_key_spec.rb
|
1263
|
+
- spec/integration/associations/foreign_key_spec_models.rb
|
1264
|
+
- spec/integration/associations/has_and_belongs_to_many_spec.rb
|
1265
|
+
- spec/integration/associations/has_many_spec.rb
|
1266
|
+
- spec/integration/associations/has_one_spec.rb
|
1267
|
+
- spec/integration/associations/nested_attributes_assignment_spec.rb
|
1268
|
+
- spec/integration/associations/reverse_population_spec.rb
|
1269
|
+
- spec/integration/associations/reverse_population_spec_models.rb
|
1270
|
+
- spec/integration/associations/scope_option_spec.rb
|
1271
|
+
- spec/integration/atomic/modifiers_spec.rb
|
1272
|
+
- spec/integration/bson_regexp_raw_spec.rb
|
1273
|
+
- spec/integration/callbacks_models.rb
|
1274
|
+
- spec/integration/callbacks_spec.rb
|
1275
|
+
- spec/integration/contextual/empty_spec.rb
|
1276
|
+
- spec/integration/criteria/alias_query_spec.rb
|
1277
|
+
- spec/integration/criteria/date_field_spec.rb
|
1278
|
+
- spec/integration/criteria/default_scope_spec.rb
|
1279
|
+
- spec/integration/criteria/logical_spec.rb
|
1280
|
+
- spec/integration/criteria/range_spec.rb
|
1281
|
+
- spec/integration/criteria/raw_value_spec.rb
|
1282
|
+
- spec/integration/criteria/time_with_zone_spec.rb
|
1283
|
+
- spec/integration/discriminator_key_spec.rb
|
1284
|
+
- spec/integration/discriminator_value_spec.rb
|
1285
|
+
- spec/integration/document_spec.rb
|
1286
|
+
- spec/integration/dots_and_dollars_spec.rb
|
1287
|
+
- spec/integration/encryption_spec.rb
|
1288
|
+
- spec/integration/i18n_fallbacks_spec.rb
|
1289
|
+
- spec/integration/matcher_examples_spec.rb
|
1290
|
+
- spec/integration/matcher_operator_data/all.yml
|
1291
|
+
- spec/integration/matcher_operator_data/and.yml
|
1292
|
+
- spec/integration/matcher_operator_data/bits_all_clear.yml
|
1293
|
+
- spec/integration/matcher_operator_data/bits_all_set.yml
|
1294
|
+
- spec/integration/matcher_operator_data/bits_any_clear.yml
|
1295
|
+
- spec/integration/matcher_operator_data/bits_any_set.yml
|
1296
|
+
- spec/integration/matcher_operator_data/comment.yml
|
1297
|
+
- spec/integration/matcher_operator_data/elem_match.yml
|
1298
|
+
- spec/integration/matcher_operator_data/elem_match_expr.yml
|
1299
|
+
- spec/integration/matcher_operator_data/eq.yml
|
1300
|
+
- spec/integration/matcher_operator_data/exists.yml
|
1301
|
+
- spec/integration/matcher_operator_data/generic_op.yml
|
1302
|
+
- spec/integration/matcher_operator_data/gt.yml
|
1303
|
+
- spec/integration/matcher_operator_data/gt_types.yml
|
1304
|
+
- spec/integration/matcher_operator_data/gte.yml
|
1305
|
+
- spec/integration/matcher_operator_data/gte_types.yml
|
1306
|
+
- spec/integration/matcher_operator_data/implicit.yml
|
1307
|
+
- spec/integration/matcher_operator_data/implicit_traversal.yml
|
1308
|
+
- spec/integration/matcher_operator_data/in.yml
|
1309
|
+
- spec/integration/matcher_operator_data/invalid_op.yml
|
1310
|
+
- spec/integration/matcher_operator_data/invalid_syntax.yml
|
1311
|
+
- spec/integration/matcher_operator_data/lt.yml
|
1312
|
+
- spec/integration/matcher_operator_data/lt_types.yml
|
1313
|
+
- spec/integration/matcher_operator_data/lte.yml
|
1314
|
+
- spec/integration/matcher_operator_data/lte_types.yml
|
1315
|
+
- spec/integration/matcher_operator_data/mod.yml
|
1316
|
+
- spec/integration/matcher_operator_data/multiple.yml
|
1317
|
+
- spec/integration/matcher_operator_data/ne.yml
|
1318
|
+
- spec/integration/matcher_operator_data/ne_types.yml
|
1319
|
+
- spec/integration/matcher_operator_data/nin.yml
|
1320
|
+
- spec/integration/matcher_operator_data/nor.yml
|
1321
|
+
- spec/integration/matcher_operator_data/not.yml
|
1322
|
+
- spec/integration/matcher_operator_data/or.yml
|
1323
|
+
- spec/integration/matcher_operator_data/regex.yml
|
1324
|
+
- spec/integration/matcher_operator_data/regex_options.yml
|
1325
|
+
- spec/integration/matcher_operator_data/size.yml
|
1326
|
+
- spec/integration/matcher_operator_data/type.yml
|
1327
|
+
- spec/integration/matcher_operator_data/type_array.yml
|
1328
|
+
- spec/integration/matcher_operator_data/type_binary.yml
|
1329
|
+
- spec/integration/matcher_operator_data/type_boolean.yml
|
1330
|
+
- spec/integration/matcher_operator_data/type_code.yml
|
1331
|
+
- spec/integration/matcher_operator_data/type_code_with_scope.yml
|
1332
|
+
- spec/integration/matcher_operator_data/type_date.yml
|
1333
|
+
- spec/integration/matcher_operator_data/type_db_pointer.yml
|
1334
|
+
- spec/integration/matcher_operator_data/type_decimal.yml
|
1335
|
+
- spec/integration/matcher_operator_data/type_double.yml
|
1336
|
+
- spec/integration/matcher_operator_data/type_int32.yml
|
1337
|
+
- spec/integration/matcher_operator_data/type_int64.yml
|
1338
|
+
- spec/integration/matcher_operator_data/type_max_key.yml
|
1339
|
+
- spec/integration/matcher_operator_data/type_min_key.yml
|
1340
|
+
- spec/integration/matcher_operator_data/type_null.yml
|
1341
|
+
- spec/integration/matcher_operator_data/type_object.yml
|
1342
|
+
- spec/integration/matcher_operator_data/type_object_id.yml
|
1343
|
+
- spec/integration/matcher_operator_data/type_regex.yml
|
1344
|
+
- spec/integration/matcher_operator_data/type_string.yml
|
1345
|
+
- spec/integration/matcher_operator_data/type_symbol.yml
|
1346
|
+
- spec/integration/matcher_operator_data/type_timestamp.yml
|
1347
|
+
- spec/integration/matcher_operator_data/type_undefined.yml
|
1348
|
+
- spec/integration/matcher_operator_spec.rb
|
1349
|
+
- spec/integration/matcher_spec.rb
|
1350
|
+
- spec/integration/persistence/range_field_spec.rb
|
1351
|
+
- spec/integration/server_query_spec.rb
|
1352
|
+
- spec/integration/shardable_spec.rb
|
1353
|
+
- spec/integration/stringified_symbol_field_spec.rb
|
1354
|
+
- spec/lite_spec_helper.rb
|
1355
|
+
- spec/mongoid/association/accessors_spec.rb
|
1356
|
+
- spec/mongoid/association/auto_save_spec.rb
|
1357
|
+
- spec/mongoid/association/builders_spec.rb
|
1358
|
+
- spec/mongoid/association/constrainable_spec.rb
|
1359
|
+
- spec/mongoid/association/counter_cache_spec.rb
|
1360
|
+
- spec/mongoid/association/depending_spec.rb
|
1361
|
+
- spec/mongoid/association/eager_spec.rb
|
1061
1362
|
- spec/mongoid/association/embedded/cyclic_spec.rb
|
1363
|
+
- spec/mongoid/association/embedded/dirty_spec.rb
|
1062
1364
|
- spec/mongoid/association/embedded/embedded_in/binding_spec.rb
|
1063
1365
|
- spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
|
1064
1366
|
- spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
|
1065
|
-
- spec/mongoid/association/embedded/
|
1066
|
-
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
1067
|
-
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
1068
|
-
- spec/mongoid/association/embedded/embeds_one_dnl_models.rb
|
1367
|
+
- spec/mongoid/association/embedded/embedded_in_spec.rb
|
1069
1368
|
- spec/mongoid/association/embedded/embeds_many/binding_spec.rb
|
1070
1369
|
- spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
|
1071
1370
|
- spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
|
1072
|
-
- spec/mongoid/association/embedded/embeds_one_query_spec.rb
|
1073
1371
|
- spec/mongoid/association/embedded/embeds_many_models.rb
|
1074
1372
|
- spec/mongoid/association/embedded/embeds_many_query_spec.rb
|
1075
|
-
- spec/mongoid/association/embedded/
|
1373
|
+
- spec/mongoid/association/embedded/embeds_many_spec.rb
|
1374
|
+
- spec/mongoid/association/embedded/embeds_one/binding_spec.rb
|
1375
|
+
- spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
|
1376
|
+
- spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
|
1377
|
+
- spec/mongoid/association/embedded/embeds_one_dnl_models.rb
|
1076
1378
|
- spec/mongoid/association/embedded/embeds_one_models.rb
|
1077
|
-
- spec/mongoid/association/embedded/
|
1379
|
+
- spec/mongoid/association/embedded/embeds_one_query_spec.rb
|
1380
|
+
- spec/mongoid/association/embedded/embeds_one_spec.rb
|
1078
1381
|
- spec/mongoid/association/macros_spec.rb
|
1079
|
-
- spec/mongoid/association/syncable_spec.rb
|
1080
|
-
- spec/mongoid/association/auto_save_spec.rb
|
1081
|
-
- spec/mongoid/association/constrainable_spec.rb
|
1082
|
-
- spec/mongoid/association/builders_spec.rb
|
1083
|
-
- spec/mongoid/association/eager_spec.rb
|
1084
|
-
- spec/mongoid/association/counter_cache_spec.rb
|
1085
|
-
- spec/mongoid/association/nested/one_spec.rb
|
1086
1382
|
- spec/mongoid/association/nested/many_spec.rb
|
1087
|
-
- spec/mongoid/association/
|
1088
|
-
- spec/mongoid/association/
|
1383
|
+
- spec/mongoid/association/nested/one_spec.rb
|
1384
|
+
- spec/mongoid/association/options_spec.rb
|
1385
|
+
- spec/mongoid/association/polymorphic_spec.rb
|
1386
|
+
- spec/mongoid/association/referenced/belongs_to/binding_spec.rb
|
1387
|
+
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
1388
|
+
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
1389
|
+
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
1390
|
+
- spec/mongoid/association/referenced/belongs_to_models.rb
|
1391
|
+
- spec/mongoid/association/referenced/belongs_to_query_spec.rb
|
1392
|
+
- spec/mongoid/association/referenced/belongs_to_spec.rb
|
1089
1393
|
- spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
|
1090
1394
|
- spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
|
1091
1395
|
- spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
|
1092
|
-
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
1093
1396
|
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
|
1094
|
-
- spec/mongoid/association/referenced/
|
1095
|
-
- spec/mongoid/association/referenced/has_many_query_spec.rb
|
1096
|
-
- spec/mongoid/association/referenced/has_one_spec.rb
|
1097
|
-
- spec/mongoid/association/referenced/has_one_query_spec.rb
|
1098
|
-
- spec/mongoid/association/referenced/belongs_to_query_spec.rb
|
1099
|
-
- spec/mongoid/association/referenced/has_many_models.rb
|
1397
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
|
1100
1398
|
- spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
|
1101
|
-
- spec/mongoid/association/referenced/
|
1102
|
-
- spec/mongoid/association/referenced/
|
1103
|
-
- spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
|
1104
|
-
- spec/mongoid/association/referenced/belongs_to/eager_spec.rb
|
1105
|
-
- spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
|
1399
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
|
1400
|
+
- spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
|
1106
1401
|
- spec/mongoid/association/referenced/has_many/binding_spec.rb
|
1107
1402
|
- spec/mongoid/association/referenced/has_many/buildable_spec.rb
|
1108
1403
|
- spec/mongoid/association/referenced/has_many/eager_spec.rb
|
1404
|
+
- spec/mongoid/association/referenced/has_many/enumerable_spec.rb
|
1109
1405
|
- spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
|
1110
1406
|
- spec/mongoid/association/referenced/has_many/proxy_spec.rb
|
1111
|
-
- spec/mongoid/association/referenced/
|
1407
|
+
- spec/mongoid/association/referenced/has_many_models.rb
|
1408
|
+
- spec/mongoid/association/referenced/has_many_query_spec.rb
|
1409
|
+
- spec/mongoid/association/referenced/has_many_spec.rb
|
1112
1410
|
- spec/mongoid/association/referenced/has_one/binding_spec.rb
|
1113
1411
|
- spec/mongoid/association/referenced/has_one/buildable_spec.rb
|
1114
1412
|
- spec/mongoid/association/referenced/has_one/eager_spec.rb
|
1115
1413
|
- spec/mongoid/association/referenced/has_one/proxy_spec.rb
|
1116
|
-
- spec/mongoid/association/referenced/
|
1117
|
-
- spec/mongoid/association/referenced/
|
1118
|
-
- spec/mongoid/association/referenced/
|
1119
|
-
- spec/mongoid/association/options_spec.rb
|
1414
|
+
- spec/mongoid/association/referenced/has_one_models.rb
|
1415
|
+
- spec/mongoid/association/referenced/has_one_query_spec.rb
|
1416
|
+
- spec/mongoid/association/referenced/has_one_spec.rb
|
1120
1417
|
- spec/mongoid/association/reflections_spec.rb
|
1121
|
-
- spec/mongoid/
|
1122
|
-
- spec/mongoid/indexable/specification_spec.rb
|
1123
|
-
- spec/mongoid/document_persistence_context_spec.rb
|
1124
|
-
- spec/mongoid/extensions/date_class_mongoize_spec.rb
|
1125
|
-
- spec/mongoid/extensions/time_spec.rb
|
1126
|
-
- spec/mongoid/extensions/array_spec.rb
|
1127
|
-
- spec/mongoid/extensions/set_spec.rb
|
1128
|
-
- spec/mongoid/extensions/date_time_spec.rb
|
1129
|
-
- spec/mongoid/extensions/float_spec.rb
|
1130
|
-
- spec/mongoid/extensions/nil_class_spec.rb
|
1131
|
-
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1132
|
-
- spec/mongoid/extensions/string_spec.rb
|
1133
|
-
- spec/mongoid/extensions/false_class_spec.rb
|
1134
|
-
- spec/mongoid/extensions/module_spec.rb
|
1135
|
-
- spec/mongoid/extensions/regexp_spec.rb
|
1136
|
-
- spec/mongoid/extensions/binary_spec.rb
|
1137
|
-
- spec/mongoid/extensions/object_spec.rb
|
1138
|
-
- spec/mongoid/extensions/big_decimal_spec.rb
|
1139
|
-
- spec/mongoid/extensions/decimal128_spec.rb
|
1140
|
-
- spec/mongoid/extensions/boolean_spec.rb
|
1141
|
-
- spec/mongoid/extensions/stringified_symbol_spec.rb
|
1142
|
-
- spec/mongoid/extensions/symbol_spec.rb
|
1143
|
-
- spec/mongoid/extensions/integer_spec.rb
|
1144
|
-
- spec/mongoid/extensions/true_class_spec.rb
|
1145
|
-
- spec/mongoid/extensions/object_id_spec.rb
|
1146
|
-
- spec/mongoid/extensions/range_spec.rb
|
1147
|
-
- spec/mongoid/extensions/hash_spec.rb
|
1148
|
-
- spec/mongoid/extensions/date_spec.rb
|
1149
|
-
- spec/mongoid/touchable_spec.rb
|
1150
|
-
- spec/mongoid/validatable_spec.rb
|
1151
|
-
- spec/mongoid/equality_spec.rb
|
1152
|
-
- spec/mongoid/criteria_spec.rb
|
1153
|
-
- spec/mongoid/persistable/pullable_spec.rb
|
1154
|
-
- spec/mongoid/persistable/settable_spec.rb
|
1155
|
-
- spec/mongoid/persistable/renamable_spec.rb
|
1156
|
-
- spec/mongoid/persistable/deletable_spec.rb
|
1157
|
-
- spec/mongoid/persistable/creatable_spec.rb
|
1158
|
-
- spec/mongoid/persistable/poppable_spec.rb
|
1159
|
-
- spec/mongoid/persistable/pushable_spec.rb
|
1160
|
-
- spec/mongoid/persistable/destroyable_spec.rb
|
1161
|
-
- spec/mongoid/persistable/savable_spec.rb
|
1162
|
-
- spec/mongoid/persistable/incrementable_spec.rb
|
1163
|
-
- spec/mongoid/persistable/updatable_spec.rb
|
1164
|
-
- spec/mongoid/persistable/upsertable_spec.rb
|
1165
|
-
- spec/mongoid/persistable/logical_spec.rb
|
1166
|
-
- spec/mongoid/persistable/unsettable_spec.rb
|
1418
|
+
- spec/mongoid/association/syncable_spec.rb
|
1167
1419
|
- spec/mongoid/association_spec.rb
|
1168
|
-
- spec/mongoid/
|
1169
|
-
- spec/mongoid/
|
1420
|
+
- spec/mongoid/atomic/modifiers_spec.rb
|
1421
|
+
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1422
|
+
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1423
|
+
- spec/mongoid/atomic/paths/root_spec.rb
|
1424
|
+
- spec/mongoid/atomic/paths_spec.rb
|
1425
|
+
- spec/mongoid/atomic_spec.rb
|
1426
|
+
- spec/mongoid/atomic_update_preparer_spec.rb
|
1427
|
+
- spec/mongoid/attributes/dynamic_spec.rb
|
1428
|
+
- spec/mongoid/attributes/embedded_spec.rb
|
1429
|
+
- spec/mongoid/attributes/nested_spec.rb
|
1430
|
+
- spec/mongoid/attributes/nested_spec_models.rb
|
1431
|
+
- spec/mongoid/attributes/projector_data/embedded.yml
|
1432
|
+
- spec/mongoid/attributes/projector_data/fields.yml
|
1433
|
+
- spec/mongoid/attributes/projector_spec.rb
|
1434
|
+
- spec/mongoid/attributes/readonly_spec.rb
|
1435
|
+
- spec/mongoid/attributes_spec.rb
|
1436
|
+
- spec/mongoid/cacheable_spec.rb
|
1437
|
+
- spec/mongoid/changeable_spec.rb
|
1170
1438
|
- spec/mongoid/clients/factory_spec.rb
|
1171
|
-
- spec/mongoid/clients/transactions_spec.rb
|
1172
1439
|
- spec/mongoid/clients/options_spec.rb
|
1173
|
-
- spec/mongoid/
|
1174
|
-
- spec/mongoid/
|
1175
|
-
- spec/mongoid/
|
1176
|
-
- spec/mongoid/
|
1177
|
-
- spec/mongoid/
|
1178
|
-
- spec/mongoid/
|
1179
|
-
- spec/mongoid/
|
1180
|
-
- spec/mongoid/
|
1181
|
-
- spec/mongoid/
|
1182
|
-
- spec/mongoid/
|
1183
|
-
- spec/mongoid/
|
1184
|
-
- spec/mongoid/
|
1185
|
-
- spec/mongoid/validatable/format_spec.rb
|
1186
|
-
- spec/mongoid/validatable/presence_spec.rb
|
1187
|
-
- spec/mongoid/validatable/numericality_spec.rb
|
1188
|
-
- spec/mongoid/validatable/uniqueness_spec.rb
|
1189
|
-
- spec/mongoid/contextual/geo_near_spec.rb
|
1190
|
-
- spec/mongoid/contextual/mongo_spec.rb
|
1191
|
-
- spec/mongoid/contextual/memory_spec.rb
|
1192
|
-
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1440
|
+
- spec/mongoid/clients/sessions_spec.rb
|
1441
|
+
- spec/mongoid/clients/transactions_spec.rb
|
1442
|
+
- spec/mongoid/clients/transactions_spec_models.rb
|
1443
|
+
- spec/mongoid/clients_spec.rb
|
1444
|
+
- spec/mongoid/collection_configurable_spec.rb
|
1445
|
+
- spec/mongoid/composable_spec.rb
|
1446
|
+
- spec/mongoid/config/defaults_spec.rb
|
1447
|
+
- spec/mongoid/config/encryption_spec.rb
|
1448
|
+
- spec/mongoid/config/environment_spec.rb
|
1449
|
+
- spec/mongoid/config/introspection_spec.rb
|
1450
|
+
- spec/mongoid/config/options_spec.rb
|
1451
|
+
- spec/mongoid/config_spec.rb
|
1193
1452
|
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
1453
|
+
- spec/mongoid/contextual/aggregable/memory_table.yml
|
1454
|
+
- spec/mongoid/contextual/aggregable/memory_table_spec.rb
|
1455
|
+
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1456
|
+
- spec/mongoid/contextual/aggregable/none_spec.rb
|
1194
1457
|
- spec/mongoid/contextual/atomic_spec.rb
|
1195
|
-
- spec/mongoid/contextual/none_spec.rb
|
1196
1458
|
- spec/mongoid/contextual/map_reduce_spec.rb
|
1197
|
-
- spec/mongoid/
|
1198
|
-
- spec/mongoid/
|
1199
|
-
- spec/mongoid/
|
1200
|
-
- spec/mongoid/
|
1201
|
-
- spec/mongoid/
|
1202
|
-
- spec/mongoid/
|
1203
|
-
- spec/mongoid/
|
1204
|
-
- spec/mongoid/
|
1205
|
-
- spec/mongoid/
|
1206
|
-
- spec/mongoid/
|
1207
|
-
- spec/mongoid/
|
1208
|
-
- spec/mongoid/
|
1209
|
-
- spec/mongoid/
|
1459
|
+
- spec/mongoid/contextual/memory_spec.rb
|
1460
|
+
- spec/mongoid/contextual/mongo/documents_loader_spec.rb
|
1461
|
+
- spec/mongoid/contextual/mongo_spec.rb
|
1462
|
+
- spec/mongoid/contextual/none_spec.rb
|
1463
|
+
- spec/mongoid/copyable_spec.rb
|
1464
|
+
- spec/mongoid/copyable_spec_models.rb
|
1465
|
+
- spec/mongoid/criteria/findable_spec.rb
|
1466
|
+
- spec/mongoid/criteria/includable_spec.rb
|
1467
|
+
- spec/mongoid/criteria/includable_spec_models.rb
|
1468
|
+
- spec/mongoid/criteria/inspectable_spec.rb
|
1469
|
+
- spec/mongoid/criteria/marshalable_spec.rb
|
1470
|
+
- spec/mongoid/criteria/modifiable_spec.rb
|
1471
|
+
- spec/mongoid/criteria/options_spec.rb
|
1472
|
+
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1473
|
+
- spec/mongoid/criteria/queryable/expandable_spec.rb
|
1474
|
+
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1475
|
+
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1476
|
+
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1477
|
+
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1478
|
+
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1479
|
+
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1480
|
+
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1481
|
+
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1482
|
+
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1483
|
+
- spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
|
1484
|
+
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1485
|
+
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1486
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1487
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1488
|
+
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1489
|
+
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1490
|
+
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1491
|
+
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1492
|
+
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1493
|
+
- spec/mongoid/criteria/queryable/key_spec.rb
|
1494
|
+
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1495
|
+
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1496
|
+
- spec/mongoid/criteria/queryable/options_spec.rb
|
1497
|
+
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1498
|
+
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1499
|
+
- spec/mongoid/criteria/queryable/selectable_logical_spec.rb
|
1500
|
+
- spec/mongoid/criteria/queryable/selectable_shared_examples.rb
|
1501
|
+
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1502
|
+
- spec/mongoid/criteria/queryable/selectable_where_spec.rb
|
1503
|
+
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1504
|
+
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1505
|
+
- spec/mongoid/criteria/queryable/storable_spec.rb
|
1506
|
+
- spec/mongoid/criteria/scopable_spec.rb
|
1507
|
+
- spec/mongoid/criteria/translator_spec.rb
|
1508
|
+
- spec/mongoid/criteria_projection_spec.rb
|
1509
|
+
- spec/mongoid/criteria_spec.rb
|
1210
1510
|
- spec/mongoid/document_fields_spec.rb
|
1211
|
-
- spec/mongoid/
|
1212
|
-
- spec/mongoid/
|
1213
|
-
- spec/mongoid/
|
1214
|
-
- spec/mongoid/
|
1215
|
-
- spec/mongoid/cacheable_spec.rb
|
1216
|
-
- spec/mongoid/loggable_spec.rb
|
1217
|
-
- spec/mongoid/attributes_spec.rb
|
1218
|
-
- spec/mongoid/tasks/database_spec.rb
|
1219
|
-
- spec/mongoid/tasks/database_rake_spec.rb
|
1220
|
-
- spec/mongoid/errors/readonly_document_spec.rb
|
1221
|
-
- spec/mongoid/errors/mixed_relations_spec.rb
|
1222
|
-
- spec/mongoid/errors/no_metadata_spec.rb
|
1511
|
+
- spec/mongoid/document_persistence_context_spec.rb
|
1512
|
+
- spec/mongoid/document_query_spec.rb
|
1513
|
+
- spec/mongoid/document_spec.rb
|
1514
|
+
- spec/mongoid/equality_spec.rb
|
1223
1515
|
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
1516
|
+
- spec/mongoid/errors/attribute_not_loaded_spec.rb
|
1517
|
+
- spec/mongoid/errors/callback_spec.rb
|
1518
|
+
- spec/mongoid/errors/delete_restriction_spec.rb
|
1519
|
+
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1520
|
+
- spec/mongoid/errors/document_not_found_spec.rb
|
1224
1521
|
- spec/mongoid/errors/invalid_collection_spec.rb
|
1225
|
-
- spec/mongoid/errors/
|
1226
|
-
- spec/mongoid/errors/mongoid_error_spec.rb
|
1227
|
-
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1228
|
-
- spec/mongoid/errors/invalid_index_spec.rb
|
1229
|
-
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1230
|
-
- spec/mongoid/errors/invalid_options_spec.rb
|
1231
|
-
- spec/mongoid/errors/no_environment_spec.rb
|
1232
|
-
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1233
|
-
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1234
|
-
- spec/mongoid/errors/no_client_database_spec.rb
|
1235
|
-
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1522
|
+
- spec/mongoid/errors/invalid_config_file_spec.rb
|
1236
1523
|
- spec/mongoid/errors/invalid_config_option_spec.rb
|
1237
|
-
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1238
|
-
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1239
|
-
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1240
1524
|
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1241
|
-
- spec/mongoid/errors/
|
1525
|
+
- spec/mongoid/errors/invalid_field_spec.rb
|
1526
|
+
- spec/mongoid/errors/invalid_field_type_spec.rb
|
1242
1527
|
- spec/mongoid/errors/invalid_find_spec.rb
|
1243
|
-
- spec/mongoid/errors/document_not_found_spec.rb
|
1244
|
-
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1245
1528
|
- spec/mongoid/errors/invalid_includes_spec.rb
|
1246
|
-
- spec/mongoid/errors/
|
1247
|
-
- spec/mongoid/errors/
|
1248
|
-
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1249
|
-
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1250
|
-
- spec/mongoid/errors/eager_load_spec.rb
|
1251
|
-
- spec/mongoid/errors/invalid_time_spec.rb
|
1529
|
+
- spec/mongoid/errors/invalid_index_spec.rb
|
1530
|
+
- spec/mongoid/errors/invalid_options_spec.rb
|
1252
1531
|
- spec/mongoid/errors/invalid_path_spec.rb
|
1253
|
-
- spec/mongoid/errors/
|
1254
|
-
- spec/mongoid/errors/
|
1532
|
+
- spec/mongoid/errors/invalid_relation_spec.rb
|
1533
|
+
- spec/mongoid/errors/invalid_scope_spec.rb
|
1255
1534
|
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1535
|
+
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1536
|
+
- spec/mongoid/errors/invalid_time_spec.rb
|
1537
|
+
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1538
|
+
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1539
|
+
- spec/mongoid/errors/mixed_relations_spec.rb
|
1540
|
+
- spec/mongoid/errors/mongoid_error_spec.rb
|
1541
|
+
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1542
|
+
- spec/mongoid/errors/no_client_config_spec.rb
|
1543
|
+
- spec/mongoid/errors/no_client_database_spec.rb
|
1256
1544
|
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1257
1545
|
- spec/mongoid/errors/no_clients_config_spec.rb
|
1546
|
+
- spec/mongoid/errors/no_environment_spec.rb
|
1547
|
+
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1548
|
+
- spec/mongoid/errors/no_metadata_spec.rb
|
1549
|
+
- spec/mongoid/errors/no_parent_spec.rb
|
1550
|
+
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1551
|
+
- spec/mongoid/errors/readonly_document_spec.rb
|
1552
|
+
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1553
|
+
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1554
|
+
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1555
|
+
- spec/mongoid/errors/unsaved_document_spec.rb
|
1556
|
+
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1258
1557
|
- spec/mongoid/errors/validations_spec.rb
|
1259
|
-
- spec/mongoid/
|
1260
|
-
- spec/mongoid/
|
1261
|
-
- spec/mongoid/
|
1558
|
+
- spec/mongoid/extensions/array_spec.rb
|
1559
|
+
- spec/mongoid/extensions/big_decimal_spec.rb
|
1560
|
+
- spec/mongoid/extensions/binary_spec.rb
|
1561
|
+
- spec/mongoid/extensions/boolean_spec.rb
|
1562
|
+
- spec/mongoid/extensions/date_class_mongoize_spec.rb
|
1563
|
+
- spec/mongoid/extensions/date_spec.rb
|
1564
|
+
- spec/mongoid/extensions/date_time_spec.rb
|
1565
|
+
- spec/mongoid/extensions/decimal128_spec.rb
|
1566
|
+
- spec/mongoid/extensions/false_class_spec.rb
|
1567
|
+
- spec/mongoid/extensions/float_spec.rb
|
1568
|
+
- spec/mongoid/extensions/hash_spec.rb
|
1569
|
+
- spec/mongoid/extensions/integer_spec.rb
|
1570
|
+
- spec/mongoid/extensions/module_spec.rb
|
1571
|
+
- spec/mongoid/extensions/nil_class_spec.rb
|
1572
|
+
- spec/mongoid/extensions/object_id_spec.rb
|
1573
|
+
- spec/mongoid/extensions/object_spec.rb
|
1574
|
+
- spec/mongoid/extensions/range_spec.rb
|
1575
|
+
- spec/mongoid/extensions/raw_value_spec.rb
|
1576
|
+
- spec/mongoid/extensions/regexp_spec.rb
|
1577
|
+
- spec/mongoid/extensions/set_spec.rb
|
1578
|
+
- spec/mongoid/extensions/string_spec.rb
|
1579
|
+
- spec/mongoid/extensions/stringified_symbol_spec.rb
|
1580
|
+
- spec/mongoid/extensions/symbol_spec.rb
|
1581
|
+
- spec/mongoid/extensions/time_spec.rb
|
1582
|
+
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1583
|
+
- spec/mongoid/extensions/true_class_spec.rb
|
1584
|
+
- spec/mongoid/factory_spec.rb
|
1585
|
+
- spec/mongoid/fields/foreign_key_spec.rb
|
1586
|
+
- spec/mongoid/fields/localized_spec.rb
|
1587
|
+
- spec/mongoid/fields/standard_spec.rb
|
1588
|
+
- spec/mongoid/fields_spec.rb
|
1589
|
+
- spec/mongoid/findable_spec.rb
|
1590
|
+
- spec/mongoid/indexable/specification_spec.rb
|
1591
|
+
- spec/mongoid/indexable_spec.rb
|
1592
|
+
- spec/mongoid/inspectable_spec.rb
|
1593
|
+
- spec/mongoid/interceptable_spec.rb
|
1594
|
+
- spec/mongoid/interceptable_spec_models.rb
|
1595
|
+
- spec/mongoid/loading_spec.rb
|
1596
|
+
- spec/mongoid/loggable_spec.rb
|
1597
|
+
- spec/mongoid/matcher/extract_attribute_data/numeric_keys.yml
|
1262
1598
|
- spec/mongoid/matcher/extract_attribute_data/traversal.yml
|
1263
|
-
- spec/mongoid/
|
1264
|
-
- spec/mongoid/
|
1265
|
-
- spec/mongoid/
|
1266
|
-
- spec/mongoid/
|
1267
|
-
- spec/mongoid/
|
1268
|
-
- spec/mongoid/
|
1269
|
-
- spec/mongoid/
|
1270
|
-
- spec/mongoid/
|
1271
|
-
- spec/mongoid/
|
1272
|
-
- spec/mongoid/
|
1273
|
-
- spec/mongoid/
|
1274
|
-
- spec/mongoid/
|
1275
|
-
- spec/mongoid/
|
1276
|
-
- spec/mongoid/
|
1277
|
-
- spec/mongoid/
|
1278
|
-
- spec/mongoid/
|
1279
|
-
- spec/mongoid/
|
1280
|
-
- spec/mongoid/
|
1281
|
-
- spec/mongoid/
|
1282
|
-
- spec/mongoid/
|
1283
|
-
- spec/mongoid/
|
1284
|
-
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1285
|
-
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1286
|
-
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1287
|
-
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1288
|
-
- spec/mongoid/criteria/queryable/storable_spec.rb
|
1289
|
-
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1290
|
-
- spec/mongoid/criteria/queryable/selectable_logical_spec.rb
|
1291
|
-
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1292
|
-
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1293
|
-
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1294
|
-
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1295
|
-
- spec/mongoid/criteria/queryable/expandable_spec.rb
|
1296
|
-
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1297
|
-
- spec/mongoid/criteria/queryable/key_spec.rb
|
1298
|
-
- spec/mongoid/criteria/queryable/options_spec.rb
|
1299
|
-
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1300
|
-
- spec/mongoid/criteria/marshalable_spec.rb
|
1301
|
-
- spec/mongoid/criteria/findable_spec.rb
|
1302
|
-
- spec/mongoid/criteria/inspectable_spec.rb
|
1303
|
-
- spec/mongoid/criteria/scopable_spec.rb
|
1304
|
-
- spec/mongoid/criteria/modifiable_spec.rb
|
1305
|
-
- spec/mongoid/criteria/options_spec.rb
|
1599
|
+
- spec/mongoid/matcher/extract_attribute_spec.rb
|
1600
|
+
- spec/mongoid/mongoizable_spec.rb
|
1601
|
+
- spec/mongoid/monkey_patches_spec.rb
|
1602
|
+
- spec/mongoid/persistable/creatable_spec.rb
|
1603
|
+
- spec/mongoid/persistable/deletable_spec.rb
|
1604
|
+
- spec/mongoid/persistable/destroyable_spec.rb
|
1605
|
+
- spec/mongoid/persistable/incrementable_spec.rb
|
1606
|
+
- spec/mongoid/persistable/logical_spec.rb
|
1607
|
+
- spec/mongoid/persistable/maxable_spec.rb
|
1608
|
+
- spec/mongoid/persistable/minable_spec.rb
|
1609
|
+
- spec/mongoid/persistable/multipliable_spec.rb
|
1610
|
+
- spec/mongoid/persistable/poppable_spec.rb
|
1611
|
+
- spec/mongoid/persistable/pullable_spec.rb
|
1612
|
+
- spec/mongoid/persistable/pushable_spec.rb
|
1613
|
+
- spec/mongoid/persistable/renamable_spec.rb
|
1614
|
+
- spec/mongoid/persistable/savable_spec.rb
|
1615
|
+
- spec/mongoid/persistable/settable_spec.rb
|
1616
|
+
- spec/mongoid/persistable/unsettable_spec.rb
|
1617
|
+
- spec/mongoid/persistable/updatable_spec.rb
|
1618
|
+
- spec/mongoid/persistable/upsertable_spec.rb
|
1619
|
+
- spec/mongoid/persistable_spec.rb
|
1306
1620
|
- spec/mongoid/persistence_context_spec.rb
|
1621
|
+
- spec/mongoid/positional_spec.rb
|
1622
|
+
- spec/mongoid/railties/bson_object_id_serializer_spec.rb
|
1623
|
+
- spec/mongoid/railties/console_sandbox_spec.rb
|
1307
1624
|
- spec/mongoid/relations/proxy_spec.rb
|
1308
|
-
- spec/mongoid/
|
1309
|
-
- spec/mongoid/
|
1310
|
-
- spec/mongoid/
|
1311
|
-
- spec/mongoid/stateful_spec.rb
|
1312
|
-
- spec/mongoid/attributes/readonly_spec.rb
|
1313
|
-
- spec/mongoid/attributes/nested_spec.rb
|
1314
|
-
- spec/mongoid/attributes/dynamic_spec.rb
|
1315
|
-
- spec/mongoid/interceptable_spec_models.rb
|
1316
|
-
- spec/mongoid/indexable_spec.rb
|
1317
|
-
- spec/mongoid/document_query_spec.rb
|
1625
|
+
- spec/mongoid/reloadable_spec.rb
|
1626
|
+
- spec/mongoid/scopable_spec.rb
|
1627
|
+
- spec/mongoid/search_indexable_spec.rb
|
1318
1628
|
- spec/mongoid/selectable_spec.rb
|
1319
|
-
- spec/mongoid/
|
1629
|
+
- spec/mongoid/serializable_spec.rb
|
1630
|
+
- spec/mongoid/shardable_models.rb
|
1631
|
+
- spec/mongoid/shardable_spec.rb
|
1632
|
+
- spec/mongoid/stateful_spec.rb
|
1633
|
+
- spec/mongoid/tasks/database_rake_spec.rb
|
1634
|
+
- spec/mongoid/tasks/database_spec.rb
|
1635
|
+
- spec/mongoid/tasks/encryption_spec.rb
|
1320
1636
|
- spec/mongoid/threaded_spec.rb
|
1321
|
-
- spec/
|
1322
|
-
- spec/
|
1323
|
-
- spec/
|
1637
|
+
- spec/mongoid/timestamps/created/short_spec.rb
|
1638
|
+
- spec/mongoid/timestamps/created_spec.rb
|
1639
|
+
- spec/mongoid/timestamps/timeless_spec.rb
|
1640
|
+
- spec/mongoid/timestamps/updated/short_spec.rb
|
1641
|
+
- spec/mongoid/timestamps/updated_spec.rb
|
1642
|
+
- spec/mongoid/timestamps_spec.rb
|
1643
|
+
- spec/mongoid/timestamps_spec_models.rb
|
1644
|
+
- spec/mongoid/touchable_spec.rb
|
1645
|
+
- spec/mongoid/touchable_spec_models.rb
|
1646
|
+
- spec/mongoid/traversable_spec.rb
|
1647
|
+
- spec/mongoid/validatable/associated_spec.rb
|
1648
|
+
- spec/mongoid/validatable/format_spec.rb
|
1649
|
+
- spec/mongoid/validatable/length_spec.rb
|
1650
|
+
- spec/mongoid/validatable/numericality_spec.rb
|
1651
|
+
- spec/mongoid/validatable/presence_spec.rb
|
1652
|
+
- spec/mongoid/validatable/uniqueness_spec.rb
|
1653
|
+
- spec/mongoid/validatable_spec.rb
|
1654
|
+
- spec/mongoid/warnings_spec.rb
|
1655
|
+
- spec/mongoid_spec.rb
|
1656
|
+
- spec/rails/controller_extension/controller_runtime_spec.rb
|
1657
|
+
- spec/rails/mongoid_spec.rb
|
1658
|
+
- spec/shared/LICENSE
|
1659
|
+
- spec/shared/bin/get-mongodb-download-url
|
1660
|
+
- spec/shared/bin/s3-copy
|
1661
|
+
- spec/shared/bin/s3-upload
|
1662
|
+
- spec/shared/lib/mrss/child_process_helper.rb
|
1663
|
+
- spec/shared/lib/mrss/cluster_config.rb
|
1324
1664
|
- spec/shared/lib/mrss/constraints.rb
|
1325
|
-
- spec/shared/lib/mrss/server_version_registry.rb
|
1326
1665
|
- spec/shared/lib/mrss/docker_runner.rb
|
1327
|
-
- spec/shared/lib/mrss/
|
1666
|
+
- spec/shared/lib/mrss/eg_config_utils.rb
|
1667
|
+
- spec/shared/lib/mrss/event_subscriber.rb
|
1328
1668
|
- spec/shared/lib/mrss/lite_constraints.rb
|
1329
|
-
- spec/shared/lib/mrss/
|
1669
|
+
- spec/shared/lib/mrss/server_version_registry.rb
|
1670
|
+
- spec/shared/lib/mrss/session_registry.rb
|
1671
|
+
- spec/shared/lib/mrss/session_registry_legacy.rb
|
1330
1672
|
- spec/shared/lib/mrss/spec_organizer.rb
|
1331
|
-
- spec/shared/
|
1673
|
+
- spec/shared/lib/mrss/utils.rb
|
1332
1674
|
- spec/shared/share/Dockerfile.erb
|
1333
|
-
- spec/
|
1334
|
-
- spec/
|
1675
|
+
- spec/shared/share/haproxy-1.conf
|
1676
|
+
- spec/shared/share/haproxy-2.conf
|
1677
|
+
- spec/shared/shlib/config.sh
|
1678
|
+
- spec/shared/shlib/distro.sh
|
1679
|
+
- spec/shared/shlib/server.sh
|
1680
|
+
- spec/shared/shlib/set_env.sh
|
1681
|
+
- spec/spec_helper.rb
|
1335
1682
|
- spec/support/authorization.rb
|
1336
|
-
- spec/support/
|
1683
|
+
- spec/support/client_registry.rb
|
1684
|
+
- spec/support/constraints.rb
|
1685
|
+
- spec/support/crypt/models.rb
|
1686
|
+
- spec/support/crypt.rb
|
1687
|
+
- spec/support/expectations.rb
|
1688
|
+
- spec/support/feature_sandbox.rb
|
1689
|
+
- spec/support/helpers.rb
|
1690
|
+
- spec/support/immutable_ids.rb
|
1691
|
+
- spec/support/macros.rb
|
1692
|
+
- spec/support/models/account.rb
|
1693
|
+
- spec/support/models/acolyte.rb
|
1694
|
+
- spec/support/models/actor.rb
|
1695
|
+
- spec/support/models/actress.rb
|
1696
|
+
- spec/support/models/address.rb
|
1697
|
+
- spec/support/models/address_component.rb
|
1698
|
+
- spec/support/models/address_number.rb
|
1699
|
+
- spec/support/models/agency.rb
|
1700
|
+
- spec/support/models/agent.rb
|
1701
|
+
- spec/support/models/album.rb
|
1337
1702
|
- spec/support/models/alert.rb
|
1338
|
-
- spec/support/models/
|
1339
|
-
- spec/support/models/
|
1340
|
-
- spec/support/models/
|
1341
|
-
- spec/support/models/slave.rb
|
1342
|
-
- spec/support/models/page.rb
|
1343
|
-
- spec/support/models/exhibitor.rb
|
1344
|
-
- spec/support/models/odd.rb
|
1345
|
-
- spec/support/models/building.rb
|
1703
|
+
- spec/support/models/animal.rb
|
1704
|
+
- spec/support/models/answer.rb
|
1705
|
+
- spec/support/models/appointment.rb
|
1346
1706
|
- spec/support/models/armrest.rb
|
1347
|
-
- spec/support/models/
|
1348
|
-
- spec/support/models/
|
1349
|
-
- spec/support/models/
|
1350
|
-
- spec/support/models/
|
1351
|
-
- spec/support/models/
|
1352
|
-
- spec/support/models/
|
1353
|
-
- spec/support/models/
|
1354
|
-
- spec/support/models/message.rb
|
1355
|
-
- spec/support/models/ownable.rb
|
1356
|
-
- spec/support/models/shape.rb
|
1357
|
-
- spec/support/models/definition.rb
|
1358
|
-
- spec/support/models/pet.rb
|
1359
|
-
- spec/support/models/pdf_writer.rb
|
1360
|
-
- spec/support/models/pet_owner.rb
|
1361
|
-
- spec/support/models/courier_job.rb
|
1362
|
-
- spec/support/models/store_as_dup_test2.rb
|
1363
|
-
- spec/support/models/powerup.rb
|
1364
|
-
- spec/support/models/role.rb
|
1365
|
-
- spec/support/models/eye.rb
|
1366
|
-
- spec/support/models/business.rb
|
1367
|
-
- spec/support/models/dungeon.rb
|
1368
|
-
- spec/support/models/customer.rb
|
1707
|
+
- spec/support/models/array_field.rb
|
1708
|
+
- spec/support/models/article.rb
|
1709
|
+
- spec/support/models/artist.rb
|
1710
|
+
- spec/support/models/artwork.rb
|
1711
|
+
- spec/support/models/audible_sound.rb
|
1712
|
+
- spec/support/models/audio.rb
|
1713
|
+
- spec/support/models/augmentation.rb
|
1369
1714
|
- spec/support/models/author.rb
|
1370
|
-
- spec/support/models/
|
1371
|
-
- spec/support/models/guitar.rb
|
1372
|
-
- spec/support/models/item.rb
|
1373
|
-
- spec/support/models/code.rb
|
1374
|
-
- spec/support/models/account.rb
|
1375
|
-
- spec/support/models/store_as_dup_test1.rb
|
1376
|
-
- spec/support/models/entry.rb
|
1377
|
-
- spec/support/models/folder.rb
|
1378
|
-
- spec/support/models/contractor.rb
|
1379
|
-
- spec/support/models/seo.rb
|
1380
|
-
- spec/support/models/template.rb
|
1381
|
-
- spec/support/models/birthday.rb
|
1382
|
-
- spec/support/models/pizza.rb
|
1383
|
-
- spec/support/models/short_quiz.rb
|
1384
|
-
- spec/support/models/cookie.rb
|
1385
|
-
- spec/support/models/doctor.rb
|
1386
|
-
- spec/support/models/word_origin.rb
|
1387
|
-
- spec/support/models/car.rb
|
1388
|
-
- spec/support/models/my_hash.rb
|
1389
|
-
- spec/support/models/bus.rb
|
1390
|
-
- spec/support/models/topping.rb
|
1391
|
-
- spec/support/models/id_key.rb
|
1392
|
-
- spec/support/models/override.rb
|
1393
|
-
- spec/support/models/parent_doc.rb
|
1394
|
-
- spec/support/models/scribe.rb
|
1715
|
+
- spec/support/models/baby.rb
|
1395
1716
|
- spec/support/models/band.rb
|
1396
|
-
- spec/support/models/
|
1397
|
-
- spec/support/models/
|
1398
|
-
- spec/support/models/
|
1399
|
-
- spec/support/models/
|
1400
|
-
- spec/support/models/
|
1401
|
-
- spec/support/models/
|
1402
|
-
- spec/support/models/shipping_pack.rb
|
1403
|
-
- spec/support/models/employer.rb
|
1404
|
-
- spec/support/models/sound.rb
|
1405
|
-
- spec/support/models/scheduler.rb
|
1406
|
-
- spec/support/models/series.rb
|
1407
|
-
- spec/support/models/rating.rb
|
1408
|
-
- spec/support/models/manufacturer.rb
|
1409
|
-
- spec/support/models/purchase.rb
|
1410
|
-
- spec/support/models/fish.rb
|
1411
|
-
- spec/support/models/profile.rb
|
1412
|
-
- spec/support/models/dictionary.rb
|
1717
|
+
- spec/support/models/bar.rb
|
1718
|
+
- spec/support/models/basic.rb
|
1719
|
+
- spec/support/models/bed.rb
|
1720
|
+
- spec/support/models/big_palette.rb
|
1721
|
+
- spec/support/models/birthday.rb
|
1722
|
+
- spec/support/models/bolt.rb
|
1413
1723
|
- spec/support/models/bomb.rb
|
1414
|
-
- spec/support/models/
|
1415
|
-
- spec/support/models/
|
1416
|
-
- spec/support/models/
|
1417
|
-
- spec/support/models/
|
1418
|
-
- spec/support/models/
|
1419
|
-
- spec/support/models/
|
1420
|
-
- spec/support/models/
|
1421
|
-
- spec/support/models/
|
1422
|
-
- spec/support/models/
|
1423
|
-
- spec/support/models/
|
1724
|
+
- spec/support/models/book.rb
|
1725
|
+
- spec/support/models/breed.rb
|
1726
|
+
- spec/support/models/browser.rb
|
1727
|
+
- spec/support/models/building.rb
|
1728
|
+
- spec/support/models/building_address.rb
|
1729
|
+
- spec/support/models/bus.rb
|
1730
|
+
- spec/support/models/business.rb
|
1731
|
+
- spec/support/models/callback_test.rb
|
1732
|
+
- spec/support/models/canvas.rb
|
1733
|
+
- spec/support/models/car.rb
|
1424
1734
|
- spec/support/models/cat.rb
|
1425
|
-
- spec/support/models/
|
1426
|
-
- spec/support/models/
|
1427
|
-
- spec/support/models/tool.rb
|
1428
|
-
- spec/support/models/shipment_address.rb
|
1429
|
-
- spec/support/models/minim.rb
|
1430
|
-
- spec/support/models/big_palette.rb
|
1431
|
-
- spec/support/models/name_only.rb
|
1432
|
-
- spec/support/models/square.rb
|
1433
|
-
- spec/support/models/strategy.rb
|
1434
|
-
- spec/support/models/preference.rb
|
1435
|
-
- spec/support/models/house.rb
|
1735
|
+
- spec/support/models/catalog.rb
|
1736
|
+
- spec/support/models/category.rb
|
1436
1737
|
- spec/support/models/child.rb
|
1437
|
-
- spec/support/models/
|
1438
|
-
- spec/support/models/
|
1439
|
-
- spec/support/models/
|
1440
|
-
- spec/support/models/
|
1441
|
-
- spec/support/models/
|
1442
|
-
- spec/support/models/
|
1443
|
-
- spec/support/models/
|
1444
|
-
- spec/support/models/
|
1445
|
-
- spec/support/models/
|
1446
|
-
- spec/support/models/
|
1447
|
-
- spec/support/models/
|
1738
|
+
- spec/support/models/child_doc.rb
|
1739
|
+
- spec/support/models/church.rb
|
1740
|
+
- spec/support/models/circle.rb
|
1741
|
+
- spec/support/models/circuit.rb
|
1742
|
+
- spec/support/models/circus.rb
|
1743
|
+
- spec/support/models/code.rb
|
1744
|
+
- spec/support/models/coding/pull_request.rb
|
1745
|
+
- spec/support/models/coding.rb
|
1746
|
+
- spec/support/models/comment.rb
|
1747
|
+
- spec/support/models/company.rb
|
1748
|
+
- spec/support/models/consumption_period.rb
|
1749
|
+
- spec/support/models/contextable_item.rb
|
1750
|
+
- spec/support/models/contractor.rb
|
1751
|
+
- spec/support/models/cookie.rb
|
1448
1752
|
- spec/support/models/country_code.rb
|
1753
|
+
- spec/support/models/courier_job.rb
|
1754
|
+
- spec/support/models/cover.rb
|
1449
1755
|
- spec/support/models/crate.rb
|
1450
|
-
- spec/support/models/
|
1451
|
-
- spec/support/models/
|
1452
|
-
- spec/support/models/
|
1453
|
-
- spec/support/models/
|
1454
|
-
- spec/support/models/
|
1756
|
+
- spec/support/models/customer.rb
|
1757
|
+
- spec/support/models/customer_address.rb
|
1758
|
+
- spec/support/models/deed.rb
|
1759
|
+
- spec/support/models/definition.rb
|
1760
|
+
- spec/support/models/delegating_patient.rb
|
1761
|
+
- spec/support/models/description.rb
|
1762
|
+
- spec/support/models/dictionary.rb
|
1763
|
+
- spec/support/models/division.rb
|
1764
|
+
- spec/support/models/doctor.rb
|
1765
|
+
- spec/support/models/dog.rb
|
1766
|
+
- spec/support/models/dokument.rb
|
1767
|
+
- spec/support/models/draft.rb
|
1768
|
+
- spec/support/models/dragon.rb
|
1769
|
+
- spec/support/models/driver.rb
|
1455
1770
|
- spec/support/models/drug.rb
|
1456
|
-
- spec/support/models/
|
1771
|
+
- spec/support/models/dungeon.rb
|
1457
1772
|
- spec/support/models/edit.rb
|
1458
|
-
- spec/support/models/
|
1459
|
-
- spec/support/models/
|
1460
|
-
- spec/support/models/
|
1461
|
-
- spec/support/models/dokument.rb
|
1462
|
-
- spec/support/models/person.rb
|
1463
|
-
- spec/support/models/publication/review.rb
|
1464
|
-
- spec/support/models/publication/encyclopedia.rb
|
1465
|
-
- spec/support/models/eye_bowl.rb
|
1466
|
-
- spec/support/models/meat.rb
|
1467
|
-
- spec/support/models/palette.rb
|
1468
|
-
- spec/support/models/language.rb
|
1773
|
+
- spec/support/models/email.rb
|
1774
|
+
- spec/support/models/employer.rb
|
1775
|
+
- spec/support/models/entry.rb
|
1469
1776
|
- spec/support/models/eraser.rb
|
1470
|
-
- spec/support/models/
|
1471
|
-
- spec/support/models/
|
1472
|
-
- spec/support/models/
|
1473
|
-
- spec/support/models/
|
1474
|
-
- spec/support/models/
|
1475
|
-
- spec/support/models/
|
1476
|
-
- spec/support/models/
|
1777
|
+
- spec/support/models/even.rb
|
1778
|
+
- spec/support/models/event.rb
|
1779
|
+
- spec/support/models/exhibition.rb
|
1780
|
+
- spec/support/models/exhibitor.rb
|
1781
|
+
- spec/support/models/explosion.rb
|
1782
|
+
- spec/support/models/eye.rb
|
1783
|
+
- spec/support/models/eye_bowl.rb
|
1784
|
+
- spec/support/models/face.rb
|
1785
|
+
- spec/support/models/fanatic.rb
|
1786
|
+
- spec/support/models/favorite.rb
|
1787
|
+
- spec/support/models/filesystem.rb
|
1788
|
+
- spec/support/models/fire_hydrant.rb
|
1789
|
+
- spec/support/models/firefox.rb
|
1790
|
+
- spec/support/models/fish.rb
|
1791
|
+
- spec/support/models/folder.rb
|
1792
|
+
- spec/support/models/folder_item.rb
|
1793
|
+
- spec/support/models/fruits.rb
|
1794
|
+
- spec/support/models/game.rb
|
1795
|
+
- spec/support/models/ghost.rb
|
1796
|
+
- spec/support/models/guitar.rb
|
1797
|
+
- spec/support/models/hole.rb
|
1477
1798
|
- spec/support/models/home.rb
|
1478
|
-
- spec/support/models/
|
1479
|
-
- spec/support/models/
|
1480
|
-
- spec/support/models/
|
1481
|
-
- spec/support/models/
|
1482
|
-
- spec/support/models/deed.rb
|
1799
|
+
- spec/support/models/house.rb
|
1800
|
+
- spec/support/models/html_writer.rb
|
1801
|
+
- spec/support/models/id_key.rb
|
1802
|
+
- spec/support/models/idnodef.rb
|
1483
1803
|
- spec/support/models/image.rb
|
1484
1804
|
- spec/support/models/implant.rb
|
1485
|
-
- spec/support/models/
|
1486
|
-
- spec/support/models/
|
1487
|
-
- spec/support/models/
|
1488
|
-
- spec/support/models/
|
1489
|
-
- spec/support/models/
|
1805
|
+
- spec/support/models/instrument.rb
|
1806
|
+
- spec/support/models/item.rb
|
1807
|
+
- spec/support/models/jar.rb
|
1808
|
+
- spec/support/models/kaleidoscope.rb
|
1809
|
+
- spec/support/models/kangaroo.rb
|
1490
1810
|
- spec/support/models/label.rb
|
1491
|
-
- spec/support/models/
|
1492
|
-
- spec/support/models/
|
1493
|
-
- spec/support/models/
|
1811
|
+
- spec/support/models/language.rb
|
1812
|
+
- spec/support/models/lat_lng.rb
|
1813
|
+
- spec/support/models/league.rb
|
1814
|
+
- spec/support/models/learner.rb
|
1815
|
+
- spec/support/models/line_item.rb
|
1816
|
+
- spec/support/models/location.rb
|
1817
|
+
- spec/support/models/login.rb
|
1818
|
+
- spec/support/models/manufacturer.rb
|
1819
|
+
- spec/support/models/meat.rb
|
1820
|
+
- spec/support/models/membership.rb
|
1821
|
+
- spec/support/models/message.rb
|
1822
|
+
- spec/support/models/minim.rb
|
1823
|
+
- spec/support/models/mixed_drink.rb
|
1824
|
+
- spec/support/models/mop.rb
|
1494
1825
|
- spec/support/models/movie.rb
|
1495
|
-
- spec/support/models/
|
1496
|
-
- spec/support/models/album.rb
|
1497
|
-
- spec/support/models/simple.rb
|
1498
|
-
- spec/support/models/ghost.rb
|
1826
|
+
- spec/support/models/my_hash.rb
|
1499
1827
|
- spec/support/models/name.rb
|
1500
|
-
- spec/support/models/
|
1501
|
-
- spec/support/models/delegating_patient.rb
|
1828
|
+
- spec/support/models/name_only.rb
|
1502
1829
|
- spec/support/models/node.rb
|
1503
|
-
- spec/support/models/
|
1504
|
-
- spec/support/models/
|
1505
|
-
- spec/support/models/
|
1506
|
-
- spec/support/models/
|
1507
|
-
- spec/support/models/
|
1508
|
-
- spec/support/models/
|
1509
|
-
- spec/support/models/
|
1510
|
-
- spec/support/models/
|
1511
|
-
- spec/support/models/
|
1512
|
-
- spec/support/models/
|
1513
|
-
- spec/support/models/
|
1830
|
+
- spec/support/models/note.rb
|
1831
|
+
- spec/support/models/nut.rb
|
1832
|
+
- spec/support/models/odd.rb
|
1833
|
+
- spec/support/models/order.rb
|
1834
|
+
- spec/support/models/ordered_post.rb
|
1835
|
+
- spec/support/models/ordered_preference.rb
|
1836
|
+
- spec/support/models/oscar.rb
|
1837
|
+
- spec/support/models/other_owner_object.rb
|
1838
|
+
- spec/support/models/override.rb
|
1839
|
+
- spec/support/models/ownable.rb
|
1840
|
+
- spec/support/models/owner.rb
|
1841
|
+
- spec/support/models/pack.rb
|
1842
|
+
- spec/support/models/page.rb
|
1843
|
+
- spec/support/models/page_question.rb
|
1844
|
+
- spec/support/models/palette.rb
|
1845
|
+
- spec/support/models/parent.rb
|
1846
|
+
- spec/support/models/parent_doc.rb
|
1847
|
+
- spec/support/models/passport.rb
|
1514
1848
|
- spec/support/models/patient.rb
|
1515
|
-
- spec/support/models/
|
1516
|
-
- spec/support/models/
|
1517
|
-
- spec/support/models/
|
1518
|
-
- spec/support/models/
|
1519
|
-
- spec/support/models/
|
1520
|
-
- spec/support/models/
|
1849
|
+
- spec/support/models/pdf_writer.rb
|
1850
|
+
- spec/support/models/pencil.rb
|
1851
|
+
- spec/support/models/person.rb
|
1852
|
+
- spec/support/models/pet.rb
|
1853
|
+
- spec/support/models/pet_owner.rb
|
1854
|
+
- spec/support/models/phone.rb
|
1521
1855
|
- spec/support/models/piano.rb
|
1522
|
-
- spec/support/models/
|
1523
|
-
- spec/support/models/
|
1524
|
-
- spec/support/models/
|
1856
|
+
- spec/support/models/pizza.rb
|
1857
|
+
- spec/support/models/player.rb
|
1858
|
+
- spec/support/models/post.rb
|
1859
|
+
- spec/support/models/post_genre.rb
|
1860
|
+
- spec/support/models/powerup.rb
|
1861
|
+
- spec/support/models/preference.rb
|
1862
|
+
- spec/support/models/princess.rb
|
1525
1863
|
- spec/support/models/product.rb
|
1526
|
-
- spec/support/models/
|
1527
|
-
- spec/support/models/
|
1528
|
-
- spec/support/models/
|
1529
|
-
- spec/support/models/
|
1530
|
-
- spec/support/models/
|
1531
|
-
- spec/support/models/
|
1532
|
-
- spec/support/models/
|
1533
|
-
- spec/support/models/
|
1534
|
-
- spec/support/models/
|
1535
|
-
- spec/support/models/
|
1536
|
-
- spec/support/models/
|
1537
|
-
- spec/support/models/
|
1864
|
+
- spec/support/models/profile.rb
|
1865
|
+
- spec/support/models/pronunciation.rb
|
1866
|
+
- spec/support/models/pub.rb
|
1867
|
+
- spec/support/models/publication/encyclopedia.rb
|
1868
|
+
- spec/support/models/publication/review.rb
|
1869
|
+
- spec/support/models/publication.rb
|
1870
|
+
- spec/support/models/purchase.rb
|
1871
|
+
- spec/support/models/purchased_item.rb
|
1872
|
+
- spec/support/models/purse.rb
|
1873
|
+
- spec/support/models/question.rb
|
1874
|
+
- spec/support/models/quiz.rb
|
1875
|
+
- spec/support/models/rating.rb
|
1876
|
+
- spec/support/models/record.rb
|
1877
|
+
- spec/support/models/registry.rb
|
1878
|
+
- spec/support/models/role.rb
|
1879
|
+
- spec/support/models/root_category.rb
|
1880
|
+
- spec/support/models/sandbox/app/models/app_models_message.rb
|
1881
|
+
- spec/support/models/sandbox/lib/models/lib_models_message.rb
|
1882
|
+
- spec/support/models/sandbox/sandbox_message.rb
|
1883
|
+
- spec/support/models/sandbox/sandbox_user.rb
|
1884
|
+
- spec/support/models/sandbox/subdir/sandbox_comment.rb
|
1885
|
+
- spec/support/models/sandwich.rb
|
1886
|
+
- spec/support/models/scheduler.rb
|
1887
|
+
- spec/support/models/school.rb
|
1888
|
+
- spec/support/models/scribe.rb
|
1889
|
+
- spec/support/models/sealer.rb
|
1890
|
+
- spec/support/models/seat.rb
|
1891
|
+
- spec/support/models/seo.rb
|
1892
|
+
- spec/support/models/series.rb
|
1893
|
+
- spec/support/models/server.rb
|
1538
1894
|
- spec/support/models/service.rb
|
1895
|
+
- spec/support/models/shape.rb
|
1896
|
+
- spec/support/models/shelf.rb
|
1897
|
+
- spec/support/models/shield.rb
|
1898
|
+
- spec/support/models/shipment_address.rb
|
1539
1899
|
- spec/support/models/shipping_container.rb
|
1540
|
-
- spec/support/models/
|
1541
|
-
- spec/support/models/
|
1542
|
-
- spec/support/models/event.rb
|
1543
|
-
- spec/support/models/favorite.rb
|
1544
|
-
- spec/support/models/pack.rb
|
1545
|
-
- spec/support/models/instrument.rb
|
1546
|
-
- spec/support/models/user_account.rb
|
1547
|
-
- spec/support/models/actor.rb
|
1548
|
-
- spec/support/models/pronunciation.rb
|
1549
|
-
- spec/support/models/firefox.rb
|
1550
|
-
- spec/support/models/weapon.rb
|
1551
|
-
- spec/support/models/oscar.rb
|
1552
|
-
- spec/support/models/basic.rb
|
1553
|
-
- spec/support/models/exhibition.rb
|
1554
|
-
- spec/support/models/breed.rb
|
1555
|
-
- spec/support/models/bed.rb
|
1556
|
-
- spec/support/models/audio.rb
|
1900
|
+
- spec/support/models/shipping_pack.rb
|
1901
|
+
- spec/support/models/shirt.rb
|
1557
1902
|
- spec/support/models/shop.rb
|
1558
|
-
- spec/support/models/
|
1559
|
-
- spec/support/models/
|
1560
|
-
- spec/support/models/
|
1561
|
-
- spec/support/models/
|
1562
|
-
- spec/support/models/
|
1563
|
-
- spec/support/models/
|
1564
|
-
- spec/support/models/
|
1903
|
+
- spec/support/models/short_agent.rb
|
1904
|
+
- spec/support/models/short_quiz.rb
|
1905
|
+
- spec/support/models/simple.rb
|
1906
|
+
- spec/support/models/slave.rb
|
1907
|
+
- spec/support/models/song.rb
|
1908
|
+
- spec/support/models/sound.rb
|
1909
|
+
- spec/support/models/spacer.rb
|
1910
|
+
- spec/support/models/square.rb
|
1565
1911
|
- spec/support/models/staff.rb
|
1566
|
-
- spec/support/models/
|
1567
|
-
- spec/support/models/
|
1568
|
-
- spec/support/models/
|
1569
|
-
- spec/support/models/
|
1570
|
-
- spec/support/models/
|
1571
|
-
- spec/support/models/
|
1912
|
+
- spec/support/models/store_as_dup_test1.rb
|
1913
|
+
- spec/support/models/store_as_dup_test2.rb
|
1914
|
+
- spec/support/models/store_as_dup_test3.rb
|
1915
|
+
- spec/support/models/store_as_dup_test4.rb
|
1916
|
+
- spec/support/models/strategy.rb
|
1917
|
+
- spec/support/models/student.rb
|
1918
|
+
- spec/support/models/sub_item.rb
|
1572
1919
|
- spec/support/models/subscription.rb
|
1573
|
-
- spec/support/models/
|
1920
|
+
- spec/support/models/survey.rb
|
1921
|
+
- spec/support/models/symptom.rb
|
1922
|
+
- spec/support/models/system_role.rb
|
1923
|
+
- spec/support/models/tag.rb
|
1924
|
+
- spec/support/models/target.rb
|
1925
|
+
- spec/support/models/template.rb
|
1926
|
+
- spec/support/models/thing.rb
|
1927
|
+
- spec/support/models/threadlocker.rb
|
1928
|
+
- spec/support/models/title.rb
|
1929
|
+
- spec/support/models/tool.rb
|
1930
|
+
- spec/support/models/topping.rb
|
1931
|
+
- spec/support/models/toy.rb
|
1932
|
+
- spec/support/models/track.rb
|
1933
|
+
- spec/support/models/translation.rb
|
1934
|
+
- spec/support/models/tree.rb
|
1935
|
+
- spec/support/models/truck.rb
|
1936
|
+
- spec/support/models/updatable.rb
|
1937
|
+
- spec/support/models/user.rb
|
1938
|
+
- spec/support/models/user_account.rb
|
1939
|
+
- spec/support/models/validation_callback.rb
|
1940
|
+
- spec/support/models/vehicle.rb
|
1941
|
+
- spec/support/models/version.rb
|
1942
|
+
- spec/support/models/vertex.rb
|
1943
|
+
- spec/support/models/vet_visit.rb
|
1944
|
+
- spec/support/models/video.rb
|
1945
|
+
- spec/support/models/video_game.rb
|
1946
|
+
- spec/support/models/washer.rb
|
1947
|
+
- spec/support/models/weapon.rb
|
1948
|
+
- spec/support/models/wiki_page.rb
|
1949
|
+
- spec/support/models/word.rb
|
1950
|
+
- spec/support/models/word_origin.rb
|
1951
|
+
- spec/support/models/writer.rb
|
1952
|
+
- spec/support/rails_mock.rb
|
1953
|
+
- spec/support/schema_maps/schema_map_aws.json
|
1954
|
+
- spec/support/schema_maps/schema_map_aws_key_alt_names.json
|
1955
|
+
- spec/support/schema_maps/schema_map_azure.json
|
1956
|
+
- spec/support/schema_maps/schema_map_azure_key_alt_names.json
|
1957
|
+
- spec/support/schema_maps/schema_map_gcp.json
|
1958
|
+
- spec/support/schema_maps/schema_map_gcp_key_alt_names.json
|
1959
|
+
- spec/support/schema_maps/schema_map_kmip.json
|
1960
|
+
- spec/support/schema_maps/schema_map_kmip_key_alt_names.json
|
1961
|
+
- spec/support/schema_maps/schema_map_local.json
|
1962
|
+
- spec/support/schema_maps/schema_map_local_key_alt_names.json
|
1574
1963
|
- spec/support/shared/time.rb
|
1575
|
-
- spec/support/
|
1576
|
-
- spec/support/helpers.rb
|
1577
|
-
- spec/support/macros.rb
|
1578
|
-
- spec/support/expectations.rb
|
1579
|
-
- spec/support/constraints.rb
|
1580
|
-
- spec/support/cluster_config.rb
|
1964
|
+
- spec/support/sinatra_mock.rb
|
1581
1965
|
- spec/support/spec_config.rb
|
1582
|
-
- spec/integration/bson_regexp_raw_spec.rb
|
1583
|
-
- spec/integration/document_spec.rb
|
1584
|
-
- spec/integration/i18n_fallbacks_spec.rb
|
1585
|
-
- spec/integration/atomic/modifiers_spec.rb
|
1586
|
-
- spec/integration/associations/embeds_one_spec.rb
|
1587
|
-
- spec/integration/associations/reverse_population_spec_models.rb
|
1588
|
-
- spec/integration/associations/embedded_spec.rb
|
1589
|
-
- spec/integration/associations/embeds_many_spec.rb
|
1590
|
-
- spec/integration/associations/reverse_population_spec.rb
|
1591
|
-
- spec/integration/associations/has_one_spec.rb
|
1592
|
-
- spec/integration/associations/foreign_key_spec_models.rb
|
1593
|
-
- spec/integration/associations/nested_attributes_assignment_spec.rb
|
1594
|
-
- spec/integration/associations/belongs_to_spec.rb
|
1595
|
-
- spec/integration/associations/foreign_key_spec.rb
|
1596
|
-
- spec/integration/associations/has_many_spec.rb
|
1597
|
-
- spec/integration/matcher_operator_data/elem_match_expr.yml
|
1598
|
-
- spec/integration/matcher_operator_data/eq.yml
|
1599
|
-
- spec/integration/matcher_operator_data/gt_types.yml
|
1600
|
-
- spec/integration/matcher_operator_data/regex_options.yml
|
1601
|
-
- spec/integration/matcher_operator_data/exists.yml
|
1602
|
-
- spec/integration/matcher_operator_data/nor.yml
|
1603
|
-
- spec/integration/matcher_operator_data/multiple.yml
|
1604
|
-
- spec/integration/matcher_operator_data/lt.yml
|
1605
|
-
- spec/integration/matcher_operator_data/lt_types.yml
|
1606
|
-
- spec/integration/matcher_operator_data/invalid_syntax.yml
|
1607
|
-
- spec/integration/matcher_operator_data/not.yml
|
1608
|
-
- spec/integration/matcher_operator_data/gte_types.yml
|
1609
|
-
- spec/integration/matcher_operator_data/invalid_op.yml
|
1610
|
-
- spec/integration/matcher_operator_data/ne.yml
|
1611
|
-
- spec/integration/matcher_operator_data/size.yml
|
1612
|
-
- spec/integration/matcher_operator_data/or.yml
|
1613
|
-
- spec/integration/matcher_operator_data/ne_types.yml
|
1614
|
-
- spec/integration/matcher_operator_data/gte.yml
|
1615
|
-
- spec/integration/matcher_operator_data/nin.yml
|
1616
|
-
- spec/integration/matcher_operator_data/lte_types.yml
|
1617
|
-
- spec/integration/matcher_operator_data/in.yml
|
1618
|
-
- spec/integration/matcher_operator_data/all.yml
|
1619
|
-
- spec/integration/matcher_operator_data/lte.yml
|
1620
|
-
- spec/integration/matcher_operator_data/and.yml
|
1621
|
-
- spec/integration/matcher_operator_data/implicit_traversal.yml
|
1622
|
-
- spec/integration/matcher_operator_data/gt.yml
|
1623
|
-
- spec/integration/matcher_operator_data/regex.yml
|
1624
|
-
- spec/integration/matcher_operator_data/implicit.yml
|
1625
|
-
- spec/integration/matcher_operator_data/elem_match.yml
|
1626
|
-
- spec/integration/matcher_operator_data/generic_op.yml
|
1627
|
-
- spec/integration/callbacks_models.rb
|
1628
|
-
- spec/integration/matcher_spec.rb
|
1629
|
-
- spec/integration/shardable_spec.rb
|
1630
|
-
- spec/integration/criteria/default_scope_spec.rb
|
1631
|
-
- spec/integration/criteria/time_with_zone_spec.rb
|
1632
|
-
- spec/integration/criteria/logical_spec.rb
|
1633
|
-
- spec/integration/criteria/date_field_spec.rb
|
1634
|
-
- spec/integration/stringified_symbol_field_spec.rb
|
1635
|
-
- spec/integration/discriminator_key_spec.rb
|
1636
|
-
- spec/integration/app_spec.rb
|
1637
|
-
- spec/integration/discriminator_value_spec.rb
|
1638
|
-
- spec/integration/callbacks_spec.rb
|
1639
|
-
- spec/integration/matcher_operator_spec.rb
|
1640
|
-
- spec/integration/matcher_examples_spec.rb
|
1641
|
-
- spec/integration/server_query_spec.rb
|
1642
|
-
- spec/rails/controller_extension/controller_runtime_spec.rb
|
1643
|
-
- spec/rails/mongoid_spec.rb
|
1644
|
-
- spec/mongoid_spec.rb
|