Unix Technical Forum

Ruby/Informix 0.6.0 released

This is a discussion on Ruby/Informix 0.6.0 released within the Informix forums, part of the Database Server Software category; --> Ruby/Informix is a Ruby extension for connecting to IBM Informix Dynamic Server, written in ESQL/C. It runs on Solaris, ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 04:17 PM
Gerardo Santana
 
Posts: n/a
Default Ruby/Informix 0.6.0 released

Ruby/Informix is a Ruby extension for connecting to IBM Informix
Dynamic Server, written in ESQL/C. It runs on Solaris, Linux, Windows
XP and HP-UX. It has been tested with Informix 7, 9, 10 and 11. Read
the release notes for details.

>From Ruby's web site (http://www.ruby-lang.org): Ruby is "a dynamic,

open source programming language with a focus on simplicity and
productivity. It has an elegant syntax that is natural to read and
easy to write."

Ruby/Informix home page: http://ruby-informix.rubyforge.org

What's new in this release:

0.6.0 08/28/2007
------------------
New features:
* Test suite
* Error, Warning, and AssertionFailure classes replace
RuntimeError when
raising exceptions.

Error class methods:
- message
- sql_code
- add_info
- []
- each
- to_s
- size, length

message and sql_code reference the first error message.
Following
errors can be accessed through Error#[] as ExcInfo objects.

ExcInfo is a Struct with the following members:
- sql_code
- sql_state
- class_origin_val
- subclass_origin_val
- message
- server_name
- connection_name

See test/testcase.rb for a simple example of exception handling.

* Informix.version returns the version of this extension
* Database#do aliased as Database#execute
* More documentation

Remarks:
* Database#do is deprecated and will be removed in next versions.
Use
Database#execute or Database#immediate instead.

* In case of Informix errors, RuntimeError objects are no longer
raised.
Error, Warning and AssertionFailure objects are raised instead.


Acknowledgments:
I want to thank Edwin Fine <emofine at finecomputerconsultants dot
com>
who contributed all the functionality of this release.


--
Gerardo Santana

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com