Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 25, 2010
  1. @rkh

    1.2.0.a release

    rkh authored
  2. @rkh
  3. @rkh

    propagate default_encoding to Tilt

    rkh authored
Commits on Dec 24, 2010
  1. @rkh
  2. @rkh
  3. @rkh

    depend on Tilt 1.2

    rkh authored
Commits on Dec 23, 2010
  1. @rkh

    Switch from Hanna to YARD.

    rkh authored
    * hanna has broken dependencies all the time
    * we have a .yardopts file already for rubydoc.info
    * 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.
  2. @rkh

    fix tests for rdoc 3.0

    rkh authored
  3. @rkh

    Tilt::CompileSite is deprecated, no longer use it.

    rkh authored
    Warning: This means current master will render slower with Tilt 1.1. Please use Tilt master or wait for the next Tilt release.
    We will not release Sinatra 1.2.0 before Tilt 1.2 is released and this patch will not be part of Sinatra 1.1.1.
    
    This patch does not change Sinatra's behavior in any way.
Commits on Dec 20, 2010
  1. @gnandretta @rkh

    update REAMDE.es.rdoc

    gnandretta authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  2. @vast @rkh

    Updated README.ru.rdoc to reflect latest changes

    vast authored rkh committed
    * filter conditions;
    * inline markaby;
    * OPTIONS request type.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Dec 16, 2010
  1. @rkh

    add test for locals passed to haml

    rkh authored
Commits on Dec 15, 2010
  1. @rkh

    remove whitespaces

    rkh authored
  2. @rkh

    remove some semicolons

    rkh authored
  3. @jammur @rkh

    Updated README.rdoc to reflect added OPTIONS request type.

    jammur authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  4. @jammur @rkh

    Added support for OPTIONS request type.

    jammur authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  5. @rkh
  6. @rkh
Commits on Dec 14, 2010
  1. @rkh

    Merge branch 'filter-conditions'

    rkh authored
  2. @rkh

    Add layout_engine option to #render.

    rkh authored
    This will render an erb file with a haml layout:
    
        get('/') { erb :index, :layout_engine => :haml }
    
    Whereas this will cause all markdown templates to be rendered with an erb
    layout (unless, of course, `:layout_engine` is set explicitly):
    
        set :markdown, :layout_engine => :erb
    
    Fixes #110.
  3. @rkh

    bump version

    rkh authored
    (this is not a release)
  4. @rkh

    typo

    rkh authored
  5. @rkh

    Update CHANGES.

    rkh authored
Commits on Dec 13, 2010
  1. @rkh
  2. @rkh

    When reading inline templates, don't set encoding

    rkh authored
    for each line, but only once for the complete
    file.
  3. @rkh

    When reading line templates, scan the first two

    rkh authored
    lines for magic comments, instead of just the
    first. Also, scan for 'coding:' rather than
    'encoding'.
  4. @rkh

    When reading inline templates, make sure to use

    rkh authored
    binary encoding, avoiding to raise an exception
    for unknown byte sequences.
  5. @rkh

    Set encoding for inline templates correctly.

    rkh authored
    * 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. @rkh

    Reset LANG and LC_CTYPE before running tests (thus avoiding that ever…

    rkh authored
    …ything defaults to UTF-8 on OSX).
Commits on Dec 8, 2010
  1. @rkh

    In send_file: Do not override Content-Type if already set and no expl…

    rkh authored
    …icit type
    
    is given.
    
    Fixes #130.
  2. @rkh

    Don't rescue Errno::ENOENT in render

    rkh authored
    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.
Commits on Dec 2, 2010
  1. @rkh

    Some spellchecking in README.de.rdoc

    Alexander Klink authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Nov 26, 2010
  1. @rkh

    If file extension is unknown, send_file will always fall back to appl…

    rkh authored
    …ication/octet-stream rather than complaining. Fixes #127.
Commits on Nov 21, 2010
  1. @rkh
Commits on Nov 18, 2010
  1. @lucianosousa @rkh

    Add note to Portugese tanslation.

    lucianosousa authored rkh committed
    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 <konstantin.mailinglists@googlemail.com>
Something went wrong with that request. Please try again.