diff options
author | taca <taca@pkgsrc.org> | 2015-06-11 16:27:15 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-06-11 16:27:15 +0000 |
commit | e213f4aaed268c5ea4f8d620b0ee3d3eb4bf75b5 (patch) | |
tree | fa78baa1a1e20ec22ce2cc65b0305d42cd188d2b /textproc/ruby-redcarpet | |
parent | c23cb1c008030be85ded5448a821fec0f2d42afc (diff) | |
download | pkgsrc-e213f4aaed268c5ea4f8d620b0ee3d3eb4bf75b5.tar.gz |
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 (limited to 'textproc/ruby-redcarpet')
-rw-r--r-- | textproc/ruby-redcarpet/ALTERNATIVES | 1 | ||||
-rw-r--r-- | textproc/ruby-redcarpet/Makefile | 6 | ||||
-rw-r--r-- | textproc/ruby-redcarpet/PLIST | 8 | ||||
-rw-r--r-- | textproc/ruby-redcarpet/distinfo | 8 |
4 files changed, 13 insertions, 10 deletions
diff --git a/textproc/ruby-redcarpet/ALTERNATIVES b/textproc/ruby-redcarpet/ALTERNATIVES new file mode 100644 index 00000000000..1c02de020f3 --- /dev/null +++ b/textproc/ruby-redcarpet/ALTERNATIVES @@ -0,0 +1 @@ +bin/redcarpet @PREFIX@/bin/redcarpet@RUBY_SUFFIX@ diff --git a/textproc/ruby-redcarpet/Makefile b/textproc/ruby-redcarpet/Makefile index 7d649e45631..c2081cd9956 100644 --- a/textproc/ruby-redcarpet/Makefile +++ b/textproc/ruby-redcarpet/Makefile @@ -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 @@ -8,7 +8,7 @@ HOMEPAGE= https://github.com/vmg/redcarpet/ 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 --git a/textproc/ruby-redcarpet/PLIST b/textproc/ruby-redcarpet/PLIST index a0d17a87beb..1124c51dfde 100644 --- a/textproc/ruby-redcarpet/PLIST +++ b/textproc/ruby-redcarpet/PLIST @@ -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.c ${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/smarty_pants_test.rb ${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 --git a/textproc/ruby-redcarpet/distinfo b/textproc/ruby-redcarpet/distinfo index 8494dcef397..55536979be9 100644 --- a/textproc/ruby-redcarpet/distinfo +++ b/textproc/ruby-redcarpet/distinfo @@ -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 |