Commits on Dec 25, 2010
  1. 1.1.2 release

    rkh committed Dec 25, 2010
  2. 1.1.1 release

    rkh committed Dec 25, 2010
  3. propagate default_encoding to Tilt

    rkh committed Dec 25, 2010
  4. depend on Tilt 1.2

    rkh committed Dec 25, 2010
  5. Switch from Hanna to YARD.

    * hanna has broken dependencies all the time
    * we have a .yardopts file already for
    * just compare the rake tasks
    * README has a TOC
    This would also allow using YARD's doc tagging system at some point in the
    future. Rakefile is still usable even if YARD is not installed.
    rkh committed Dec 23, 2010
  6. fix tests for rdoc 3.0

    rkh committed Dec 23, 2010
  7. add test for locals passed to haml

    rkh committed Dec 16, 2010
  8. Routes can use unicode characters without causing an encoding excepti…

    …on on
    Ruby 1.9.
    Fixes #81.
    rkh committed Dec 15, 2010
Commits on Dec 14, 2010
  1. Update CHANGES.

    rkh committed Dec 14, 2010
  2. When reading inline templates, don't set encoding

    for each line, but only once for the complete
    rkh committed Dec 13, 2010
  3. When reading line templates, scan the first two

    lines for magic comments, instead of just the
    first. Also, scan for 'coding:' rather than
    rkh committed Dec 13, 2010
  4. When reading inline templates, make sure to use

    binary encoding, avoiding to raise an exception
    for unknown byte sequences.
    rkh committed Dec 13, 2010
  5. Set encoding for inline templates correctly.

    * If Ruby version is not encoding aware, do nothing
    * If file contains a magic comment in the first line, use that encoding
    * Otherwise use settings.default_encoding
    Allows one to use unicode characters without having to escape them and deploy
    on Linux systems, like Heroku, on 1.9.2 (on OSX encodings always default to
    UTF-8, which makes it hard to spot this issue before deployment).
    Fixes #136.
    rkh committed Dec 13, 2010
  6. Reset LANG and LC_CTYPE before running tests (thus avoiding that ever…

    …ything defaults to UTF-8 on OSX).
    rkh committed Dec 13, 2010
  7. In send_file: Do not override Content-Type if already set and no expl…

    …icit type
    is given.
    Fixes #130.
    rkh committed Dec 8, 2010
  8. Don't rescue Errno::ENOENT in render

    All Errno::ENOENT exceptions raised during layout (not template) rendering
    where caught assuming this would indicate that there is no layout file.
    However, if the Errno::ENOENT was raised inside the layout (say, from a
    missing partial), that exceptions was rescued, too.
    With this patch, it will not only not raise an error if the template is
    missing, it will just raise an exception if the layout is missing and the
    layout option hasn't been set explicitely. That way, unexpected behavior can
    more easily be traced back to missing templates.
    Fixes #135.
    rkh committed Dec 8, 2010
  9. Some spellchecking in

    Signed-off-by: Konstantin Haase <>
    Alexander Klink committed with rkh Dec 2, 2010
  10. If file extension is unknown, send_file will always fall back to appl…

    …ication/octet-stream rather than complaining. Fixes #127.
    rkh committed Nov 26, 2010
  11. Add note to Portugese tanslation.

    Note says:
      "Important Note: This document is just a translation of the
        English version and might not be up to date."
    Signed-off-by: Konstantin Haase <>
    lucianosousa committed with rkh Nov 18, 2010
  12. Add Portugese translation.

    Signed-off-by: Konstantin Haase <>
    lucianosousa committed with rkh Nov 18, 2010
  13. Update CHANGES.

    rkh committed Nov 12, 2010
  14. Make nested layout usage independed of the outer template's :layout v…

    …alue. Allows using partials in layouts.
    rkh committed Nov 11, 2010
  15. README.* fixed typos

    Signed-off-by: Konstantin Haase <>
    kryzhovnik committed with rkh Nov 10, 2010
  16. Fix typo in middleware example.

    Signed-off-by: Konstantin Haase <>
    andrewhampton committed with rkh Nov 7, 2010
  17. Fix typo in German README.

    rkh committed Nov 5, 2010
  18. Fix add_template rake task.

    rkh committed Nov 5, 2010
Commits on Nov 4, 2010
Commits on Oct 30, 2010
Commits on Oct 29, 2010
  1. more fixes for russian README

    Signed-off-by: Konstantin Haase <>
    vast committed with rkh Oct 29, 2010