Posted By: Jamis Buck
Date: 2004-07-01 17:14
Summary: RELEASED: SQLite-Ruby 1.2.0
Project: SQLite-Ruby
SQLite-Ruby is a module for accessing SQLite (http://www.sqlite.org) databases from Ruby.
This release adds support for Ara Howard's "arrayfields" module. If that module is installed, each row of a result set will be returned as an Array, instead of a Hash. SQLite-Ruby will function without arrayfields, however, in which case each row is returned as a Hash (as before).
The most significant change in this release is that columns in result sets are numbered starting at 0, instead of 1. This may cause existing SQLite-Ruby programs to fail if you upgrade, so proceed with caution! Caveat emptor!
Other minor changes: the install script has been modified so that any parameters you give to it are passed through to the extconf.rb script. This allows you to (for instance) specify a custom location for the sqlite libraries and header files. (Thanks, Ara and Ludo!)
As before, this is available as a gem, so you can just type "gem -i sqlite" and have it installed for you. Additionally, you can use "gem --gen-rdoc --run-tests -i sqlite" to generate the documentation and run the test suite at the same time.
For those that are gem-challenged, the library is available in bz2, gz, and zip format as well. |
|