Subject: CVS commit: pkgsrc/databases/ruby-DBD-postgresql
To: None <pkgsrc-changes@netbsd.org>
From: Takahiro Kambe <taca@netbsd.org>
List: pkgsrc-changes
Date: 01/19/2002 13:30:30
Module Name: pkgsrc
Committed By: taca
Date: Sat Jan 19 11:30:30 UTC 2002
Modified Files:
pkgsrc/databases/ruby-DBD-postgresql: Makefile PLIST distinfo
Log Message:
Update ruby-DBD-postgresql package to 0.0.12. Changes from 0.0.8 are below.
(quote from http://www.ruby-projects.org/dbi/dbi/ChangeLog.html)
0.0.12 (2001-12-28)
o dbd_oracle: added Database#columns method
o sql.rb: nil as argument in methods of DBI::SQL::BasicQuote::Coerce results
in nil
o examples: added xmlgen.rb (library to generate XML; requires REXML)
o dbd_sqlrelay: updated version included (by David Muse).
o dbd_pg: fixed bug (displayed wrong default values) in method Database#
columns (Joseph McDoanlds)
o dbd_oracle:
* added ?-style parameter markers (don't use them together with :1 or :
name style)
o dbd_sqlite: added type conversion
o sql.rb: added class PreparedStatement
o dbd_odbc: fixed method Database#tables, added Database#ping and columns,
extended Statement#column_info
o dbi.rb: fetch_all and fetch_many now always return an Array ([] instead of
nil)
o proxyserver.rb: moved into directory bin/proxyserver
o sqlsh.rb:
* moved from examples to bin/commandline; install it by default
* refactored source a lot
* added \irb (start irb in context) and \rb (execute ruby command)
commands
* SQL statements end with ";" (over multiple lines)
0.0.11 (2001-11-14)
o dbd_sqlite: new DBD for SQLite
o dbd_sqlrelay: new DBD for SQLRelay
o dbd_mysql: fixed quoting for DBI::Binary and Strings containing
non-printable characters
o dbd_pg:
* improved Database#ping (return one instead of hundred rows)
* added Database attribute: pg_client_encoding
* added driver specific functions in Database: blob_import, blob_export,
blob_create, blob_open, blob_unlink and blob_read
* convert automatically DBI::Binary objects to OID's and insert the
content as BLOB
* method DatabaseHandle#columns now extract default value.
o dbd_db2: provide DatabaseHandle#do and parameter markers.
o sqlsh.rb: added commands \dt (describe table), \s (select * from table) and
\pl (page length).
0.0.10 (2001-10-22)
o dbd_odbc: added odbc_ignorecase option (submitted by Sean O'Halpin),
requires Ruby/ODBC 0.93
o dbi: DBI.get_driver(driver_url) returns DriverHandle object
o dbd_mysql: added createdb, dropdb, reload, shutdown as driver-specific
functions (callable with method Handle#func) of Driver and Database
o dbd_mysql: added StatementHandle#fetch_scroll
0.0.9 (2001-09-07)
o Fixed bug in sql.rb, method "quote" (gsub! => gsub). (thanks to Stephen
Davies)
o dbd_db2: return more fields in method StatementHandle#column_info
o dbd_odbc: removed patch required for Ruby/ODBC version 0.4
o moved DBI::ColumnInfo out of file dbi.rb to columninfo.rb
o DatabaseHandle#columns currently only supported by DBD::Pg and DBD::MySQL.
Thanks to Eli Green for his implementation.
o StatementHandle#column_info no more returns an array of hashs, instead it
returns an array of DBI::ColumnInfo objects
o new class DBI::ColumnInfo
o new method DatabaseHandle#columns(table)
o extended DBD and DBI specs (added constants for introspection, Database#
columns)
o fixed bug in utils.rb XMLFormatter.table (thanks to Jim Menard)
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/databases/ruby-DBD-postgresql/Makefile \
pkgsrc/databases/ruby-DBD-postgresql/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/databases/ruby-DBD-postgresql/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.