pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ruby-haml



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Oct  9 08:35:52 UTC 2022

Modified Files:
        pkgsrc/textproc/ruby-haml: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/ruby-haml/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/ruby-haml/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/textproc/ruby-haml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-haml/Makefile
diff -u pkgsrc/textproc/ruby-haml/Makefile:1.23 pkgsrc/textproc/ruby-haml/Makefile:1.24
--- pkgsrc/textproc/ruby-haml/Makefile:1.23     Mon Aug 30 15:50:27 2021
+++ pkgsrc/textproc/ruby-haml/Makefile  Sun Oct  9 08:35:52 2022
@@ -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 @@ COMMENT=       XHTML & CSS markup language & t
 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"

Index: pkgsrc/textproc/ruby-haml/PLIST
diff -u pkgsrc/textproc/ruby-haml/PLIST:1.18 pkgsrc/textproc/ruby-haml/PLIST:1.19
--- pkgsrc/textproc/ruby-haml/PLIST:1.18        Mon Aug 30 15:50:27 2021
+++ pkgsrc/textproc/ruby-haml/PLIST     Sun Oct  9 08:35:52 2022
@@ -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}/MIT-LICENSE
 ${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

Index: pkgsrc/textproc/ruby-haml/distinfo
diff -u pkgsrc/textproc/ruby-haml/distinfo:1.25 pkgsrc/textproc/ruby-haml/distinfo:1.26
--- pkgsrc/textproc/ruby-haml/distinfo:1.25     Tue Oct 26 11:23:23 2021
+++ pkgsrc/textproc/ruby-haml/distinfo  Sun Oct  9 08:35:52 2022
@@ -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