Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
  2. @myronmarston
  3. @myronmarston
  4. @myronmarston

    Provide a better default hash for missing params declarations.

    myronmarston authored
    These actually pass the validation by the parser.
  5. @myronmarston
  6. @myronmarston

    Make path_params/query_params proper json schema definitions.

    myronmarston authored
    Previously, they just contained the entries of a `properties` hash inside a json schema definition.
  7. @myronmarston
  8. @myronmarston
  9. @myronmarston
  10. @myronmarston

    Add RequestParamsParser.

    myronmarston authored
  11. @myronmarston

    Add DynamicStruct class.

    myronmarston authored
  12. @myronmarston

    Expose the route from an endpoint definition.

    myronmarston authored
    We need this for the request param validator.
  13. @myronmarston
Commits on Sep 21, 2012
  1. @myronmarston

    Fix endpoint definition data structures.

    myronmarston authored
    We had weird nested arrays that were confusing, since they led to loops like:
    
    endpoint.definitions.each do |definitions|
      definitions.each do |definition|
      end
    end
    
    This was due to the fact that `Endpoint#definitions` was based on the hash grouping and therefore had a nested array.  It's far less confusing to just return a flat array.  Also, in one place we were doing a linear scan based on the array rather than using the hash like we should.
Commits on Sep 20, 2012
  1. @myronmarston

    0.2.2 release.

    myronmarston authored
  2. @myronmarston

    Ensure our anonymous sinatra classes have a name.

    myronmarston authored
    Some tools (such as new relic) blow up if they don't have a name.
Commits on Aug 20, 2012
  1. @myronmarston

    Upgrade to Cane 2.0.

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

    Fix specs that were failing on RSpec 2.11.

    myronmarston authored
    They were failing due to this change:
    
    rspec/rspec-core@de01e05
Commits on Aug 15, 2012
  1. @myronmarston

    Fix README.

    myronmarston authored
Commits on Jul 3, 2012
  1. @myronmarston

    0.2.1 release.

    myronmarston authored
  2. @myronmarston

    Add filter_example_data to README.

    myronmarston authored
    [ci skip]
  3. @myronmarston

    Use filter_example_data in the generated tests.

    myronmarston authored
    This is important so that if your example data has a placeholder that will not pass JSON schema validation (but will pass validation when replaced by a filter block), the test can still pass.
  4. @myronmarston

    Remove extra line break.

    myronmarston authored
  5. @myronmarston
  6. @myronmarston

    Use a more specific error class.

    myronmarston authored
    Rescuing ArgumentError in the stub app is a bit dangerous: since ruby itself raises that error, it could happen due some bug in the code, and not due to an unfound version.
Commits on Jul 2, 2012
  1. @myronmarston

    0.2.0 release.

    myronmarston authored
  2. @myronmarston

    Fix build on 1.8.

    myronmarston authored
    1.8 has different scoping rules for block locals that shadow other locals.
  3. @myronmarston

    Fix warning on ruby 1.8.

    myronmarston authored
    "warning: multiple values for a block parameter (2 for 1)"
  4. @myronmarston

    Add ruby-debug for 1.8.

    myronmarston authored
  5. @myronmarston
Something went wrong with that request. Please try again.