Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 17, 2012
  1. @myronmarston

    0.4.0 release.

    myronmarston authored
  2. @myronmarston

    available_versions => available_request_versions/available_response_v…

    myronmarston authored
    …ersions
    
    These need to be separate lists.
  3. @myronmarston

    Improve failure message.

    myronmarston authored
Commits on Oct 16, 2012
  1. @myronmarston

    Add RequestBodyValidator.

    myronmarston authored
    Closes #6.
  2. @myronmarston
  3. @myronmarston

    on_unavailable_request_version => on_unavailable_sinatra_request_version

    myronmarston authored
    I'm going to add a similar hook for use with rack.
  4. @myronmarston
  5. @myronmarston

    validate_if => validate_response_if

    myronmarston authored
    We're going to need a separate validate_request_if callback so
    renaming this makes sense.
  6. @myronmarston

    Fix typo.

    myronmarston authored
    [ci skip]
  7. @myronmarston

    Fix couple of spec that failed on 1.8.7 on travis.

    myronmarston authored
    We can't count on the ordering of a set.
  8. @myronmarston

    Build all branches.

    myronmarston authored
  9. @myronmarston

    Fix 1.8.7 syntax errors.

    myronmarston authored
    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. @myronmarston
  2. @myronmarston
  3. @myronmarston

    Change api_version to separate request_version/response_version.

    myronmarston authored
    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
  1. @myronmarston
  2. @myronmarston
  3. @myronmarston
Commits on Oct 3, 2012
  1. @myronmarston

    0.3.6 release.

    myronmarston authored
  2. @myronmarston
  3. @myronmarston

    0.3.5 release.

    myronmarston authored
  4. @myronmarston

    Fix issue with request_params_parser being used with a sinatra app th…

    myronmarston authored
    …at is instantiated multiple times.
Commits on Oct 2, 2012
  1. @myronmarston

    0.3.4 release.

    myronmarston authored
  2. @myronmarston
  3. @myronmarston

    0.3.3 release.

    myronmarston authored
  4. @myronmarston

    Fix StubApp/RequestParamsParser to play nice together.

    myronmarston authored
    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.
  5. @myronmarston
  6. @myronmarston

    0.3.2 release.

    myronmarston authored
  7. @myronmarston

    Fix issue we ran into on staging.

    myronmarston authored
    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. @myronmarston

    0.3.1 release.

    myronmarston authored
  2. @myronmarston

    Work around the fact that NewRelic double-processes routes.

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

    0.3.0 release.

    myronmarston authored
  2. @myronmarston
Commits on Sep 23, 2012
  1. @myronmarston
Something went wrong with that request. Please try again.