Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

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

    Durran Jordan and Mat Schaffer authored Pairing Workstation Wernstrom committed
Commits on Oct 10, 2010
  1. @josevalim @raggi

    ssl? should also return true if rack.url_scheme is https.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  2. @raggi

    showexceptions: gracefully handle empty backtraces

    raggi authored
    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. @raggi
  2. @raggi
  3. @raggi

    release semantics of Rack::Chunked and Rack::ContentLength from handl…

    raggi authored
    …ers. this should not be forced on users.
Commits on Oct 4, 2010
  1. @raggi
  2. @raggi
  3. @raggi

    minor style changes for merge

    raggi authored
  4. @snej @raggi

    Byte-range support for File class.

    snej authored raggi committed
    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. @josevalim @raggi

    Move sid initialization to another method so it can be overwritten by…

    josevalim authored raggi committed
    … other frameworks.
    
    Signed-off-by: raggi <jftucker@gmail.com>
  2. @raggi
  3. @raggi

    186 bro :'(

    raggi authored
  4. @raggi

    Merge branch 'perfix' of http://github.com/thedarkone/rack into theda…

    raggi authored
    …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?"
  5. @spastorino @raggi

    PERF: change inject({}) to Hash + map

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  6. @spastorino @raggi

    PERF: just using a map here is fine

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  7. @spastorino @raggi

    PERF: change inject({}) to Hash + map

    spastorino authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  8. @josevalim @raggi

    Etag middleware should not return a digest if body is empty and shoul…

    josevalim authored raggi committed
    …d also allow a default cache directive when no caching is done.
  9. @josevalim @raggi

    Fix Memcached tests.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  10. @josevalim @raggi

    Improve performance of cookie store by unpacking the data just once.

    josevalim authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  11. @josevalim @raggi

    Improves performance by lazy loading the session.

    josevalim authored raggi committed
    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>
  12. @raggi
  13. @ghazel @raggi

    do not default referer to '/'

    ghazel authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  14. @raggi
  15. @amerine @raggi

    modified rack::static comment to reflect new routes

    amerine authored raggi committed
    Signed-off-by: raggi <jftucker@gmail.com>
  16. @amerine @raggi

    Added the ability to pass a hash of route to file mappings to Rack::S…

    amerine authored raggi committed
    …tatic
    
    Signed-off-by: raggi <jftucker@gmail.com>
Commits on Sep 24, 2010
  1. @thedarkone
Commits on Sep 22, 2010
  1. @thedarkone
  2. @thedarkone
  3. @thedarkone

    Revert "Don't set header to nil on HeaderHash#include?"

    thedarkone authored
    The change is a bit messy.
    
    This reverts commit f6f3c60.
  4. @manveru
  5. @manveru
  6. @manveru

    Fix comment in Sendfile

    manveru authored
Commits on Sep 20, 2010
  1. @manveru

    Need to properly escape UTF-8 strings in 1.9.2

    Durran Jordan and Paul Elliott authored manveru committed
    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
Something went wrong with that request. Please try again.