foobara 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +5 -0
- data/.rubocop.yml +20 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +10 -0
- data/DECISION_LOG.md +220 -0
- data/Guardfile +9 -0
- data/LICENSE-AGPL.txt +666 -0
- data/LICENSE.txt +4 -0
- data/README.md +50 -0
- data/Rakefile +10 -0
- data/concepts.md +153 -0
- data/projects/builtin_types/lib/foobara/builtin_types.rb +67 -0
- data/projects/builtin_types/src/README.md +140 -0
- data/projects/builtin_types/src/array/casters/arrayable.rb +22 -0
- data/projects/builtin_types/src/array/supported_processors/element_type_declaration.rb +41 -0
- data/projects/builtin_types/src/array/supported_validators/size.rb +43 -0
- data/projects/builtin_types/src/associative_array/casters/array.rb +22 -0
- data/projects/builtin_types/src/associative_array/supported_processors/key_type_declaration.rb +44 -0
- data/projects/builtin_types/src/associative_array/supported_processors/value_type_declaration.rb +44 -0
- data/projects/builtin_types/src/atomic_duck.rb +6 -0
- data/projects/builtin_types/src/attributes/casters/array.rb +33 -0
- data/projects/builtin_types/src/attributes/casters/hash.rb +28 -0
- data/projects/builtin_types/src/attributes/supported_processors/element_type_declarations.rb +89 -0
- data/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/desugarizers/move_defaults_from_element_types_to_root.rb +40 -0
- data/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/desugarizers/symbolize_defaults.rb +31 -0
- data/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/hash_with_symbolic_keys.rb +37 -0
- data/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/valid_attribute_names.rb +60 -0
- data/projects/builtin_types/src/attributes/supported_transformers/defaults.rb +41 -0
- data/projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/desugarizers/move_required_from_element_types_to_root.rb +55 -0
- data/projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/array_of_symbols.rb +47 -0
- data/projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/array_with_valid_attribute_names.rb +54 -0
- data/projects/builtin_types/src/attributes/supported_validators/required.rb +51 -0
- data/projects/builtin_types/src/big_decimal/casters/integer.rb +21 -0
- data/projects/builtin_types/src/big_decimal/casters/string.rb +24 -0
- data/projects/builtin_types/src/boolean/casters/numeric.rb +21 -0
- data/projects/builtin_types/src/boolean/casters/string_or_symbol.rb +27 -0
- data/projects/builtin_types/src/builtin_types.rb +189 -0
- data/projects/builtin_types/src/date/casters/hash.rb +23 -0
- data/projects/builtin_types/src/date/casters/string.rb +40 -0
- data/projects/builtin_types/src/datetime/casters/date.rb +21 -0
- data/projects/builtin_types/src/datetime/casters/hash.rb +77 -0
- data/projects/builtin_types/src/datetime/casters/seconds_since_epoch.rb +21 -0
- data/projects/builtin_types/src/datetime/casters/string.rb +31 -0
- data/projects/builtin_types/src/duck/supported_casters/allow_nil.rb +38 -0
- data/projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/class_desugarizer.rb +29 -0
- data/projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/instance_of_class_desugarizer.rb +31 -0
- data/projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/instance_of_symbol_desugarizer.rb +31 -0
- data/projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/type_declaration_validators/is_valid_class.rb +43 -0
- data/projects/builtin_types/src/duck/supported_validators/instance_of.rb +42 -0
- data/projects/builtin_types/src/duck/supported_validators/one_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/cast_one_of.rb +37 -0
- data/projects/builtin_types/src/duck/supported_validators/one_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/module_desugarizer.rb +41 -0
- data/projects/builtin_types/src/duck/supported_validators/one_of.rb +41 -0
- data/projects/builtin_types/src/duck.rb +6 -0
- data/projects/builtin_types/src/duckture.rb +6 -0
- data/projects/builtin_types/src/email/transformers/downcase.rb +15 -0
- data/projects/builtin_types/src/email/validator_base.rb +94 -0
- data/projects/builtin_types/src/float/casters/integer.rb +21 -0
- data/projects/builtin_types/src/float/casters/string.rb +24 -0
- data/projects/builtin_types/src/integer/casters/string.rb +23 -0
- data/projects/builtin_types/src/number/supported_validators/max.rb +41 -0
- data/projects/builtin_types/src/number/supported_validators/min.rb +41 -0
- data/projects/builtin_types/src/string/casters/numeric.rb +21 -0
- data/projects/builtin_types/src/string/casters/symbol.rb +21 -0
- data/projects/builtin_types/src/string/supported_transformers/downcase.rb +11 -0
- data/projects/builtin_types/src/string/supported_validators/matches.rb +41 -0
- data/projects/builtin_types/src/string/supported_validators/max_length.rb +37 -0
- data/projects/builtin_types/src/symbol/casters/string.rb +21 -0
- data/projects/builtin_types/src/tuple/supported_processors/element_type_declarations/type_declaration_extension/extend_tuple_type_declaration/desugarizers/set_size.rb +32 -0
- data/projects/builtin_types/src/tuple/supported_processors/element_type_declarations/type_declaration_extension/extend_tuple_type_declaration/type_declaration_validators/size_matches.rb +50 -0
- data/projects/builtin_types/src/tuple/supported_processors/element_type_declarations.rb +59 -0
- data/projects/callback/lib/foobara/callback.rb +1 -0
- data/projects/callback/src/block/after.rb +10 -0
- data/projects/callback/src/block/around.rb +10 -0
- data/projects/callback/src/block/before.rb +10 -0
- data/projects/callback/src/block/concerns/block_parameter_not_allowed.rb +21 -0
- data/projects/callback/src/block/concerns/block_parameter_required.rb +21 -0
- data/projects/callback/src/block/concerns/keyword_argumentable_block.rb +31 -0
- data/projects/callback/src/block/concerns/single_argument_block.rb +22 -0
- data/projects/callback/src/block/concerns/type.rb +17 -0
- data/projects/callback/src/block/error.rb +10 -0
- data/projects/callback/src/block.rb +83 -0
- data/projects/callback/src/registry/base.rb +90 -0
- data/projects/callback/src/registry/chained_conditioned.rb +24 -0
- data/projects/callback/src/registry/chained_multiple_action.rb +24 -0
- data/projects/callback/src/registry/conditioned.rb +101 -0
- data/projects/callback/src/registry/multiple_action.rb +110 -0
- data/projects/callback/src/registry/single_action.rb +15 -0
- data/projects/callback/src/runner.rb +89 -0
- data/projects/callback/src/set.rb +56 -0
- data/projects/command/lib/foobara/command.rb +9 -0
- data/projects/command/src/command/entity_helpers.rb +145 -0
- data/projects/command/src/command.rb +36 -0
- data/projects/command/src/concerns/callbacks.rb +93 -0
- data/projects/command/src/concerns/description.rb +23 -0
- data/projects/command/src/concerns/domain_mappers.rb +35 -0
- data/projects/command/src/concerns/entities.rb +88 -0
- data/projects/command/src/concerns/errors.rb +181 -0
- data/projects/command/src/concerns/errors_type.rb +124 -0
- data/projects/command/src/concerns/inputs.rb +59 -0
- data/projects/command/src/concerns/inputs_type.rb +58 -0
- data/projects/command/src/concerns/namespace.rb +49 -0
- data/projects/command/src/concerns/reflection.rb +137 -0
- data/projects/command/src/concerns/result.rb +25 -0
- data/projects/command/src/concerns/result_type.rb +29 -0
- data/projects/command/src/concerns/runtime.rb +119 -0
- data/projects/command/src/concerns/state_machine.rb +12 -0
- data/projects/command/src/concerns/subcommands.rb +102 -0
- data/projects/command/src/concerns/transactions.rb +81 -0
- data/projects/command/src/state_machine.rb +57 -0
- data/projects/command/src/transformed_command.rb +459 -0
- data/projects/command_connectors/lib/foobara/command_connectors.rb +12 -0
- data/projects/command_connectors/src/command_connector.rb +401 -0
- data/projects/command_connectors/src/command_registry/allowed_rule.rb +29 -0
- data/projects/command_connectors/src/command_registry/exposed_command.rb +140 -0
- data/projects/command_connectors/src/command_registry/exposed_domain.rb +30 -0
- data/projects/command_connectors/src/command_registry/exposed_organization.rb +30 -0
- data/projects/command_connectors/src/command_registry.rb +257 -0
- data/projects/command_connectors/src/commands/describe.rb +36 -0
- data/projects/command_connectors/src/commands/list_commands.rb +51 -0
- data/projects/command_connectors/src/commands/ping.rb +21 -0
- data/projects/command_connectors/src/commands/query_git_commit_info.rb +81 -0
- data/projects/command_connectors/src/request.rb +99 -0
- data/projects/command_connectors/src/response.rb +17 -0
- data/projects/command_connectors/src/serializer.rb +25 -0
- data/projects/command_connectors/src/serializers/aggregate_serializer.rb +32 -0
- data/projects/command_connectors/src/serializers/atomic_serializer.rb +25 -0
- data/projects/command_connectors/src/serializers/entities_to_primary_keys_serializer.rb +28 -0
- data/projects/command_connectors/src/serializers/errors_serializer.rb +18 -0
- data/projects/command_connectors/src/serializers/json_serializer.rb +20 -0
- data/projects/command_connectors/src/serializers/noop_serializer.rb +20 -0
- data/projects/command_connectors/src/serializers/record_store_serializer.rb +31 -0
- data/projects/command_connectors/src/serializers/success_serializer.rb +14 -0
- data/projects/command_connectors/src/serializers/yaml_serializer.rb +20 -0
- data/projects/command_connectors/src/transformers/auth_errors_transformer.rb +35 -0
- data/projects/command_connectors/src/transformers/load_aggregates_pre_commit_transformer.rb +36 -0
- data/projects/command_connectors_http/lib/foobara/command_connectors_http.rb +6 -0
- data/projects/command_connectors_http/src/http/commands/get_options.rb +16 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/command.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/domain.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/entity.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/error.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/model.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/organization.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/processor.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/processor_class.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/root.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter/type.rb +14 -0
- data/projects/command_connectors_http/src/http/commands/help/presenter.rb +162 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/command.html.erb +11 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/domain.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/entity.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/error.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/model.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/organization.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/processor.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/processor_class.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/root.html.erb +3 -0
- data/projects/command_connectors_http/src/http/commands/help/templates/type.html.erb +1 -0
- data/projects/command_connectors_http/src/http/commands/help.rb +98 -0
- data/projects/command_connectors_http/src/http/request.rb +98 -0
- data/projects/command_connectors_http/src/http/response.rb +14 -0
- data/projects/command_connectors_http/src/http.rb +84 -0
- data/projects/common/lib/foobara/common.rb +11 -0
- data/projects/common/src/data_path.rb +272 -0
- data/projects/common/src/error.rb +215 -0
- data/projects/common/src/error_collection.rb +97 -0
- data/projects/common/src/error_key.rb +168 -0
- data/projects/common/src/outcome.rb +101 -0
- data/projects/common/src/possible_error.rb +80 -0
- data/projects/common/src/runtime_error.rb +24 -0
- data/projects/concerns/lib/foobara/concerns.rb +1 -0
- data/projects/concerns/src/concern.rb +93 -0
- data/projects/delegate/lib/foobara/delegate.rb +1 -0
- data/projects/delegate/src/extensions/module.rb +12 -0
- data/projects/domain/lib/foobara/domain.rb +25 -0
- data/projects/domain/src/domain.rb +65 -0
- data/projects/domain/src/domain_mapper/registry.rb +47 -0
- data/projects/domain/src/domain_mapper.rb +162 -0
- data/projects/domain/src/domain_module_extension.rb +510 -0
- data/projects/domain/src/extensions/foobara.rb +69 -0
- data/projects/domain/src/global_domain.rb +14 -0
- data/projects/domain/src/global_organization.rb +12 -0
- data/projects/domain/src/is_manifestable.rb +68 -0
- data/projects/domain/src/manifestable.rb +12 -0
- data/projects/domain/src/module_extension.rb +122 -0
- data/projects/domain/src/organization.rb +52 -0
- data/projects/domain/src/organization_module_extension.rb +50 -0
- data/projects/entity/lib/foobara/entity.rb +27 -0
- data/projects/entity/src/concerns/associations.rb +241 -0
- data/projects/entity/src/concerns/attributes.rb +170 -0
- data/projects/entity/src/concerns/callbacks.rb +97 -0
- data/projects/entity/src/concerns/initialization.rb +127 -0
- data/projects/entity/src/concerns/persistence.rb +142 -0
- data/projects/entity/src/concerns/primary_key.rb +43 -0
- data/projects/entity/src/concerns/queries.rb +96 -0
- data/projects/entity/src/concerns/reflection.rb +51 -0
- data/projects/entity/src/concerns/transactions.rb +31 -0
- data/projects/entity/src/concerns/types.rb +31 -0
- data/projects/entity/src/entity.rb +61 -0
- data/projects/entity/src/extensions/builtin_types/entity/casters/hash.rb +33 -0
- data/projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb +32 -0
- data/projects/entity/src/extensions/builtin_types/entity.rb +6 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/attributes_handler_desugarizer.rb +14 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/hash_desugarizer.rb +43 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/model_class_desugarizer.rb +21 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/primary_key_desugarizer.rb +19 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/to_type_transformer.rb +64 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_is_symbol.rb +35 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_present.rb +27 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_references_attribute.rb +36 -0
- data/projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration.rb +11 -0
- data/projects/entity/src/new_prepend.rb +21 -0
- data/projects/entity/src/not_found_error.rb +72 -0
- data/projects/enumerated/lib/foobara/enumerated.rb +1 -0
- data/projects/enumerated/src/accessors.rb +61 -0
- data/projects/enumerated/src/values.rb +121 -0
- data/projects/foobara/lib/foobara/all.rb +44 -0
- data/projects/in_memory_crud_driver/lib/foobara/in_memory_crud_driver.rb +3 -0
- data/projects/in_memory_crud_driver/src/in_memory.rb +10 -0
- data/projects/in_memory_crud_driver_minimal/lib/foobara/in_memory_crud_driver_minimal.rb +1 -0
- data/projects/in_memory_crud_driver_minimal/src/in_memory_minimal.rb +113 -0
- data/projects/manifest/lib/foobara/manifest.rb +4 -0
- data/projects/manifest/src/foobara/manifest/array.rb +13 -0
- data/projects/manifest/src/foobara/manifest/attributes.rb +40 -0
- data/projects/manifest/src/foobara/manifest/base_manifest.rb +161 -0
- data/projects/manifest/src/foobara/manifest/command.rb +59 -0
- data/projects/manifest/src/foobara/manifest/domain.rb +43 -0
- data/projects/manifest/src/foobara/manifest/entity.rb +35 -0
- data/projects/manifest/src/foobara/manifest/error.rb +33 -0
- data/projects/manifest/src/foobara/manifest/model.rb +43 -0
- data/projects/manifest/src/foobara/manifest/organization.rb +45 -0
- data/projects/manifest/src/foobara/manifest/possible_error.rb +30 -0
- data/projects/manifest/src/foobara/manifest/processor.rb +11 -0
- data/projects/manifest/src/foobara/manifest/processor_class.rb +11 -0
- data/projects/manifest/src/foobara/manifest/root_manifest.rb +112 -0
- data/projects/manifest/src/foobara/manifest/type.rb +86 -0
- data/projects/manifest/src/foobara/manifest/type_declaration.rb +117 -0
- data/projects/model/lib/foobara/model.rb +23 -0
- data/projects/model/src/concerns/reflection.rb +22 -0
- data/projects/model/src/concerns/types.rb +104 -0
- data/projects/model/src/extensions/builtin_types/model/casters/hash.rb +23 -0
- data/projects/model/src/extensions/builtin_types/model/transformers/mutable.rb +26 -0
- data/projects/model/src/extensions/builtin_types/model/validators/attributes_declaration.rb +33 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/attributes_handler_desugarizer.rb +24 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/hash_desugarizer.rb +32 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/model_class_desugarizer.rb +119 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/to_type_transformer.rb +57 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration.rb +21 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/hash_desugarizer.rb +37 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/model_class_type_desugarizer.rb +25 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/mutable_validator.rb +46 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/normalize_mutable_attributes_desugarizer.rb +28 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/to_type_transformer.rb +27 -0
- data/projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration.rb +31 -0
- data/projects/model/src/extensions/type_declarations/handlers/registered_type_declaration/model_class_desugarizer.rb +23 -0
- data/projects/model/src/model.rb +320 -0
- data/projects/monorepo/lib/foobara/monorepo/project.rb +52 -0
- data/projects/monorepo/lib/foobara/monorepo.rb +63 -0
- data/projects/namespace/lib/foobara/namespace.rb +4 -0
- data/projects/namespace/src/ambiguous_registry.rb +104 -0
- data/projects/namespace/src/base_registry.rb +66 -0
- data/projects/namespace/src/extensions/module.rb +5 -0
- data/projects/namespace/src/is_namespace.rb +352 -0
- data/projects/namespace/src/namespace/lookup_mode.rb +41 -0
- data/projects/namespace/src/namespace.rb +61 -0
- data/projects/namespace/src/namespace_helpers.rb +273 -0
- data/projects/namespace/src/prefixless_registry.rb +54 -0
- data/projects/namespace/src/scoped.rb +113 -0
- data/projects/namespace/src/unambiguous_registry.rb +65 -0
- data/projects/persistence/lib/foobara/persistence.rb +22 -0
- data/projects/persistence/src/entity_attributes_crud_driver.rb +241 -0
- data/projects/persistence/src/entity_base/table.rb +14 -0
- data/projects/persistence/src/entity_base/transaction/concerns/entity_callback_handling.rb +157 -0
- data/projects/persistence/src/entity_base/transaction/concerns/state_transitions.rb +83 -0
- data/projects/persistence/src/entity_base/transaction/concerns/transaction_tracking.rb +53 -0
- data/projects/persistence/src/entity_base/transaction/state_machine.rb +27 -0
- data/projects/persistence/src/entity_base/transaction.rb +163 -0
- data/projects/persistence/src/entity_base/transaction_table/concerns/queries.rb +42 -0
- data/projects/persistence/src/entity_base/transaction_table/concerns/record_tracking.rb +134 -0
- data/projects/persistence/src/entity_base/transaction_table.rb +620 -0
- data/projects/persistence/src/entity_base.rb +114 -0
- data/projects/persistence/src/persistence.rb +172 -0
- data/projects/state_machine/lib/foobara/state_machine.rb +1 -0
- data/projects/state_machine/src/callbacks.rb +158 -0
- data/projects/state_machine/src/log_entry.rb +13 -0
- data/projects/state_machine/src/state_machine.rb +91 -0
- data/projects/state_machine/src/sugar.rb +125 -0
- data/projects/state_machine/src/transition_log.rb +19 -0
- data/projects/state_machine/src/validations.rb +69 -0
- data/projects/thread_parent/lib/foobara/thread_parent.rb +1 -0
- data/projects/thread_parent/src/thread_parent.rb +38 -0
- data/projects/type_declarations/lib/foobara/type_declarations.rb +131 -0
- data/projects/type_declarations/src/attributes.rb +34 -0
- data/projects/type_declarations/src/caster.rb +7 -0
- data/projects/type_declarations/src/desugarizer.rb +25 -0
- data/projects/type_declarations/src/dsl/attributes.rb +199 -0
- data/projects/type_declarations/src/element_processor.rb +7 -0
- data/projects/type_declarations/src/error_extension.rb +73 -0
- data/projects/type_declarations/src/handlers/extend_array_type_declaration/array_desugarizer.rb +31 -0
- data/projects/type_declarations/src/handlers/extend_array_type_declaration/element_type_declaration_desugarizer.rb +37 -0
- data/projects/type_declarations/src/handlers/extend_array_type_declaration/to_type_transformer.rb +22 -0
- data/projects/type_declarations/src/handlers/extend_array_type_declaration/type_set_to_array_desugarizer.rb +36 -0
- data/projects/type_declarations/src/handlers/extend_array_type_declaration.rb +14 -0
- data/projects/type_declarations/src/handlers/extend_associative_array_type_declaration/to_type_transformer.rb +28 -0
- data/projects/type_declarations/src/handlers/extend_associative_array_type_declaration.rb +20 -0
- data/projects/type_declarations/src/handlers/extend_attributes_type_declaration/dsl_desugarizer.rb +25 -0
- data/projects/type_declarations/src/handlers/extend_attributes_type_declaration/element_type_declarations_desugarizer.rb +34 -0
- data/projects/type_declarations/src/handlers/extend_attributes_type_declaration/hash_desugarizer.rb +60 -0
- data/projects/type_declarations/src/handlers/extend_attributes_type_declaration/to_type_transformer.rb +21 -0
- data/projects/type_declarations/src/handlers/extend_attributes_type_declaration.rb +16 -0
- data/projects/type_declarations/src/handlers/extend_registered_type_declaration/to_type_transformer.rb +75 -0
- data/projects/type_declarations/src/handlers/extend_registered_type_declaration.rb +23 -0
- data/projects/type_declarations/src/handlers/extend_tuple_type_declaration/array_desugarizer.rb +30 -0
- data/projects/type_declarations/src/handlers/extend_tuple_type_declaration/to_type_transformer.rb +24 -0
- data/projects/type_declarations/src/handlers/extend_tuple_type_declaration.rb +13 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/desugarizer_metadata_cleanup_desugarizer.rb +29 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/short_type_name_desugarizer.rb +65 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/strict_desugarizer.rb +32 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/strict_stringified_desugarizer.rb +39 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/symbol_desugarizer.rb +26 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/to_type_transformer.rb +28 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration/type_desugarizer.rb +24 -0
- data/projects/type_declarations/src/handlers/registered_type_declaration.rb +26 -0
- data/projects/type_declarations/src/processor.rb +7 -0
- data/projects/type_declarations/src/to_type_transformer.rb +11 -0
- data/projects/type_declarations/src/transformer.rb +7 -0
- data/projects/type_declarations/src/type_builder.rb +112 -0
- data/projects/type_declarations/src/type_declaration_error.rb +9 -0
- data/projects/type_declarations/src/type_declaration_handler.rb +120 -0
- data/projects/type_declarations/src/type_declaration_handler_registry.rb +27 -0
- data/projects/type_declarations/src/type_declaration_validator.rb +19 -0
- data/projects/type_declarations/src/type_declarations.rb +128 -0
- data/projects/type_declarations/src/typed_transformer.rb +89 -0
- data/projects/type_declarations/src/validator.rb +7 -0
- data/projects/type_declarations/src/with_registries.rb +41 -0
- data/projects/types/lib/foobara/types.rb +11 -0
- data/projects/types/src/element_processor.rb +7 -0
- data/projects/types/src/extensions/error.rb +32 -0
- data/projects/types/src/type/concerns/reflection.rb +79 -0
- data/projects/types/src/type/concerns/supported_processor_registration.rb +56 -0
- data/projects/types/src/type.rb +375 -0
- data/projects/types/src/types.rb +4 -0
- data/projects/value/lib/foobara/value.rb +7 -0
- data/projects/value/src/caster.rb +84 -0
- data/projects/value/src/data_error.rb +27 -0
- data/projects/value/src/processor/casting.rb +123 -0
- data/projects/value/src/processor/multi.rb +63 -0
- data/projects/value/src/processor/pipeline.rb +27 -0
- data/projects/value/src/processor/runner.rb +38 -0
- data/projects/value/src/processor/selection.rb +90 -0
- data/projects/value/src/processor.rb +358 -0
- data/projects/value/src/transformer.rb +84 -0
- data/projects/value/src/validator.rb +53 -0
- data/projects/version/lib/foobara/version.rb +4 -0
- data/projects/version/src/version.rb +5 -0
- data/projects/weak_object_set/lib/foobara/weak_object_set.rb +3 -0
- data/projects/weak_object_set/src/weak_object_set.rb +163 -0
- metadata +445 -0
metadata
ADDED
@@ -0,0 +1,445 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: foobara
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Miles Georgi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: foobara-util
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Implements command pattern for encapsulating and managing domain complexity
|
28
|
+
as well as many supporting libraries including entities.
|
29
|
+
email:
|
30
|
+
- azimux@gmail.com
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- ".rspec"
|
36
|
+
- ".rubocop.yml"
|
37
|
+
- ".ruby-version"
|
38
|
+
- CHANGELOG.md
|
39
|
+
- DECISION_LOG.md
|
40
|
+
- Guardfile
|
41
|
+
- LICENSE-AGPL.txt
|
42
|
+
- LICENSE.txt
|
43
|
+
- README.md
|
44
|
+
- Rakefile
|
45
|
+
- concepts.md
|
46
|
+
- projects/builtin_types/lib/foobara/builtin_types.rb
|
47
|
+
- projects/builtin_types/src/README.md
|
48
|
+
- projects/builtin_types/src/array/casters/arrayable.rb
|
49
|
+
- projects/builtin_types/src/array/supported_processors/element_type_declaration.rb
|
50
|
+
- projects/builtin_types/src/array/supported_validators/size.rb
|
51
|
+
- projects/builtin_types/src/associative_array/casters/array.rb
|
52
|
+
- projects/builtin_types/src/associative_array/supported_processors/key_type_declaration.rb
|
53
|
+
- projects/builtin_types/src/associative_array/supported_processors/value_type_declaration.rb
|
54
|
+
- projects/builtin_types/src/atomic_duck.rb
|
55
|
+
- projects/builtin_types/src/attributes/casters/array.rb
|
56
|
+
- projects/builtin_types/src/attributes/casters/hash.rb
|
57
|
+
- projects/builtin_types/src/attributes/supported_processors/element_type_declarations.rb
|
58
|
+
- projects/builtin_types/src/attributes/supported_transformers/defaults.rb
|
59
|
+
- projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/desugarizers/move_defaults_from_element_types_to_root.rb
|
60
|
+
- projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/desugarizers/symbolize_defaults.rb
|
61
|
+
- projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/hash_with_symbolic_keys.rb
|
62
|
+
- projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/valid_attribute_names.rb
|
63
|
+
- projects/builtin_types/src/attributes/supported_validators/required.rb
|
64
|
+
- projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/desugarizers/move_required_from_element_types_to_root.rb
|
65
|
+
- projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/array_of_symbols.rb
|
66
|
+
- projects/builtin_types/src/attributes/supported_validators/required/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/array_with_valid_attribute_names.rb
|
67
|
+
- projects/builtin_types/src/big_decimal/casters/integer.rb
|
68
|
+
- projects/builtin_types/src/big_decimal/casters/string.rb
|
69
|
+
- projects/builtin_types/src/boolean/casters/numeric.rb
|
70
|
+
- projects/builtin_types/src/boolean/casters/string_or_symbol.rb
|
71
|
+
- projects/builtin_types/src/builtin_types.rb
|
72
|
+
- projects/builtin_types/src/date/casters/hash.rb
|
73
|
+
- projects/builtin_types/src/date/casters/string.rb
|
74
|
+
- projects/builtin_types/src/datetime/casters/date.rb
|
75
|
+
- projects/builtin_types/src/datetime/casters/hash.rb
|
76
|
+
- projects/builtin_types/src/datetime/casters/seconds_since_epoch.rb
|
77
|
+
- projects/builtin_types/src/datetime/casters/string.rb
|
78
|
+
- projects/builtin_types/src/duck.rb
|
79
|
+
- projects/builtin_types/src/duck/supported_casters/allow_nil.rb
|
80
|
+
- projects/builtin_types/src/duck/supported_validators/instance_of.rb
|
81
|
+
- projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/class_desugarizer.rb
|
82
|
+
- projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/instance_of_class_desugarizer.rb
|
83
|
+
- projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/instance_of_symbol_desugarizer.rb
|
84
|
+
- projects/builtin_types/src/duck/supported_validators/instance_of/type_declaration_extension/extend_registered_type_declaration/type_declaration_validators/is_valid_class.rb
|
85
|
+
- projects/builtin_types/src/duck/supported_validators/one_of.rb
|
86
|
+
- projects/builtin_types/src/duck/supported_validators/one_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/cast_one_of.rb
|
87
|
+
- projects/builtin_types/src/duck/supported_validators/one_of/type_declaration_extension/extend_registered_type_declaration/desugarizers/module_desugarizer.rb
|
88
|
+
- projects/builtin_types/src/duckture.rb
|
89
|
+
- projects/builtin_types/src/email/transformers/downcase.rb
|
90
|
+
- projects/builtin_types/src/email/validator_base.rb
|
91
|
+
- projects/builtin_types/src/float/casters/integer.rb
|
92
|
+
- projects/builtin_types/src/float/casters/string.rb
|
93
|
+
- projects/builtin_types/src/integer/casters/string.rb
|
94
|
+
- projects/builtin_types/src/number/supported_validators/max.rb
|
95
|
+
- projects/builtin_types/src/number/supported_validators/min.rb
|
96
|
+
- projects/builtin_types/src/string/casters/numeric.rb
|
97
|
+
- projects/builtin_types/src/string/casters/symbol.rb
|
98
|
+
- projects/builtin_types/src/string/supported_transformers/downcase.rb
|
99
|
+
- projects/builtin_types/src/string/supported_validators/matches.rb
|
100
|
+
- projects/builtin_types/src/string/supported_validators/max_length.rb
|
101
|
+
- projects/builtin_types/src/symbol/casters/string.rb
|
102
|
+
- projects/builtin_types/src/tuple/supported_processors/element_type_declarations.rb
|
103
|
+
- projects/builtin_types/src/tuple/supported_processors/element_type_declarations/type_declaration_extension/extend_tuple_type_declaration/desugarizers/set_size.rb
|
104
|
+
- projects/builtin_types/src/tuple/supported_processors/element_type_declarations/type_declaration_extension/extend_tuple_type_declaration/type_declaration_validators/size_matches.rb
|
105
|
+
- projects/callback/lib/foobara/callback.rb
|
106
|
+
- projects/callback/src/block.rb
|
107
|
+
- projects/callback/src/block/after.rb
|
108
|
+
- projects/callback/src/block/around.rb
|
109
|
+
- projects/callback/src/block/before.rb
|
110
|
+
- projects/callback/src/block/concerns/block_parameter_not_allowed.rb
|
111
|
+
- projects/callback/src/block/concerns/block_parameter_required.rb
|
112
|
+
- projects/callback/src/block/concerns/keyword_argumentable_block.rb
|
113
|
+
- projects/callback/src/block/concerns/single_argument_block.rb
|
114
|
+
- projects/callback/src/block/concerns/type.rb
|
115
|
+
- projects/callback/src/block/error.rb
|
116
|
+
- projects/callback/src/registry/base.rb
|
117
|
+
- projects/callback/src/registry/chained_conditioned.rb
|
118
|
+
- projects/callback/src/registry/chained_multiple_action.rb
|
119
|
+
- projects/callback/src/registry/conditioned.rb
|
120
|
+
- projects/callback/src/registry/multiple_action.rb
|
121
|
+
- projects/callback/src/registry/single_action.rb
|
122
|
+
- projects/callback/src/runner.rb
|
123
|
+
- projects/callback/src/set.rb
|
124
|
+
- projects/command/lib/foobara/command.rb
|
125
|
+
- projects/command/src/command.rb
|
126
|
+
- projects/command/src/command/entity_helpers.rb
|
127
|
+
- projects/command/src/concerns/callbacks.rb
|
128
|
+
- projects/command/src/concerns/description.rb
|
129
|
+
- projects/command/src/concerns/domain_mappers.rb
|
130
|
+
- projects/command/src/concerns/entities.rb
|
131
|
+
- projects/command/src/concerns/errors.rb
|
132
|
+
- projects/command/src/concerns/errors_type.rb
|
133
|
+
- projects/command/src/concerns/inputs.rb
|
134
|
+
- projects/command/src/concerns/inputs_type.rb
|
135
|
+
- projects/command/src/concerns/namespace.rb
|
136
|
+
- projects/command/src/concerns/reflection.rb
|
137
|
+
- projects/command/src/concerns/result.rb
|
138
|
+
- projects/command/src/concerns/result_type.rb
|
139
|
+
- projects/command/src/concerns/runtime.rb
|
140
|
+
- projects/command/src/concerns/state_machine.rb
|
141
|
+
- projects/command/src/concerns/subcommands.rb
|
142
|
+
- projects/command/src/concerns/transactions.rb
|
143
|
+
- projects/command/src/state_machine.rb
|
144
|
+
- projects/command/src/transformed_command.rb
|
145
|
+
- projects/command_connectors/lib/foobara/command_connectors.rb
|
146
|
+
- projects/command_connectors/src/command_connector.rb
|
147
|
+
- projects/command_connectors/src/command_registry.rb
|
148
|
+
- projects/command_connectors/src/command_registry/allowed_rule.rb
|
149
|
+
- projects/command_connectors/src/command_registry/exposed_command.rb
|
150
|
+
- projects/command_connectors/src/command_registry/exposed_domain.rb
|
151
|
+
- projects/command_connectors/src/command_registry/exposed_organization.rb
|
152
|
+
- projects/command_connectors/src/commands/describe.rb
|
153
|
+
- projects/command_connectors/src/commands/list_commands.rb
|
154
|
+
- projects/command_connectors/src/commands/ping.rb
|
155
|
+
- projects/command_connectors/src/commands/query_git_commit_info.rb
|
156
|
+
- projects/command_connectors/src/request.rb
|
157
|
+
- projects/command_connectors/src/response.rb
|
158
|
+
- projects/command_connectors/src/serializer.rb
|
159
|
+
- projects/command_connectors/src/serializers/aggregate_serializer.rb
|
160
|
+
- projects/command_connectors/src/serializers/atomic_serializer.rb
|
161
|
+
- projects/command_connectors/src/serializers/entities_to_primary_keys_serializer.rb
|
162
|
+
- projects/command_connectors/src/serializers/errors_serializer.rb
|
163
|
+
- projects/command_connectors/src/serializers/json_serializer.rb
|
164
|
+
- projects/command_connectors/src/serializers/noop_serializer.rb
|
165
|
+
- projects/command_connectors/src/serializers/record_store_serializer.rb
|
166
|
+
- projects/command_connectors/src/serializers/success_serializer.rb
|
167
|
+
- projects/command_connectors/src/serializers/yaml_serializer.rb
|
168
|
+
- projects/command_connectors/src/transformers/auth_errors_transformer.rb
|
169
|
+
- projects/command_connectors/src/transformers/load_aggregates_pre_commit_transformer.rb
|
170
|
+
- projects/command_connectors_http/lib/foobara/command_connectors_http.rb
|
171
|
+
- projects/command_connectors_http/src/http.rb
|
172
|
+
- projects/command_connectors_http/src/http/commands/get_options.rb
|
173
|
+
- projects/command_connectors_http/src/http/commands/help.rb
|
174
|
+
- projects/command_connectors_http/src/http/commands/help/presenter.rb
|
175
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/command.rb
|
176
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/domain.rb
|
177
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/entity.rb
|
178
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/error.rb
|
179
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/model.rb
|
180
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/organization.rb
|
181
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/processor.rb
|
182
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/processor_class.rb
|
183
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/root.rb
|
184
|
+
- projects/command_connectors_http/src/http/commands/help/presenter/type.rb
|
185
|
+
- projects/command_connectors_http/src/http/commands/help/templates/command.html.erb
|
186
|
+
- projects/command_connectors_http/src/http/commands/help/templates/domain.html.erb
|
187
|
+
- projects/command_connectors_http/src/http/commands/help/templates/entity.html.erb
|
188
|
+
- projects/command_connectors_http/src/http/commands/help/templates/error.html.erb
|
189
|
+
- projects/command_connectors_http/src/http/commands/help/templates/model.html.erb
|
190
|
+
- projects/command_connectors_http/src/http/commands/help/templates/organization.html.erb
|
191
|
+
- projects/command_connectors_http/src/http/commands/help/templates/processor.html.erb
|
192
|
+
- projects/command_connectors_http/src/http/commands/help/templates/processor_class.html.erb
|
193
|
+
- projects/command_connectors_http/src/http/commands/help/templates/root.html.erb
|
194
|
+
- projects/command_connectors_http/src/http/commands/help/templates/type.html.erb
|
195
|
+
- projects/command_connectors_http/src/http/request.rb
|
196
|
+
- projects/command_connectors_http/src/http/response.rb
|
197
|
+
- projects/common/lib/foobara/common.rb
|
198
|
+
- projects/common/src/data_path.rb
|
199
|
+
- projects/common/src/error.rb
|
200
|
+
- projects/common/src/error_collection.rb
|
201
|
+
- projects/common/src/error_key.rb
|
202
|
+
- projects/common/src/outcome.rb
|
203
|
+
- projects/common/src/possible_error.rb
|
204
|
+
- projects/common/src/runtime_error.rb
|
205
|
+
- projects/concerns/lib/foobara/concerns.rb
|
206
|
+
- projects/concerns/src/concern.rb
|
207
|
+
- projects/delegate/lib/foobara/delegate.rb
|
208
|
+
- projects/delegate/src/extensions/module.rb
|
209
|
+
- projects/domain/lib/foobara/domain.rb
|
210
|
+
- projects/domain/src/domain.rb
|
211
|
+
- projects/domain/src/domain_mapper.rb
|
212
|
+
- projects/domain/src/domain_mapper/registry.rb
|
213
|
+
- projects/domain/src/domain_module_extension.rb
|
214
|
+
- projects/domain/src/extensions/foobara.rb
|
215
|
+
- projects/domain/src/global_domain.rb
|
216
|
+
- projects/domain/src/global_organization.rb
|
217
|
+
- projects/domain/src/is_manifestable.rb
|
218
|
+
- projects/domain/src/manifestable.rb
|
219
|
+
- projects/domain/src/module_extension.rb
|
220
|
+
- projects/domain/src/organization.rb
|
221
|
+
- projects/domain/src/organization_module_extension.rb
|
222
|
+
- projects/entity/lib/foobara/entity.rb
|
223
|
+
- projects/entity/src/concerns/associations.rb
|
224
|
+
- projects/entity/src/concerns/attributes.rb
|
225
|
+
- projects/entity/src/concerns/callbacks.rb
|
226
|
+
- projects/entity/src/concerns/initialization.rb
|
227
|
+
- projects/entity/src/concerns/persistence.rb
|
228
|
+
- projects/entity/src/concerns/primary_key.rb
|
229
|
+
- projects/entity/src/concerns/queries.rb
|
230
|
+
- projects/entity/src/concerns/reflection.rb
|
231
|
+
- projects/entity/src/concerns/transactions.rb
|
232
|
+
- projects/entity/src/concerns/types.rb
|
233
|
+
- projects/entity/src/entity.rb
|
234
|
+
- projects/entity/src/extensions/builtin_types/entity.rb
|
235
|
+
- projects/entity/src/extensions/builtin_types/entity/casters/hash.rb
|
236
|
+
- projects/entity/src/extensions/builtin_types/entity/validators/attributes_declaration.rb
|
237
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration.rb
|
238
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/attributes_handler_desugarizer.rb
|
239
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/hash_desugarizer.rb
|
240
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/model_class_desugarizer.rb
|
241
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/primary_key_desugarizer.rb
|
242
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/to_type_transformer.rb
|
243
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_is_symbol.rb
|
244
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_present.rb
|
245
|
+
- projects/entity/src/extensions/type_declarations/handlers/extend_entity_type_declaration/validate_primary_key_references_attribute.rb
|
246
|
+
- projects/entity/src/new_prepend.rb
|
247
|
+
- projects/entity/src/not_found_error.rb
|
248
|
+
- projects/enumerated/lib/foobara/enumerated.rb
|
249
|
+
- projects/enumerated/src/accessors.rb
|
250
|
+
- projects/enumerated/src/values.rb
|
251
|
+
- projects/foobara/lib/foobara/all.rb
|
252
|
+
- projects/in_memory_crud_driver/lib/foobara/in_memory_crud_driver.rb
|
253
|
+
- projects/in_memory_crud_driver/src/in_memory.rb
|
254
|
+
- projects/in_memory_crud_driver_minimal/lib/foobara/in_memory_crud_driver_minimal.rb
|
255
|
+
- projects/in_memory_crud_driver_minimal/src/in_memory_minimal.rb
|
256
|
+
- projects/manifest/lib/foobara/manifest.rb
|
257
|
+
- projects/manifest/src/foobara/manifest/array.rb
|
258
|
+
- projects/manifest/src/foobara/manifest/attributes.rb
|
259
|
+
- projects/manifest/src/foobara/manifest/base_manifest.rb
|
260
|
+
- projects/manifest/src/foobara/manifest/command.rb
|
261
|
+
- projects/manifest/src/foobara/manifest/domain.rb
|
262
|
+
- projects/manifest/src/foobara/manifest/entity.rb
|
263
|
+
- projects/manifest/src/foobara/manifest/error.rb
|
264
|
+
- projects/manifest/src/foobara/manifest/model.rb
|
265
|
+
- projects/manifest/src/foobara/manifest/organization.rb
|
266
|
+
- projects/manifest/src/foobara/manifest/possible_error.rb
|
267
|
+
- projects/manifest/src/foobara/manifest/processor.rb
|
268
|
+
- projects/manifest/src/foobara/manifest/processor_class.rb
|
269
|
+
- projects/manifest/src/foobara/manifest/root_manifest.rb
|
270
|
+
- projects/manifest/src/foobara/manifest/type.rb
|
271
|
+
- projects/manifest/src/foobara/manifest/type_declaration.rb
|
272
|
+
- projects/model/lib/foobara/model.rb
|
273
|
+
- projects/model/src/concerns/reflection.rb
|
274
|
+
- projects/model/src/concerns/types.rb
|
275
|
+
- projects/model/src/extensions/builtin_types/model/casters/hash.rb
|
276
|
+
- projects/model/src/extensions/builtin_types/model/transformers/mutable.rb
|
277
|
+
- projects/model/src/extensions/builtin_types/model/validators/attributes_declaration.rb
|
278
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration.rb
|
279
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/attributes_handler_desugarizer.rb
|
280
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/hash_desugarizer.rb
|
281
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/model_class_desugarizer.rb
|
282
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/to_type_transformer.rb
|
283
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration.rb
|
284
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/hash_desugarizer.rb
|
285
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/model_class_type_desugarizer.rb
|
286
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/mutable_validator.rb
|
287
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/normalize_mutable_attributes_desugarizer.rb
|
288
|
+
- projects/model/src/extensions/type_declarations/handlers/extend_registered_model_type_declaration/to_type_transformer.rb
|
289
|
+
- projects/model/src/extensions/type_declarations/handlers/registered_type_declaration/model_class_desugarizer.rb
|
290
|
+
- projects/model/src/model.rb
|
291
|
+
- projects/monorepo/lib/foobara/monorepo.rb
|
292
|
+
- projects/monorepo/lib/foobara/monorepo/project.rb
|
293
|
+
- projects/namespace/lib/foobara/namespace.rb
|
294
|
+
- projects/namespace/src/ambiguous_registry.rb
|
295
|
+
- projects/namespace/src/base_registry.rb
|
296
|
+
- projects/namespace/src/extensions/module.rb
|
297
|
+
- projects/namespace/src/is_namespace.rb
|
298
|
+
- projects/namespace/src/namespace.rb
|
299
|
+
- projects/namespace/src/namespace/lookup_mode.rb
|
300
|
+
- projects/namespace/src/namespace_helpers.rb
|
301
|
+
- projects/namespace/src/prefixless_registry.rb
|
302
|
+
- projects/namespace/src/scoped.rb
|
303
|
+
- projects/namespace/src/unambiguous_registry.rb
|
304
|
+
- projects/persistence/lib/foobara/persistence.rb
|
305
|
+
- projects/persistence/src/entity_attributes_crud_driver.rb
|
306
|
+
- projects/persistence/src/entity_base.rb
|
307
|
+
- projects/persistence/src/entity_base/table.rb
|
308
|
+
- projects/persistence/src/entity_base/transaction.rb
|
309
|
+
- projects/persistence/src/entity_base/transaction/concerns/entity_callback_handling.rb
|
310
|
+
- projects/persistence/src/entity_base/transaction/concerns/state_transitions.rb
|
311
|
+
- projects/persistence/src/entity_base/transaction/concerns/transaction_tracking.rb
|
312
|
+
- projects/persistence/src/entity_base/transaction/state_machine.rb
|
313
|
+
- projects/persistence/src/entity_base/transaction_table.rb
|
314
|
+
- projects/persistence/src/entity_base/transaction_table/concerns/queries.rb
|
315
|
+
- projects/persistence/src/entity_base/transaction_table/concerns/record_tracking.rb
|
316
|
+
- projects/persistence/src/persistence.rb
|
317
|
+
- projects/state_machine/lib/foobara/state_machine.rb
|
318
|
+
- projects/state_machine/src/callbacks.rb
|
319
|
+
- projects/state_machine/src/log_entry.rb
|
320
|
+
- projects/state_machine/src/state_machine.rb
|
321
|
+
- projects/state_machine/src/sugar.rb
|
322
|
+
- projects/state_machine/src/transition_log.rb
|
323
|
+
- projects/state_machine/src/validations.rb
|
324
|
+
- projects/thread_parent/lib/foobara/thread_parent.rb
|
325
|
+
- projects/thread_parent/src/thread_parent.rb
|
326
|
+
- projects/type_declarations/lib/foobara/type_declarations.rb
|
327
|
+
- projects/type_declarations/src/attributes.rb
|
328
|
+
- projects/type_declarations/src/caster.rb
|
329
|
+
- projects/type_declarations/src/desugarizer.rb
|
330
|
+
- projects/type_declarations/src/dsl/attributes.rb
|
331
|
+
- projects/type_declarations/src/element_processor.rb
|
332
|
+
- projects/type_declarations/src/error_extension.rb
|
333
|
+
- projects/type_declarations/src/handlers/extend_array_type_declaration.rb
|
334
|
+
- projects/type_declarations/src/handlers/extend_array_type_declaration/array_desugarizer.rb
|
335
|
+
- projects/type_declarations/src/handlers/extend_array_type_declaration/element_type_declaration_desugarizer.rb
|
336
|
+
- projects/type_declarations/src/handlers/extend_array_type_declaration/to_type_transformer.rb
|
337
|
+
- projects/type_declarations/src/handlers/extend_array_type_declaration/type_set_to_array_desugarizer.rb
|
338
|
+
- projects/type_declarations/src/handlers/extend_associative_array_type_declaration.rb
|
339
|
+
- projects/type_declarations/src/handlers/extend_associative_array_type_declaration/to_type_transformer.rb
|
340
|
+
- projects/type_declarations/src/handlers/extend_attributes_type_declaration.rb
|
341
|
+
- projects/type_declarations/src/handlers/extend_attributes_type_declaration/dsl_desugarizer.rb
|
342
|
+
- projects/type_declarations/src/handlers/extend_attributes_type_declaration/element_type_declarations_desugarizer.rb
|
343
|
+
- projects/type_declarations/src/handlers/extend_attributes_type_declaration/hash_desugarizer.rb
|
344
|
+
- projects/type_declarations/src/handlers/extend_attributes_type_declaration/to_type_transformer.rb
|
345
|
+
- projects/type_declarations/src/handlers/extend_registered_type_declaration.rb
|
346
|
+
- projects/type_declarations/src/handlers/extend_registered_type_declaration/to_type_transformer.rb
|
347
|
+
- projects/type_declarations/src/handlers/extend_tuple_type_declaration.rb
|
348
|
+
- projects/type_declarations/src/handlers/extend_tuple_type_declaration/array_desugarizer.rb
|
349
|
+
- projects/type_declarations/src/handlers/extend_tuple_type_declaration/to_type_transformer.rb
|
350
|
+
- projects/type_declarations/src/handlers/registered_type_declaration.rb
|
351
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/desugarizer_metadata_cleanup_desugarizer.rb
|
352
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/short_type_name_desugarizer.rb
|
353
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/strict_desugarizer.rb
|
354
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/strict_stringified_desugarizer.rb
|
355
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/symbol_desugarizer.rb
|
356
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/to_type_transformer.rb
|
357
|
+
- projects/type_declarations/src/handlers/registered_type_declaration/type_desugarizer.rb
|
358
|
+
- projects/type_declarations/src/processor.rb
|
359
|
+
- projects/type_declarations/src/to_type_transformer.rb
|
360
|
+
- projects/type_declarations/src/transformer.rb
|
361
|
+
- projects/type_declarations/src/type_builder.rb
|
362
|
+
- projects/type_declarations/src/type_declaration_error.rb
|
363
|
+
- projects/type_declarations/src/type_declaration_handler.rb
|
364
|
+
- projects/type_declarations/src/type_declaration_handler_registry.rb
|
365
|
+
- projects/type_declarations/src/type_declaration_validator.rb
|
366
|
+
- projects/type_declarations/src/type_declarations.rb
|
367
|
+
- projects/type_declarations/src/typed_transformer.rb
|
368
|
+
- projects/type_declarations/src/validator.rb
|
369
|
+
- projects/type_declarations/src/with_registries.rb
|
370
|
+
- projects/types/lib/foobara/types.rb
|
371
|
+
- projects/types/src/element_processor.rb
|
372
|
+
- projects/types/src/extensions/error.rb
|
373
|
+
- projects/types/src/type.rb
|
374
|
+
- projects/types/src/type/concerns/reflection.rb
|
375
|
+
- projects/types/src/type/concerns/supported_processor_registration.rb
|
376
|
+
- projects/types/src/types.rb
|
377
|
+
- projects/value/lib/foobara/value.rb
|
378
|
+
- projects/value/src/caster.rb
|
379
|
+
- projects/value/src/data_error.rb
|
380
|
+
- projects/value/src/processor.rb
|
381
|
+
- projects/value/src/processor/casting.rb
|
382
|
+
- projects/value/src/processor/multi.rb
|
383
|
+
- projects/value/src/processor/pipeline.rb
|
384
|
+
- projects/value/src/processor/runner.rb
|
385
|
+
- projects/value/src/processor/selection.rb
|
386
|
+
- projects/value/src/transformer.rb
|
387
|
+
- projects/value/src/validator.rb
|
388
|
+
- projects/version/lib/foobara/version.rb
|
389
|
+
- projects/version/src/version.rb
|
390
|
+
- projects/weak_object_set/lib/foobara/weak_object_set.rb
|
391
|
+
- projects/weak_object_set/src/weak_object_set.rb
|
392
|
+
homepage: https://github.com/foobara/foobara
|
393
|
+
licenses:
|
394
|
+
- AGPL-3.0
|
395
|
+
metadata:
|
396
|
+
homepage_uri: https://github.com/foobara/foobara
|
397
|
+
source_code_uri: https://github.com/foobara/foobara
|
398
|
+
changelog_uri: https://github.com/foobara/foobara/CHANGELOG.md
|
399
|
+
rubygems_mfa_required: 'true'
|
400
|
+
post_install_message:
|
401
|
+
rdoc_options: []
|
402
|
+
require_paths:
|
403
|
+
- "./projects/builtin_types/lib"
|
404
|
+
- "./projects/callback/lib"
|
405
|
+
- "./projects/command/lib"
|
406
|
+
- "./projects/command_connectors/lib"
|
407
|
+
- "./projects/command_connectors_http/lib"
|
408
|
+
- "./projects/common/lib"
|
409
|
+
- "./projects/concerns/lib"
|
410
|
+
- "./projects/delegate/lib"
|
411
|
+
- "./projects/domain/lib"
|
412
|
+
- "./projects/entity/lib"
|
413
|
+
- "./projects/enumerated/lib"
|
414
|
+
- "./projects/foobara/lib"
|
415
|
+
- "./projects/in_memory_crud_driver/lib"
|
416
|
+
- "./projects/in_memory_crud_driver_minimal/lib"
|
417
|
+
- "./projects/manifest/lib"
|
418
|
+
- "./projects/model/lib"
|
419
|
+
- "./projects/monorepo/lib"
|
420
|
+
- "./projects/namespace/lib"
|
421
|
+
- "./projects/persistence/lib"
|
422
|
+
- "./projects/state_machine/lib"
|
423
|
+
- "./projects/thread_parent/lib"
|
424
|
+
- "./projects/type_declarations/lib"
|
425
|
+
- "./projects/types/lib"
|
426
|
+
- "./projects/value/lib"
|
427
|
+
- "./projects/version/lib"
|
428
|
+
- "./projects/weak_object_set/lib"
|
429
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
430
|
+
requirements:
|
431
|
+
- - ">="
|
432
|
+
- !ruby/object:Gem::Version
|
433
|
+
version: 3.2.2
|
434
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
435
|
+
requirements:
|
436
|
+
- - ">="
|
437
|
+
- !ruby/object:Gem::Version
|
438
|
+
version: '0'
|
439
|
+
requirements: []
|
440
|
+
rubygems_version: 3.4.10
|
441
|
+
signing_key:
|
442
|
+
specification_version: 4
|
443
|
+
summary: Implements command pattern for encapsulating and managing domain complexity
|
444
|
+
as well as many supporting libraries including entities.
|
445
|
+
test_files: []
|