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. depend on Tilt 1.2

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

    rkh committed Dec 23, 2010
    * 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.
  5. fix tests for rdoc 3.0

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

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

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

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

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

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

    rkh committed Dec 13, 2010
    * 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.
  6. Reset LANG and LC_CTYPE before running tests (thus avoiding that ever…

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

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

    rkh committed Dec 8, 2010
    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.
  9. Some spellchecking in

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

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

    lucianosousa authored and rkh committed Nov 18, 2010
    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 <>
  12. Add Portugese translation.

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

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

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

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

    andrewhampton authored and rkh committed Nov 7, 2010
    Signed-off-by: Konstantin Haase <>
  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

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