Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] ruby-oci8 0.1.16

Thread Tools

[ANN] ruby-oci8 0.1.16

KUBO Takehiro
Posts: n/a
ruby-oci8 0.1.16 is released.
This is a Oracle module using OCI8 API.


What's new.

1. Add LONG and LONG RAW support longer than 65535 bytes.

Use OCI8#long_read_len and OCI8#long_read_len= to set max long length.
The default value is 65535.

2. OraDate and OraNumber can be serialized by Marshal now.

3. OraDate and OraNumber can be serialized by YAML now.

4. Fix bug on OraDate#dup, OraDate#clone, OraNumber#dup and OraNumber#clone.
(reported by Daniel Berger.)

These methods had not duplicated their contents, which caused segmentation
fault. Now they duplicate their contents also by adding initialize_copy

5. Add a workaround code on cygwin environment variables problem.

Cygwin manages environment variables by itself. They don't synchroize
with Win32's ones. When setting Oracle's environment variables, they
are set to cygwin's environment. But Oracle client library read
Win32's. Now Oracle-related variables are forcedly set to Win32.

6. Accept all Fixnum values when binding as a Fixnum on 64-bit ruby.

A Fixnum is a 31-bit integer on 32-bit ruby, 63-bit integer on 64-bit
ruby. But it had been bound to 32-bit integer on ruby-oci8. Now it is
bound to integer whose bit width is same with ruby.

KUBO Takehiro
email: Removed)
GnuPG fingerprint = 5F7B C8EF CA16 57D0 FDE1 9F47 C001 1F93 AC08 2262

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off