[ruby-oci8-commit] [473] trunk/ruby-oci8: fix to work with ruby 2.0.

nobody at rubyforge.org nobody at rubyforge.org
Sat Dec 3 03:57:15 EST 2011


Revision: 473
Author:   kubo
Date:     2011-12-03 03:57:15 -0500 (Sat, 03 Dec 2011)

Log Message:
-----------
fix to work with ruby 2.0.

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/lib/oci8.rb.in

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2011-12-03 08:55:11 UTC (rev 472)
+++ trunk/ruby-oci8/ChangeLog	2011-12-03 08:57:15 UTC (rev 473)
@@ -1,4 +1,7 @@
 2011-12-03  KUBO Takehiro  <kubo at jiubao.org>
+	* lib/oci8.rb.in: fix to work with ruby 2.0.
+
+2011-12-03  KUBO Takehiro  <kubo at jiubao.org>
 	* test/test_connection_pool.rb: fix to pass a connection pool test.
 	    OCI8::ConnectionPool#open_count after decrement depends on
 	    Oracle version. (reported by Yasuo Honda)

Modified: trunk/ruby-oci8/lib/oci8.rb.in
===================================================================
--- trunk/ruby-oci8/lib/oci8.rb.in	2011-12-03 08:55:11 UTC (rev 472)
+++ trunk/ruby-oci8/lib/oci8.rb.in	2011-12-03 08:57:15 UTC (rev 473)
@@ -28,7 +28,7 @@
 #  191 - ruby 1.9.1 and 1.9.2
 #  19x - ruby 1.9.x future version which will break the API compatibility
 case RUBY_VERSION
-when /^1\.9/
+when /^1\.9/, /^2\.0/
   so_basename += '191'
 when /^1\.8/
   so_basename += '18'




More information about the ruby-oci8-commit mailing list