Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 4, 2010
  1. @rtomayko

    deprecate Sinatra::Default

    rtomayko authored
  2. @rtomayko
  3. @rtomayko
  4. @rtomayko
Commits on Feb 28, 2010
  1. @sr

    fix sinatra/test with rack > 1.0.1

    sr authored
Commits on Feb 22, 2010
  1. @sr

    Get ride of unused fixture

    sr authored
  2. @sr
  3. @defunkt @sr

    Adds a #settings method which #options is alised to.

    defunkt authored sr committed
    I propose options be renamed "settings" - the nomenclature is perhaps more
    appropriate.
    
    set & settings vs set & options
  4. @sr
Commits on Oct 17, 2009
  1. @sr
  2. @sr
Commits on Jun 8, 2009
  1. @rtomayko
Commits on Jun 6, 2009
  1. @sr @rtomayko

    Add a test for the :views render option

    sr authored rtomayko committed
  2. @rtomayko
Commits on May 21, 2009
  1. @mikejones @rtomayko

    Fix that locals are not passed to layout

    mikejones authored rtomayko committed
    Signed-off-by: Simon Rozet <simon@rozet.name>
Commits on May 18, 2009
  1. @rtomayko
  2. @sr @rtomayko

    Another use of blake's custom options conditions

    sr authored rtomayko committed
    Can you come up with a better test name/description?
  3. @bmizerany @rtomayko

    Allow custom options for conditions

    bmizerany authored rtomayko committed
    Example:
    
    module Sinatra
      module CustomConditionFu
        def authorized_for(*roles)
          condition { roles.include?(user.role) }
        end
      end
      register CustomConditionFu
    end
    
    delete '/everything', :authorized_for => [:admin] do
      everything.delete
    end
  4. @halorgium @rtomayko

    Less warnings to sate zenspider's needs

    halorgium authored rtomayko committed
  5. @sporkmonger @rtomayko

    Allow extensions to the routing system

    sporkmonger authored rtomayko committed
  6. @sr @rtomayko

    Use Rack::Test instead of Sinatra::Test for tests

    sr authored rtomayko committed
  7. @sr @rtomayko

    Deprecation warning for auto-require of template engines

    sr authored rtomayko committed
Commits on Apr 25, 2009
  1. @rtomayko
  2. @rtomayko
  3. @tj @rtomayko

    Pass the class to configure blocks

    tj authored rtomayko committed
    This allows for the following idiom in top-level apps:
    
      configure do |app|
        set :foo, app.root + '/foo'
      end
  4. @rtomayko
  5. @sbfaulkner @rtomayko

    template backtraces ftw [#198] [#51]

    sbfaulkner authored rtomayko committed
  6. @bmizerany

    closes #9779 Auto-require haml/erb/builder/sass

    bmizerany authored
    this is causing thread-saftey issues.
Commits on Apr 20, 2009
  1. @rtomayko

    Better handling of in file templates

    Yoji Shidara authored rtomayko committed
    `__END__` in the middle of lines should not be recognized as the end of
    the ruby script. Ruby only accepts the line just contain `__END__`.
    Beginning/tailing whitespaces are not allowed.
    
    Signed-off-by: Simon Rozet <simon@rozet.name>
  2. @rtomayko

    Fixed an uncought exception when run on the Google App Engine infrast…

    Samuel Goebert authored rtomayko committed
    …ructure.
    
    Signed-off-by: Simon Rozet <simon@rozet.name>
  3. @tj @rtomayko

    Added proc as argument for #route_added hook

    tj authored rtomayko committed
  4. @sr @rtomayko

    Ensure development NotFound handler always returns text/html

    sr authored rtomayko committed
  5. @rtomayko
Commits on Mar 31, 2009
  1. @sr @rtomayko

    Clean up options tests

    sr authored rtomayko committed
  2. @sr @rtomayko

    Use contest instead of test/spec/mini

    sr authored rtomayko committed
    See <http://github.com/citrusbyte/contest> for more info. The
    contest.rb file is included under the test/ directory.
Something went wrong with that request. Please try again.