Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Mar 09, 2009

  1. Ryan Tomayko

    0.9.1.1 security release

    rtomayko authored
  2. Ryan Tomayko

    Fix directory traversal vulnerability in static file route [#177]

    rtomayko authored

Mar 03, 2009

  1. Ryan Tomayko

    0.9.1 release

    rtomayko authored
  2. Ryan Tomayko

    Fix broken link to testing doc in README

    rtomayko authored

Mar 02, 2009

  1. Ryan Tomayko

    Undeprecate headers helper method [#125]

    rtomayko authored
  2. Blake Mizerany

    set :environment to :test in TestHarness

    bmizerany authored
  3. Markus Prinz

    Fix test_with_rack_env example in README

    First, there was a missing quote, and second :agent is more
    clear than HTTP_USER_AGENT.
    cypher authored rtomayko committed
  4. Blake Mizerany

    Set :environment to :test when Sinatra::Test is included

    bmizerany authored rtomayko committed
  5. Ryan Tomayko

    Tidy up README a bit; link to @sinatra on Twitter

    rtomayko authored
  6. Ryan Tomayko

    Misc additions to the CHANGES file

    rtomayko authored
  7. Ryan Tomayko

    Trim down Testing section in the README; link to doc site instead

    rtomayko authored

Feb 27, 2009

  1. Ryan Tomayko

    Bump version to 0.9.1 and update CHANGES file

    rtomayko authored
  2. Ryan Tomayko

    Never use Session middleware in test environment [#119]

    rtomayko authored
  3. Ryan Tomayko

    Don't allow :session option in body/params arg; misc refactoring

    This changes the parent commit's :session option semantics just
    slightly. The :session option must be passed as part of the options
    Hash -- the body arg is assumed to be params or a POST/PUT body.
    Also, the mapping from :session to HTTP_COOKIE has been switched to
    'rack.session' - mapping it to HTTP_COOKIE doesn't make any sense.
    
    While here, refactor the make_request method to make it more
    obvious that we're really just building up the options Hash for
    MockRequest.
    rtomayko authored
  4. Simon Rozet

    Trying to remove the pain out of session testing

    sr authored rtomayko committed
  5. Ryan Tomayko

    Fix middleware not running when app run as middleware [#161]

    The app's middleware pipeline was ignored when the app itself was
    run as middleware. This was due to the separate call paths for
    middleware vs. endpoint apps. This change makes it so that both
    endpoint and middleware apps are invoked via the same instance
    level #call method.
    
    One potentially confusing aspect of this change is that Base.new now
    returns the head of the app's middleware pipeline. If no middleware
    is used by the app, this will be an instance of the Base class;
    however, if middleware is used, Base.new will return the head of
    the middleware chain leading to the Base instance.
    rtomayko authored

Feb 25, 2009

  1. Ryan Tomayko

    Better Content-Length handling for HEAD requests

    Responses to HEAD requests _should_ have a Content-Length header
    that's identical to GET requests. When a body is provided by the
    application, set the Content-Length header to the size of the body
    and replace the body with an empty Array; when no body is provided
    by the application in response to a HEAD request, and the
    Content-Length is calculated to be "0", remove the Content-Length
    header entirely to avoid mis-matched values.
    
    The idea here is that it's better to omit the header when we believe
    the Content-Length is not indicative of the same in response to GET
    than to send the Content-Length with a mismatched value. Logic
    taken from Apache and is generally in line with RFC 2616.
    rtomayko authored
  2. Harry Vangberg

    Fix issues with Content-Length after explicit forward [#159]

    vangberg authored rtomayko committed

Feb 24, 2009

  1. Ryan Tomayko

    yield the MockRequest to the block before invoking the app [#111]

    sr commented this out during some refactoring but I'd like
    to leave it in for now.
    rtomayko authored
  2. Ryan Tomayko

    Add registered callback for extension modules [#148]

    The "registered" message is sent to extension modules immediately
    after the module is mixed into a Sinatra::Base class. This can be
    used to initialize the class with options, add templates, define
    error handlers, etc.
    rtomayko authored

Feb 23, 2009

  1. Ryan Tomayko

    Remove disabled compat specs

    rtomayko authored

Feb 22, 2009

  1. Simon Rozet

    Set sensible defaults on Default for test env

    sr authored
  2. Simon Rozet

    Deprecate support for various testing frameworks

    sr authored
  3. Simon Rozet

    Test for #head

    sr authored rtomayko committed
  4. Simon Rozet

    Cosmetic change to test for #follow

    sr authored rtomayko committed
  5. Ryan Tomayko

    Middleware enhancements: automatic and explicit forward to downstream [

    rtomayko authored
  6. Ryan Tomayko

    Move a few specs out of base_test and into more appropriate tests

    rtomayko authored
  7. Ryan Tomayko

    Add send_data back in but deprecate [#143]

    rtomayko authored
  8. Ryan Tomayko

    Fix weirdness with partials in ERB [#158]

    rtomayko authored
  9. Ryan Tomayko

    require 'yaml' to fix specs under Ruby 1.9.1

    rtomayko authored
  10. Simon Rozet

    Little refactoring of Sinatra::Test

    sr authored rtomayko committed
  11. Simon Rozet

    Started test for Sinatra::Test

    sr authored rtomayko committed

Feb 20, 2009

  1. Julio Capote

    added test for redirect back

    capotej authored rtomayko committed
  2. Allow helper methods to use blocks in erb views

    Matias Käkelä authored rtomayko committed
  3. Pete Nicholls

    Fixed broken link in README.

    Aupajo authored rtomayko committed
Something went wrong with that request. Please try again.