summaryrefslogtreecommitdiff
path: root/textproc/ruby-redcloth
diff options
context:
space:
mode:
authortaca <taca>2008-10-03 01:31:12 +0000
committertaca <taca>2008-10-03 01:31:12 +0000
commit518db4129420904eef47c97f6ef1d952cdcc6d2d (patch)
treedfadc60f3ec94633c4cccd613d8fff83c511ee99 /textproc/ruby-redcloth
parent35c2591fcef92dda059ec6464e20a9231d90a0ff (diff)
downloadpkgsrc-518db4129420904eef47c97f6ef1d952cdcc6d2d.tar.gz
Update ruby-redcloth to 4.0.4.
*4.0.4 (October 1, 2008)* * Added some very basic support for images in LaTeX. [virtualfunction] * Fixed missed caps and inline modifiers wrapped in parentheses. #43, #45 * Removed indication of quotes explicitly with square brackets. Textile 2.0 does not support this and it wasn't in RedCloth 3. #46 * Made percent signs less greedy. They must surround a phrase or else they must be surrounded with square brackets, just like sup, sub, and del phrases. #47 * Reduced link eagerness so it wouldn't include preceding quoted phrases. #48 * Fixed compatibility issues with Ruby 1.9 [Keita Yamaguchi]. #52, 53, 54 * Fixed an error when a link was badly nested in parentheses. #55 * Fixed an error on superscript/subscript parenthetical phrase. #56 * Fixed bold phrases starting with a number being recognized as unordered lists. #60 * Fixed behavior of unclosed (multi-paragraph) quotes and incorrect handling of links inside double quotations. #59, #63 * Fixed empty block HTML disappearing. #64 *4.0.3 (August 18, 2008)* * Fix NoMethodError: private method gsub!' called for nil:NilClass when two dimensions followed by a space. #38 * Fixed unititialized constant RedCloth::TextileDoc with Rails 2.1. Came from a workaround for Rails bug #320 that was applied even when not necessary. #42 *4.0.2 (August 15, 2008)* * Fixed link references/aliases not being recognized when they include hyphens. #36 * Dimensions in feet and inches use correct typographic characters. #25 * Limit overzealous superscript and subscript. Sup/sub phrases must be surrounded by spaces or square brackets, as in Textile 2. #35 * Fixed HTML before tables causing the opening table tag to be emitted twice. #33 * Cleaned up unused code that was causing a warning. #28 * Workaround for Rails 2.1 bug that loads a previous version of RedCloth before loading the unpacked gem. Has since been fixed in edge rails. #30 * Added a RedCloth::VERSION.to_s and .== methods so you can puts and compare RedCloth::VERSION just like in previous RedCloth releases. #26 * Fixed HTML block ending tags terminating blocks prematurely. #22 *4.0.1 (July 24, 2008)* * Fixed lines starting with dashes being recognized as a definition list when there were no definitions. * Created alias RedCloth.rb so Rails 2.1 gem dependency works on case-sensitive operating systems . * Fixed parsing sentences that had two em dashes surrounded by spaces from becoming del phrases. #19 * Fixed links including prior quoted phrases. #17 *4.0.0 (July 21, 2008)* * New SuperRedCloth (RedCloth 4.0) is a total rewrite using Ragel for the parsing. * Markdown support has been removed. * Single newlines become <br> tags, just as in traditional RedCloth and other Textile parsers. * HTML special characters are automatically escaped inside code signatures, like Textile 2. This means you can simply write @<br />@ and the symbols are escaped whereas in RedCloth 3 you had to write @&lt;br /&gt;@ to make the code fragment readable. * The restrictions parameter is observed just like previous versions (except :hard_breaks is now the default). * Arguments to RedCloth#to_html are called so extensions made for prior versions can work. Note: extensions need to be included rather than defined directly within the RedCloth class as was previously possible. * Custom block tags can be implemented as in the previous version, though the means of implementing them differs. * HTML embedded in the Textile input does not often need to be escaped from Textile parsing. * The parser will not wrap lines that begin with a space in paragraph tags. * Rudimentary support for LaTeX is built in. * RedCloth::VERSION on a line by itself inserts the version number into the output. * Output (less newlines and tabs) is identical to Textile 2 except a few cases where the RedCloth way was preferable. * Over 500 tests prevent regression * It's 40 times faster than the previous version.
Diffstat (limited to 'textproc/ruby-redcloth')
-rw-r--r--textproc/ruby-redcloth/Makefile7
-rw-r--r--textproc/ruby-redcloth/PLIST76
-rw-r--r--textproc/ruby-redcloth/distinfo8
3 files changed, 64 insertions, 27 deletions
diff --git a/textproc/ruby-redcloth/Makefile b/textproc/ruby-redcloth/Makefile
index 9ff7db85549..91e7b458cf6 100644
--- a/textproc/ruby-redcloth/Makefile
+++ b/textproc/ruby-redcloth/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2008/04/04 15:30:01 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2008/10/03 01:31:12 taca Exp $
-DISTNAME= RedCloth-3.0.4
+DISTNAME= RedCloth-4.0.4
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 2
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -11,5 +10,7 @@ COMMENT= Textile library for Ruby
GEM_BUILD= gemspec
+RUBY_HAS_ARCHLIB= YES
+
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-redcloth/PLIST b/textproc/ruby-redcloth/PLIST
index eaa5e59a0cf..0562aa5be15 100644
--- a/textproc/ruby-redcloth/PLIST
+++ b/textproc/ruby-redcloth/PLIST
@@ -1,29 +1,65 @@
-@comment $NetBSD: PLIST,v 1.6 2008/04/04 15:30:01 jlam Exp $
+@comment $NetBSD: PLIST,v 1.7 2008/10/03 01:31:12 taca Exp $
bin/redcloth
${GEM_HOME}/cache/RedCloth-${PKGVERSION}.gem
+${GEM_LIBDIR}/.require_paths
+${GEM_LIBDIR}/CHANGELOG
+${GEM_LIBDIR}/COPYING
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/bin/redcloth
-${GEM_LIBDIR}/doc/CHANGELOG
-${GEM_LIBDIR}/doc/COPYING
-${GEM_LIBDIR}/doc/README
-${GEM_LIBDIR}/doc/REFERENCE
-${GEM_LIBDIR}/doc/make.rb
+${GEM_LIBDIR}/ext/redcloth_scan/extconf.rb
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth.h
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_attributes.c
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_attributes.rl
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_common.rl
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_inline.c
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_inline.rl
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_scan.c
+${GEM_LIBDIR}/ext/redcloth_scan/redcloth_scan.rl
+${GEM_LIBDIR}/extras/mingw-rbconfig.rb
+${GEM_LIBDIR}/extras/ragel_profiler.rb
+${GEM_LIBDIR}/lib/case_sensitive_require/RedCloth.rb
${GEM_LIBDIR}/lib/redcloth.rb
-${GEM_LIBDIR}/run-tests.rb
-${GEM_LIBDIR}/setup.rb
-${GEM_LIBDIR}/tests/code.yml
-${GEM_LIBDIR}/tests/hard_breaks.yml
-${GEM_LIBDIR}/tests/images.yml
-${GEM_LIBDIR}/tests/instiki.yml
-${GEM_LIBDIR}/tests/links.yml
-${GEM_LIBDIR}/tests/lists.yml
-${GEM_LIBDIR}/tests/markdown.yml
-${GEM_LIBDIR}/tests/poignant.yml
-${GEM_LIBDIR}/tests/table.yml
-${GEM_LIBDIR}/tests/textism.yml
+${GEM_LIBDIR}/lib/redcloth/formatters/base.rb
+${GEM_LIBDIR}/lib/redcloth/formatters/html.rb
+${GEM_LIBDIR}/lib/redcloth/formatters/latex.rb
+${GEM_LIBDIR}/lib/redcloth/formatters/latex_entities.yml
+${GEM_LIBDIR}/lib/redcloth/textile_doc.rb
+${GEM_LIBDIR}/lib/redcloth/version.rb
+${GEM_LIBDIR}/lib/redcloth_scan.bundle
+${GEM_LIBDIR}/lib/redcloth_scan.${RUBY_DLEXT}
+${GEM_LIBDIR}/test/basic.yml
+${GEM_LIBDIR}/test/code.yml
+${GEM_LIBDIR}/test/definitions.yml
+${GEM_LIBDIR}/test/extra_whitespace.yml
+${GEM_LIBDIR}/test/filter_html.yml
+${GEM_LIBDIR}/test/filter_pba.yml
+${GEM_LIBDIR}/test/helper.rb
+${GEM_LIBDIR}/test/html.yml
+${GEM_LIBDIR}/test/images.yml
+${GEM_LIBDIR}/test/instiki.yml
+${GEM_LIBDIR}/test/links.yml
+${GEM_LIBDIR}/test/lists.yml
+${GEM_LIBDIR}/test/poignant.yml
+${GEM_LIBDIR}/test/sanitize_html.yml
+${GEM_LIBDIR}/test/table.yml
+${GEM_LIBDIR}/test/test_custom_tags.rb
+${GEM_LIBDIR}/test/test_extensions.rb
+${GEM_LIBDIR}/test/test_formatters.rb
+${GEM_LIBDIR}/test/test_parser.rb
+${GEM_LIBDIR}/test/test_restrictions.rb
+${GEM_LIBDIR}/test/textism.yml
+${GEM_LIBDIR}/test/threshold.yml
+${GEM_LIBDIR}/test/validate_fixtures.rb
${GEM_HOME}/specifications/RedCloth-${PKGVERSION}.gemspec
-@dirrm ${GEM_LIBDIR}/tests
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/redcloth/formatters
+@dirrm ${GEM_LIBDIR}/lib/redcloth
+@dirrm ${GEM_LIBDIR}/lib/case_sensitive_require
@dirrm ${GEM_LIBDIR}/lib
-@dirrm ${GEM_LIBDIR}/doc
+@dirrm ${GEM_LIBDIR}/extras
+@dirrm ${GEM_LIBDIR}/ext/redcloth_scan
+@dirrm ${GEM_LIBDIR}/ext
@dirrm ${GEM_LIBDIR}/bin
@dirrm ${GEM_LIBDIR}
@exec ${MKDIR} %D/${GEM_DOCDIR}
diff --git a/textproc/ruby-redcloth/distinfo b/textproc/ruby-redcloth/distinfo
index 8d9c5d68b7b..79f286cd157 100644
--- a/textproc/ruby-redcloth/distinfo
+++ b/textproc/ruby-redcloth/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2008/04/04 15:30:01 jlam Exp $
+$NetBSD: distinfo,v 1.7 2008/10/03 01:31:12 taca Exp $
-SHA1 (RedCloth-3.0.4.gem) = cfc69c6648b5f1b7b4fd426ccefda4d016bc850f
-RMD160 (RedCloth-3.0.4.gem) = 6e925e2c598d8ce6bdfc8a0de63e56f2d263be35
-Size (RedCloth-3.0.4.gem) = 41984 bytes
+SHA1 (RedCloth-4.0.4.gem) = eb34cf098d4fe1949b507d89c630ce838147bb44
+RMD160 (RedCloth-4.0.4.gem) = 2b89d818ca2e9ecf60303d8e5b24671181af39bd
+Size (RedCloth-4.0.4.gem) = 417792 bytes