Permalink
Commits on Jun 10, 2013
Commits on Jun 5, 2013
  1. README fixes.

    * Add code climate badge.
    * Fix typo.
    
    [ci skip]
    myronmarston committed Jun 5, 2013
Commits on Apr 30, 2013
  1. Fix build on 1.8.7.

    We can't count on hash ordering.
    myronmarston committed Apr 30, 2013
Commits on Apr 29, 2013
  1. 0.10.1 release.

    myronmarston committed Apr 29, 2013
  2. Merge pull request #21 from seomoz/preload_endpoints

    Ensure endpoints aren't loaded multiple times unnecessarily.
    myronmarston committed Apr 29, 2013
Commits on Apr 28, 2013
  1. 0.10.0 release.

    myronmarston committed Apr 28, 2013
  2. Merge pull request #20 from seomoz/nullable

    Add better nullability support.
    myronmarston committed Apr 28, 2013
  3. Fix a couple bugs in the nullable support.

    - Don't change `type: null` to `type: [null]`.
    - Don't blow up when there is an actual property named `type`.
    myronmarston committed Apr 28, 2013
  4. Remove configuration ordering dependency.

    Previously, once you configured `endpoint_definition_files`, no other
    config options would affect the endpoints even if they were meant to
    because the endpoints were already loaded by that point.
    
    This changes the endpoint loading so that it's lazy.
    myronmarston committed Apr 28, 2013
Commits on Apr 27, 2013
  1. Add better nullability support.

    json-schema supports nullability through a type union.
    However, it can be cumbersome to have to use type unions
    everywhere. This commit adds better support for nullability:
    
    * Any property can declare its nullability with a simple
      `nullable: true` declaration.
    * Add a new `scalars_nullable_by_default` config setting.
    myronmarston committed Apr 27, 2013
Commits on Mar 28, 2013
  1. Fix 1.9.2 travis build.

    myronmarston committed Mar 28, 2013
  2. Update RSpec.

    myronmarston committed Mar 28, 2013
  3. Update sinatra.

    myronmarston committed Mar 28, 2013
Commits on Feb 14, 2013
  1. 0.9.0 release.

    myronmarston committed Feb 14, 2013
  2. Merge pull request #16 from seomoz/fixes

    Fixes
    myronmarston committed Feb 14, 2013
  3. Only allow defined formats.

    We've been accidentally using invalid formats like "timestamp" in some places, so this helps ensure we use formats that will actually have a validation effect.
    myronmarston committed Feb 14, 2013
  4. Update to latest json-schema version.

    It's supposed to be threadsafe, among other things.
    myronmarston committed Feb 14, 2013
  5. Add support for complex union types.

    Our `make_schema_strict` logic didn't properly handle these types.  We have to set `additionalProperties = false` on the individual type definitions within the union rather than on the union type itself.
    myronmarston committed Feb 14, 2013
Commits on Jan 18, 2013
  1. 0.8.1 release.

    myronmarston committed Jan 18, 2013
  2. Make interpol rack-lint compliant.

    We had 2 rack-lint errors:
    
    - a header value must be a String, but the value of 'Content-Length' is a Fixnum
    - Content-Type header found in 204 response, not allowed
    myronmarston committed Jan 18, 2013
Commits on Jan 17, 2013
  1. Sinatra::Response no longer has a #join method.

    It was wrong to assume it had one to begin with; according to the
    rack spec, the response body has #each but not necessarily
    any other enumerable or array methods.
    myronmarston committed Jan 17, 2013
  2. 0.8.0 release.

    myronmarston committed Jan 17, 2013
Commits on Dec 28, 2012
Commits on Dec 27, 2012
  1. Ignore bundler binstubs.

    myronmarston committed Dec 27, 2012
Commits on Dec 12, 2012
  1. Release 0.7.3.

    myronmarston committed Dec 12, 2012
  2. Fix DynamicStruct so that #[] returns nil when given an unknown key.

    Previously, it raised a `NoMethodError`, but we only want the error
    when the method syntax is used.
    myronmarston committed Dec 12, 2012
  3. Improve doc string.

    myronmarston committed Dec 12, 2012
Commits on Dec 11, 2012