Permalink
Commits on Oct 18, 2010
  1. Missed a SPEC reference - apparently :path in bundle works quite diff…

    Durran Jordan and Mat Schaffer committed with Pairing Workstation Wernstrom Oct 18, 2010
    …erently from :git
  2. SPEC is no longer in the project, was getting gemspec errors

    Durran Jordan and Mat Schaffer committed with Pairing Workstation Wernstrom Oct 18, 2010
Commits on Oct 10, 2010
  1. ssl? should also return true if rack.url_scheme is https.

    josevalim committed with raggi Oct 8, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  2. showexceptions: gracefully handle empty backtraces

    raggi committed Oct 10, 2010
    Some HTTP servers (e.g. Unicorn and Rainbows!) raise certain
    exceptions without a backtrace[1], so avoid triggering our own
    NoMethodError exception because of this.
    
    [1] - http://git.bogomips.org/cgit/unicorn.git/commit/?id=e4256da292f9626d7dfca60e08f65651a0a9139a
    
    Conflicts:
    
    	test/spec_showexceptions.rb
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Oct 5, 2010
  1. release semantics of Rack::Chunked and Rack::ContentLength from handl…

    raggi committed Oct 4, 2010
    …ers. this should not be forced on users.
Commits on Oct 4, 2010
  1. minor style changes for merge

    raggi committed Oct 4, 2010
  2. Byte-range support for File class.

    snej committed with raggi Oct 4, 2010
    Allows Rack to support byte-range requests (via
    the HTTP 1.1 "Range:" header) for static files,
    even when sendfile is not being used.
    
    Conforms to RFC 2616 sec. 14.35 _except_ that
    multiple byte-ranges are not supported yet.
    (They're parsed correctly, but the response body
    would need to be a MIME multipart.)
    
    Tested in Ruby 1.8.7 on Mac OS X 10.6.4.
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Oct 3, 2010
  1. Move sid initialization to another method so it can be overwritten by…

    josevalim committed with raggi Oct 3, 2010
    … other frameworks.
    
    Signed-off-by: raggi <jftucker@gmail.com>
  2. 186 bro :'(

    raggi committed Oct 3, 2010
  3. Merge branch 'perfix' of http://github.com/thedarkone/rack into theda…

    raggi committed Oct 3, 2010
    …rkone-perfix
    
    * 'perfix' of http://github.com/thedarkone/rack:
      No need to delete a key that doesn't exist.
      Avoiding invoking #delete unless unnecessary.
      Fix the phantom header key bug.
      Revert "Don't set header to nil on HeaderHash#include?"
  4. PERF: change inject({}) to Hash + map

    spastorino committed with raggi Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  5. PERF: just using a map here is fine

    spastorino committed with raggi Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  6. PERF: change inject({}) to Hash + map

    spastorino committed with raggi Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  7. Etag middleware should not return a digest if body is empty and shoul…

    josevalim committed with raggi Sep 22, 2010
    …d also allow a default cache directive when no caching is done.
  8. Fix Memcached tests.

    josevalim committed with raggi Oct 3, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  9. Improve performance of cookie store by unpacking the data just once.

    josevalim committed with raggi Sep 28, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  10. Improves performance by lazy loading the session.

    josevalim committed with raggi Sep 19, 2010
    The session has two flags, one for reading and another for writing. If the session is just read, we get it from the store but do not send a cookie a back to the client unless it was written.
    
    This commit also adds Rack::Request#ssl? for convenience.
    
    Signed-off-by: raggi <jftucker@gmail.com>
  11. do not default referer to '/'

    ghazel committed with raggi Sep 17, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  12. modified rack::static comment to reflect new routes

    amerine committed with raggi Sep 11, 2010
    Signed-off-by: raggi <jftucker@gmail.com>
  13. Added the ability to pass a hash of route to file mappings to Rack::S…

    amerine committed with raggi Sep 11, 2010
    …tatic
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Sep 24, 2010
Commits on Sep 22, 2010
  1. Revert "Don't set header to nil on HeaderHash#include?"

    thedarkone committed Sep 22, 2010
    The change is a bit messy.
    
    This reverts commit f6f3c60.
  2. Fix comment in Sendfile

    manveru committed Sep 22, 2010
Commits on Sep 20, 2010
  1. Need to properly escape UTF-8 strings in 1.9.2

    Durran Jordan and Paul Elliott committed with manveru Sep 20, 2010
    Rack was generating warnings in 1.9.2:
    ...rack/utils.rb:16: warning: regexp match /.../n against to UTF-8 string
    
    Modified the regex in utils to support UTF-8. Did not add tests since
    the multibyte escape tests cover this case when in 1.9.2.
    
    Verified tests pass in: 1.8.6-p399, 1.8.7-p302, ree-1.8.7-2010.02,
    1.9.2-p0