c88d9bb7d6
## 4.0.0 * The Haml exectutable now accepts an `--autoclose` option. You can now specify a list of tags that should be autoclosed * The `:ruby` filter no longer redirects $stdout to the Haml document, as this is not thread safe. Instead it provides a `haml_io` local variable, which is an IO object that writes to the document. * HTML5 is now the default output format rather than XHTML. This was already the default on Rails 3+, so many users will notice no difference. * The :sass filter now wraps its output in a script tag, as do the new :less and :scss filters. The :coffee filter wraps its output in a script tag. * Haml now supports only Rails 3 and above, and Ruby 1.8.7 and above. If you still need support for Rails 2 and Ruby 1.8.6, please use Haml 3.1.x which will continue to be maintained for bug fixes. * The :javascript and :css filters no longer add CDATA tags when the format is html4 or html5. This can be overridden by setting the `cdata` option to `true`. CDATA tags are always added when the format is xhtml. * HTML2Haml has been extracted to a separate gem, creatively named "html2haml". * The `:erb` filter now uses Rails's safe output buffer to provide XSS safety. * Haml's internals have been refactored to move the parser, compiler and options handling into independent classes, rather than including them all in the Engine module. You can also specify your own custom Haml parser or compiler class in Haml::Options in order to extend or modify Haml reasonably easily. * Add an {file:REFERENCE.md#hyphenate_data_attrs-option `:hyphenate_data_attrs` option} that converts underscores to hyphens in your HTML5 data keys. This is a language change from 3.1 and is enabled by default. (thanks to [Andrew Smith](https://github.com/fullsailor)) * All Hash attribute values are now treated as HTML5 data, regardless of key. Previously only the "data" key was treated this way. Allowing arbitrary keys means you can now easily use this feauture for Aria attributes, among other uses. (thanks to [Elvin Efendi](https://github.com/ElvinEfendi)) * Added `remove_whitespace` option to always remove all whitespace around Haml tags. (thanks to [Tim van der Horst](https://github.com/vdh)) * Haml now flattens deeply nested data attribute hashes. For example: `.foo{:data => {:a => "b", :c => {:d => "e", :f => "g"}}}` would render to: `<div class='foo' data-a='b' data-c-d='e' data-c-f='g'></div>` (thanks to [Péter Pál Koszta](https://github.com/koszta)) * Filters that rely on third-party template engines are now implemented using [Tilt](github.com/rtomayko/tilt). Several new filters have been added, namely SCSS (:scss), LessCSS, (:less), and Coffeescript (:coffee/:coffeescript). Though the list of "official" filters is kept intentionally small, Haml comes with a helper method that makes adding support for other Tilt-based template engines trivial. As of 4.0, Haml will also ship with a "haml-contrib" gem that includes useful but less-frequently used filters and helpers. This includes several additional filters such as Nokogiri, Yajl, Markaby, and others. * Generate object references based on `#to_key` if it exists in preference to `#id`. * Performance improvements. (thanks to [Chris Heald](https://github.com/cheald)) * Helper `list_of` takes an extra argument that is rendered into list item attributes. (thanks [Iain Barnett](http://iainbarnett.me.uk/)) * Fix parser to allow lines ending with `some_method?` to be a Ruby multinline. (thanks to [Brad Ediger](https://github.com/bradediger)) * Always use :xhtml format when the mime_type of the rendered template is 'text/xml'. (thanks to [Stephen Bannasch](https://github.com/stepheneb)) * html2haml now includes an `--html-attributes` option. (thanks [Stefan Natchev](https://github.com/snatchev)) * Fix for inner whitespace removal in loops. (thanks [Richard Michael](https://github.com/richardkmichael)) * Use numeric character references rather than HTML entities when escaping double quotes and apostrophes in attributes. This works around some bugs in Internet Explorer earlier than version 9. (thanks [Doug Mayer](https://github.com/doxavore)) * Fix multiline silent comments: Haml previously did not allow free indentation inside multline silent comments. * Fix ordering bug with partial layouts on Rails. (thanks [Sam Pohlenz](https://github.com/spohlenz)) * Add command-line option to suppress script evaluation. * It's now possible to use Rails's asset helpers inside the Sass and SCSS filters. Note that to do so, you must make sure sass-rails is loaded in production, usually by moving it out of the assets gem group. * The Haml project now uses [semantic versioning](http://semver.org/). ## 3.2.0 The Haml 3.2 series was released only as far as 3.2.0.rc.4, but then was renamed to Haml 4.0 when the project adopted semantic versioning. ## 3.1.8 * Fix for line numbers reported from exceptions in nested blocks (thanks to Grant Hutchins & Sabrina Staedt).
101 lines
4.1 KiB
Text
101 lines
4.1 KiB
Text
@comment $NetBSD: PLIST,v 1.11 2013/03/12 15:36:09 taca Exp $
|
|
bin/haml
|
|
${GEM_HOME}/cache/${GEM_NAME}.gem
|
|
${GEM_LIBDIR}/.yardopts
|
|
${GEM_LIBDIR}/CHANGELOG.md
|
|
${GEM_LIBDIR}/FAQ.md
|
|
${GEM_LIBDIR}/MIT-LICENSE
|
|
${GEM_LIBDIR}/README.md
|
|
${GEM_LIBDIR}/REFERENCE.md
|
|
${GEM_LIBDIR}/Rakefile
|
|
${GEM_LIBDIR}/bin/haml
|
|
${GEM_LIBDIR}/lib/haml.rb
|
|
${GEM_LIBDIR}/lib/haml/buffer.rb
|
|
${GEM_LIBDIR}/lib/haml/compiler.rb
|
|
${GEM_LIBDIR}/lib/haml/engine.rb
|
|
${GEM_LIBDIR}/lib/haml/error.rb
|
|
${GEM_LIBDIR}/lib/haml/exec.rb
|
|
${GEM_LIBDIR}/lib/haml/filters.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/action_view_extensions.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/action_view_mods.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/action_view_xss_mods.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/rails_323_textarea_fix.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/safe_erubis_template.rb
|
|
${GEM_LIBDIR}/lib/haml/helpers/xss_mods.rb
|
|
${GEM_LIBDIR}/lib/haml/options.rb
|
|
${GEM_LIBDIR}/lib/haml/parser.rb
|
|
${GEM_LIBDIR}/lib/haml/railtie.rb
|
|
${GEM_LIBDIR}/lib/haml/sass_rails_filter.rb
|
|
${GEM_LIBDIR}/lib/haml/template.rb
|
|
${GEM_LIBDIR}/lib/haml/template/options.rb
|
|
${GEM_LIBDIR}/lib/haml/template/plugin.rb
|
|
${GEM_LIBDIR}/lib/haml/util.rb
|
|
${GEM_LIBDIR}/lib/haml/version.rb
|
|
${GEM_LIBDIR}/test/engine_test.rb
|
|
${GEM_LIBDIR}/test/erb/_av_partial_1.erb
|
|
${GEM_LIBDIR}/test/erb/_av_partial_2.erb
|
|
${GEM_LIBDIR}/test/erb/action_view.erb
|
|
${GEM_LIBDIR}/test/erb/standard.erb
|
|
${GEM_LIBDIR}/test/filters_test.rb
|
|
${GEM_LIBDIR}/test/gemfiles/Gemfile.rails-3.0.x
|
|
${GEM_LIBDIR}/test/gemfiles/Gemfile.rails-3.1.x
|
|
${GEM_LIBDIR}/test/gemfiles/Gemfile.rails-3.2.x
|
|
${GEM_LIBDIR}/test/gemfiles/Gemfile.rails-master
|
|
${GEM_LIBDIR}/test/helper_test.rb
|
|
${GEM_LIBDIR}/test/markaby/standard.mab
|
|
${GEM_LIBDIR}/test/mocks/article.rb
|
|
${GEM_LIBDIR}/test/parser_test.rb
|
|
${GEM_LIBDIR}/test/results/content_for_layout.xhtml
|
|
${GEM_LIBDIR}/test/results/eval_suppressed.xhtml
|
|
${GEM_LIBDIR}/test/results/helpers.xhtml
|
|
${GEM_LIBDIR}/test/results/helpful.xhtml
|
|
${GEM_LIBDIR}/test/results/just_stuff.xhtml
|
|
${GEM_LIBDIR}/test/results/list.xhtml
|
|
${GEM_LIBDIR}/test/results/nuke_inner_whitespace.xhtml
|
|
${GEM_LIBDIR}/test/results/nuke_outer_whitespace.xhtml
|
|
${GEM_LIBDIR}/test/results/original_engine.xhtml
|
|
${GEM_LIBDIR}/test/results/partial_layout.xhtml
|
|
${GEM_LIBDIR}/test/results/partial_layout_erb.xhtml
|
|
${GEM_LIBDIR}/test/results/partials.xhtml
|
|
${GEM_LIBDIR}/test/results/render_layout.xhtml
|
|
${GEM_LIBDIR}/test/results/silent_script.xhtml
|
|
${GEM_LIBDIR}/test/results/standard.xhtml
|
|
${GEM_LIBDIR}/test/results/tag_parsing.xhtml
|
|
${GEM_LIBDIR}/test/results/very_basic.xhtml
|
|
${GEM_LIBDIR}/test/results/whitespace_handling.xhtml
|
|
${GEM_LIBDIR}/test/template_test.rb
|
|
${GEM_LIBDIR}/test/templates/_av_partial_1.haml
|
|
${GEM_LIBDIR}/test/templates/_av_partial_1_ugly.haml
|
|
${GEM_LIBDIR}/test/templates/_av_partial_2.haml
|
|
${GEM_LIBDIR}/test/templates/_av_partial_2_ugly.haml
|
|
${GEM_LIBDIR}/test/templates/_layout.erb
|
|
${GEM_LIBDIR}/test/templates/_layout_for_partial.haml
|
|
${GEM_LIBDIR}/test/templates/_partial.haml
|
|
${GEM_LIBDIR}/test/templates/_text_area.haml
|
|
${GEM_LIBDIR}/test/templates/action_view.haml
|
|
${GEM_LIBDIR}/test/templates/action_view_ugly.haml
|
|
${GEM_LIBDIR}/test/templates/breakage.haml
|
|
${GEM_LIBDIR}/test/templates/content_for_layout.haml
|
|
${GEM_LIBDIR}/test/templates/eval_suppressed.haml
|
|
${GEM_LIBDIR}/test/templates/helpers.haml
|
|
${GEM_LIBDIR}/test/templates/helpful.haml
|
|
${GEM_LIBDIR}/test/templates/just_stuff.haml
|
|
${GEM_LIBDIR}/test/templates/list.haml
|
|
${GEM_LIBDIR}/test/templates/nuke_inner_whitespace.haml
|
|
${GEM_LIBDIR}/test/templates/nuke_outer_whitespace.haml
|
|
${GEM_LIBDIR}/test/templates/original_engine.haml
|
|
${GEM_LIBDIR}/test/templates/partial_layout.haml
|
|
${GEM_LIBDIR}/test/templates/partial_layout_erb.erb
|
|
${GEM_LIBDIR}/test/templates/partialize.haml
|
|
${GEM_LIBDIR}/test/templates/partials.haml
|
|
${GEM_LIBDIR}/test/templates/render_layout.haml
|
|
${GEM_LIBDIR}/test/templates/silent_script.haml
|
|
${GEM_LIBDIR}/test/templates/standard.haml
|
|
${GEM_LIBDIR}/test/templates/standard_ugly.haml
|
|
${GEM_LIBDIR}/test/templates/tag_parsing.haml
|
|
${GEM_LIBDIR}/test/templates/very_basic.haml
|
|
${GEM_LIBDIR}/test/templates/whitespace_handling.haml
|
|
${GEM_LIBDIR}/test/test_helper.rb
|
|
${GEM_LIBDIR}/test/util_test.rb
|
|
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|