Permalink
Commits on Mar 11, 2012
  1. Ensure that every _push_*'s matching _pop_* is in a finally block.

    Michael Hudson-Doyle
    Michael Hudson-Doyle committed Mar 11, 2012
    Because validating a type union can have a sub-validation fail but continue
    processing, it is important that a failing validation does not leave the schema
    and object stacks messed up.
Commits on Feb 16, 2012
  1. Bump version to 2.2.0 final

    Zygmunt Krynicki
    Zygmunt Krynicki committed Feb 16, 2012
  2. Update README and describe testing method

    Zygmunt Krynicki
    Zygmunt Krynicki committed Feb 16, 2012
Commits on Feb 13, 2012
  1. Use tox for regression testing

    Zygmunt Krynicki
    Zygmunt Krynicki committed Feb 13, 2012
    The tox.ini file is based on
    http://tox.testrun.org/latest/example/unittest.html
    
    Brief testing seems to indicate that python2.6 and 2.7 work correctly.
    Python 2.5 has issues with exception handlers that use 'as' keyword.
    Python3+ does not work due to missing testtools/testscenarios.
  2. Fix _validate_type() to propery support union types.

    Zygmunt Krynicki
    Zygmunt Krynicki committed Feb 13, 2012
    JSON Schema defines union types in which an object can be of any of the
    types in a list of possibilites. Previously this was not supported
    properly. This patch adds this feature and the unit tests to verify it.
  3. Change Schema.type to return true value

    Zygmunt Krynicki
    Zygmunt Krynicki committed Feb 13, 2012
    Schema.type used to return a list of types regardless of the actual
    schema definition. This behavior is now removed and the true definition
    is returned (after some validation).
    
    In addition the list-of-types, aka the union type is now properly
    validated. The union type is only valid when at least two possible types
    are defined.
    
    Unit tests needed some fixes, hopefully user code will need minor
    adjustments after this incompatible change. The schema class is not used
    widely outside of the validator.
Commits on Jan 31, 2012
  1. Add requirements for versiontools

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jan 31, 2012
    This file can be refereced by readthedocs.org to ensure we can
    properly build documentation inside a virtualenv
Commits on Dec 17, 2011
  1. Update and sort gitignore

    Zygmunt Krynicki Zygmunt Krynicki
    Zygmunt Krynicki authored and Zygmunt Krynicki committed Dec 17, 2011
  2. Add 'regex' to supported formats

    Zygmunt Krynicki Zygmunt Krynicki
    Zygmunt Krynicki authored and Zygmunt Krynicki committed Dec 17, 2011
  3. Bump version to 2.2.dev

    Zygmunt Krynicki Zygmunt Krynicki
    Zygmunt Krynicki authored and Zygmunt Krynicki committed Dec 17, 2011
  4. Properly report unsupported formats

    Zygmunt Krynicki Zygmunt Krynicki
    Zygmunt Krynicki authored and Zygmunt Krynicki committed Dec 17, 2011
  5. Fix format validator if-elsif

    Zygmunt Krynicki Zygmunt Krynicki
    Zygmunt Krynicki authored and Zygmunt Krynicki committed Dec 17, 2011
Commits on Nov 23, 2011
  1. Merge pull request #5 from husio/typofix

    zyga committed Nov 23, 2011
    Fix typo in error message
  2. typo

    husio committed Nov 23, 2011
Commits on Oct 12, 2011
  1. Merge pull request #2 from husio/master

    zyga committed Oct 12, 2011
    Pyflakes and typos fixed
  2. typo fixes

    husio committed Oct 12, 2011
Commits on Sep 14, 2011
  1. Merge pull request #1 from graingert/patch-1

    zyga committed Sep 14, 2011
    Added support for pattern property and regex format
Commits on Jun 23, 2011
  1. Bump version to 2.1

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  2. Update documentation

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  3. Update/add license headers

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  4. Reorganize modules

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  5. Remove usless installation subsection

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  6. Remove newline

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  7. Moved relevant notes and warnings to front documentation page

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  8. Replaced linaro-json with new name

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  9. Remove junk left over from fast-import

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  10. Add .gitignore

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  11. Update documentation

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  12. Mass rename to json-schema-validator

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  13. Bump version to 2.0.1

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  14. Add some more tests

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  15. Mark python2.7 as supported

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011
  16. Fix typo

    Zygmunt Krynicki
    Zygmunt Krynicki committed Jun 23, 2011