Files | Admin

Notes:

Release Name: 0.2.0

Notes:
title: [ANN] Kwalify 0.2.0 released

Hi,

I have released Kwalify 0.2.0.

Kwalify is a tiny schema validator for YAML document.
It is small and in fact poor than Relax NG or XML Schema,
but it is very useful for YAML user.

Kwalify is implemented in Ruby. You need Ruby 1.8 or
later to use Kwalify.

--
regards,
kwatch



Changes: * Enhancements in 0.2.0 - New type 'scalar' and 'timestamp' added - Add new rule 'range:' which validates value range. See users' guide for details. - Add new rule 'length:' which validate length of string value. See users' guide for details. - Add experimental rule 'assert:' which validates value with an expression. See users' guide for details. - New method 'Kwalify::Validator#validate_hook()' is added. This method is called by Kwalify::Validator#validate(). See users' guide for details. - New class 'MetaValidator' added. - New test script 'test/test-metavalidator.rb' added. * Changes from 0.1.0 - Type name changed to suite YAML data type: = string -> str = integer -> int = boolean -> bool - Error index starts with 0 (before starts with 1). - Class 'Schema' is renamed to 'Rule'.