# Ruby/Informix 0.5.0 released

**URL:** <https://www.ruby-forum.com/t/ruby-informix-0-5-0-released/80518>\
**Category:** Ruby\
**Created:** [December 28, 2006, 4:56am UTC](https://www.ruby-forum.com/t/ruby-informix-0-5-0-released/80518 "2006-12-28T04:56:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c37758/32.png) [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Post date:** [December 28, 2006, 4:56am UTC](https://www.ruby-forum.com/t/ruby-informix-0-5-0-released/80518/1 "2006-12-28T04:56:52Z")

</div>

Ruby/Informix is a Ruby extension for connecting to IBM Informix  
Dynamic Server, written in ESQL/C.

It is being developed and heavily tested on Solaris/SPARC. It has been  
reported to work on Linux Fedora, SuSE Linux, Windows XP and HP-UX.

## 0.5.0 12/27/2006

New features:  
\* Easier to install  
\* BigDecimal accepted for input parameters  
\* BigDecimal used for instantiating DECIMAL and MONEY values  
\* Cursor, Statement, Slob and Database accept an optional block  
that  
automatically frees resources after execution.  
Based on ideas and pseudo-code by  
Edwin F. and  
me.  
\* Database#slob shortcut for creating Slob objects.  
\* Slob::Stat class implemented. Returned by Slob#stat,  
represents the  
SLOB status. Methods: atime, ctime, mtime, refcnt and size.  
Includes  
Comparable.  
\* Slob new methods: \<\<, rewind, stat, pos, pos=, lock, unlock,  
estbytes, extsz, flags, maxbytes, sbspace,  
extsz=, flags=,  
atime, ctime, mtime, refcnt and size  
\* Thread safe

Remarks:  
\* DECIMAL and MONEY columns are no longer returned as Float.  
BigDecimal  
is used instead.

Bugs fixed:  
\* If there was an error reading (ifx\_lo\_read) an SLOB, memory  
allocated for the read buffer was not freed. Noticed by  
Edwin F.   
\* maxbytes option was ignored when creating an Slob object  
\* Documentation for Slob mentioned an RDRW constant, but it  
actually  
is RDWR.

Special thanks to Guy Bowerman, Jonathan Leffler and Logan C. for  
their  
feedback and help.

Home page: [http://ruby-informix.rubyforge.org](http://ruby-informix.rubyforge.org)  
Download from: [http://rubyforge.org/projects/ruby-informix/](http://rubyforge.org/projects/ruby-informix/)
