Permalink
Commits on Oct 16, 2012
  1. on_unavailable_request_version => on_unavailable_sinatra_request_version

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

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

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

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

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

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

    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.
    myronmarston committed Oct 15, 2012
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…

    …at is instantiated multiple times.
    myronmarston committed Oct 3, 2012
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.

    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.
    myronmarston committed Oct 2, 2012
  4. 0.3.2 release.

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

    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.
    myronmarston committed Oct 2, 2012
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.

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

    myronmarston committed Sep 24, 2012
Commits on Sep 23, 2012
  1. Provide a better default hash for missing params declarations.

    These actually pass the validation by the parser.
    myronmarston committed Sep 21, 2012