logo       

[ANN] Kwalify 0.2.0 - a tiny schema validator for YAML: msg#00002

text.yaml.general

Subject: [ANN] Kwalify 0.2.0 - a tiny schema validator for YAML

Hi all,

I have released Kwalify 0.2.0.
Kwalify is a tiny schema validator for YAML.

http://www.kuwata-lab.com/kwalify/

Kwalify requires Ruby 1.8.0 or later. You should intall Ruby before
trying Kwalify.

* 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'.


See users' guide for details.

http://www.kuwata-lab.com/kwalify/users-guide.html

--
regards,
kwatch



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise