Subject: CVS commit: pkgsrc/textproc/ruby-haml
From: Stoned Elipot
Date: 2009-11-17 00:31:43
Message id: 20091116233143.62752175DD@cvs.netbsd.org

Log Message:
Update ruby-haml from version 2.2.10 to version 2.2.13.

Upstream changes:
* 2.2.13 Haml

Allow users to specify :encoding => "ascii-8bit" even for templates
that include non-ASCII byte sequences. This makes Haml templates
not crash when given non-ASCII input that’s marked as having an
ASCII encoding.

Fixed an incompatibility with Hpricot 0.8.2, which is used for
html2haml.

* 2.2.13 Sass

There were no changes made to Sass between versions 2.2.12 and
2.2.13.

* 2.2.12 Haml

There were no changes made to Haml between versions 2.2.11 and
2.2.12.

* 2.2.12 Sass

Fix a stupid bug introduced in 2.2.11 that broke the Sass Rails
plugin.

* 2.2.11 Haml

Fixed a bug with XSS protection where HTML escaping would raise an
error if passed a non-string value. Note that this doesn’t affect
any HTML escaping when XSS protection is disabled.

Fixed a bug in outer-whitespace nuking where whitespace-only Ruby
strings blocked whitespace nuking beyond them.

Use ensure to protect the resetting of the Haml output buffer against
exceptions that are raised within the compiled Haml code.

Fix an error line-numbering bug that appeared if an error was thrown
within loud script (=). This is not the best solution, as it disables
a few optimizations, but it shouldn’t have too much effect and the
optimizations will hopefully be re-enabled in version 2.4.

Don’t crash if the plugin skeleton is installed and rake gems:install
is run.

Don’t use RAILS_ROOT directly. This no longer exists in Rails 3.0.
Instead abstract this out as Haml::Util.rails_root. This changes
makes Haml fully compatible with edge Rails as of this writing.

* 2.2.11 Sass

Added a note to errors on properties that could be pseudo-classes
(e.g. :focus) indicating that they should be backslash-escaped.

Automatically interpret properties that could be pseudo-classes as
such if :property_syntax is set to :new.

Fixed css2sass’s generation of pseudo-classes so that they’re
backslash-escaped.

Don’t crash if the Haml plugin skeleton is installed and rake
gems:install is run.

Don’t use RAILS_ROOT directly. This no longer exists in Rails 3.0.
Instead abstract this out as Haml::Util.rails_root. This changes
makes Haml fully compatible with edge Rails as of this writing.

Make use of a Rails callback rather than a monkeypatch to check for
stylesheet updates in Rails 3.0+.

Files:
RevisionActionfile
1.3modifypkgsrc/textproc/ruby-haml/Makefile
1.3modifypkgsrc/textproc/ruby-haml/distinfo