Posted By: Makoto Kuwata
Date: 2005-09-26 07:59
Summary: Kwalify 0.2.0
Project: Kwalify

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.

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

--
regards,
kwatch

Latest News
Version 1.6.0 of Mxx_ru released
    Nicolay Shmakov - 2013-06-19 12:07
TZInfo v1.0.0 and TZInfo::Data v1.2013.3 Released
    Philip Ross - 2013-06-02 17:12
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28

 

Forums | Admin

Discussion Forums: -ann--kwalify-0.2.0-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post