Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 18, 2009
  1. Ryan Tomayko

    0.9.0 release

    rtomayko authored
  2. Ryan Tomayko

    Minor tweaks to use_in_file_templates! auto loading

    rtomayko authored
    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.
  3. Blake Mizerany

    In-file-templates are automaticly loaded for you.

    bmizerany authored
    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.
Commits on Jan 17, 2009
  1. Ryan Tomayko
  2. Ryan Tomayko

    Fix route leaks; uses UnboundMethod instead of send

    rtomayko authored
    I think this ended ended up being a much cleaner implementation,
    anyway.
Commits on Jan 16, 2009
  1. Ryan Tomayko
  2. Nicolás Sanguinetti Ryan Tomayko

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

    foca authored rtomayko committed
    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.
Commits on Jan 15, 2009
  1. Ryan Tomayko

    Fix Request#params on PUT requests [#72]

    rtomayko authored
    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
  2. Karel Minarik Ryan Tomayko

    Note "-s" (server) command line option in README

    karmi authored rtomayko committed
  3. Ryan Tomayko

    Allow assertions in mock_app request context

    rtomayko authored
    I changed the ".should." style to use "fail" when we
    converted to test/unit style but I'd rather use asserts
    here.
  4. Ryan Tomayko
  5. Ryan Tomayko
Commits on Jan 14, 2009
  1. Ryan Tomayko
  2. Ryan Tomayko
  3. Ryan Tomayko
  4. Ryan Tomayko
  5. Dylan Egan Ryan Tomayko

    Bacon support

    dylanegan authored rtomayko committed
  6. Ryan Tomayko

    Test framework refactoring

    rtomayko authored
    * Adds test/helper.rb and moves mock_app and other code specific
      to testing the framework out of Sinatra::Test.
    * Do not require test/unit. The sinatra/test/unit,
      sinatra/test/spec, and sinatra/test/rspec files can be used to
      choose the framework.
    * Add Sinatra::TestHarness, which should act similar to the
      Rack::Session proposal here: http://gist.github.com/41270
    * Update the README with information on using the different test
      frameworks.
  7. Adam Wiggins
  8. Ryan Tomayko

    bring version down to 0.8.9 and update gemspec

    rtomayko authored
    This way we can turn on github gem builds but publish a final
    0.9.0 gem that doesn't conflict.
Commits on Jan 13, 2009
  1. Markus Prinz Ryan Tomayko
  2. Ryan Tomayko
  3. Markus Prinz Ryan Tomayko

    README and CHANGES tweaks for 0.9.0 release (#63)

    cypher authored rtomayko committed
    * Add support for regex routes to README
    * Use $LOAD_PATH instead of $:
    * EventContext is no longer present
    * Misc cleanup from rtomayko
Commits on Jan 11, 2009
  1. Ryan Tomayko
  2. Ryan Tomayko

    Deprecation warnings for 0.3.x compat features (#52)

    rtomayko authored
    While here, remove deprecation of the not_found class method
    for registering a 404 error page.
  3. Ryan Tomayko

    Merge with bmizerany/master ...

    rtomayko authored
    We need to get a canonical repo. We both applied the same set of
    changes for the :layout option.
Commits on Jan 10, 2009
  1. Blake Mizerany
  2. Damian Janowski Blake Mizerany

    Updating README for :layout => true.

    djanowski authored bmizerany committed
  3. Damian Janowski Blake Mizerany

    Use the default layout when calling :layout => true

    djanowski authored bmizerany committed
    This helps to write things like:
    
      haml :template, :layout => !request.xhr?
Commits on Jan 9, 2009
  1. Ryan Tomayko

    Dump backtrace to rack.errors on unhandled exception

    rtomayko authored
    Also added a dump_errors option so that this can be disabled
    when necessary.
  2. Ryan Tomayko

    Fix ruby warnings

    rtomayko authored
    Cleans up all warnings generated from Sinatra. There's still
    a bunch of warnings coming from HAML, though. It would be nice
    if we could use Kernel#warn for deprecation notices but that's
    going to be annoying if there's a bunch of unrelated warnings
    from other libs.
  3. Peter Suschlik Ryan Tomayko

    Use a power of 2 for send_file buffer

    splattael authored rtomayko committed
  4. Damian Janowski Ryan Tomayko

    Use the default layout when calling :layout => true

    djanowski authored rtomayko committed
    This helps to write things like:
    
      haml :template, :layout => !request.xhr?
  5. Blake Mizerany

    A route can be redfined

    bmizerany authored
    This may need some clean-up
  6. Blake Mizerany

    Can't forget Steven Garcia!

    bmizerany authored
Something went wrong with that request. Please try again.