Permalink
Commits on May 18, 2009
  1. 0.9.2 release

    rtomayko committed May 18, 2009
  2. Deal with :host condition special case first

    rtomayko committed May 18, 2009
    Prevents a wrong number of args exception under 1.9
  3. Remove code for built-in route conditions

    sr authored and rtomayko committed Apr 7, 2009
    Note that the :host option still requires special
    handling because options can comflict with options.
    Is it a code smell?
  4. Another use of blake's custom options conditions

    sr authored and rtomayko committed Apr 7, 2009
    Can you come up with a better test name/description?
  5. Allow custom options for conditions

    bmizerany authored and rtomayko committed Apr 6, 2009
    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
  6. Add rack-test as a development dependency

    sr authored and rtomayko committed May 17, 2009
Commits on May 12, 2009
  1. fix unclosed <tt> in README

    Mathew Cucuzella authored and rtomayko committed May 12, 2009
Commits on Apr 30, 2009
  1. Add RUBY_IGNORE_CALLERS to CALLERS_TO_IGNORE

    rtomayko committed Apr 30, 2009
    Rubinius sets this to an array of kernel call
    path patterns.
Commits on Apr 26, 2009
  1. Try to run compat tests with Rake::TestTask

    sr authored and rtomayko committed Apr 20, 2009
    This should make the compat specs run under integrity
    installs at Heroku.
  2. Deprecate Sinatra::Test

    sr authored and rtomayko committed Mar 28, 2009
Commits on Apr 25, 2009
  1. Use Rack 1.0's built in nested params

    reinh authored and rtomayko committed Apr 9, 2009
    Our implementation is retained but is not used when Rack 1.0
    is detected. We should remove Base#nested_params as soon as we
    make Rack 1.0 a requirement.
  2. Pass the class to configure blocks

    tj authored and rtomayko committed Mar 31, 2009
    This allows for the following idiom in top-level apps:
    
      configure do |app|
        set :foo, app.root + '/foo'
      end
  3. template backtraces ftw [#198] [#51]

    S. Brent Faulkner authored and rtomayko committed Apr 6, 2009
  4. closes #9779 Auto-require haml/erb/builder/sass

    bmizerany committed Apr 25, 2009
    this is causing thread-saftey issues.
Commits on Apr 20, 2009
  1. Better handling of in file templates

    Yoji Shidara authored and rtomayko committed Apr 17, 2009
    `__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. Fixed an uncought exception when run on the Google App Engine infrast…

    Samuel Goebert authored and rtomayko committed Apr 9, 2009
    …ructure.
    
    Signed-off-by: Simon Rozet <simon@rozet.name>
  3. refactor caller_files

    S. Brent Faulkner authored and rtomayko committed Apr 5, 2009
    - supports external modification of ignores list (e.g. to include polyglot)
    - provides additional caller_locations method to include line numbers (e.g. for render backtraces)