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.3.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86cd4140aa7d
branches:  trunk
changeset: 653017:86cd4140aa7d
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 11 16:27:15 2015 +0000

description:
Update ruby-redcarpet to 3.3.1.

pkgsrc change:

* Add support for pkg_alternatives.
* Allow build on Ruby 2.2.

Version 3.3.1

* Include the Redcarpet::CLI's file in the gemspec to make it available when
  downloading.

Version 3.3.0

* Fix the stripping of surrounding characters that should be removed during
  anchor generation.

* Provide a Redcarpet::CLI class to create custom binary files.

* Relying on Ruby's OptionParser, it's now straightforward to add new options,
  rely on custom render objects or handle differently the rendering of the
  provided files.

* Undeprecate the compatibility layer for the old RedCloth API.

* This layer actually ease the support of libraries supporting different
  Markdown processors.

* Strip out style tags at the HTML-block rendering level when the :no_styles
  options is enabled ; previously they were only removed inside paragraphs.

* Avoid parsing images when the given URL isn't safe and the :safe_links_only
  option is enabled.

  Alex Serban

* Avoid parsing references inside fenced code blocks so they are now kept in
  the code snippet.

  David Waller

* Avoid escaping table-of-contents' headers by default. A new :escape_html
  option is now available for the HTML_TOC object if there are security
  concerns.

* Add the lang- prefix in front of the language's name when using :prettify
  along with :fenced_code_blocks.

* Non-alphanumeric chars are now stripped out from generated anchors (along
  the lines of Active Support's #parameterize method).

diffstat:

 textproc/ruby-redcarpet/ALTERNATIVES |  1 +
 textproc/ruby-redcarpet/Makefile     |  6 +++---
 textproc/ruby-redcarpet/PLIST        |  8 +++++---
 textproc/ruby-redcarpet/distinfo     |  8 ++++----
 4 files changed, 13 insertions(+), 10 deletions(-)

diffs (76 lines):

diff -r baa160201f16 -r 86cd4140aa7d textproc/ruby-redcarpet/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-redcarpet/ALTERNATIVES      Thu Jun 11 16:27:15 2015 +0000
@@ -0,0 +1,1 @@
+bin/redcarpet @PREFIX@/bin/redcarpet@RUBY_SUFFIX@
diff -r baa160201f16 -r 86cd4140aa7d textproc/ruby-redcarpet/Makefile
--- a/textproc/ruby-redcarpet/Makefile  Thu Jun 11 16:24:05 2015 +0000
+++ b/textproc/ruby-redcarpet/Makefile  Thu Jun 11 16:27:15 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2015/05/14 22:17:40 taca Exp $
+# $NetBSD: Makefile,v 1.6 2015/06/11 16:27:15 taca Exp $
 
-DISTNAME=      redcarpet-3.2.3
+DISTNAME=      redcarpet-3.3.1
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,7 @@
 COMMENT=       Markdown that smells nice
 LICENSE=       mit
 
-RUBY_VERSION_SUPPORTED=        200 193 21
+RUBYGEM_OPTIONS+=      --format-executable
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r baa160201f16 -r 86cd4140aa7d textproc/ruby-redcarpet/PLIST
--- a/textproc/ruby-redcarpet/PLIST     Thu Jun 11 16:24:05 2015 +0000
+++ b/textproc/ruby-redcarpet/PLIST     Thu Jun 11 16:27:15 2015 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2015/03/08 15:30:27 taca Exp $
-bin/redcarpet
+@comment $NetBSD: PLIST,v 1.4 2015/06/11 16:27:15 taca Exp $
+bin/redcarpet${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/redcarpet.${RUBY_DLEXT}
@@ -29,17 +29,20 @@
 ${GEM_LIBDIR}/ext/redcarpet/stack.h
 ${GEM_LIBDIR}/lib/redcarpet.rb
 ${GEM_LIBDIR}/lib/redcarpet.${RUBY_DLEXT}
+${GEM_LIBDIR}/lib/redcarpet/cli.rb
 ${GEM_LIBDIR}/lib/redcarpet/compat.rb
 ${GEM_LIBDIR}/lib/redcarpet/render_man.rb
 ${GEM_LIBDIR}/lib/redcarpet/render_strip.rb
 ${GEM_LIBDIR}/redcarpet.gemspec
 ${GEM_LIBDIR}/test/benchmark.rb
 ${GEM_LIBDIR}/test/custom_render_test.rb
+${GEM_LIBDIR}/test/fixtures/benchmark.md
 ${GEM_LIBDIR}/test/html5_test.rb
 ${GEM_LIBDIR}/test/html_render_test.rb
 ${GEM_LIBDIR}/test/html_toc_render_test.rb
 ${GEM_LIBDIR}/test/markdown_test.rb
 ${GEM_LIBDIR}/test/pathological_inputs_test.rb
+${GEM_LIBDIR}/test/redcarpet_bin_test.rb
 ${GEM_LIBDIR}/test/redcarpet_compat_test.rb
 ${GEM_LIBDIR}/test/safe_render_test.rb
 ${GEM_LIBDIR}/test/smarty_html_test.rb
@@ -47,4 +50,3 @@
 ${GEM_LIBDIR}/test/stripdown_render_test.rb
 ${GEM_LIBDIR}/test/test_helper.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-@pkgdir lib/ruby/gems/2.0.0/build_info
diff -r baa160201f16 -r 86cd4140aa7d textproc/ruby-redcarpet/distinfo
--- a/textproc/ruby-redcarpet/distinfo  Thu Jun 11 16:24:05 2015 +0000
+++ b/textproc/ruby-redcarpet/distinfo  Thu Jun 11 16:27:15 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/05/14 22:17:40 taca Exp $
+$NetBSD: distinfo,v 1.5 2015/06/11 16:27:15 taca Exp $
 
-SHA1 (redcarpet-3.2.3.gem) = ee9cb5a9384ccd21f0a8f8937a0df7546fcbc007
-RMD160 (redcarpet-3.2.3.gem) = 2b3823246bb26494d551328eee744a9b959abdcd
-Size (redcarpet-3.2.3.gem) = 54272 bytes
+SHA1 (redcarpet-3.3.1.gem) = ddc882d2a4a0e65ae9e8d3c208c52b79674c0a04
+RMD160 (redcarpet-3.3.1.gem) = f4f5db27e24b6b5aada79e4c55e876cb7d7f01de
+Size (redcarpet-3.3.1.gem) = 59904 bytes



Home | Main Index | Thread Index | Old Index