pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ruby-asciidoctor
Module Name: pkgsrc
Committed By: taca
Date: Sun May 21 03:18:24 UTC 2023
Modified Files:
pkgsrc/textproc/ruby-asciidoctor: Makefile PLIST distinfo
Log Message:
textproc/ruby-asciidoctor: update to 2.0.20
2.0.19 (2023-05-17)
Development on Asciidoctor 2.1 has been on pause while we focus on
progressing the AsciiDoc Language Specification. In the meantime, we
extracted some of the minor improvements and bug fixes from main and put
them into this patch release in the 2.0.x release line.
The most impactful fix is a switch from recursion to a while loop to prevent
a stack limit error when looking for the next line to process. Those using
JRuby will appreciate that fact that a uri:classloader: prefix is treated as
an absolute path rather than a URL, which will allow those paths to be read
correctly and avoid misleading security warnings.
A few refinements where made to how the AsciiDoc source is parsed. First,
constrained passthroughs inside a monospace span are now always processed as
expected. When parsing a dlist, a nested list that starts with at least one
block attribute line is now attached correctly. The partintro block is now
generated consistently, despite how it's defined in the AsciiDoc source.
Numeric character references are passed over when searching for the URL
fragment in the xref target. An inline ref is cataloged even if the
resolved reftext is empty. An include target may not start or end with a
space (to distinguish it from a dlist entry). Finally, square brackets are
not swallowed when parsing an escaped URL macro.
Several improvements have been made when converting to man pages. When
generating DocBook, the root <reftext> tag is correctly enclosed in an
<article> tag and reftext substitutions are applied to the value of the
mantitle attribute. When converting to the man page format, the alt text of
a block image is processed correctly (i.e., "manified"). In the HTML
output, a monospace span in a section title is not converted to uppercase.
The default stylesheet has been updated so that the margin on the first and
last child of a sidebar is collapsed correctly and so the font size of a
term in a horizontal list matches the font size of a term in a regular
dlist.
The code has been updated to be compatible with recent software releases,
including Ruby 3.2, Haml 6, and Rouge 4.1.
Distribution
Changelog
Improvements
* Return empty string instead of nil if raw or verbatim block has no lines
* Don't uppercase monospace span in section title in manpage output (#4402)
* Simplify processing of implicit link (i.e., autolink) by separating
implicit and explicit match
* Generate partintro block consistently (#4450)
* Add Kiswahili translation for built-in labels (PR #4454) (@bkmgit)
Compliance
* Fix call order so use of an include file with invalid encoding continues
to raise error when using Ruby >= 3.2.0
* Fix test assertion for fallback Rouge stylesheet to be compatible with
Rouge 4.1 (#4406) (@tmzullinger)
* Support notitle option on section as alternative to untitled to hide title
(#4437)
* Add support for Haml 6 to template converter (#4429)
Bug Fixes
* Process constrained inline passthrough inside monospace span (#4458)
* Catalog inline ref defined using anchor macro even when resolved reftext
is empty
* Use while loop rather than recursion to locate next line to process;
prevents stack limit error (#4368)
* Avoid matching numeric character references when searching for # in xref
target (#4393)
* Use correct selector to collapse margin on first and last child of sidebar
* Don't allow target of include directive to start with a space (to
distinguish it from a dlist item) or to end with a space
* Manify alt text of block image in manpage output (#4401)
* Adjust font size of term in horizontal dlist to match font size of term in
regular dlist
* Implicitly attach nested list that starts with block attribute lines to
dlist entry (#4268)
* Don't swallow square brackets when processing escaped URL macro
* Treat uri:classloader: as an absolute path prefix when running on JRuby
(#3929)
* Apply reftext substitutions to value of mantitle attribute in DocBook
output (#4448)
* Enclose <reftext> tag in <article> tag in DocBook output for man page
(#4452)
* Correctly handle compat role on monospace and constrained passthrough when
box attrlist or formatted text is escaped
2.0.20 (2023-05-18)
After the 2.0.19 release, we discovered that the man page was not being
updated during the release. This release has no changes other than t fix
the release process. For changes related to 2.0.19, see
https://github.com/asciidoctor/asciidoctor/releases/tag/v2.0.19.
Distribution
Changelog
Bug Fixes
* Update release-version attribute in READMEs and man page during release
* Rebuild man page during release
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/ruby-asciidoctor/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/ruby-asciidoctor/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/ruby-asciidoctor/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-asciidoctor/Makefile
diff -u pkgsrc/textproc/ruby-asciidoctor/Makefile:1.12 pkgsrc/textproc/ruby-asciidoctor/Makefile:1.13
--- pkgsrc/textproc/ruby-asciidoctor/Makefile:1.12 Sat Dec 31 16:21:51 2022
+++ pkgsrc/textproc/ruby-asciidoctor/Makefile Sun May 21 03:18:24 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/12/31 16:21:51 taca Exp $
+# $NetBSD: Makefile,v 1.13 2023/05/21 03:18:24 taca Exp $
-DISTNAME= asciidoctor-2.0.18
-PKGREVISION= 3
+DISTNAME= asciidoctor-2.0.20
CATEGORIES= textproc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/textproc/ruby-asciidoctor/PLIST
diff -u pkgsrc/textproc/ruby-asciidoctor/PLIST:1.6 pkgsrc/textproc/ruby-asciidoctor/PLIST:1.7
--- pkgsrc/textproc/ruby-asciidoctor/PLIST:1.6 Sat Dec 31 16:21:51 2022
+++ pkgsrc/textproc/ruby-asciidoctor/PLIST Sun May 21 03:18:24 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2022/12/31 16:21:51 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2023/05/21 03:18:24 taca Exp $
bin/asciidoctor${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.yardopts
@@ -39,6 +39,7 @@ ${GEM_LIBDIR}/data/locale/attributes-ru.
${GEM_LIBDIR}/data/locale/attributes-sr.adoc
${GEM_LIBDIR}/data/locale/attributes-sr_Latn.adoc
${GEM_LIBDIR}/data/locale/attributes-sv.adoc
+${GEM_LIBDIR}/data/locale/attributes-sw.adoc
${GEM_LIBDIR}/data/locale/attributes-th.adoc
${GEM_LIBDIR}/data/locale/attributes-tr.adoc
${GEM_LIBDIR}/data/locale/attributes-uk.adoc
Index: pkgsrc/textproc/ruby-asciidoctor/distinfo
diff -u pkgsrc/textproc/ruby-asciidoctor/distinfo:1.10 pkgsrc/textproc/ruby-asciidoctor/distinfo:1.11
--- pkgsrc/textproc/ruby-asciidoctor/distinfo:1.10 Sun Dec 4 15:52:24 2022
+++ pkgsrc/textproc/ruby-asciidoctor/distinfo Sun May 21 03:18:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/12/04 15:52:24 taca Exp $
+$NetBSD: distinfo,v 1.11 2023/05/21 03:18:24 taca Exp $
-BLAKE2s (asciidoctor-2.0.18.gem) = d2fe657ffac31a47e441f676533fdde70c86fe91171a5653a7be25e220396890
-SHA512 (asciidoctor-2.0.18.gem) = 522c0a587a95c7a5c5618f88832c11a547448d12b883ee9a7d9f6e8509b44e2c5c027cf23335790cbc5cd74dc297010141ac535c0ba45622e49eac8d70fe6127
-Size (asciidoctor-2.0.18.gem) = 280064 bytes
+BLAKE2s (asciidoctor-2.0.20.gem) = 68b2f5bd28e6f1882cb1c0e0a4c5075f144edc06619dfa4ab824072eb29f9097
+SHA512 (asciidoctor-2.0.20.gem) = de0179ae27443ddd04153ae0c941939523372203c561e5bb8a900af80b1056d6a3d8b554015d37836efb9bdf870d4d115272607f4d548956fc240c028abfbcf2
+Size (asciidoctor-2.0.20.gem) = 281600 bytes
Home |
Main Index |
Thread Index |
Old Index