./textproc/ruby-haml, XHTML & CSS markup language & template engine

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


Branch: CURRENT, Version: 6.3.0, Package name: ruby31-haml-6.3.0, Maintainer: pkgsrc-users

Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or
XML that's designed to express the structure of XHTML or XML documents
in a non-repetitive, elegant, easy way, using indentation rather than
closing tags and allowing Ruby to be embedded with ease. It was
originally envisioned as a plugin for Ruby on Rails, but it can
function as a stand-alone templating engine.


Required to run:
[devel/ruby-thor] [textproc/ruby-tilt] [textproc/ruby-temple] [lang/ruby31-base]

Master sites:

Filesize: 71 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-17 16:39:47 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-haml: update to 6.3.0

6.1.3 (2023-09-27)

* Add Haml::RailsTemplate#default_format for Turbo compatibility #1144

6.1.4 (2023-09-27)

* Let Haml::Util.escape_html use ERB::Escape if available #1145

6.2.0 (2023-09-27)

* Drop the C extension #1146

6.2.1 (2023-10-04)

* Fix v6.2.0's bug in rendering dynamic aria attributes #1149

6.2.2 (2023-10-04)

* Allow adding custom attributes to Haml::BOOLEAN_ATTRIBUTES #1148
* Consider aria-xxx: false as a boolean attribute

6.2.3 (2023-10-04)

* Resurrect RDFa doctype support #1147

6.2.4 (2023-12-10)

* Support case-in statement #1155

6.2.5 (2023-12-10)

* Deprecate Haml::RailsTemplate#default_format that was added in v6.1.3 for
  Turbo (discussion)

6.3.0 (2023-12-10)

* Remove Haml::RailsTemplate#default_format that was added in v6.1.3 for
  Turbo #1152, #1154 (discussion)
* See the reference for suggested alternatives.
   2023-08-13 17:04:11 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-haml: update to 6.1.2

6.1.2 (2023-08-12)

* Use the rails template path as filename #1140
   2022-12-18 15:43:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-haml: update to 6.1.1

6.1.0 (2022-12-09)

* Optimize away a to_s call on = scripts
* Fix escaping for objects that return an html_safe string on to_s #1117

6.1.1 (2022-12-09)

* Fix an empty output of Ruby 3.1's Hash shorthand syntax #1083
   2022-12-04 16:56:11 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-haml: update to 6.0.12

6.0.12 (2022-11-26)

* Fix a whitespace removal with > and an if-else statement #1114

6.0.11 (2022-11-25)

* Fix a whitespace removal with > and an if statement #1114

6.0.10 (2022-11-09)

* Evaluate :erb filter in the template context like Haml 5

6.0.9 (2022-11-07)

* Support sass-embedded #1112

6.0.8 (2022-10-28)

* Support interpolation in HTML comments, which has not been working since
  6.0.0 #1107

6.0.7 (2022-10-13)

* Haml::Engine and Haml::Template use StringBuffer instead of ArrayBuffer
    o It seems more performant in many cases with recent Ruby versions.
    o Haml::RailsTemplate is not affected.
   2022-10-09 10:35:52 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
textproc/ruby-haml: update to 6.0.6

6.0.0 (2022-09-21)

* Replace the implementation with Hamlit

  - Haml 6 is about 1.7x faster than Haml 5 in this benchmark.
  - The parser is kept as is, but everything else is replaced.
  - The haml CLI interface was also replaced.
  - The interface of Haml::Engine is changed. Haml::Template is most likely
    what you need now.
  - Most Haml helpers are removed.

    Rails:

	Kept: find_and_reserve, preserve, surround, precede, succeed,
	      capture_haml

	Removed: block_is_haml?, flatten, haml_concat, haml_indent,
		 haml_tag, haml_tag_if, html_attrs, html_escape,
		 init_haml_helpers, is_haml?, list_of, non_haml, tab_down,
		 tab_up, with_tabs

    Tilt:

	Kept: preserve

	Removed: block_is_haml?, capture_haml, escape_once,
		 find_and_preserve, flatten, haml_concat, haml_indent,
		 haml_tag, haml_tag_if, html_attrs, html_escape,
		 init_haml_helpers, is_haml?, list_of, non_haml, precede,
		 succeed, surround, tab_down, tab_up, with_tabs

  - Only the attributes in Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES are
    handled as boolean attributes.
  - Some legacy Rails integration is removed.

6.0.1 (2022-09-23)

* Unescape HTML-safe interpolation on Rails #1084
* Resurrect Haml 5's AttributeParser.available? for syntax_tree-haml #1085

6.0.2 (2022-09-28)

* Unescape HTML-safe arguments for surround, succeed, and precede on Rails
  #1088

6.0.3 (2022-09-28)

* For Wasm, fallback to Ruby when C extension is not available.

6.0.4 (2022-10-02)

* Fix a parse failure of % in attributes #1096
* Add another fallback from C to Ruby for Wasm.

6.0.5 (2022-10-05)

* Resurrect #haml_object_ref support in an object reference #1097

  - This was removed in 6.0.0, and added back in this version.

* Stop warning remove_whitespace: true option.

6.0.6 (2022-10-09)

* Prevent CRuby from accidentally using the Ruby implementation fallback

  - Reversing what v6.0.3 and v6.0.4 did, but still supporting Wasm.
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2021-01-14 15:44:47 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-haml: update to 5.2.1

5.2.1 (2020-11-30)

* Add in improved "multiline" support for attributes #1043

5.2 (2020-09-28)

* Fix crash in the attribute optimizer when #inspect is overridden in
  TrueClass / FalseClass #972
* Do not HTML-escape templates that are declared to be plaintext #1014
  (Thanks @cesarizu)
* Class names are no longer ordered alphabetically, and now follow a new
  specification as laid out in REFERENCE #306