This repository was archived by the owner on Dec 29, 2024. It is now read-only.
Repository navigation
v1.0.0
Added
ActiveInteractor::ConfigActiveInteractor::ConfigurableActiveInteractor::Context::Attributes#merge!ActiveInteractor::Context::Base#mergeActiveInteractor::Context::LoaderActiveInteractor::Context::StatusActiveInteractor::Error::InvalidContextClassActiveInteractor::ModelsActiveInteractor::Organizer::CallbacksActiveInteractor::Organizer::InteractorInterfaceActiveInteractor::Organizer::InteractorInterfaceCollectionActiveInteractor::Organizer::OrganizeActiveInteractor::Organizer::PerformActiveInteractor::Interactor::Context.contextualize_withActiveInteractor::Interactor::Context#context_fail!ActiveInteractor::Interactor::Context#context_rollback!ActiveInteractor::Interactor::Context#finalize_context!ActiveInteractor::Interactor::PerformActiveInteractor::Interactor::Perform::OptionsActiveInteractor::RailsActiveInteractor::Rails::Railtie
Changed
ActiveInteractor::Basenow calls anActiveSupport.on_loadhook with:active_interactorand
ActiveInteractor::BaseActiveInteractor::Context::Attributes.attributesnow excepts arguments for attributesActiveInteractor::Interactor.performnow takes optionsActiveInteractor::Interactor::Context.context_classwill now first attempt to find an
existing context class, and only create a new context class if a context is not found.- Moved
ActiveInteractor::OrganizertoActiveInteractor::Organizer::Base - interactor, organizer, and context generators now accept
context_attributes
as arguments.
Fixed
- various rails generator fixes
Removed
ActiveInteractor::ConfigurationuseActiveInteractor::ConfigActiveInteractor::Context::Attributes.attributes=useActiveInteractor::Context#attributesActiveInteractor::Context::Attributes.attribute_aliasesActiveInteractor::Context::Attributes.alias_attributesActiveInteractor::Context::Attributes#clean!ActiveInteractor::Context::Attributes#keysActiveInteractor::Interactor#fail_on_invalid_context?ActiveInteractor::Interactor#execute_rollbackActiveInteractor::Interactor#should_clean_context?ActiveInteractor::Interactor#skip_clean_context!ActiveInteractor::Interactor::Callbacks.allow_context_to_be_invalidActiveInteractor::Interactor::Callbacks.clean_context_on_completionActiveInteractor::Interactor::Context.context_attribute_aliasesActiveInteractor::Interactor::ExecutionActiveInteractor::Interactor::Worker#run_callbacks