Commits on Jun 28, 2012
  1. Fix issue with MultiJson feature detection.

    You can't reliably detect whether `MultiJson` responds to `load`
    since Kernel defines a `load` method, so use `adapter` as a proxy.
    This should resolve #39.
    committed Jun 28, 2012
Commits on Jun 13, 2012
Commits on Jun 4, 2012
  1. Extract type validation into a helper method.

    This makes it easier for users to customize how unrecognized types are
    See ruby-json-schema#37 (comment)
    for more details.
    myronmarston committed Jun 4, 2012
Commits on May 31, 2012
Commits on May 29, 2012
  1. The base validator method should act as it previously did when not ac…

    …companied with a :uri or :json option
    hoxworth committed May 29, 2012
Commits on May 11, 2012
  1. date-time format should accept times with fractional seconds part (wi…

    …th either comma or dot as separator)
    ILikePies committed May 11, 2012
Commits on Apr 21, 2012
Commits on Apr 8, 2012
  1. add a bunch of tests where the root data object is of various types -…

    … especially string, as this is what was problematic before.
    Ethan committed Jan 27, 2012
  2. add test for validate_json

    Ethan committed Jan 27, 2012
  3. change Validator#initialize_data to only parse json or read from a UR…

    …I when told to. add methods validate_json, validate_uri, and their full and bang counterparts to tell it to.
    Ethan committed Jan 27, 2012
Commits on Feb 23, 2012
Commits on Feb 21, 2012
Commits on Feb 14, 2012
  1. Fixing fully_validate for union types and adding a :errors_as_objects…

    … option to fully_validate to return errors as hash objects instead of strings.
    hoxworth committed Feb 14, 2012
  2. Removing the MultiJSON vendored lib and making it auto-load if availa…

    …ble; otherwise, the old JSON-backend strategy is used. This removes the dependency to MultiJSON, but uses it if available.
    hoxworth committed Feb 14, 2012
Commits on Feb 13, 2012
Commits on Jan 25, 2012
  1. Merge pull request #23 from square/master

    More descriptive error messages
    hoxworth committed Jan 25, 2012
  2. Merge pull request #25 from tommay/master

    Json::Schema::*Error classes should inherit from StandardError instead of Exception.
    hoxworth committed Jan 25, 2012
  3. Bump version

    zachmargolis committed Jan 25, 2012
Commits on Jan 22, 2012
Commits on Jan 17, 2012
  1. Merge branch 'error-message-text'

    Zach Margolis + Matthew Todd committed Jan 17, 2012
  2. More descriptive error messages

    Zach Margolis + Matthew Todd committed Jan 17, 2012
Commits on Jan 4, 2012
  1. Upping the version to 1.0.0, as we are now feature complete and have …

    …been sitting around fixing minor bugs for quite some time now.
    1.0.0 adds the final feature that was originally intended with this library, which is to fully validate a JSON document against a schema and return all errors instead of just bailing out on the first error.
    hoxworth committed Jan 4, 2012