[ANN] dbi-dbrc 0.3.0

Daniel Berger [mailto:djberg96@yahoo.com] announced:

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

Hi Daniel,

Is the password encrypted?

Btw, your package by itself is already very useful. But we have to store
only the encrypted password, since that is a requirement of our corp audit
here :wink:

Enjoy!

Dan

kind regards -botp