Permalink
Commits on Apr 9, 2012
  1. Release 0.0.4.

    myronmarston committed Apr 9, 2012
  2. 0.0.3 release.

    myronmarston committed Apr 9, 2012
  3. Build documentation app.

    myronmarston committed Apr 9, 2012
Commits on Apr 6, 2012
  1. Layout tweaks.

    myronmarston committed Apr 6, 2012
Commits on Apr 5, 2012
  1. 0.0.2 release.

    myronmarston committed Apr 5, 2012
  2. Add example.

    myronmarston committed Apr 4, 2012
  3. Add pending spec for sinatra bug.

    For a 404, the stub_app returns application/json when RACK_ENV=test but text/html otherwise.  I believe this is a sinatra bug:
    
    sinatra/sinatra#500
    myronmarston committed Apr 5, 2012
  4. Check the content type in the default validate_if hook.

    When using sinatra, error pages include images, and we don't want the schema validator to validate responses for those images.
    myronmarston committed Apr 5, 2012
Commits on Apr 4, 2012
  1. Allow endpoints to be assigned directly.

    This makes it easier to test stuff in consuming gems/apps.
    myronmarston committed Apr 4, 2012
  2. Rename config hook.

    myronmarston committed Apr 4, 2012
  3. Move config extension modules into main config object.

    This allows all config options to be set in the default_configuration block.
    myronmarston committed Apr 4, 2012
  4. Fix require.

    [ci skip]
    myronmarston committed Apr 4, 2012
  5. Don't validate a 204 response.

    204 means "no content" so there will be no content to validate.
    myronmarston committed Apr 4, 2012
  6. Don't assume Interpol::Configuration is loaded.

    This allows the Endpoint specs to run on their own. They don't have a dependency on Interpol::Configuration.
    myronmarston committed Apr 4, 2012
Commits on Apr 3, 2012
  1. Use the rack env hash for the api_version callback.

    This will make it consistent with the callback for the ResponseSchemaValidator.
    myronmarston committed Apr 3, 2012