Date: Fri, 7 Nov 2008 06:19:48 GMT From: Wen Heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/128663: [NEW PORT]devel/rubygem-arrayfields:Allow Keyword Access to Array Instances Message-ID: <200811070619.mA76Jm0O045831@www.freebsd.org> Resent-Message-ID: <200811070620.mA76K4da025623@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128663 >Category: ports >Synopsis: [NEW PORT]devel/rubygem-arrayfields:Allow Keyword Access to Array Instances >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 07 06:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD-8.0 Current >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008 root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: arrayfields allow keyword access to array instances. arrayfields works by adding only a few methods to arrays, namely #fields= and fields, but the #fields= method is hooked to extend an array on a per object basis.In otherwords __only__ those arrays whose fields are set will have auto-magical keyword access bestowed on them - all other arrays remain unaffected.arrays with keyword access require much less memory when compared to hashes/objects and yet still provide fast lookup and preserve data order. WWW: http://codeforpeople.com/lib/ruby/arrayfields/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rubygem-arrayfields # rubygem-arrayfields/pkg-plist # rubygem-arrayfields/pkg-descr # rubygem-arrayfields/distinfo # rubygem-arrayfields/Makefile # echo c - rubygem-arrayfields mkdir -p rubygem-arrayfields > /dev/null 2>&1 echo x - rubygem-arrayfields/pkg-plist sed 's/^X//' >rubygem-arrayfields/pkg-plist << '228608b746918effc8bd36c816855c9e' X%%GEM_CACHE%% X%%GEM_LIB_DIR%%/README X%%GEM_LIB_DIR%%/README.tmpl X%%GEM_LIB_DIR%%/gemspec.rb X%%GEM_LIB_DIR%%/gen_readme.rb X%%GEM_LIB_DIR%%/install.rb X%%GEM_LIB_DIR%%/lib/arrayfields.rb X%%GEM_LIB_DIR%%/sample/a.rb X%%GEM_LIB_DIR%%/sample/b.rb X%%GEM_LIB_DIR%%/sample/c.rb X%%GEM_LIB_DIR%%/sample/d.rb X%%GEM_LIB_DIR%%/sample/e.rb X%%GEM_LIB_DIR%%/test/arrayfields.rb X%%GEM_LIB_DIR%%/test/memtest.rb X%%GEM_SPEC%% X@dirrm %%GEM_LIB_DIR%%/test X@dirrm %%GEM_LIB_DIR%%/sample X@dirrm %%GEM_LIB_DIR%%/lib X@dirrm %%GEM_LIB_DIR%% X@dirrm %%GEM_DOC_DIR%% 228608b746918effc8bd36c816855c9e echo x - rubygem-arrayfields/pkg-descr sed 's/^X//' >rubygem-arrayfields/pkg-descr << '99ba2529b3e9d5d9a7570a260d1746a9' Xarrayfields allow keyword access to array instances. Xarrayfields works by adding only a few methods to arrays, Xnamely #fields= and fields, but the #fields= method is Xhooked to extend an array on a per object basis.In Xotherwords __only__ those arrays whose fields are set Xwill have auto-magical keyword access bestowed on Xthem - all other arrays remain unaffected.arrays with Xkeyword access require much less memory when compared Xto hashes/objects and yet still provide fast lookup and Xpreserve data order. X XWWW: http://codeforpeople.com/lib/ruby/arrayfields/ 99ba2529b3e9d5d9a7570a260d1746a9 echo x - rubygem-arrayfields/distinfo sed 's/^X//' >rubygem-arrayfields/distinfo << '8732dffadfc2c9821afe7ecae16747fb' XMD5 (rubygem/arrayfields-4.6.0.gem) = 1fc502b73d1c0061232e306f881c17ea XSHA256 (rubygem/arrayfields-4.6.0.gem) = 1a4a3563d026d6c11c3bee7a0ea1222cc7d4c4b152da86aa7ee3aa40951de59f XSIZE (rubygem/arrayfields-4.6.0.gem) = 13312 8732dffadfc2c9821afe7ecae16747fb echo x - rubygem-arrayfields/Makefile sed 's/^X//' >rubygem-arrayfields/Makefile << '1779b07a35da706f933f6f7add88aee1' X# New ports collection makefile for: rubygem-arrayfields X# Date created: 07, Nov 2008 X# Whom: Wen Heping <wenheping@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= arrayfields XPORTVERSION= 4.6.0 XCATEGORIES= devel rubygems XMASTER_SITES= ${MASTER_SITE_RUBYFORGE} XMASTER_SITE_SUBDIR= codeforpeople X XMAINTAINER= wenheping@gmail.com XCOMMENT= Allow Keyword Access to Array Instances X XUSE_RUBY= yes XUSE_RUBYGEMS= yes X X.include <bsd.port.mk> 1779b07a35da706f933f6f7add88aee1 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811070619.mA76Jm0O045831>