<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/textproc/ruby-haml, branch pkgsrc-2014Q4</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc-2014Q4</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc-2014Q4'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2014-03-14T18:09:53Z</updated>
<entry>
<title>Update ruby-haml to 4.0.5.</title>
<updated>2014-03-14T18:09:53Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2014-03-14T18:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=c2643a6bf88a0df5170845219b1a85058ee67e9a'/>
<id>urn:sha1:c2643a6bf88a0df5170845219b1a85058ee67e9a</id>
<content type='text'>
# Haml Changelog

=======
## 4.0.5

Released on Jan 7, 2014 ([diff](https://github.com/haml/haml/compare/4.0.4...4.0.5)).

* Fix haml_concat appending unescaped HTML after a call to haml_tag.
* Fix for bug whereby when HAML :ugly option is "true",
  ActionView::Helpers::CaptureHelper::capture returns the whole view buffer
  when passed a block that returns nothing (thanks [Mircea
  Moise](https://github.com/mmircea16)).

## 4.0.4

Released on November 5, 2013 ([diff](https://github.com/haml/haml/compare/4.0.3...4.0.4)).

* Check for Rails::Railtie rather than Rails (thanks [Konstantin Shabanov](https://github.com/etehtsea)).
* Parser fix to allow literal '#' with suppress_eval (Matt Wildig).
* Helpers#escape_once works on frozen strings (as does
  ERB::Util.html_escape_once for which it acts as a replacement in
  Rails (thanks [Patrik Metzmacher](https://github.com/patrik)).
* Minor test fix (thanks [Mircea Moise](https://github.com/mmircea16)).</content>
</entry>
<entry>
<title>Update ruby-haml to 4.0.3.</title>
<updated>2013-09-15T16:16:26Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2013-09-15T16:16:26Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=22f2a41f84f614bd26e70217b10d1e194d207fc1'/>
<id>urn:sha1:22f2a41f84f614bd26e70217b10d1e194d207fc1</id>
<content type='text'>
## 4.0.3

Released May 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.2...4.0.3)).

* Compatibility with newer versions of Rails's Erubis handler.
* Fix Erubis handler for compatibility with Tilt 1.4.x, too.
* Small performance optimization for html_escape.
(thanks [Lachlan Sylvester](https://github.com/lsylvester))
* Documentation fixes.
* Documented some helper methods that were left out of the reference.
(thanks [Shane Riley](https://github.com/shaneriley))

## 4.0.2

Released April 5, 2013 ([diff](https://github.com/haml/haml/compare/4.0.1...4.0.2)).

* Explicitly require Erubis to work around bug in older versions of Tilt.
* Fix :erb filter printing duplicate content in Rails views.
(thanks [Jori Hardman](https://github.com/jorihardman))
* Replace range with slice to reduce objects created by `capture_haml`.
(thanks [Tieg Zaharia](https://github.com/tiegz))
* Correct/improve some documentation.

## 4.0.1

Released March 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.0...4.0.1)).

* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
* Fix some performance regressions.
* Fix support for Rails 4 `text_area` helper method.
* Fix data attribute flattening with singleton objects.
(thanks [Alisdair McDiarmid](https://github.com/alisdair))
* Fix support for sass-rails 4.0 beta.
(thanks [Ryunosuke SATO](https://github.com/tricknotes))
* Load "haml/template" in Railtie in order to prevent user options set in a
  Rails initializer from being overwritten
* Don't depend on Rails in haml/template to allow using Haml with ActionView
  but without Rails itself. (thanks [Hunter Haydel](https://github.com/wedgex))</content>
</entry>
<entry>
<title>Update ruby-haml to 4.0.0.</title>
<updated>2013-03-12T15:36:09Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2013-03-12T15:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=80d91cf47d16c15b2484c1985aef31764456e29d'/>
<id>urn:sha1:80d91cf47d16c15b2484c1985aef31764456e29d</id>
<content type='text'>
## 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 =&gt; {:a =&gt; "b", :c =&gt; {:d =&gt; "e", :f =&gt; "g"}}}`

  would render to:

  `&lt;div class='foo' data-a='b' data-c-d='e' data-c-f='g'&gt;&lt;/div&gt;`

  (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 &amp; Sabrina Staedt).</content>
</entry>
<entry>
<title>Update homepage URLs.</title>
<updated>2013-02-22T19:59:05Z</updated>
<author>
<name>shattered</name>
<email>shattered@pkgsrc.org</email>
</author>
<published>2013-02-22T19:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=960a7c4bf1a34c73a1975e35cb4ab6ba863204e1'/>
<id>urn:sha1:960a7c4bf1a34c73a1975e35cb4ab6ba863204e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update ruby-haml to 3.1.7.</title>
<updated>2012-09-16T09:27:05Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2012-09-16T09:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=b3c2c90f4da8c08aae89d4276fba6307817fcf2b'/>
<id>urn:sha1:b3c2c90f4da8c08aae89d4276fba6307817fcf2b</id>
<content type='text'>
Changes are unavailable.</content>
</entry>
<entry>
<title>Update ruby-haml to 3.1.6.</title>
<updated>2012-06-02T01:10:50Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2012-06-02T01:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=a426b94838465af8ca83259753b5a1ac9ef29a0d'/>
<id>urn:sha1:a426b94838465af8ca83259753b5a1ac9ef29a0d</id>
<content type='text'>
Changes are unavailable.</content>
</entry>
<entry>
<title>Update ruby-haml package to 3.1.4.</title>
<updated>2011-12-15T16:01:51Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2011-12-15T16:01:51Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=f2c8b7fe2e342836df473f0712e3c2cfaa0fe122'/>
<id>urn:sha1:f2c8b7fe2e342836df473f0712e3c2cfaa0fe122</id>
<content type='text'>
Changes are unknown.</content>
</entry>
<entry>
<title>Update ruby-haml package to 3.1.3.</title>
<updated>2011-09-12T13:39:52Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2011-09-12T13:39:52Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=41b8683d2f37562388ead25ebf3676548ccbc2fc'/>
<id>urn:sha1:41b8683d2f37562388ead25ebf3676548ccbc2fc</id>
<content type='text'>
3.1.3

* Stop partial layouts from being displayed twice.</content>
</entry>
<entry>
<title>Update ruby-haml package to 3.1.2.</title>
<updated>2011-06-19T07:59:18Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2011-06-19T07:59:18Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=976809961f846a190b25acf00eedd2e5544ff3f6'/>
<id>urn:sha1:976809961f846a190b25acf00eedd2e5544ff3f6</id>
<content type='text'>
3.1.1

* Update the vendored Sass to version 3.1.0.

3.1.0

* Don't add a type attribute to &lt;script&gt; and &lt;style&gt; tags generated by
  filters when :format is set to :html5.

* Add an :escape_attrs option that allows attributes to either remain
  unescaped (for things like embedding PHP directives in Haml) or to be always
  escaped rather than #escape_onced. This can also be used from the command
  line via --no-escape-attrs.

* Allow custom filters to be loaded from the command line.

Backwards Incompatibilities - Must Read!

* Get rid of the --rails flag for the haml executable. This flag hasn't been
  necessary since Rails 2.0. Existing Rails 2.0 installations will continue to
  work.

* Drop support for Hpricot 0.7. 0.8 has been out for nearly two years.

3.0.25

Tagged on GitHub.

* HTML-to-Haml conversion now works within Ruby even if Hpricot is loaded
  before haml/html.</content>
</entry>
<entry>
<title>Update ruby-haml package to 3.0.24.</title>
<updated>2010-12-04T04:27:30Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2010-12-04T04:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=5aba6d2586480d6919e1ecc0a0204bd1c0972f20'/>
<id>urn:sha1:5aba6d2586480d6919e1ecc0a0204bd1c0972f20</id>
<content type='text'>
3.0.24

Tagged on GitHub.

    * html2haml now properly generates Haml for silent script expressions
      nested within blocks.
    * IronRuby compatibility. This is sort of a hack: IronRuby reports its
      version as 1.9, but it doesn¡Çt support the encoding APIs, so we treat
      it as 1.8 instead.

3.0.23

Tagged on GitHub.

    * Fix the error message for unloadable modules when running the
      executables under Ruby 1.9.2.
    * Fix an error when combining old-style and new-style attributes.

3.0.22

Tagged on GitHub.

    * Allow an empty line after case but before when.
    * Remove vendor/sass, which snuck into the gem by mistake and was causing
      trouble for Heroku users (thanks to Jacques Crocker).
    * Support the Rails 3.1 template handler API.

3.0.21

Tagged on GitHub.

    * Fix the permissions errors for good.

3.0.20

Tagged on GitHub.

    * Fix some permissions errors.

3.0.19

Tagged on GitHub.

    * Fix the :encoding option under Ruby 1.9.2.
    * Fix interpolated if statement when HTML escaping is enabled.
    * Allow the --unix-newlines flag to work on Unix, where it¡Çs a no-op.</content>
</entry>
</feed>
