:type?predicate imported from dry-types (solnic)Rule#curryinterface (solnic)
- Predicates AST now includes information about args (names & possible values) (fran-worley + solnic)
- Predicates raise errors when they are called with invalid arity (fran-worley + solnic)
- Rules no longer evaluate input twice when building result objects (solnic)
not_eql?,includes?,excludes?predicates (fran-worley)
- Renamed
inclusion?toincluded_in?and deprecatedinclusion?(fran-worley) - Renamed
exclusion?toexcluded_from?and deprecatedexclusion?(fran-worley)
number?,odd?,even?predicates (fran-worley)
- Result AST for
Rule::Eachcorrectly maps elements with eql inputs (solnic)
- Entire AST has been redefined (solnic)
- Support for hash-names in
CheckandResultwhich can properly resolve input from nested results (solnic)
- Support for resolving input from
Rule::Result(solnic)
CheckandResultcarry original input(s) (solnic)
xorreturns wrapped results when used against another result-rule (solnic)
Rule::Attrwhich can be applied to a data object with attr readers (SunnyMagadan)Rule::Resultwhich can be applied to a result object (solnic)true?andfalse?predicates (solnic)
Code extracted from dry-validation 0.4.1