lib/tilt.rb in tilt-2.0.0.beta1 vs lib/tilt.rb in tilt-2.0.0

- old
+ new

@@ -2,11 +2,11 @@ require 'tilt/template' # Namespace for Tilt. This module is not intended to be included anywhere. module Tilt # Current version. - VERSION = '2.0.0.beta1' + VERSION = '2.0.0' @default_mapping = Mapping.new # @return [Tilt::Mapping] the main mapping object def self.default_mapping @@ -129,7 +129,9 @@ register_lazy :StringTemplate, 'tilt/string', 'str' register_lazy :WikiClothTemplate, 'tilt/wikicloth', 'wiki', 'mediawiki', 'mw' register_lazy :YajlTemplate, 'tilt/yajl', 'yajl' # External template engines - register_lazy 'Slim::Template', 'slim', 'slim' + register_lazy 'Slim::Template', 'slim', 'slim' + register_lazy 'Tilt::HandlebarsTemplate', 'tilt/handlebars', 'handlebars', 'hbs' + register_lazy 'Tilt::OrgTemplate', 'org-ruby', 'org' end