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

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


Branch: CURRENT, Version: 5.2.2, Package name: ruby27-haml-5.2.2, 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:
[textproc/ruby-tilt] [textproc/ruby-temple] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 90 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2020-03-24 17:49:51 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-haml: update to 5.1.2

Update ruby-haml to 5.1.2.
pkgsrc change: add "USE_LANGUAGES=	# none".

## 5.1.2

Released on August 6, 2019
([diff](https://github.com/haml/haml/compare/v5.1.1...v5.1.2)).

* Fix crash in some environments such as New Relic by unfreezing string literals \ 
for ParseNode#inspect. [#1016](https://github.com/haml/haml/pull/1016) (thanks \ 
[Jalyna](https://github.com/jalyna))

## 5.1.1

Released on May 25, 2019
([diff](https://github.com/haml/haml/compare/v5.1.0...v5.1.1)).

* Fix NameError bug for that happens on ruby 2.6.1-2.6.3 + haml 5.1.0 + rails \ 
4.2.x + erubi. (Akira Matsuda)

## 5.1.0

Released on May 16, 2019
([diff](https://github.com/haml/haml/compare/v5.0.4...v5.1.0)).

* Rails 6 support [#1008](https://github.com/haml/haml/pull/1008) (thanks [Seb \ 
Jacobs](https://github.com/sebjacobs))
* Add `escape_filter_interpolations` option for backwards compatibility with \ 
haml 4 defaults [#984](https://github.com/haml/haml/pull/984) (thanks [Will \ 
Jordan](https://github.com/wjordan))
* Fix error on empty :javascript and :css filter blocks \ 
[#986](https://github.com/haml/haml/pull/986) (thanks [Will \ 
Jordan](https://github.com/wjordan))
* Respect changes in Haml::Options.defaults in `Haml::TempleEngine` options \ 
(Takashi Kokubun)
* Un-freeze TempleEngine precompiled string literals \ 
[#983](https://github.com/haml/haml/pull/983) (thanks [Will \ 
Jordan](https://github.com/wjordan))
* Various performance/memory improvements \ 
[#965](https://github.com/haml/haml/pull/965), \ 
[#966](https://github.com/haml/haml/pull/966), \ 
[#963](https://github.com/haml/haml/pull/963) (thanks [Dillon \ 
Welch](https://github.com/oniofchaos))
* Enable `frozen_string_literal` magic comment for all .rb files \ 
[#967](https://github.com/haml/haml/pull/967) (thanks [Dillon \ 
Welch](https://github.com/oniofchaos))
   2018-03-14 16:41:36 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
textproc/ruby-haml: update to 5.0.4

## 5.0.4

Released on October 13, 2017
([diff](https://github.com/haml/haml/compare/v5.0.3...v5.0.4)).

* Fix `haml -c --stdin` regression in 5.0.2. \ 
[#958](https://github.com/haml/haml/pull/958) (thanks [Timo \ 
Göllner](https://github.com/TeaMoe))
* Ruby 2.5 support (it wasn't working due to Ripper API change). (Akira Matsuda)
   2017-09-10 18:03:24 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-haml to 5.0.3.

## 5.0.3

Released on September 7, 2017
([diff](https://github.com/haml/haml/compare/v5.0.2...v5.0.3)).

* Use `String#dump` instead of `String#inspect` to generate string
  literal. (Takashi Kokubun)
* Fix Erubi superclass mismatch
  error. [#952](https://github.com/haml/haml/pull/952) (thanks [Robin
  Daugherty](https://github.com/RobinDaugherty))

## 5.0.2

Released on August 1, 2017
([diff](https://github.com/haml/haml/compare/v5.0.1...v5.0.2)).

* Let `haml -c` fail if generated Ruby code is syntax
  error. [#880](https://github.com/haml/haml/issues/880) (Takashi Kokubun)
* Fix `NoMethodError` bug caused with Sprockets 3 and :sass
  filter. [#930](https://github.com/haml/haml/pull/930) (thanks [Gonzalez
  Maximiliano](https://github.com/emaxi))
* Fix `list_of` helper with multi-line
  content. [#933](https://github.com/haml/haml/pull/933) (thanks [Benoit
  Larroque](https://github.com/zetaben))
* Optimize rendering performance by changing timing to fix
  textareas. [#941](https://github.com/haml/haml/pull/941) (Takashi Kokubun)
* Fix `TypeError` with empty :ruby
  filter. [#942](https://github.com/haml/haml/pull/942) (Takashi Kokubun)
* Fix inconsistent attribute sort order. (Takashi Kokubun)
   2017-06-21 16:29:25 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-haml to 5.0.1

## 5.0.1

Released on May 3, 2017
([diff](https://github.com/haml/haml/compare/v5.0.0...v5.0.1)).

* Fix parsing attributes including string interpolation. \ 
[#917](https://github.com/haml/haml/pull/917) \ 
[#921](https://github.com/haml/haml/issues/921)
* Stop distributing test files in gem package and allow installing on Windows.
* Use ActionView's Erubi/Erubis handler for erb filter only on ActionView. \ 
[#914](https://github.com/haml/haml/pull/914)

## 5.0.0

Released on April 26, 2017
([diff](https://github.com/haml/haml/compare/4.0.7...v5.0.0)).

Breaking Changes

* Haml now requires Ruby 2.0.0 or above.
* Rails 3 is no longer supported, matching the official
  [Maintenance Policy for Ruby on \ 
Rails](http://weblog.rubyonrails.org/2013/2/24/maintenance-policy-for-ruby-on-rails/).
  (Tee Parham)
* The `haml` command's debug option (`-d`) no longer executes the Haml code, but
  rather checks the generated Ruby syntax for errors.
* Drop parser/compiler accessor from `Haml::Engine`. Modify \ 
`Haml::Engine#initialize` options
  or `Haml::Template.options` instead. (Takashi Kokubun)
* Drop dynamic quotes support and always escape `'` for \ 
`escape_html`/`escape_attrs` instead.
  Also, escaped results are slightly changed and always unified to the same \ 
characters. (Takashi Kokubun)
* Don't preserve newlines in attributes. (Takashi Kokubun)
* HTML escape interpolated code in filters.
  [#770](https://github.com/haml/haml/pull/770)
  (Matt Wildig)

        :javascript
          #{JSON.generate(foo: "bar")}
        Haml 4 output: {"foo":"bar"}
        Haml 5 output: {"foo":"bar"}

Added

* Add a tracing option. When enabled, Haml will output a data-trace attribute on \ 
each tag showing the path
  to the source Haml file from which it was generated. Thanks [Alex \ 
Babkin](https://github.com/ababkin).
* Add `haml_tag_if` to render a block, conditionally wrapped in another element \ 
(Matt Wildig)
* Support Rails 5.1 Erubi template handler.
* Support Sprockets 3. Thanks [Sam Davies](https://github.com/samphilipd) and \ 
[Jeremy Venezia](https://github.com/jvenezia).
* General performance and memory usage improvements. (Akira Matsuda)
* Analyze attribute values by Ripper and render static attributes beforehand. \ 
(Takashi Kokubun)
* Optimize attribute rendering about 3x faster. (Takashi Kokubun)
* Add temple gem as dependency and create `Haml::TempleEngine` class.
  Some methods in `Haml::Compiler` are migrated to `Haml::TempleEngine`. \ 
(Takashi Kokubun)

Fixed

* Fix for attribute merging. When an attribute method (or literal nested hash)
  was used in an old style attribute hash and there is also a (non-static) new
  style hash there is an error. The fix can result in different behavior in
  some circumstances. See the [commit \ 
message](https://github.com/haml/haml/tree/e475b015d3171fb4c4f140db304f7970c787d6e3)
  for detailed info. (Matt Wildig)
* Make escape_once respect hexadecimal references. (Matt Wildig)
* Don't treat the 'data' attribute specially when merging attribute hashes. \ 
(Matt Wildig and Norman Clarke)
* Fix #@foo and #$foo style interpolation that was not working in html_safe \ 
mode. (Akira Matsuda)
* Allow `@` as tag's class name. Thanks [Joe Bartlett](https://github.com/redoPop).
* Raise `Haml::InvalidAttributeNameError` when attribute name includes invalid \ 
characters. (Takashi Kokubun)
* Don't ignore unexpected exceptions on initializing `ActionView::OutputBuffer`. \ 
(Takashi Kokubun)
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.