pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-redcarpet Update ruby-redcarpet to 3.4.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43ba62c15c06
branches:  trunk
changeset: 359996:43ba62c15c06
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Mar 20 15:40:02 2017 +0000

description:
Update ruby-redcarpet to 3.4.0.

v3.4.0                                          2016/12/26

Redcarpet v3.4.0

This new release ships with a bunch of bug fixes especially regarding anchor
generation.

Improvements to anchor generation

The anchor generation now relies on a djb2 hashing algorithm whenever the
generated anchor is empty as non alpha-numeric chars. This is specifically
interesting for CJK contents as Redcarpet used to generate empty anchors
dealing with titles in these locales.

Special thanks to Alexey Kopytko and namusyaka for their work on that !

Also now, the html-escaped entities are removed from anchors generated with
the HTML render in order to be consistent with the HTML_TOC render and as it
is more expected.

Other improvements

* Table headers don't require a minimum of three dashes anymore; a single one
  can be used for each row.
* The Markdown and rendering options are now exposed through a Hash inside the
  @options instance variable inside your custom render objects.

Bug fixes

* Multiple single quote pairs are parsed correctly with SmartyPants.
* Remove periods at the end of URLs when autolinking to make sure that links
  at the end of a sentence get properly generated.
* Avoid escaping ampersands in href links.

Checkout the CHANGELOG for further information and changes.

diffstat:

 textproc/ruby-redcarpet/Makefile |   4 ++--
 textproc/ruby-redcarpet/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r ad5b57f3c8b6 -r 43ba62c15c06 textproc/ruby-redcarpet/Makefile
--- a/textproc/ruby-redcarpet/Makefile  Mon Mar 20 15:37:08 2017 +0000
+++ b/textproc/ruby-redcarpet/Makefile  Mon Mar 20 15:40:02 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2016/03/15 15:57:59 taca Exp $
+# $NetBSD: Makefile,v 1.10 2017/03/20 15:40:02 taca Exp $
 
-DISTNAME=      redcarpet-3.3.4
+DISTNAME=      redcarpet-3.4.0
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r ad5b57f3c8b6 -r 43ba62c15c06 textproc/ruby-redcarpet/distinfo
--- a/textproc/ruby-redcarpet/distinfo  Mon Mar 20 15:37:08 2017 +0000
+++ b/textproc/ruby-redcarpet/distinfo  Mon Mar 20 15:40:02 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2016/03/15 15:57:59 taca Exp $
+$NetBSD: distinfo,v 1.10 2017/03/20 15:40:02 taca Exp $
 
-SHA1 (redcarpet-3.3.4.gem) = 777caf4db4b331cf0bf4966f5169591cff1889e5
-RMD160 (redcarpet-3.3.4.gem) = 0b606d8192fc71406cf5ca5768277aa786400cda
-SHA512 (redcarpet-3.3.4.gem) = 8ef78c351d319b193167a5dc7b45fa39c81b02fe5c0d0102cbbeea2af85ed0b3e7a00b16a58596996739c2538ba3d95bc3e85d6614d85fb845c34891b4c407c2
-Size (redcarpet-3.3.4.gem) = 60416 bytes
+SHA1 (redcarpet-3.4.0.gem) = 5b75e3d781c66e52dbc16c99eddaa1eff067458f
+RMD160 (redcarpet-3.4.0.gem) = b5a087b4bcd6550a9a96d94b19a2471be2e705fd
+SHA512 (redcarpet-3.4.0.gem) = 7cd68a7d6c2dc4d94683e8738e4867b99a98ee135a59041cddb6d4f42a67ba137e56852e7a1701b35fae7b3b825008194f2a7ed818c5a9fe2bab8e904328529f
+Size (redcarpet-3.4.0.gem) = 61440 bytes



Home | Main Index | Thread Index | Old Index