This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Back to DBI
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
After a long hiatus, I've gotten back to work on the DBI project. The first order of business is separating out the various DBD's into their own packages. We'll start with with the PostgreSQL and MySQL adapters, then Oracle and SQLite, then the rest.
Naturally, things couldn't be that simple. The first correction I'm going to make is lowercasing *everything*, instead of having this goofy case sensitive file/dbd name and directory structure. Thus, a dsn of 'dbi:pg:foo' will be the same as 'dbi:Pg:foo', etc. Second, inline documentation, i.e. rdoc. Third, tests. Yah. Fourth, provide a gem (with appropriate dependencies). Last and least, optimizations where possible.
The first change will require some minor changes in dbi.rb itself, which hopefully won't be too painful, but will break backwards compatibility. Too bad. Don't like it? Don't upgrade.
In the Good News departement, I talked to Dave Lee today and he said there will be a new release of the postgres driver this weekend. So long as he has a gem out there I don't need to include his source code directly in the package (which I was considering).