summaryrefslogtreecommitdiff
path: root/textproc/ruby-fastercsv
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 08:08:14 +0000
committertaca <taca@pkgsrc.org>2010-09-10 08:08:14 +0000
commit894c0c132dddf1fef780641a7f82f98273f0a9cd (patch)
tree1611415b9d42f6b54eebffeb03b33e9ea177d0f4 /textproc/ruby-fastercsv
parent1ed2eea536555cba55113c258c3ad87e03735a54 (diff)
downloadpkgsrc-894c0c132dddf1fef780641a7f82f98273f0a9cd.tar.gz
Update textproc/ruby-fastercsv to 1.5.3.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. == 1.5.3 * A bug fix from Timothy Elliott to return the new parser to its strict quote tolerance. == 1.5.2 * A bug fix to allow IO Exceptions to reach the calling code from Moses Hohman. * Added support for <tt>:write_headers => false</tt> to Table.to_csv(). == 1.5.1 * A bug fix for deleting blank Table rows from Andy Hartford. * Added gem build instructions. == 1.5.0 * The main parser has been rewritten by Timothy Elliott to avoid big input issues with Ruby 1.8's regex engine. This makes FasterCSV handle more inputs gracefully. * FasterCSV will now exit with a notice to upgrade if required in Ruby 1.9. * Included a missing file so the tests will run in source packages. == 1.4.0 * Added encoding support patch from Michael Reinsch. * Improved inspect() messages for better IRb support. * Fixed header writing bug reported by Dov Murik. * Use custom separators in parsing header Strings as suggested by Shmulik Regev. * Added a <tt>:write_headers</tt> option for outputting headers. * Handle open() calls in binary mode whenever we can to workaround a Windows issue where line-ending translation can cause an off-by-one error in seeking back to a non-zero starting position after auto-discovery for <tt>:row_sep</tt> as suggested by Robert Battle. * Improved the parser to fail faster when fed some forms of invalid CSV that can be detected without reading ahead. * Added a <tt>:field_size_limit</tt> option to control FasterCSV's lookahead and prevent the parser from biting off more data than it can chew.
Diffstat (limited to 'textproc/ruby-fastercsv')
-rw-r--r--textproc/ruby-fastercsv/Makefile9
-rw-r--r--textproc/ruby-fastercsv/PLIST4
-rw-r--r--textproc/ruby-fastercsv/distinfo8
3 files changed, 11 insertions, 10 deletions
diff --git a/textproc/ruby-fastercsv/Makefile b/textproc/ruby-fastercsv/Makefile
index 1345bfa8ac3..93883204f23 100644
--- a/textproc/ruby-fastercsv/Makefile
+++ b/textproc/ruby-fastercsv/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2010/09/07 17:20:27 taca Exp $
+# $NetBSD: Makefile,v 1.3 2010/09/10 08:08:14 taca Exp $
-DISTNAME= fastercsv-1.2.3
-PKGNAME= ${RUBYGEM_PKGPREFIX}-${DISTNAME}
-#PKGREVISION= 1
+DISTNAME= fastercsv-1.5.3
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fastercsv.rubyforge.org/
COMMENT= Replacement to Ruby standard CSV library
+LICENSE= gnu-gpl-v2 OR ruby-license
RUBY_VERSION_SUPPORTED= 18
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-fastercsv/PLIST b/textproc/ruby-fastercsv/PLIST
index 1e536d7cec3..428dee5ba9c 100644
--- a/textproc/ruby-fastercsv/PLIST
+++ b/textproc/ruby-fastercsv/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:27 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/09/10 08:08:14 taca Exp $
${GEM_HOME}/cache/fastercsv-${PKGVERSION}.gem
${GEM_LIBDIR}/AUTHORS
${GEM_LIBDIR}/CHANGELOG
@@ -18,9 +18,11 @@ ${GEM_LIBDIR}/examples/shortcut_interface.rb
${GEM_LIBDIR}/lib/faster_csv.rb
${GEM_LIBDIR}/lib/fastercsv.rb
${GEM_LIBDIR}/setup.rb
+${GEM_LIBDIR}/test/line_endings.gz
${GEM_LIBDIR}/test/tc_csv_parsing.rb
${GEM_LIBDIR}/test/tc_csv_writing.rb
${GEM_LIBDIR}/test/tc_data_converters.rb
+${GEM_LIBDIR}/test/tc_encodings.rb
${GEM_LIBDIR}/test/tc_features.rb
${GEM_LIBDIR}/test/tc_headers.rb
${GEM_LIBDIR}/test/tc_interface.rb
diff --git a/textproc/ruby-fastercsv/distinfo b/textproc/ruby-fastercsv/distinfo
index 9b947ba62d6..1462a06882d 100644
--- a/textproc/ruby-fastercsv/distinfo
+++ b/textproc/ruby-fastercsv/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/07 18:03:35 seb Exp $
+$NetBSD: distinfo,v 1.2 2010/09/10 08:08:14 taca Exp $
-SHA1 (fastercsv-1.2.3.gem) = 143653bbc7512397101df3f4815938835a88308e
-RMD160 (fastercsv-1.2.3.gem) = 20045b586e7e3ef4c852df84506813e46ec50e12
-Size (fastercsv-1.2.3.gem) = 120832 bytes
+SHA1 (fastercsv-1.5.3.gem) = 8dccebb07a881c4d5c381c29c148a19a4d023a8a
+RMD160 (fastercsv-1.5.3.gem) = 5eb7f53e5688aeb5d2141dbeac764b594edb43e4
+Size (fastercsv-1.5.3.gem) = 124928 bytes