/kwalify

schema validator and data binding for YAML/JSON

Primary LanguageRubyMIT LicenseMIT

= README

release::	0.7.1
lastupdate::	$Date: 2008-01-28 15:27:12 +0900 (Mon, 28 Jan 2008) $
copyright::	copyright(c) 2005-2008 kuwata-lab all rights reserved.



== Introduction

Kwalify is a parser, schema validator, and data binding tool for
YAML and JSON.

See doc/users-guide.html for details.



== Installation

If you have installed RubyGems, just type 'gem install kwalify' 

  $ sudo gem install kwalify
   
Else if you can be root user, use 'setup.rb' as following:

  $ tar xjf kwalify-0.7.1.tar.bz2
  $ cd kwalify-0.7.1/
  $ sudo ruby setup.rb install

Else copy script and libraries to proper directory.

  $ tar xjf kwalify-0.7.1.tar.bz2
  $ cd kwalify-0.7.1/
  $ mkdir -p $HOME/bin
  $ cp -a bin/* $HOME/bin
  $ export PATH=$PATH:$HOME/bin
  $ mkdir -p $HOME/lib/ruby
  $ cp -a lib/* $HOME/lib/ruby
  $ export RUBYLIB=$HOME/lib/ruby

(Optional) 'contrib/inline-require' script to concatenate all script
and libraries into a file.
  
  $ tar xjf kwalify-0.7.1.tar.bz2
  $ cd kwalify-0.7.1/
  $ unset RUBYLIB
  $ ruby contrib/inline-require -I ./lib bin/kwalify > contrib/kwalify
  $ chmod a+x contrib/kwalify
  $ mv contrib/kwalify $HOME/bin



== License

   MIT License



== Copyright

   copyright(c) 2005-2008 kuwata-lab all rights reserved.