pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-kramdown Update ruby-kramdown to 1.7.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4c24e812048
branches:  trunk
changeset: 653015:d4c24e812048
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 11 16:23:35 2015 +0000

description:
Update ruby-kramdown to 1.7.0.

kramdown 1.7.0 released                 Published on Monday, 27 April 2015

This release brings among other things support for the ‘minted’ syntax
highlighter for LaTeX and a new math engine based on MathJax-Node that outputs
to MathML.

Changes

* 4 minor changes:

  - The syntax highlighter ‘minted’ for the LaTeX converter is now available
    (fixes issue #93, initial patch #242 by l3kn)
  - A new math engine based on MathJax-Node that outputs to MathML is now
    available (patch #240 by Tom Thorogood)
  - Fixed #244, #246: Fenced code blocks now allow a dash in the code language
    name (requested and patched by Dennis Günnewig)
  - The option list in the man page as well in the output of kramdown --help
    is now sorted.

* 2 bug fixes:

  - Fixed #230: Warning message for method in
    lib/kramdown/utils/configurable.rb will not show anymore (reported by
    Robert A. Heiler)
  - Fixed #239: Handling of single/double quotes in reference style links now
    follows the same rules as with inline links (reported by Josh Davis)


kramdown 1.6.0 released                 Published on Saturday, 28 February 2015

This release contains many fixes and minor enhancements as well as one major
goodie that comes with a small caveat: block IALs can now be applied to link
and abbreviation definitions!

It may not sound like much but allowing block IALs to be applied to link
definitions alleviates the problem that additional attributes could only be
specified via span IALs. Now such attributes can be stored together with the
URL and title at the link definition, for example:

        This is a ![resized image].

        [resized image]: some_image.jpg "with a title"
        {: height="36px" width="36px" style="border: 1px solid green"}

There is one small caveat, though. Regard the following construct:

        [linkdef]: http://example.com
        {:.block-ial}
        block element, e.g. a paragraph

The block IAL would have been applied to the paragraph in previous versions
but now it is applied to the link definition. However, such a construct is not
very likely encountered in the real world.

Changes

* 7 minor changes:

  - Block IALs can now be applied to link and abbreviation definitions
    (inspired by issue #194 from cabo)
  - The syntax highlighting engine for Rouge now allows custom formatter
    classes to be used (issue #214, requested by BackOrder)
  - The MathJax math engine now allows adding previews (issue #225, requested
    by jethrogb)
  - The “toc_levels” option can now also take a Range object (pull request
    #210 by Jens Krämer)
  - The generated table of contents of the HTML converter now contains ID
    attributes on the links so that back-references can be used (issue #195,
    requested by Ciro Santilli)
  - A warning is now generated when duplicate HTML attributes are detected
    (issue #201, requested by winniehell)
  - Updated used version of prawn to 2.0.0

8 bug fixes:

  - Fixed #192: Emphasis by using underscore sometimes wrongly worked within a
    word (reported by Michael Franzl)
  - Fixed #198: Empty alt attributes on <img> tags are now correctly handled
    by the kramdown converter (reported by winniehell)
  - Fixed #200: Trailing whitespace is now really removed in paragraphs
    (reported by winniehell)
  - Fixed #220: HTML blocks with attributes weren’t correctly detected when
    directly after another block (reported by Bill Tozier)
  - Fixed #199: Empty title attributes are now ignored for images when using
    the kramdown converter (reported by and pull request #206 from winniehell)
  - Leading and trailing white space from math statements is now stripped as
    the whitespace sometimes lead to LaTeX conversion errors
  - Fixed #226: Class names may now start with a dash in IALs/ALDs (reported
    by Adam Hardwick)
  - Multiple consecutive block IALs before an element are now correctly
    processed

diffstat:

 textproc/ruby-kramdown/Makefile |   4 +-
 textproc/ruby-kramdown/PLIST    |  42 ++++++++++++++++++++++++++++++++++++++++-
 textproc/ruby-kramdown/distinfo |   8 +++---
 3 files changed, 47 insertions(+), 7 deletions(-)

diffs (148 lines):

diff -r 71aec1563344 -r d4c24e812048 textproc/ruby-kramdown/Makefile
--- a/textproc/ruby-kramdown/Makefile   Thu Jun 11 15:41:43 2015 +0000
+++ b/textproc/ruby-kramdown/Makefile   Thu Jun 11 16:23:35 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2015/03/13 16:13:29 taca Exp $
+# $NetBSD: Makefile,v 1.10 2015/06/11 16:23:35 taca Exp $
 
-DISTNAME=      kramdown-1.5.0
+DISTNAME=      kramdown-1.7.0
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 71aec1563344 -r d4c24e812048 textproc/ruby-kramdown/PLIST
--- a/textproc/ruby-kramdown/PLIST      Thu Jun 11 15:41:43 2015 +0000
+++ b/textproc/ruby-kramdown/PLIST      Thu Jun 11 16:23:35 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2015/03/13 16:13:29 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2015/06/11 16:23:35 taca Exp $
 bin/kramdown${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
@@ -32,6 +32,7 @@
 ${GEM_LIBDIR}/doc/options.page
 ${GEM_LIBDIR}/doc/quickref.page
 ${GEM_LIBDIR}/doc/sidebar.template
+${GEM_LIBDIR}/doc/sitemap.sitemap
 ${GEM_LIBDIR}/doc/syntax.page
 ${GEM_LIBDIR}/doc/tests.page
 ${GEM_LIBDIR}/doc/virtual
@@ -44,10 +45,13 @@
 ${GEM_LIBDIR}/lib/kramdown/converter/latex.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/math_engine/itex2mml.rb
 ${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/pdf.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/remove_html_tags.rb
+${GEM_LIBDIR}/lib/kramdown/converter/syntax_highlighter.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/syntax_highlighter/coderay.rb
+${GEM_LIBDIR}/lib/kramdown/converter/syntax_highlighter/minted.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/syntax_highlighter/rouge.rb
 ${GEM_LIBDIR}/lib/kramdown/converter/toc.rb
 ${GEM_LIBDIR}/lib/kramdown/document.rb
@@ -156,6 +160,12 @@
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/disable-highlighting.text
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/error.html
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/error.text
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted-with-opts.options
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted-with-opts.text
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted.latex
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted.options
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-minted.text
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-opts.html
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-opts.options
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/highlighting-opts.text
@@ -188,6 +198,9 @@
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block.html
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block.options
 ${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block.text
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.html
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options
+${GEM_LIBDIR}/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text
 ${GEM_LIBDIR}/test/testcases/block/07_horizontal_rule/error.html
 ${GEM_LIBDIR}/test/testcases/block/07_horizontal_rule/error.html.19
 ${GEM_LIBDIR}/test/testcases/block/07_horizontal_rule/error.text
@@ -231,6 +244,8 @@
 ${GEM_LIBDIR}/test/testcases/block/09_html/content_model/tables.text
 ${GEM_LIBDIR}/test/testcases/block/09_html/html5_attributes.html
 ${GEM_LIBDIR}/test/testcases/block/09_html/html5_attributes.text
+${GEM_LIBDIR}/test/testcases/block/09_html/html_after_block.html
+${GEM_LIBDIR}/test/testcases/block/09_html/html_after_block.text
 ${GEM_LIBDIR}/test/testcases/block/09_html/html_and_codeblocks.html
 ${GEM_LIBDIR}/test/testcases/block/09_html/html_and_codeblocks.options
 ${GEM_LIBDIR}/test/testcases/block/09_html/html_and_codeblocks.text
@@ -356,6 +371,21 @@
 ${GEM_LIBDIR}/test/testcases/block/15_math/itex2mml.html
 ${GEM_LIBDIR}/test/testcases/block/15_math/itex2mml.options
 ${GEM_LIBDIR}/test/testcases/block/15_math/itex2mml.text
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview.html
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview.options
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview.text
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview_simple.html
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview_simple.options
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjax_preview_simple.text
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode.html.19
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode.options
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode.text
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_notexhints.html.19
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_notexhints.options
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_notexhints.text
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_semantics.html.19
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_semantics.options
+${GEM_LIBDIR}/test/testcases/block/15_math/mathjaxnode_semantics.text
 ${GEM_LIBDIR}/test/testcases/block/15_math/normal.html
 ${GEM_LIBDIR}/test/testcases/block/15_math/normal.text
 ${GEM_LIBDIR}/test/testcases/block/15_math/ritex.html
@@ -376,6 +406,8 @@
 ${GEM_LIBDIR}/test/testcases/encoding.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/empty.html
 ${GEM_LIBDIR}/test/testcases/span/01_link/empty.text
+${GEM_LIBDIR}/test/testcases/span/01_link/empty_title.htmlinput
+${GEM_LIBDIR}/test/testcases/span/01_link/empty_title.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/image_in_a.html
 ${GEM_LIBDIR}/test/testcases/span/01_link/image_in_a.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/imagelinks.html
@@ -385,6 +417,8 @@
 ${GEM_LIBDIR}/test/testcases/span/01_link/inline.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/link_defs.html
 ${GEM_LIBDIR}/test/testcases/span/01_link/link_defs.text
+${GEM_LIBDIR}/test/testcases/span/01_link/link_defs_with_ial.html
+${GEM_LIBDIR}/test/testcases/span/01_link/link_defs_with_ial.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/links_with_angle_brackets.html
 ${GEM_LIBDIR}/test/testcases/span/01_link/links_with_angle_brackets.text
 ${GEM_LIBDIR}/test/testcases/span/01_link/reference.html
@@ -403,6 +437,9 @@
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/empty.text
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/errors.html
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/errors.text
+${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-minted.latex
+${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-minted.options
+${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-minted.text
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-rouge.html
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-rouge.options
 ${GEM_LIBDIR}/test/testcases/span/03_codespan/highlighting-rouge.text
@@ -462,6 +499,9 @@
 ${GEM_LIBDIR}/test/testcases/span/math/itex2mml.html
 ${GEM_LIBDIR}/test/testcases/span/math/itex2mml.options
 ${GEM_LIBDIR}/test/testcases/span/math/itex2mml.text
+${GEM_LIBDIR}/test/testcases/span/math/mathjaxnode.html.19
+${GEM_LIBDIR}/test/testcases/span/math/mathjaxnode.options
+${GEM_LIBDIR}/test/testcases/span/math/mathjaxnode.text
 ${GEM_LIBDIR}/test/testcases/span/math/normal.html
 ${GEM_LIBDIR}/test/testcases/span/math/normal.text
 ${GEM_LIBDIR}/test/testcases/span/math/ritex.html
diff -r 71aec1563344 -r d4c24e812048 textproc/ruby-kramdown/distinfo
--- a/textproc/ruby-kramdown/distinfo   Thu Jun 11 15:41:43 2015 +0000
+++ b/textproc/ruby-kramdown/distinfo   Thu Jun 11 16:23:35 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2015/03/13 16:13:29 taca Exp $
+$NetBSD: distinfo,v 1.10 2015/06/11 16:23:35 taca Exp $
 
-SHA1 (kramdown-1.5.0.gem) = 921a35eb30cfde90640d0c6de3f51ab93e8d3288
-RMD160 (kramdown-1.5.0.gem) = 2478fac1df40d02743239e667174490eebc6d73a
-Size (kramdown-1.5.0.gem) = 231936 bytes
+SHA1 (kramdown-1.7.0.gem) = d682f5256cf2bd6e5d630a5c14ef8f520ee313cc
+RMD160 (kramdown-1.7.0.gem) = 5ecaf57ded242c51f9613a4a571f0080a8a742d9
+Size (kramdown-1.7.0.gem) = 237568 bytes


Home | Main Index | Thread Index | Old Index