Permalink
Commits on Sep 9, 2008
  1. tiny 0.3.1 release

    rtomayko committed Sep 9, 2008
Commits on Sep 8, 2008
Commits on Sep 7, 2008
  1. update gemspec file manifest

    rtomayko committed Sep 7, 2008
  2. add rspec test support [avdi]

    require 'sinatra/test/rspec' instead of 'sinatra/test/spec'
    to use.
    rtomayko committed Sep 7, 2008
  3. remove core extensions used for url escaping

    The following methods were removed. All code that used them
    now uses Rack::Utils's escape methods directly:
    
      * Hash#from_params
      * Hash#to_params
      * Hash#symbolize_keys (not used)
      * Hash#pass (not used)
    rtomayko committed Sep 7, 2008
  4. remove String#to_param and String#from_param

    Use Rack::Util's unescape instead.
    rtomayko committed Sep 7, 2008
  5. be smarter about forwarding methods to response

    Only forward if the response object responds to the given
    message. This makes exceptions a bit easier to track down.
    rtomayko committed Sep 7, 2008
  6. test refactoring and cleanup

    Man. These tests kind of suck. Someone needs to organize
    this shit semi-logically.
    rtomayko committed Sep 7, 2008
  7. before filters can modify request routing variables

    Execute the before filters before looking up the
    event. Makes it possible for filters to rewrite request
    variables such as PATH_INFO and REQUEST_METHOD and have
    it effect which route is chosen.
    rtomayko committed Sep 7, 2008
  8. make raise_errors option more reliable

    The raise_errors option was implemented as part of
    the default error handler making it worthless in development
    mode or with a custom error handler. This moves the
    implementation to the core dispatch method.
    
    While here, clean up the Error class a bit, making it
    use the options provided and pass the correct HTTP status
    code.
    rtomayko committed Sep 7, 2008
  9. register development error handlers during reload

    Fixes case where development error handlers show up in
    non-development environments when the env option is set
    in code instead of on the command line.
    
    For example, the following app shows the development 404
    page:
    
        require 'sinatra'
        set :env, :production
    rtomayko committed Sep 7, 2008
Commits on Sep 1, 2008
Commits on Aug 31, 2008
  1. merge cypher/update-readme

    rtomayko committed Aug 31, 2008
  2. Fix grammar mistake

    cypher committed Aug 31, 2008
  3. Update Contributing section to include initialization and updating th…

    …e submodules
    
    Since it's not obvious that edge Sinatra requires its own version of Rack, add
    instructions on how to do so. Also include (more) detailed instructions for
    first time cloning, updating an existing clone, and using edge Sinatra in an app.
    cypher committed Aug 31, 2008