DevHeads.net

Postings by KUBO Takehiro

ruby-oci8 2.2.4.1

Ruby-oci8 2.2.4.1 was released. This is the Oracle module using OCI8 API.

<a href="http://www.rubydoc.info/github/kubo/ruby-oci8" title="http://www.rubydoc.info/github/kubo/ruby-oci8">http://www.rubydoc.info/github/kubo/ruby-oci8</a>

This is an urgent release to fix a bug added in ruby-oci8 2.2.4.
If you use Windows x86 and TCP keepalive time parameter,
you should use 2.2.4.1 for safety.
Otherwise, you have no need to upgrade it.

Fixed issue
### Fix invalid function calls when TCP keepalive time parameter is
set on Windows x86

When TCP keepalive time parameter is set, The win32 API `setsockopt` was hooked
with incorrect calling convention on Windows x86.

ruby-oci8 2.2.4

Ruby-oci8 2.2.4 was released.

ruby-oci8 2.2.3

Ruby-oci8 2.2.3 is released. This is the Oracle module using OCI8 API.

<a href="http://www.rubydoc.info/github/kubo/ruby-oci8" title="http://www.rubydoc.info/github/kubo/ruby-oci8">http://www.rubydoc.info/github/kubo/ruby-oci8</a>

No new features was added except ruby 2.4.0 support.

See <a href="https://github.com/kubo/ruby-oci8/issues/144" title="https://github.com/kubo/ruby-oci8/issues/144">https://github.com/kubo/ruby-oci8/issues/144</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

ruby-oci8 2.2.1

Ruby-oci8 2.2.1 is released. This is the Oracle module using OCI8 API.

<a href="http://www.rubydoc.info/github/kubo/ruby-oci8" title="http://www.rubydoc.info/github/kubo/ruby-oci8">http://www.rubydoc.info/github/kubo/ruby-oci8</a>

New Features
### Add OCI8::Metadata::Boolean

Support boolean type binding.

ruby-oci8 2.2.0

Ruby-oci8 2.2.0 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

Ruby 1.8 support was dropped. Use ruby-oci8 2.1.8 for ruby 1.8.
Oracle 9i support was dropped.

ruby-oci8 2.1.8

Ruby-oci8 2.1.8 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

New Features
### Send and receive timeouts

New methods {OCI8#send_timeout}, {OCI8#send_timeout=},
{OCI8#recv_timeout} and {OCI8#recv_timeout=}
were added.

Ruby Flite 0.1.0 released

Ruby Flite 0.1.0 has been released!
It is a small speech synthesis library for ruby using CMU
Flite(<a href="http://cmuflite.org" title="http://cmuflite.org">http://cmuflite.org</a>).

<a href="https://github.com/kubo/ruby-flite" title="https://github.com/kubo/ruby-flite">https://github.com/kubo/ruby-flite</a>

Note:
Almost methods were changed. Especially String#to_speech returns WAV
audio data
instead of speaking. Use String#speak to speak text.

The gem file includes two sample applications.
One is 'saytime', which speak current time.
The other is 'speaking-web-server', which is a web server replying
synthesized speech.

Ruby Flite 0.1.0 released

Ruby Flite 0.1.0 has been released!
It is a small speech synthesis library for ruby using CMU
Flite(<a href="http://cmuflite.org" title="http://cmuflite.org">http://cmuflite.org</a>).

<a href="https://github.com/kubo/ruby-flite" title="https://github.com/kubo/ruby-flite">https://github.com/kubo/ruby-flite</a>

Note:
Almost methods were changed. Especially String#to_speech returns WAV
audio data
instead of speaking. Use String#speak to speak text.

The gem file includes two sample applications.
One is 'saytime', which speak current time.
The other is 'speaking-web-server', which is a web server replying
synthesized speech.

ruby-flite 0.0.2 released

Ruby-flite 0.0.2 has been released!
It is a small speech synthesis library for ruby using CMU
Flite(<a href="http://cmuflite.org" title="http://cmuflite.org">http://cmuflite.org</a>).

<a href="https://github.com/kubo/ruby-flite" title="https://github.com/kubo/ruby-flite">https://github.com/kubo/ruby-flite</a>

This is the initial release but the version is 0.0.2...

example:

require 'flite'
# output "Hello World!" to the PC speaker.
"Hello World!".to_speech

I made a simple application saytime.rb saying the current time in English.

<a href="https://github.com/kubo/ruby-flite/blob/master/bin/saytime.rb" title="https://github.com/kubo/ruby-flite/blob/master/bin/saytime.rb">https://github.com/kubo/ruby-flite/blob/master/bin/saytime.rb</a>

ruby-oci8 2.1.7

Ruby-oci8 2.1.7 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

It is recommended to upgrade to 2.1.7 if you use ruby-oci8 2.1.6 with
oracle_enhanced adapter 1.5.2.

New Features
### Add OCI8::Metadata::Base#obj_link.

Fixed Issues
- Fix OCI8#describe_table to follow synonyms in a remote database.

ruby-oci8 2.1.6

Ruby-oci8 2.1.6 is released.

ruby-oci8 2.1.5

Ruby-oci8 2.1.5 is released.

ruby-oci8 2.1.4

Ruby-oci8 2.1.4 is released.

ruby-oci8 2.1.3

Ruby-oci8 2.1.3 is released.

ruby-oci8 2.1.2

Ruby-oci8 2.1.2 is released.

ruby-oci8 2.1.1

Ruby-oci8 2.1.1 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

New Features
- Statement caching in OCI

See <a href="http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci09adv.htm#i471377" title="http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci09adv.htm#i471377">http://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci09adv.htm#i471377</a>
This feature is enabled only when the Oracle client is 9iR2 or upper.

The default cache size is 20.

ruby-oci8 2.1.0

Ruby-oci8 2.1.0 is released.

ruby-oci8 2.0.6

Ruby-oci8 2.0.6 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

Though I released 2.0.5 two days ago and said "The next release will be
2.1.0...", here is a new 2.0.x. It includes the following two issues.
If there was only one of them, I won't release a new one.
But there are two. It is worth to do.

* Fixed issues

- fix SEGV when freeing a temporary LOB during GC on rubinius 1.2.3.

- revert the exception type from RuntimeError to OCIException when
a closed OCI handle's method is called. It was chaned in 2.0.5
by mistake.

ruby-oci8 2.0.5

Ruby-oci8 2.0.5 is released. This is the Oracle module using OCI8 API.

<a href="http://rubyforge.org/projects/ruby-oci8/" title="http://rubyforge.org/projects/ruby-oci8/">http://rubyforge.org/projects/ruby-oci8/</a>

The next release will be 2.1.0 which doesn't support Oracle8 (8.0)
and Oracle 8i (8.1) anymore.

* New Features

- Support Rubinius.

I just now found that temporary LOBs causes SEGV when they are GCed on
rubinius 1.2.3. It works fine on the latest rubinius in github.

- OraNumber#has_decimal_part? -> boolean

OraNumber(10).has_decimal_part? # => false
OraNumber(10.1).has_decimal_part?