Commits on Jan 18, 2009
  1. maint release

    rtomayko committed Jan 18, 2009
  2. 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. 0.9.0 release

    rtomayko committed Jan 18, 2009
  4. 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
    rtomayko committed Jan 17, 2009
  5. 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 17, 2009
Commits on Jan 17, 2009
  1. Fix route leaks; uses UnboundMethod instead of send

    I think this ended ended up being a much cleaner implementation,
    rtomayko committed Jan 17, 2009
Commits on Jan 16, 2009
  1. Nested params (e.g., "post[title]=Hello") [#70]

    This is based largely on manveru's example implementation:
    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. 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:
    rtomayko committed Jan 15, 2009
  2. 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
    rtomayko committed Jan 15, 2009
Commits on Jan 14, 2009
  1. Bacon support

    dylanegan committed with rtomayko Jan 9, 2009
  2. Test framework refactoring

    * 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:
    * Update the README with information on using the different test
    rtomayko committed Jan 13, 2009
  3. bring version down to 0.8.9 and update gemspec

    This way we can turn on github gem builds but publish a final
    0.9.0 gem that doesn't conflict.
    rtomayko committed Jan 14, 2009
Commits on Jan 13, 2009
  1. README and CHANGES tweaks for 0.9.0 release (#63)

    * Add support for regex routes to README
    * Use $LOAD_PATH instead of $:
    * EventContext is no longer present
    * Misc cleanup from rtomayko
    cypher committed with rtomayko Jan 11, 2009
Commits on Jan 11, 2009
  1. Deprecation warnings for 0.3.x compat features (#52)

    While here, remove deprecation of the not_found class method
    for registering a 404 error page.
    rtomayko committed Jan 11, 2009
  2. Merge with bmizerany/master ...

    We need to get a canonical repo. We both applied the same set of
    changes for the :layout option.
    rtomayko committed Jan 11, 2009
Commits on Jan 10, 2009
  1. Use the default layout when calling :layout => true

    This helps to write things like:
      haml :template, :layout => !request.xhr?
    djanowski committed with bmizerany Jan 8, 2009
Commits on Jan 9, 2009
  1. Dump backtrace to rack.errors on unhandled exception

    Also added a dump_errors option so that this can be disabled
    when necessary.
    rtomayko committed Jan 9, 2009
  2. Fix ruby warnings

    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.
    rtomayko committed Jan 9, 2009