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:
parent
7d510deae1
commit
dbbd894f1e
24
devel/ruby-cicphash/Makefile
Normal file
24
devel/ruby-cicphash/Makefile
Normal 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>
|
5
devel/ruby-cicphash/distinfo
Normal file
5
devel/ruby-cicphash/distinfo
Normal 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
|
4
devel/ruby-cicphash/pkg/DESCR
Normal file
4
devel/ruby-cicphash/pkg/DESCR
Normal 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.
|
8
devel/ruby-cicphash/pkg/PLIST
Normal file
8
devel/ruby-cicphash/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user