./textproc/ruby-tilt, Generic interface to multiple Ruby template engines

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.10, Package name: ruby26-tilt-2.0.10, Maintainer: pkgsrc-users

Tilt is a thin interface over a bunch of different Ruby template engines in
an attempt to make their usage as generic as possible. This is useful for web
frameworks, static site generators, and other systems that support multiple
template engines but don't want to code for each of them individually.

The following features are supported for all template engines (assuming the
feature is relevant to the engine):

* Custom template evaluation scopes / bindings
* Ability to pass locals to template evaluation
* Support for passing a block to template evaluation for "yield"
* Backtraces with correct filenames and line numbers
* Template file caching and reloading
* Fast, method-based template source compilation

The primary goal is to get all of the things listed above right for all
template engines included in the distribution.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d265c822a6b228392d899e9eb5114613d65e6967
RMD160: fa77229cb4d136d248ea88b96d2918df71ed0b46
Filesize: 22 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-24 18:18:01 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-tilt: update to 2.0.10

Update ruby-tilt to 2.0.10.

2.0.10 (2019-09-23)

* Remove test files from bundled gem (#339, greysteil)
* Fix warning when using yield in templates on ruby 2.7 (#343, jeremyevans)
   2018-12-22 18:31:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-tilt: fix ALTERNATIVES file

Fix ALTERNATIVES file syntax.

Bump PKGREVISION.
   2018-12-17 16:10:38 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-tilt: update to 2.0.9

pkgsrc change:
* Drop @PREFIX@ from ALTERNATIVES file.

## 2.0.9 (2018-11-28)

* Use new ERB API in Ruby 2.6 (#329, koic)
* Support the new sassc gem (#336, jdickey, judofyr)
   2017-09-10 18:11:16 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-tilt to 2.0.8.

## 2.0.8 (2017-07-24)

* Register .tsx for TypeScript (#315, backus)
* Use Haml 5's new API (#312, k0kubun)
* Use correct parser options for CommonMarker (#320, rewritten)
* Suppress warnings when no locals are used (#304, amatsuda)
* Haml: Accept `outvar` (#317, k0kubun)
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-03-19 16:30:00 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Update ruby-tilt to 2.0.7.

## 2.0.7 (2017-03-19)

* Do not modify BasicObject during template compilation on ruby 2.0+ (#309, \ 
jeremyevans)

## 2.0.6 (2017-01-26)

* Add support for LiveScript (#286, @Announcement Jacob Francis Powers)
* Add support for Sigil (#302, winebarrel)
* Add support for Erubi (#308, jeremyevans)
* Add support for options in Liquid (#298, #299, laCour)
* Always sort locals by strings (#307, jeremyevans)

* Fix test warnings (#305, amatsuda)
* Fix indentation (#293, yui-knk)
* Use SVG badges in README (#294, vasinov)
* Fix typo and trailing space (#295, #296, karloescota)

## 2.0.5 (2016-06-02)

* Add support for reST using Pandoc (#284, mfenner)
* Make lazy loading thread-safe; remove warning (judofyr)

## 2.0.4 (2016-05-16)

* Fix regression in BuilderTemplate (#283, judofyr)

## 2.0.3 (2016-05-12)

* Add Pandoc support (#276, jmuheim)
* Add CommonMark support (#282, raphink)
* Add TypeScript support (#278, nghitran)
* Work with frozen string literal (#274, jeremyevans)
* Add MIME type for Babel (#273, SaitoWu)

## 2.0.2 (2016-01-06)

* Pass options to Redcarpet (#250, hughbien)
* Haml: Improve error message on frozen self (judofyr)
* Add basic support for Babel (judofyr)
* Add support for .litcoffee (#243, judofyr, mr-vinn)
* Document Tilt::Cache (#266, tommay)
* Sort local keys for better caching (#257, jeremyevans)
* Add more CSV options (#256, Juanmcuello)
* Add Prawn template (kematzy)
* Improve cache-miss performance in Tilt::Cache (#251, tommay)
* Add man page (#241, josephholsten)
* Support YAML/JSON data in bin/tilt (#241, josephholsten)

## 2.0.1 (2014-03-21)

* Fix Tilt::Mapping bug in Ruby 2.1.0 (9589652c569760298f2647f7a0f9ed4f85129f20)
* Fix `tilt --list` (#223, Achrome)
* Fix circular require (#221, amarshall)

## 2.0.0 (2013-11-30)

* Support Pathname in Template#new (#219, kabturek)
* Add Mapping#templates_for (judofyr)
* Support old-style #register (judofyr)
* Add Handlebars as external template engine (#204, judofyr, jimothyGator)
* Add org-ruby as external template engine (#207, judofyr, minad)
* Documentation typo (#208, elgalu)

## 2.0.0.beta1 (2013-07-16)

* Documentation typo (#202, chip)
* Use YARD for documentation (#189, judofyr)
* Add Slim as an external template engine (judofyr)
* Add Tilt.templates_for (#121, judofyr)
* Add Tilt.current_template (#151, judofyr)
* Avoid loading all files in tilt.rb (#160, #187, judofyr)
* Implement lazily required templates classes (#178, #187, judofyr)
* Move #allows_script and default_mime_type to metadata (#187, judofyr)
* Introduce Tilt::Mapping (#187, judofyr)
* Make template compilation thread-safe (#191, judofyr)
   2016-11-19 16:42:09 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Update distinfo, too.
   2016-11-19 16:40:08 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Stop patching gemspec file and use OVERRIDE_GEMSPEC with updated
update-gemspec.rb script.