Skip to content
Commits on Nov 2, 2008
  1. @rtomayko

    oops. quick gemspec fix

    rtomayko committed Nov 2, 2008
  2. @rtomayko

    0.3.2 release

    rtomayko committed Nov 2, 2008
  3. @rtomayko
  4. @rtomayko

    doc/website cleanup

    rtomayko committed Nov 2, 2008
  5. @sr @rtomayko

    rake tasks to build a simple website

    sr committed with rtomayko Nov 2, 2008
  6. @karmi @rtomayko
  7. @rtomayko

    simplify Static implementation; use 8K chunks instead of 4K

    The Static event handler is now instantiated with a reference
    back to the Sinatra app instead of using the global singleton.
    While here, bump streaming buffer size from 4K to 8K -- word
    around the campfire is that reading in 8K chunks results in a bit
    less IO on most modern systems.
    rtomayko committed Nov 2, 2008
  8. @rtomayko

    remove custom rack mongrel handler

    This is the same (byte-for-byte) handler that's included with Rack
    0.4 which we've required since 0.3.
    rtomayko committed Nov 2, 2008
  9. @rtomayko

    fix send_file reading entire file by default

    The default :stream option value was not being picked up properly
    leading all calls to send_file (including those served with Static)
    to read the entire file into a string before sending. Further, the
    body was then being returned as a string, which causes Rack to
    iterate over the contents line-wise.
    rtomayko committed Nov 2, 2008
Commits on Sep 27, 2008
  1. @sr

    document testing with rspec

    sr committed Sep 27, 2008
Commits on Sep 25, 2008
  1. @jcrosby
Commits on Sep 9, 2008
  1. @rtomayko

    misc README formatting tweaks

    rtomayko committed Sep 9, 2008
  2. @rtomayko

    tiny 0.3.1 release

    rtomayko committed Sep 8, 2008
Commits on Sep 8, 2008
  1. @jeremyevans
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko
  5. @rtomayko
  6. @rtomayko
  7. @rtomayko
  8. @rtomayko
Commits on Sep 7, 2008
  1. @rtomayko
  2. @rtomayko
  3. @sr @rtomayko
  4. @sr @rtomayko
  5. @rtomayko

    update gemspec file manifest

    rtomayko committed Sep 7, 2008
  6. @rtomayko

    add rspec test support [avdi]

    require 'sinatra/test/rspec' instead of 'sinatra/test/spec'
    to use.
    rtomayko committed Sep 7, 2008
  7. @rtomayko

    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
  8. @rtomayko

    remove String#to_param and String#from_param

    Use Rack::Util's unescape instead.
    rtomayko committed Sep 7, 2008
  9. @rtomayko

    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
  10. @rtomayko

    test refactoring and cleanup

    Man. These tests kind of suck. Someone needs to organize
    this shit semi-logically.
    rtomayko committed Sep 7, 2008
  11. @rtomayko

    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
  12. @rtomayko

    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
  13. @rtomayko

    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
  14. @rtomayko
Something went wrong with that request. Please try again.