Added
key?
method available within rules, that can be used to check if there's a value under the rule's default key (refs #540) (@solnic)value
supports hash-based path specifications now (refs #547) (@solnic)value
can read multiple values when the key points to them, ie in case ofrule(geo: [:lat, :lon])
it would return an array withlat
andlon
(@solnic)
Fixed
- Passing multiple macro names to
validate
oreach
works correctly (fixed #538 #541) (@jandudulski)