Ruby Weekly News

Ruby Weekly News: 03/17/2003

A summary of activity on the ruby-talk mailing list, brought to you
this week by Holden Glova.

ANNOUNCEMENTS

···

=============

vcard 0.1
Sam Roberts has released a vCard decoding library. Get
vcard([1])

Syck 0.08
whytheluckystiff has released a new YAML([2]) parser written in
C. Get Syck([3]).

Periodic 0.4
Josef has released a Ruby module that provides information
about all chemical elements as a single constant table named
Periodic::Table. Get Periodic([4]).

sys-proctable 0.4.0
Daniel Berger has released a new version of sys-proctable.
sys-proctable provides access to process information. This
release has support for MS windows. Get sys-proctable([5]).

Rake, cleaning the yard of Make
Jim Weirich released an experiment in a way to possibly replace
Makefiles. Read this post to see why he has done this and what
the goals are. Get Rake([6]).

Gentoo Administration
Bruce Williams has released a script to help with Gentoo
package administration. He has come up with is a small cron
script that will update rsync and then e-mail you a listing of
any updated packages that are available (via a parsed emerge -u
world --pretend), to include descriptions, links to package
homepages, and versioning. Get Gentoo Admin([7]).

Madeleine 0.1
Anders Bengtsson has released a Ruby implementation of Object
Prevalence([8]). Madeleine is a transparent persistence of
business objects using command logging and snapshots. Get
Madeleine([9]).

INTERESTING THREADS

Preventing method overriding
Ever wanted to prevent a method from being overridden? Read
this small thread to see how it can be done.

Dynamically creating methods
Creating methods dynamically with Ruby is such a common
question that I feel it is important enough to refer to a
recent thread on the subject. This thread shows several
different ways to accomplish the task as well as 1.8 specific
idioms.

References

  1. http://raa.ruby-lang.org/list.rhtml?name=vcard
  2. http://www.yaml.org/
  3. http://prdownloads.sourceforge.net/yaml4r/syck-0.08.tar.gz?download
  4. http://members.lycos.nl/jupp/linux/soft/ruby/Periodic.html
  5. http://ruby-sysutils.sourceforge.net/
  6. ftp://ftp.one.net/pub/users/jweirich/tools/rake/rake-0.1.0.tgz
  7. http://blog.codedbliss.com/archives/gentoo-check_updates-0.5b.rb
  8. http://www.prevayler.org/
  9. http://madeleine.sourceforge.net/