Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (1h)  pkgsrc-2024Q1 (20d)  pkgsrc-2023Q4 (67d)  pkgsrc-2023Q2 (100d)  pkgsrc-2023Q3 (179d) 

2024-06-07 08:38:02 UTC Now

2021-08-30 15:50:27 UTC MAIN commitmail json YAML

textproc/ruby-haml: update to 5.2.2

5.2.2 (2021-07-27)

Look Under Your Seats, It's an All Expense Paid Annotation!

Howdy Haml-faml,

The 5.x.x line of Haml keeps chugging along, and we will likely keep this
codebase going for those who want this full-fat version of Haml and
addressing little issues here and there.

In this version, the wonderful @jdelStrother brought in a new feature for
adding annotations to your output during development showing which template
the html came from.

<div class='navbar-light navbar-collapse collapse wi-100 d-md-none' id='navbar-collapse'>
    <div class='navbar-nav phm mbm' role='menu'>
        <!-- BEGIN app/views/page_header/_user_profile_links.html.haml -->
        <a class="nav-link" href="/profile">Profile</a>
        <a class="nav-link" href="/account/edit">Settings</a>
        <div class='dropdown-divider'></div>
        <a class="nav-link" href="/logout">Log out</a>
        <!-- END app/views/page_header/_user_profile_links.html.haml -->
  </div>
</div>

This was added in Rails 6.1 for ERB files, and now all you wonderful
Haml-ers out there get the same useful feature.

As for the future of Haml, we are likely going to be moving over the main
branch and 6.x.x development to be based off of @k0kubun's awesome Hamlit
implementation.  It does lack some of the features that 5.x has, but it
comes with almost 2x speed improvement and honestly, even the way I
(Hampton) use Haml – is well covered by Hamlit.  You really have to be doing
some weird stuff for it to be an issue.  So, we'll likely be releasing an
alpha of that 6.x-based-on-Hamlit code soon.

(taca)