Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 4, 2010
  1. Ryan Tomayko

    deprecate Sinatra::Default

    rtomayko authored
  2. Ryan Tomayko
  3. Ryan Tomayko
  4. Ryan Tomayko
Commits on Feb 28, 2010
  1. Simon Rozet

    fix sinatra/test with rack > 1.0.1

    sr authored
Commits on Feb 22, 2010
  1. Simon Rozet

    Get ride of unused fixture

    sr authored
  2. Simon Rozet
  3. Chris Wanstrath Simon Rozet

    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. Simon Rozet
Commits on Oct 17, 2009
  1. Simon Rozet
  2. Simon Rozet
Commits on Jun 8, 2009
  1. Ryan Tomayko
Commits on Jun 6, 2009
  1. Simon Rozet Ryan Tomayko

    Add a test for the :views render option

    sr authored rtomayko committed
  2. Ryan Tomayko
Commits on May 21, 2009
  1. Michael Jones Ryan Tomayko

    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. Ryan Tomayko
  2. Simon Rozet Ryan Tomayko

    Another use of blake's custom options conditions

    sr authored rtomayko committed
    Can you come up with a better test name/description?
  3. Blake Mizerany Ryan Tomayko

    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. Tim Carey-Smith Ryan Tomayko

    Less warnings to sate zenspider's needs

    halorgium authored rtomayko committed
  5. Bob Aman Ryan Tomayko

    Allow extensions to the routing system

    sporkmonger authored rtomayko committed
  6. Simon Rozet Ryan Tomayko

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

    sr authored rtomayko committed
  7. Simon Rozet Ryan Tomayko

    Deprecation warning for auto-require of template engines

    sr authored rtomayko committed
Commits on Apr 25, 2009
  1. Ryan Tomayko
  2. Ryan Tomayko
  3. TJ Holowaychuk Ryan Tomayko

    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. Ryan Tomayko
  5. S. Brent Faulkner Ryan Tomayko

    template backtraces ftw [#198] [#51]

    sbfaulkner authored rtomayko committed
  6. Blake Mizerany

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

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

    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. Ryan Tomayko

    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 Holowaychuk Ryan Tomayko

    Added proc as argument for #route_added hook

    tj authored rtomayko committed
  4. Simon Rozet Ryan Tomayko

    Ensure development NotFound handler always returns text/html

    sr authored rtomayko committed
  5. Ryan Tomayko
Commits on Mar 31, 2009
  1. Simon Rozet Ryan Tomayko

    Clean up options tests

    sr authored rtomayko committed
  2. Simon Rozet Ryan Tomayko

    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.