[ANN] dbi-dbrc 0.3.0

Hi all,

I’m happy to announce dbi-dbrc 0.3.0

What is it?

This is a supplement to the dbi module, allowing you
to avoid hard-coding passwords in your programs that
make database connections by using a special config
file. It’s also convenient. :slight_smile:

What’s new?

Win32 support has been added, although it is not (yet)
subject to file permission/attribute restrictions.

How do you use it?

require "dbi"
require “dbi/dbrc”

db = DBI::DBRC.new(“my_db”,“some_user”)
dbh = DBI.connect(db.dsn,db.user,db.passwd)

Win32 users will need the win32-etc package, available
on the RAA.

You can find the home page for dbi-dbrc at
http://ruby-miscutils.sourceforge.net

Enjoy!

Dan

···

Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/