From e3624537d512de9c4bbe3502c7ce02f4def57c05 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 3 Jul 2014 12:50:03 +0000 Subject: Update ruby-text to 1.3.0. * Adds maximum distance optimisation for Levenshtein. * Removes support for Ruby versions before 1.9. --- textproc/ruby-text/Makefile | 6 ++++-- textproc/ruby-text/PLIST | 12 ++++++------ textproc/ruby-text/distinfo | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) (limited to 'textproc') diff --git a/textproc/ruby-text/Makefile b/textproc/ruby-text/Makefile index 4db590dc57e..6c22281340e 100644 --- a/textproc/ruby-text/Makefile +++ b/textproc/ruby-text/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2013/08/27 12:07:41 obache Exp $ +# $NetBSD: Makefile,v 1.4 2014/07/03 12:50:03 obache Exp $ -DISTNAME= text-1.2.3 +DISTNAME= text-1.3.0 CATEGORIES= textproc MAINTAINER= obache@NetBSD.org @@ -8,5 +8,7 @@ HOMEPAGE= https://github.com/threedaymonk/text COMMENT= Collection of text algorithms for Ruby LICENSE= mit +RUBY_VERSION_SUPPORTED= 193 200 21 + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-text/PLIST b/textproc/ruby-text/PLIST index 900d04916c5..d7b11f2e51c 100644 --- a/textproc/ruby-text/PLIST +++ b/textproc/ruby-text/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.3 2013/08/27 12:07:41 obache Exp $ +@comment $NetBSD: PLIST,v 1.4 2014/07/03 12:50:03 obache Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/COPYING.txt ${GEM_LIBDIR}/README.rdoc ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/lib/text.rb @@ -10,14 +11,13 @@ ${GEM_LIBDIR}/lib/text/porter_stemming.rb ${GEM_LIBDIR}/lib/text/soundex.rb ${GEM_LIBDIR}/lib/text/version.rb ${GEM_LIBDIR}/lib/text/white_similarity.rb -${GEM_LIBDIR}/test/data/big.txt -${GEM_LIBDIR}/test/data/chunky.flf -${GEM_LIBDIR}/test/data/chunky.txt ${GEM_LIBDIR}/test/data/double_metaphone.csv -${GEM_LIBDIR}/test/data/metaphone.txt -${GEM_LIBDIR}/test/data/metaphone_buggy.txt +${GEM_LIBDIR}/test/data/metaphone.yml +${GEM_LIBDIR}/test/data/metaphone_buggy.yml ${GEM_LIBDIR}/test/data/porter_stemming_input.txt ${GEM_LIBDIR}/test/data/porter_stemming_output.txt +${GEM_LIBDIR}/test/data/soundex.yml +${GEM_LIBDIR}/test/double_metaphone_test.rb ${GEM_LIBDIR}/test/levenshtein_test.rb ${GEM_LIBDIR}/test/metaphone_test.rb ${GEM_LIBDIR}/test/porter_stemming_test.rb diff --git a/textproc/ruby-text/distinfo b/textproc/ruby-text/distinfo index 4d7cfe631fd..603203b1490 100644 --- a/textproc/ruby-text/distinfo +++ b/textproc/ruby-text/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2013/08/27 12:07:41 obache Exp $ +$NetBSD: distinfo,v 1.4 2014/07/03 12:50:03 obache Exp $ -SHA1 (text-1.2.3.gem) = 327a7e4df07d28bf05822919586a41818b3aa0e9 -RMD160 (text-1.2.3.gem) = 72cf834fefa5cc4f323d95d71485d88211288b35 -Size (text-1.2.3.gem) = 136192 bytes +SHA1 (text-1.3.0.gem) = d5e3bcf4904445d34414ceca31c8f07df10350f4 +RMD160 (text-1.3.0.gem) = bf47d4817b3041864d01e83ad6dd8e180bc38746 +Size (text-1.3.0.gem) = 138752 bytes -- cgit v1.2.3