pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-kramdown textproc/ruby-kramdown: update ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b6df5f57002
branches:  trunk
changeset: 377160:4b6df5f57002
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 13 17:21:13 2018 +0000

description:
textproc/ruby-kramdown: update to 1.16.1

kramdown 1.16.1                                         2017/11/28

Hot on the heels of 1.16.0 this bug fix release fixes problems with the new
GFM task list implementation, so upgrading is recommended!

Changes

* 1 bug fix:

  o Fix the GFM task list implementation (fixes #476, reported by Brandon
    Zarrella)

kramdown 1.16.0                                         2017/11/27

This release brings, amongst other things, support for setting default options
for the kramdown binary via a configuration file, two new options
(`typographic_symbols' and `footnote_backlink_inline') and the new
server-side math engine SsKaTeX which doesn't need the whole NodeJS stack to
work properly.

Please also note that the MathjaxNode math engine now relies on the
mathjax-node-cli package instead of the mathjax-node package to work
correctly.  Make sure you update your NodeJS installation accordingly.

Thanks to all the contributors and supporters that made this release possible!

Changes
* 8 minor change:

  o The kramdown binary now supports specifying default options via
    configuration file (fixes #453 requested by Kyle Barbour)

  o New GFM quirk `no_auto_typographic' for disabling typographic conversions
    (fixes #459 via pull request #462, both by Kirill Kolyshkin)

  o The MathjaxNode math engine now needs the package mathjax-node-cli to
    work.  New math engine SsKaTeX for server-side rendering via KaTeX (patch
    #455 by Christian Cornelssen)

  o When using the Rouge syntax highlighter, the formatter option can now be a
    String (patch #448 by Alpha Chen)

  o New option `typographic_symbols' to control how typographic symbols are
    output by the HTML and LaTeX converters (fixes #472 requested by Kyle
    Barbour)

  o New option `footnote_backlink_inline' to allow placing the footnote
    backlink into the last, possibly nested paragraph or header instead of
    creating a new paragraph (fixes #454 requested by Kyle Barbour)

  o The GFM parser now supports task lists (fixes #172 and #346, patch #442 by
    Andrew)

* 4 bug fixes:

  o Line breaks in a special situation were not respected (fixes #461,
    reported by Buo-Ren Lin)

  o Fix the RemoveHtmlTags converter to also process footnote content (patch
    #458 by Maximilian Scherr)

  o Fix bug in paragraph parsing when the `html_to_native' option is used
    (fixes #466, reported by eddibravo)

  o Fix bug in kramdown converter when an image without a `src' attribute is
    encountered (patch #470 by Uwe Kubosch)

diffstat:

 textproc/ruby-kramdown/Makefile |   4 ++--
 textproc/ruby-kramdown/PLIST    |  29 +++++++++++++++++++++++++++--
 textproc/ruby-kramdown/distinfo |  10 +++++-----
 3 files changed, 34 insertions(+), 9 deletions(-)

diffs (139 lines):

diff -r 5033a9b76a96 -r 4b6df5f57002 textproc/ruby-kramdown/Makefile
--- a/textproc/ruby-kramdown/Makefile   Tue Mar 13 17:15:09 2018 +0000
+++ b/textproc/ruby-kramdown/Makefile   Tue Mar 13 17:21:13 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2017/09/10 16:07:39 taca Exp $
+# $NetBSD: Makefile,v 1.20 2018/03/13 17:21:13 taca Exp $
 
-DISTNAME=      kramdown-1.15.0
+DISTNAME=      kramdown-1.16.2
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 5033a9b76a96 -r 4b6df5f57002 textproc/ruby-kramdown/PLIST
--- a/textproc/ruby-kramdown/PLIST      Tue Mar 13 17:15:09 2018 +0000
+++ b/textproc/ruby-kramdown/PLIST      Tue Mar 13 17:21:13 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2017/09/10 16:07:39 taca Exp $
+@comment $NetBSD: PLIST,v 1.16 2018/03/13 17:21:13 taca Exp $
 bin/kramdown${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
@@ -48,6 +48,7 @@
 ${GEM_LIBDIR}/lib/kramdown/converter/math_engine/mathjax.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/math_engine/mathjaxnode.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/math_engine/ritex.rb
+${GEM_LIBDIR}/lib/kramdown/converter/math_engine/sskatex.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/pdf.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/remove_html_tags.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/syntax_highlighter.rb
@@ -93,6 +94,7 @@
 ${GEM_LIBDIR}/lib/kramdown/utils/configurable.rb
 ${GEM_LIBDIR}/lib/kramdown/utils/entities.rb
 ${GEM_LIBDIR}/lib/kramdown/utils/html.rb
+${GEM_LIBDIR}/lib/kramdown/utils/lru_cache.rb
 ${GEM_LIBDIR}/lib/kramdown/utils/ordered_hash.rb
 ${GEM_LIBDIR}/lib/kramdown/utils/string_scanner.rb
 ${GEM_LIBDIR}/lib/kramdown/utils/unidecoder.rb
@@ -116,12 +118,17 @@
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/indented.html
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/indented.html.gfm
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/indented.text
+${GEM_LIBDIR}/test/testcases/block/03_paragraph/line_break_last_line.html
+${GEM_LIBDIR}/test/testcases/block/03_paragraph/line_break_last_line.text
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/no_newline_at_end.html
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/no_newline_at_end.text
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/one_para.html
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/one_para.text
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/two_para.html
 ${GEM_LIBDIR}/test/testcases/block/03_paragraph/two_para.text
+${GEM_LIBDIR}/test/testcases/block/03_paragraph/with_html_to_native.html
+${GEM_LIBDIR}/test/testcases/block/03_paragraph/with_html_to_native.options
+${GEM_LIBDIR}/test/testcases/block/03_paragraph/with_html_to_native.text
 ${GEM_LIBDIR}/test/testcases/block/04_header/atx_header.html
 ${GEM_LIBDIR}/test/testcases/block/04_header/atx_header.text
 ${GEM_LIBDIR}/test/testcases/block/04_header/atx_header_no_newline_at_end.html
@@ -379,7 +386,6 @@
 ${GEM_LIBDIR}/test/testcases/block/14_table/no_table.html
 ${GEM_LIBDIR}/test/testcases/block/14_table/no_table.text
 ${GEM_LIBDIR}/test/testcases/block/14_table/simple.html
-${GEM_LIBDIR}/test/testcases/block/14_table/simple.html.19
 ${GEM_LIBDIR}/test/testcases/block/14_table/simple.text
 ${GEM_LIBDIR}/test/testcases/block/14_table/table_with_footnote.html
 ${GEM_LIBDIR}/test/testcases/block/14_table/table_with_footnote.latex
@@ -415,6 +421,9 @@
 ${GEM_LIBDIR}/test/testcases/block/15_math/ritex.html
 ${GEM_LIBDIR}/test/testcases/block/15_math/ritex.options
 ${GEM_LIBDIR}/test/testcases/block/15_math/ritex.text
+${GEM_LIBDIR}/test/testcases/block/15_math/sskatex.html.19
+${GEM_LIBDIR}/test/testcases/block/15_math/sskatex.options
+${GEM_LIBDIR}/test/testcases/block/15_math/sskatex.text
 ${GEM_LIBDIR}/test/testcases/block/16_toc/no_toc.html
 ${GEM_LIBDIR}/test/testcases/block/16_toc/no_toc.text
 ${GEM_LIBDIR}/test/testcases/block/16_toc/toc_exclude.html
@@ -496,6 +505,9 @@
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/rouge/simple.html
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/rouge/simple.options
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/rouge/simple.text
+${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_inline.html
+${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_inline.options
+${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_inline.text
 ${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_text.html
 ${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_text.options
 ${GEM_LIBDIR}/test/testcases/span/04_footnote/backlink_text.text
@@ -576,6 +588,9 @@
 ${GEM_LIBDIR}/test/testcases/span/math/ritex.html
 ${GEM_LIBDIR}/test/testcases/span/math/ritex.options
 ${GEM_LIBDIR}/test/testcases/span/math/ritex.text
+${GEM_LIBDIR}/test/testcases/span/math/sskatex.html.19
+${GEM_LIBDIR}/test/testcases/span/math/sskatex.options
+${GEM_LIBDIR}/test/testcases/span/math/sskatex.text
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/entities.html
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/entities.options
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/entities.text
@@ -599,6 +614,10 @@
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography.html
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography.options
 ${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography.text
+${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography_subst.html
+${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography_subst.latex
+${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography_subst.options
+${GEM_LIBDIR}/test/testcases/span/text_substitutions/typography_subst.text
 ${GEM_LIBDIR}/test/testcases_gfm/atx_header.html
 ${GEM_LIBDIR}/test/testcases_gfm/atx_header.text
 ${GEM_LIBDIR}/test/testcases_gfm/backticks_disable_highlighting.html
@@ -621,6 +640,10 @@
 ${GEM_LIBDIR}/test/testcases_gfm/header_ids_with_prefix.html
 ${GEM_LIBDIR}/test/testcases_gfm/header_ids_with_prefix.options
 ${GEM_LIBDIR}/test/testcases_gfm/header_ids_with_prefix.text
+${GEM_LIBDIR}/test/testcases_gfm/no_typographic.html
+${GEM_LIBDIR}/test/testcases_gfm/no_typographic.html.19
+${GEM_LIBDIR}/test/testcases_gfm/no_typographic.options
+${GEM_LIBDIR}/test/testcases_gfm/no_typographic.text
 ${GEM_LIBDIR}/test/testcases_gfm/paragraph_end-disabled.html
 ${GEM_LIBDIR}/test/testcases_gfm/paragraph_end-disabled.options
 ${GEM_LIBDIR}/test/testcases_gfm/paragraph_end-disabled.text
@@ -629,6 +652,8 @@
 ${GEM_LIBDIR}/test/testcases_gfm/strikethrough.html
 ${GEM_LIBDIR}/test/testcases_gfm/strikethrough.html.19
 ${GEM_LIBDIR}/test/testcases_gfm/strikethrough.text
+${GEM_LIBDIR}/test/testcases_gfm/task_list.html
+${GEM_LIBDIR}/test/testcases_gfm/task_list.text
 ${GEM_LIBDIR}/test/testcases_gfm/two_para_hard_line_breaks.html
 ${GEM_LIBDIR}/test/testcases_gfm/two_para_hard_line_breaks.text
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 5033a9b76a96 -r 4b6df5f57002 textproc/ruby-kramdown/distinfo
--- a/textproc/ruby-kramdown/distinfo   Tue Mar 13 17:15:09 2018 +0000
+++ b/textproc/ruby-kramdown/distinfo   Tue Mar 13 17:21:13 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2017/09/10 16:07:39 taca Exp $
+$NetBSD: distinfo,v 1.18 2018/03/13 17:21:13 taca Exp $
 
-SHA1 (kramdown-1.15.0.gem) = eb07230d0d1c07e221f02c3aee405bc7b0e58e47
-RMD160 (kramdown-1.15.0.gem) = 5f0e8b26932baf46d10b8a0d6f6af26aa8b935ee
-SHA512 (kramdown-1.15.0.gem) = db91bef9df254fd55a2742a38fd9180eff80ccd720fbd6600473840772f10441b12abcf497efdc91b920f7cd10c8b3d66f0b3f2dacb3480b290c222a5c2aa0b4
-Size (kramdown-1.15.0.gem) = 250368 bytes
+SHA1 (kramdown-1.16.2.gem) = 1c6b18385d09785c4ffedb6e53d88e20aa6034de
+RMD160 (kramdown-1.16.2.gem) = ee4f3461cb9f120583d568f9f77b2a7e6c465af6
+SHA512 (kramdown-1.16.2.gem) = da6981969aca283c50b5a34650833c1364afcf74ecc64daba1eed20b198490bf1fdda91096f37574281b50f36713326c367307137446b1fd84a049358a13e4d7
+Size (kramdown-1.16.2.gem) = 258048 bytes



Home | Main Index | Thread Index | Old Index