Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 15, 2010
  1. @jammur @rkh

    Updated README.rdoc to reflect added OPTIONS request type.

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

    Merge branch 'filter-conditions'

    rkh authored
Commits on Nov 12, 2010
  1. @rkh

    Add support for passing a block to the markaby method:

    rkh authored
        get '/' do
          markaby { h1 'welcome' }
        end
    
    At them moment this only works with Tilt master (mentioned in the README,
    increasing Tilt version in gemspec would make master unusable).
    
    Tests and docs (English only) are, as usual, included.
Commits on Nov 11, 2010
  1. @kryzhovnik @rkh

    README.* fixed typos

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

    Fix typo in middleware example.

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

    Like routes, filters now also take conditions:

    rkh authored
      before :agent => /Songbird/ do
        # ...
      end
    
      after '/blog/*', :host_name => 'example.com' do
        # ...
      end
    
    Test and documentation (English and German) included.
Commits on Oct 24, 2010
  1. @nouse @rkh

    fix a minor spell mistake

    nouse authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Oct 19, 2010
  1. @burningTyger @rkh

    You still need the haml gem for sass/scss. However, this will change …

    burningTyger authored rkh committed
    …soon.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Oct 12, 2010
  1. @rkh
  2. @rkh
  3. @rkh

    Minor markup fix in README.

    rkh authored
Commits on Oct 11, 2010
  1. @rkh

    Fix typo in README.

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

    Fix markup

    rkh authored
  3. @rkh
Commits on Oct 10, 2010
  1. @rkh

    Add nokogiri helper method. Tilt supports Nokogiri for quite some tim…

    rkh authored
    …e now, but it was not as easy to use as builder, and not documented. Tests and documentation included.
Commits on Oct 9, 2010
  1. @rkh

    Merge branch 'smart-templates'

    rkh authored
  2. @gnandretta @rkh

    fixes a few copy/paste errors in the README

    gnandretta authored rkh committed
    You'll to require 'redcloth' or 'rdoc' instead of 'markdown' for Textile
    or RDoc templates, respectively.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Sep 27, 2010
  1. @rkh

    Sets default content type according to template engine used instead o…

    rkh authored
    …f just text/html.
    
    It does so by including a Mixin into the the returned string offering a content_type method. Therefore all of the following examples produce the expected results:
    
        # text/html
        get('/') do
          haml :index
        end
    
        # text/css
        get('/') do
          sass :index
        end
    
        # text/css
        get('/') do
          haml :index
          sass :index
        end
    
        # text/html
        get('/') do
          haml '= sass :index'
        end
    
    It also allows setting the default content type for a template engine:
    
        set :builder, :content_type => :html
    
    Tests and README adjustments (all languages) included.
Commits on Sep 24, 2010
  1. @rkh

    Minor README adjustments.

    rkh authored
  2. @rkh
  3. @rkh

    Remove Sinatra::Delegator sidebar (now covered by Scopes), keep "Have…

    rkh authored
    … a look at the code for yourself" paragraph, but move it into Scopes.
  4. @rkh

    Proof-reading Scopes section

    rkh authored
Commits on Sep 23, 2010
  1. @rkh
  2. @michelc @rkh

    Added a transition to better explain that templates must be defined w…

    michelc authored rkh committed
    …ith symbols.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Sep 19, 2010
  1. @xentek @rkh

    MOD: docs for testing forgot to require test/unit

    xentek authored rkh committed
Commits on Sep 12, 2010
  1. @rkh

    Add coffee helper method. Tilt supports CoffeeScript again, but it wa…

    rkh authored
    …s not as easy to use as sass or scss, and not documented. Tests and documentation (English and German) included.
  2. @rkh

    Add markaby helper method. Tilt supports Markaby for quite some time …

    rkh authored
    …now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
  3. @rkh

    Add radius helper method. Tilt supports radius for quite some time no…

    rkh authored
    …w, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
  4. @rkh

    Add rdoc helper method. Tilt supports RDoc for quite some time now, b…

    rkh authored
    …ut it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
Commits on Sep 11, 2010
  1. @rkh

    Add textile helper method. Tilt supports textile for quite some time …

    rkh authored
    …now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
  2. @rkh

    Add markdown helper method. Tilt supports markdown for quite some tim…

    rkh authored
    …e now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
  3. @rkh

    Add liquid helper method. Tilt supports liquid for quite some time no…

    rkh authored
    …w, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included.
Commits on Sep 10, 2010
  1. @rkh

    Minor README improvements.

    rkh authored
Commits on Sep 7, 2010
  1. @rkh
Something went wrong with that request. Please try again.