pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-haml



Module Name:    pkgsrc
Committed By:   seb
Date:           Mon Nov 16 23:31:43 UTC 2009

Modified Files:
        pkgsrc/textproc/ruby-haml: Makefile distinfo

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+.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/ruby-haml/Makefile \
    pkgsrc/textproc/ruby-haml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index