All notable changes to this project will be documented in this file.
- RubyGems re-push with fixed gem version;
- [SmartCore::Container]
- support for
dot-notation
;
- support for
- [SmartCore::Container]
- new
#resolve
: now supports only the dot-notated invokation style; - old
#resolve
renamed to#fetch
; - added
#[](dependency_path)
- an alias for#resolve
;
- new
SmartCore::Operation::Custom
result type is renamed toSmartCore::Operation::Callback
;- Full reimplementation of
SmartCore::Container
;
- New result type:
SmartCore::Operation::Custom
with custom logic provided as a proc;
- Common Result Object interface (realized as a mixin (
SmartCore::Operation::ResultInterface
))
- Support for
Symbol
type definition inSmartCore::Initializer
- Valdiator
#fatal
- an#error
-like method that appends validation error code and stops current method execution flow;
- Operation
- New result object type:
Fatal
(SmartCore::Operation::Fatal
,#Fatal
)- stops the operation execution flow and returns
SmartCore::Operation::Fatal
result immidietly; - has
Failure
-like instantiation behavior and internal state (#failure?
,#fatal?
,#errors
);
- stops the operation execution flow and returns
- New result object type:
- Service object abstraction (
SmartCore::Operation
); - Validator
- Support for
&block
attribute at object instantiation;
- Support for
- Validation object abstraction;