Permalink
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
  2. Add StubApp.

    myronmarston committed Apr 3, 2012
  3. Add additional files to gemspec.

    [ci skip]
    myronmarston committed Apr 3, 2012
  4. Don't assert on test ordering.

    The Test::Unit spec was failing on 1.9 due to: http://travis-ci.org/#!/seomoz/interpol/jobs/1010738.
    myronmarston committed Apr 3, 2012
  5. Add Travis build status to readme.

    [ci skip]
    myronmarston committed Apr 3, 2012
  6. No debugger on CI.

    myronmarston committed Apr 3, 2012
  7. Add debugger for 1.9.3.

    myronmarston committed Apr 3, 2012
  8. Add test helpers.

    These generate tests for Test::Unit or RSpec that validate your example
    data against the JSON scheme of your endpoint.
    myronmarston committed Apr 3, 2012
Commits on Apr 2, 2012
  1. Define travis settings.

    myronmarston committed Apr 2, 2012