Bug 128663 - [NEW PORT]devel/rubygem-arrayfields:Allow Keyword Access to Array Instances
Summary: [NEW PORT]devel/rubygem-arrayfields:Allow Keyword Access to Array Instances
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 06:20 UTC by wenheping
Modified: 2008-11-09 23:10 UTC (History)
0 users

See Also:


Attachments
file.shar (2.84 KB, text/plain)
2008-11-07 06:20 UTC, wenheping
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description wenheping 2008-11-07 06:20:04 UTC
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/

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-07 06:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-11-09 23:05:49 UTC
miwi        2008-11-09 23:05:41 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/rubygem-arrayfields Makefile distinfo pkg-descr 
  Log:
  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/
  
  PR:             ports/128663
  Submitted by:   Wen Heping <wenheping at gmail.com>
  
  Revision  Changes    Path
  1.3242    +1 -0      ports/devel/Makefile
  1.1       +27 -0     ports/devel/rubygem-arrayfields/Makefile (new)
  1.1       +3 -0      ports/devel/rubygem-arrayfields/distinfo (new)
  1.1       +12 -0     ports/devel/rubygem-arrayfields/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-11-09 23:06:32 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!