pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-haml textproc/ruby-haml: update to 6.0.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de7236f11ada
branches:  trunk
changeset: 386495:de7236f11ada
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Oct 09 08:35:52 2022 +0000

description:
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.

diffstat:

 textproc/ruby-haml/Makefile |   7 +--
 textproc/ruby-haml/PLIST    |  72 ++++++++++++++++++++++++++++++--------------
 textproc/ruby-haml/distinfo |   8 ++--
 3 files changed, 56 insertions(+), 31 deletions(-)

diffs (142 lines):

diff -r 41a13af04127 -r de7236f11ada textproc/ruby-haml/Makefile
--- a/textproc/ruby-haml/Makefile       Sun Oct 09 08:26:39 2022 +0000
+++ b/textproc/ruby-haml/Makefile       Sun Oct 09 08:35:52 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2021/08/30 15:50:27 taca Exp $
+# $NetBSD: Makefile,v 1.24 2022/10/09 08:35:52 taca Exp $
 
-DISTNAME=      haml-5.2.2
+DISTNAME=      haml-6.0.6
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,10 +9,9 @@
 LICENSE=       mit
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-temple>=0.8.0:../../textproc/ruby-temple
+DEPENDS+=      ${RUBY_PKGPREFIX}-thor>=0:../../devel/ruby-thor
 DEPENDS+=      ${RUBY_PKGPREFIX}-tilt>=0:../../textproc/ruby-tilt
 
-USE_LANGUAGES= # none
-
 RUBYGEM_OPTIONS+=      --format-executable
 
 .include "../../lang/ruby/gem.mk"
diff -r 41a13af04127 -r de7236f11ada textproc/ruby-haml/PLIST
--- a/textproc/ruby-haml/PLIST  Sun Oct 09 08:26:39 2022 +0000
+++ b/textproc/ruby-haml/PLIST  Sun Oct 09 08:35:52 2022 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.18 2021/08/30 15:50:27 taca Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/10/09 08:35:52 taca Exp $
 bin/haml${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_EXTSDIR}/haml/haml.${RUBY_DLEXT}
+${GEM_LIBDIR}/.github/FUNDING.yml
 ${GEM_LIBDIR}/.github/workflows/test.yml
 ${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/.gitmodules
 ${GEM_LIBDIR}/.yardopts
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/FAQ.md
@@ -12,42 +14,66 @@
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/REFERENCE.md
 ${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/TODO
-${GEM_LIBDIR}/benchmark.rb
-${GEM_LIBDIR}/bin/haml
+${GEM_LIBDIR}/bin/bench
+${GEM_LIBDIR}/bin/console
+${GEM_LIBDIR}/bin/ruby
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/bin/stackprof
+${GEM_LIBDIR}/bin/test
+${GEM_LIBDIR}/exe/haml
+${GEM_LIBDIR}/ext/haml/extconf.rb
+${GEM_LIBDIR}/ext/haml/haml.c
+${GEM_LIBDIR}/ext/haml/hescape.c
+${GEM_LIBDIR}/ext/haml/hescape.h
 ${GEM_LIBDIR}/haml.gemspec
 ${GEM_LIBDIR}/lib/haml.rb
-${GEM_LIBDIR}/lib/haml/.gitattributes
+${GEM_LIBDIR}/lib/haml/ambles.rb
 ${GEM_LIBDIR}/lib/haml/attribute_builder.rb
 ${GEM_LIBDIR}/lib/haml/attribute_compiler.rb
 ${GEM_LIBDIR}/lib/haml/attribute_parser.rb
-${GEM_LIBDIR}/lib/haml/buffer.rb
+${GEM_LIBDIR}/lib/haml/cli.rb
 ${GEM_LIBDIR}/lib/haml/compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/children_compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/comment_compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/doctype_compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/script_compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/silent_script_compiler.rb
+${GEM_LIBDIR}/lib/haml/compiler/tag_compiler.rb
+${GEM_LIBDIR}/lib/haml/dynamic_merger.rb
 ${GEM_LIBDIR}/lib/haml/engine.rb
 ${GEM_LIBDIR}/lib/haml/error.rb
 ${GEM_LIBDIR}/lib/haml/escapable.rb
-${GEM_LIBDIR}/lib/haml/exec.rb
 ${GEM_LIBDIR}/lib/haml/filters.rb
-${GEM_LIBDIR}/lib/haml/generator.rb
+${GEM_LIBDIR}/lib/haml/filters/base.rb
+${GEM_LIBDIR}/lib/haml/filters/cdata.rb
+${GEM_LIBDIR}/lib/haml/filters/coffee.rb
+${GEM_LIBDIR}/lib/haml/filters/css.rb
+${GEM_LIBDIR}/lib/haml/filters/erb.rb
+${GEM_LIBDIR}/lib/haml/filters/escaped.rb
+${GEM_LIBDIR}/lib/haml/filters/javascript.rb
+${GEM_LIBDIR}/lib/haml/filters/less.rb
+${GEM_LIBDIR}/lib/haml/filters/markdown.rb
+${GEM_LIBDIR}/lib/haml/filters/plain.rb
+${GEM_LIBDIR}/lib/haml/filters/preserve.rb
+${GEM_LIBDIR}/lib/haml/filters/ruby.rb
+${GEM_LIBDIR}/lib/haml/filters/sass.rb
+${GEM_LIBDIR}/lib/haml/filters/scss.rb
+${GEM_LIBDIR}/lib/haml/filters/text_base.rb
+${GEM_LIBDIR}/lib/haml/filters/tilt_base.rb
+${GEM_LIBDIR}/lib/haml/force_escapable.rb
+${GEM_LIBDIR}/lib/haml/haml.${RUBY_DLEXT}
 ${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/safe_erubi_template.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/html.rb
+${GEM_LIBDIR}/lib/haml/identity.rb
+${GEM_LIBDIR}/lib/haml/object_ref.rb
 ${GEM_LIBDIR}/lib/haml/parser.rb
-${GEM_LIBDIR}/lib/haml/plugin.rb
+${GEM_LIBDIR}/lib/haml/rails_helpers.rb
+${GEM_LIBDIR}/lib/haml/rails_template.rb
 ${GEM_LIBDIR}/lib/haml/railtie.rb
-${GEM_LIBDIR}/lib/haml/sass_rails_filter.rb
+${GEM_LIBDIR}/lib/haml/ruby_expression.rb
+${GEM_LIBDIR}/lib/haml/string_splitter.rb
 ${GEM_LIBDIR}/lib/haml/template.rb
-${GEM_LIBDIR}/lib/haml/template/options.rb
-${GEM_LIBDIR}/lib/haml/temple_engine.rb
 ${GEM_LIBDIR}/lib/haml/temple_line_counter.rb
 ${GEM_LIBDIR}/lib/haml/util.rb
 ${GEM_LIBDIR}/lib/haml/version.rb
-${GEM_LIBDIR}/yard/default/.gitignore
-${GEM_LIBDIR}/yard/default/fulldoc/html/css/common.sass
-${GEM_LIBDIR}/yard/default/layout/html/footer.erb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 41a13af04127 -r de7236f11ada textproc/ruby-haml/distinfo
--- a/textproc/ruby-haml/distinfo       Sun Oct 09 08:26:39 2022 +0000
+++ b/textproc/ruby-haml/distinfo       Sun Oct 09 08:35:52 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2021/10/26 11:23:23 nia Exp $
+$NetBSD: distinfo,v 1.26 2022/10/09 08:35:52 taca Exp $
 
-BLAKE2s (haml-5.2.2.gem) = e24c9ecb6d4b8cfdef3168023a903446a55fef3a3e9035ac5f4464c8e88957dd
-SHA512 (haml-5.2.2.gem) = 1ac461357a7845fed9f9c96bb2bab4587b11f6bb2ae7900a8dd92a41a3215fe0eaeedef45a866dc70359a54bc39fafe397949b2c52ade128e8e6da84dae2b7c7
-Size (haml-5.2.2.gem) = 92160 bytes
+BLAKE2s (haml-6.0.6.gem) = 5c6a24852943de1889ab17c2c45b7743d7fa07bf2697604f6648c3103af4a01a
+SHA512 (haml-6.0.6.gem) = 056d6e073e5539f8caeceb819f04d4d1b8392ce0d0af9c549cdb5bdb291e30e20ebd8f2758c32fd7a07647b2447409cc10dc68ec326f1a7eacfec5839bd12ec2
+Size (haml-6.0.6.gem) = 75264 bytes



Home | Main Index | Thread Index | Old Index