Permalink
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)
Commits on Apr 19, 2009
  1. Update copyright years

    sr committed Apr 19, 2009
  2. Code alignment

    sr committed Apr 13, 2009
Commits on Mar 31, 2009
  1. Added Base#route_eval for hooking into route execution

    tj authored and rtomayko committed Mar 26, 2009
    Tiny yet potentially useful abstraction, allowing developers to tap
    into a route proc before it has been executed.
  2. Clean up options tests

    sr authored and rtomayko committed Mar 26, 2009
  3. Use contest instead of test/spec/mini

    sr authored and rtomayko committed Mar 26, 2009
    See <http://github.com/citrusbyte/contest> for more info. The
    contest.rb file is included under the test/ directory.
  4. Run normal and compat specs with default rake task

    rtomayko committed Mar 31, 2009
    The previous behavior was to run only the main test suite, which led
    to missed compat issues. You can get the old behavior by running
    "rake test" explicitly.
  5. Sane template options [#191]

    rtomayko committed Mar 27, 2009
    * The options hash now takes the :views, :layout, and :locals
      options but also any template-specific options. The generic
      options are removed before calling the template specific render
      method.
    
    * The haml ":options" and ":haml" options are deprecated. These
      should be merged in directly with the options hash.
    
    * The sass ":sass" option is deprecated. Merge directly with the
      options hash instead.
    
    * All template engines have an app-level option named the same as
      their engine (erb, haml, sass, etc.). This must be a hash and is
      merged with the options passed to the render method.
    
    * The :views_directory option is deprecated; renamed :views.
  6. Make sass option support backwards-compatible

    S. Brent Faulkner authored and rtomayko committed Mar 31, 2009
Commits on Mar 27, 2009
  1. Merge app-level haml/sass options with call options [#184]

    kematzy authored and rtomayko committed Mar 15, 2009
    Ensures globally set Haml/Sass configurations can be overridden on
    an individual call basis, while retaining the global values.
    
    Renamed the #haml() :options key to :haml_options for
    clarity and consistency with the #sass method.
Commits on Mar 26, 2009
  1. switched back to 500.png rack image

    mnoble authored and rtomayko committed Mar 15, 2009
  2. 80 columns

    sr authored and rtomayko committed Mar 14, 2009