Import ruby-cicphash.

CICPHash has the exact same interface as Hash, but is case insensitive
and case preserving. Any value can be used as a key. However, you cannot
have two keys in the same CICPHash that would be the same if when
converted to strings would be equal or differing only in case.

ok landry
This commit is contained in:
jeremy 2010-12-09 21:43:46 +00:00
parent 7d510deae1
commit dbbd894f1e
4 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/09 21:43:46 jeremy Exp $
COMMENT = case insensitive, case preserving hash class for ruby
DISTNAME = cicphash-1.0.0
CATEGORIES = devel
HOMEPAGE= http://cicphash.rubyforge.org/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
do-regress:
cd ${WRKSRC} && ${RUBY} -I . test/test_cicphash.rb
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (cicphash-1.0.0.gem) = uZxf0qxet8phqKH77Z+GwQ==
RMD160 (cicphash-1.0.0.gem) = PrgIXW8drqGYP492RqQtgeOYA2c=
SHA1 (cicphash-1.0.0.gem) = j3EwEOTnvrl9yfAgzbU0YbBgEzU=
SHA256 (cicphash-1.0.0.gem) = t+t/ApP1lLAo8gM15ejE07Fn+PJbN5a+YuS2ZarGL34=
SIZE (cicphash-1.0.0.gem) = 7680

View File

@ -0,0 +1,4 @@
CICPHash has the exact same interface as Hash, but is case insensitive
and case preserving. Any value can be used as a key. However, you cannot
have two keys in the same CICPHash that would be the same if when
converted to strings would be equal or differing only in case.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/09 21:43:46 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/.require_paths
${GEM_LIB}/gems/${DISTNAME}/cicphash.rb
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/test_cicphash.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec