Subject: pkg/15811: update devel/ruby-bsearch to 1.5
To: None <gnats-bugs@gnats.netbsd.org>
From: None <iwamoto@sat.t.u-tokyo.ac.jp>
List: netbsd-bugs
Date: 03/06/2002 00:47:42
>Number:         15811
>Category:       pkg
>Synopsis:       update devel/ruby-bsearch to 1.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 05 07:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     IWAMOTO Toshihiro
>Release:        NetBSD 1.5ZA
>Organization:
	
>Environment:
System: NetBSD kiku.my.domain 1.5ZA NetBSD 1.5ZA (KIKU) #120: Sat Mar 2 18:11:33 JST 2002 toshii@kiku.my.domain:/usr/src/syssrc/sys/arch/i386/compile/KIKU i386
Architecture: i386
Machine: i386
Ruby is 1.6.6, installed from pkgsrc.
>Description:
	Newer version of ruby-bsearch is available.  This update is necessary
	to use migemo.  As I don't understand ruby, I'm not sure if it breaks
	anything.  The changelog says:

	2001-12-10  Satoru Takabayashi  <satoru@namazu.org>

	* Ruby/Bsearch: Version 1.5 released.

		* bsearch.rb (Array::bsearch_range): Take &block and pass &block.
		(Array::bsearch_last): Likewise.
		(Array::bsearch_first): Likewise.
		(Array::bsearch_lower_boundary): Likewise.
		(Array::bsearch_upper_boundary): Likewise.

	2001-11-16  Satoru Takabayashi  <satoru@namazu.org>

	* tests/test.rb (check_boundaries): New method.

>How-To-Repeat:
	Try to use migemo (migemo.namazu.org).
>Fix:
	Apply the following diff.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ruby-bsearch/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	2002/01/04 09:47:56	1.3
+++ Makefile	2002/03/05 15:37:03
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/01/04 09:47:56 taca Exp $
+# $NetBSD: Makefile,v 1.2 2002/01/03 15:50:00 taca Exp $
 
 DISTNAME=	ruby-bsearch-${VERSION}
 PKGNAME=	${RUBY_PKGNAMEPREFIX}bsearch-${VERSION}
@@ -9,7 +9,7 @@
 HOMEPAGE=	http://namazu.org/~satoru/ruby-bsearch/
 COMMENT=	Binary search library for Ruby
 
-VERSION=	1.4
+VERSION=	1.5
 DIST_SUBDIR=	ruby
 USE_RUBY_RD=	# defined
 NO_PATCH=	# defined
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ruby-bsearch/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2002/01/03 15:50:00	1.2
+++ distinfo	2002/03/05 15:37:03
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2002/01/03 15:50:00 taca Exp $
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 11:58:20 taca Exp $
 
-SHA1 (ruby/ruby-bsearch-1.4.tar.gz) = 7d86f02789d1a974378ed69d474f2aac7924dfe2
-Size (ruby/ruby-bsearch-1.4.tar.gz) = 14665 bytes
+SHA1 (ruby/ruby-bsearch-1.5.tar.gz) = d3af447d03a3e0a78e7f5a8b1965a9f482b8a2c1
+Size (ruby/ruby-bsearch-1.5.tar.gz) = 14836 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: