Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 12, 2010
  1. @sr @rkh

    fix test for haml 3

    sr authored rkh committed
  2. @rkh
Commits on Mar 16, 2010
  1. @rtomayko

    skip haml / sass tests when they fail to load due to stupid bullshit

    rtomayko authored
    Both haml and sass have the retarded behavior of trying to read a
    VERSION file outside their lib directory. Installing haml or sass
    like a sane person (i.e. into a shared lib directory) and they fail
    on require with ENOENT.
Commits on Mar 11, 2010
  1. @sr

    get rid of backtrace cleaning

    sr authored
Commits on Mar 4, 2010
  1. @rtomayko

    Merge branch 'compiling-tilt' into master

    rtomayko authored
    This upgrades Tilt to 0.7 and adds compiled template support for
    ERB, Erubis, Haml, and Builder.
  2. @rtomayko
  3. @rtomayko
  4. @sr

    last_modified ignores nil

    sr authored
  5. @rtomayko
Commits on Mar 2, 2010
  1. @sr

    fix whitespace errors

    sr authored
  2. @Ptico @sr

    Added Less support

    Ptico authored sr committed
    Signed-off-by: Simon Rozet <>
Commits on Feb 5, 2010
  1. @rtomayko
  2. @trans
  3. using -b over -h option from cli for bind address

    Blake Mizerany authored
    I've also renamed all occurrences of
    to options.bind
Commits on Jan 29, 2010
  1. @sr

    rename methodoverride setting to method_override

    sr authored
    for consistancy with others settings which are all snake case
  2. @sr
Commits on Jan 28, 2010
  1. @rtomayko
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko
  5. @rtomayko
  6. @rtomayko

    Revert "remove erubis test (let tilt handle this)"

    rtomayko authored
    This reverts commit 3ac8cb7.
    Oops. I meant to take this out after adding the development
    dependencies. I still don't think it would be a bad idea to remove
    the template-engine specific tests from Sinatra, but I think
    we should do it across all engines, not just erubis.
  7. @rtomayko
Commits on Dec 26, 2009
  1. @sr

    Get rid of use_in_file_templates!

    sr authored
  2. @sr

    Get ride of unused fixture

    sr authored
Commits on Dec 24, 2009
  1. @josh @rtomayko

    Set X-Cascade header when using pass

    josh authored rtomayko committed
    Setting X-Cascade: pass allows middleware outside the Sinatra stack
    to continue trying to match the request.
    Signed-off-by: Ryan Tomayko <>
Commits on Dec 23, 2009
  1. @sr

    Revert "closes #308 - Depricate use_in_file_templates! in favor of sl…

    sr authored
    This reverts commit 056bd7b.
  2. @sr
  3. @sr

    Clean-up settings test

    sr authored
  4. @sr

    options_test.rb => settings_test.rb

    sr authored
Commits on Dec 18, 2009
  1. closes #308 - Depricate use_in_file_templates! in favor of slurp_file…

    Blake Mizerany authored
Commits on Dec 14, 2009
  1. passing a block to #pass will not 404, but eval the block

    Blake Mizerany authored
    This is huge for writing extensions that install routes.
    The developer can set the block to do default behaviour
    if the app that registered the extension has not, or does
    not want to, customize the route.
      # MyFooExt
      def self.registered(app)
        app.get "/foo" do
          pass do
            "You hit foo!"
    At this point, as the user of MyFooExt, I can let the default
    behaviour happen or override:
      # MySinatraApp
      require 'sinatra/my_foo_ext'
      class MySinatraApp < Sinatra::Base
        register MyFooExt
        get "/foo" do
          # MyFooExt has done do_foo_things
          "All foo things done"
Commits on Nov 11, 2009
  1. @jschementi @rtomayko

    Adds after filters

    jschementi authored rtomayko committed
    Originally by jschementi (
    Updated for Sinatra 1.0 by rtomayko
Commits on Oct 17, 2009
  1. @sr

    Get rid of Default

    sr authored
    TODO: clean the options^Wsettings test
  2. @dylanegan @sr

    ERubis support in to sinatra. With tests!

    dylanegan authored sr committed
    Signed-off-by: Simon Rozet <>
Something went wrong with that request. Please try again.