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+.
Pkgsrc changes:
- Update HOMEPAGE
- Build using gemspec
Upstream changes:
A lot! Please see http://haml-lang.com/docs/yardoc/HAML_CHANGELOG.md.html
for the list of changes since version 2.2.0. The changes from version
1.8.2 to version 2.0.10 are a little bit more difficult to get, it
seems you have to explore the commit logs of haml's git repository
or the haml mailing list.
Haml is a markup language that's used to cleanly and simply describe
the XHTML of any web document without the use of inline code, using
indentation rather than closing tags and allowing Ruby to be embedded
with ease. Haml functions as a replacement for inline page templating
systems such as PHP, ASP, and ERB, the templating language used in
most Ruby on Rails applications. However, Haml avoids the need for
explicitly coding XHTML into the template, because it itself is a
description of the XHTML, with some code to generate dynamic content.