Skip to content
Commits on Mar 9, 2009
  1. @rtomayko

    0.9.0.5 security release

    rtomayko committed Mar 9, 2009
  2. @rtomayko
Commits on Jan 25, 2009
  1. @rtomayko

    0.9.0.4 maint release

    rtomayko committed Jan 25, 2009
  2. @rtomayko

    Much needed refactoring in dispatching code [#131]/[#127]

    This moves the :halt catch out so that all routing code runs
    within one giant catch block instead of running each type
    of handler in its own catch block. This required some cleanup
    in the error handling code, which cleaned things up quite a bit.
    
    This corrects two issues:
    
    1. halt with > 1 args causes ArgumentError
       http://sinatra.lighthouseapp.com/projects/9779/tickets/131
    
    2. halting in a before filter doesn't modify response
       http://sinatra.lighthouseapp.com/projects/9779/tickets/127
    
    We still need to split up the more epic methods (#route!, #invoke)
    but the logic is pretty sound at this point.
    rtomayko committed Jan 24, 2009
  3. @rtomayko
  4. @bmizerany @rtomayko
  5. @nakajima @rtomayko
  6. @rtomayko
Commits on Jan 21, 2009
  1. @rtomayko

    0.9.0.3 maint release

    rtomayko committed Jan 21, 2009
  2. @rtomayko
  3. @wharsojo @rtomayko
  4. @rtomayko
  5. @ahx @rtomayko

    using ":environment" instead of ":env" in test module

    fix for "warning: The :env option is deprecated; use :environment instead."
    ahx committed with rtomayko Jan 19, 2009
  6. @rtomayko
Commits on Jan 18, 2009
  1. @rtomayko

    0.9.0.2 maint release

    rtomayko committed Jan 18, 2009
  2. @rtomayko

    Halting a before block should stop processing

    Before this, we continued processing other before blocks
    and routes after a before block threw :halt.
    rtomayko committed Jan 18, 2009
  3. @rtomayko
  4. @rtomayko
  5. @rtomayko

    0.9.0 release

    rtomayko committed Jan 18, 2009
  6. @rtomayko

    Minor tweaks to use_in_file_templates! auto loading

    1. Don't add the sinatra lib dir to $: on each reload.
    2. Don't remove sinatra.rb from $LOADED_FEATURES unless we're
       reloading.
    rtomayko committed Jan 16, 2009
  7. @bmizerany

    In-file-templates are automaticly loaded for you.

    Sinatra will now load you in-file-templates from the file
    that required sinatra.
    
    If you need to use in-file-templates outside this you will need
    to explicitly call use_in_file_templates! in that file.
    bmizerany committed Jan 16, 2009
Commits on Jan 17, 2009
  1. @rtomayko
  2. @rtomayko

    Fix route leaks; uses UnboundMethod instead of send

    I think this ended ended up being a much cleaner implementation,
    anyway.
    rtomayko committed Jan 16, 2009
Commits on Jan 16, 2009
  1. @rtomayko
  2. @foca @rtomayko

    Nested params (e.g., "post[title]=Hello") [#70]

    This is based largely on manveru's example implementation:
    
    http://paste.linuxhelp.tv/pastes/view/15309
    
    NOTE: we should plan on ripping this out once nested params
    makes it into Rack.
    foca committed with rtomayko Jan 15, 2009
Commits on Jan 15, 2009
  1. @rtomayko

    Fix Request#params on PUT requests [#72]

    Works around an issue introduced in Rack 0.9.0 with
    request body params not being parsed when the request method
    is PUT. This should be reverted once a fix lands in Rack.
    
    Ticket for Rack fix:
    http://rack.lighthouseapp.com/projects/22435-rack/tickets/20
    
    More:
    http://sinatra.lighthouseapp.com/projects/9779/tickets/72
    rtomayko committed Jan 15, 2009
  2. @karmi @rtomayko
  3. @rtomayko

    Allow assertions in mock_app request context

    I changed the ".should." style to use "fail" when we
    converted to test/unit style but I'd rather use asserts
    here.
    rtomayko committed Jan 15, 2009
  4. @rtomayko
  5. @rtomayko
Commits on Jan 14, 2009
  1. @rtomayko
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko
  5. @dylanegan @rtomayko

    Bacon support

    dylanegan committed with rtomayko Jan 9, 2009
Something went wrong with that request. Please try again.