[ruby-oci8-commit] [541] trunk/ruby-oci8: Update to 2.1.3.

nobody at rubyforge.org nobody at rubyforge.org
Sun Nov 11 12:45:33 UTC 2012


Revision: 541
Author:   kubo
Date:     2012-11-11 12:45:32 +0000 (Sun, 11 Nov 2012)
Log Message:
-----------
Update to 2.1.3.

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/NEWS
    trunk/ruby-oci8/VERSION
    trunk/ruby-oci8/dist-files
    trunk/ruby-oci8/ruby-oci8.gemspec

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2012-11-11 11:56:27 UTC (rev 540)
+++ trunk/ruby-oci8/ChangeLog	2012-11-11 12:45:32 UTC (rev 541)
@@ -1,4 +1,10 @@
 2012-11-11  KUBO Takehiro  <kubo at jiubao.org>
+	* NEWS: add changes between 2.1.3 and 2.1.2
+	* VERSION: change the version to 2.1.3.
+	* dist-files: append new files.
+	* ruby-oci8.gemspec: declare license in the gem.
+
+2012-11-11  KUBO Takehiro  <kubo at jiubao.org>
 	* Makefile: add doc and copy-doc targets to generate document by yard command.
 	* ext/oci8/oci8.c, ext/oci8/oci8.h, ext/oci8/oci8lib.c: change
 	    protoptype definition of Init_oci8 for yard command to parse it.

Modified: trunk/ruby-oci8/NEWS
===================================================================
--- trunk/ruby-oci8/NEWS	2012-11-11 11:56:27 UTC (rev 540)
+++ trunk/ruby-oci8/NEWS	2012-11-11 12:45:32 UTC (rev 541)
@@ -1,5 +1,63 @@
 # @markup markdown
 
+2.1.3
+=====
+
+New Features
+------------
+
+### {OCI8::Cursor#statement}
+
+It returns the text of the SQL statement prepared in the cursor.
+
+    cursor = conn.parse("select * from country where country_code = 'ja'")
+    cursor.statement # => "select * from country where country_code = 'ja'"
+
+See: [github issue #16](https://github.com/kubo/ruby-oci8/issues/16)
+
+Specification changes
+---------------------
+
+### License was changed to 2-clause BSD-style license.
+
+The former license was same with old ruby (<= 1.9.2) license.
+
+### Oracle object type's DATE field type
+
+Ruby-oci8 had returned a DateTime object when Oracle object type's DATE
+field type was accessed. Now it returns a Time object.
+
+Fixed Issues
+------------
+
+-   Fix to work with procedures and functions that return temporary lobs.
+    See: [github issue #13](https://github.com/kubo/ruby-oci8/issues/13)
+
+    (contributed by timon)
+
+-   Fix Oracle object type's DATE field tests.
+    See: [github issue #17](https://github.com/kubo/ruby-oci8/issues/17)
+
+    (reported by Yasuo Honda)
+
+-   Fix a sequence test failure on Oracle 11gR2.
+    See: [github issue #18](https://github.com/kubo/ruby-oci8/issues/18)
+
+    (reported by Yasuo Honda)
+
+-   Include COPYING files.
+    See: [github issue #19](https://github.com/kubo/ruby-oci8/issues/19)
+
+    (requested by Johannes Weberhofer)
+
+-   Fix SEGV when a temporary LOB is GCed while another LOB is read.
+    See: [github issue #20](https://github.com/kubo/ruby-oci8/issues/20)
+
+    (reported by techsplicer)
+
+-   Fix #<NoMethodError: undefined method `timezone' for Time:Class>
+    when ruby is less than 1.9.2 and an object type's time attribute is accessed.
+
 2.1.2
 =====
 
@@ -10,6 +68,7 @@
 
 This is workaround about a SIGSEGV issue.
 See: [oracle enhanced issue #162](https://github.com/rsim/oracle-enhanced/issues/162)
+
 Fixed Issues
 ------------
 
@@ -254,7 +313,7 @@
     (reported by Hugo L. Borges)
 
 -   Fix a bug that a string is bound to RAW.
-    Its encoding had been convertd to {OCI.encoding} incorrectly.
+    Its encoding had been convertd to {OCI8.encoding} incorrectly.
 
 -   Fix memory leaks when temporary lobs are used.
 

Modified: trunk/ruby-oci8/VERSION
===================================================================
--- trunk/ruby-oci8/VERSION	2012-11-11 11:56:27 UTC (rev 540)
+++ trunk/ruby-oci8/VERSION	2012-11-11 12:45:32 UTC (rev 541)
@@ -1 +1 @@
-2.1.2
+2.1.3

Modified: trunk/ruby-oci8/dist-files
===================================================================
--- trunk/ruby-oci8/dist-files	2012-11-11 11:56:27 UTC (rev 540)
+++ trunk/ruby-oci8/dist-files	2012-11-11 12:45:32 UTC (rev 541)
@@ -54,6 +54,7 @@
 lib/oci8/bindtype.rb
 lib/oci8/compat.rb
 lib/oci8/connection_pool.rb
+lib/oci8/cursor.rb
 lib/oci8/datetime.rb
 lib/oci8/encoding-init.rb
 lib/oci8/encoding.yml
@@ -65,6 +66,7 @@
 lib/oci8/properties.rb
 test/README
 test/config.rb
+test/setup_test_object.sql
 test/test_all.rb
 test/test_appinfo.rb
 test/test_array_dml.rb
@@ -81,6 +83,7 @@
 test/test_dbi_clob.rb
 test/test_error.rb
 test/test_metadata.rb
+test/test_object.rb
 test/test_oci8.rb
 test/test_oracle_version.rb
 test/test_oradate.rb

Modified: trunk/ruby-oci8/ruby-oci8.gemspec
===================================================================
--- trunk/ruby-oci8/ruby-oci8.gemspec	2012-11-11 11:56:27 UTC (rev 540)
+++ trunk/ruby-oci8/ruby-oci8.gemspec	2012-11-11 12:45:32 UTC (rev 541)
@@ -34,6 +34,7 @@
   s.has_rdoc = 'yard'
   s.authors = ['KUBO Takehiro']
   s.platform = gem_platform
+  s.license = '2-clause BSD-style license'
   files = File.read('dist-files').split("\n")
   if gem_platform == Gem::Platform::RUBY
     s.extensions << 'ext/oci8/extconf.rb'



More information about the ruby-oci8-commit mailing list