Permalink
Commits on Oct 17, 2012
  1. 0.4.1 release.

    myronmarston committed Oct 17, 2012
  2. Don't blow up if given no content type.

    myronmarston committed Oct 17, 2012
    (It's typical to have no content type for a GET).
  3. 0.4.0 release.

    myronmarston committed Oct 17, 2012
  4. available_versions => available_request_versions/available_response_v…

    myronmarston committed Oct 17, 2012
    …ersions
    
    These need to be separate lists.
  5. Improve failure message.

    myronmarston committed Oct 17, 2012
Commits on Oct 16, 2012
  1. Add RequestBodyValidator.

    myronmarston committed Oct 16, 2012
    Closes #6.
  2. on_unavailable_request_version => on_unavailable_sinatra_request_version

    myronmarston committed Oct 16, 2012
    I'm going to add a similar hook for use with rack.
  3. validate_if => validate_response_if

    myronmarston committed Oct 16, 2012
    We're going to need a separate validate_request_if callback so
    renaming this makes sense.
  4. Fix typo.

    myronmarston committed Oct 16, 2012
    [ci skip]
  5. Fix couple of spec that failed on 1.8.7 on travis.

    myronmarston committed Oct 16, 2012
    We can't count on the ordering of a set.
  6. Build all branches.

    myronmarston committed Oct 16, 2012
  7. Fix 1.8.7 syntax errors.

    myronmarston committed Oct 16, 2012
    Now that json-schema 1.0.10 is out with fixed 1.8.7 compatibility, this should fix the build on 1.8.7.
Commits on Oct 15, 2012
  1. Change api_version to separate request_version/response_version.

    myronmarston committed Oct 15, 2012
    This is important for apps that use HTTP content negotiation for 
    versioning.  The response version would be selected based on the
    Content-Type of the response (which the server might select based
    on the Accept request header).  The request version would be
    selected based on the Content-Type of the request.
    
    They need to be separately selectable, hence, separate configs.
Commits on Oct 12, 2012
Commits on Oct 3, 2012
  1. 0.3.6 release.

    myronmarston committed Oct 3, 2012
  2. 0.3.5 release.

    myronmarston committed Oct 3, 2012
  3. Fix issue with request_params_parser being used with a sinatra app th…

    myronmarston committed Oct 3, 2012
    …at is instantiated multiple times.
Commits on Oct 2, 2012
  1. 0.3.4 release.

    myronmarston committed Oct 2, 2012
  2. 0.3.3 release.

    myronmarston committed Oct 2, 2012
  3. Fix StubApp/RequestParamsParser to play nice together.

    myronmarston committed Oct 2, 2012
    There was a naming conflict on `interpol_config`, and both were
    using the sinatra app to store state.  This was problematic so
    I pulled the state-based stuff into a separate class (w/ its own
    scope) so it's no longer a problem.
  4. 0.3.2 release.

    myronmarston committed Oct 2, 2012
  5. Fix issue we ran into on staging.

    myronmarston committed Oct 2, 2012
    When an error occurs and you have particular sinatra settings, it causes the routes to be re-processed, leading to a NoMethodError because it tries to do something on `params`.
    
    This fixes it by only hijacking params for the duration of the route.
Commits on Sep 26, 2012
  1. 0.3.1 release.

    myronmarston committed Sep 26, 2012
  2. Work around the fact that NewRelic double-processes routes.

    myronmarston committed Sep 26, 2012
    It was causing the route to be re-processed with parsed params, leading to errors.
Commits on Sep 25, 2012
Commits on Sep 24, 2012
  1. 0.3.0 release.

    myronmarston committed Sep 24, 2012