[ruby-oci8-commit] [262] trunk/ruby-oci8: * ext/oci8/stmt.c, lib/oci8/oci8.rb: fix typo.

nobody at rubyforge.org nobody at rubyforge.org
Sun Apr 27 08:49:45 EDT 2008


Revision: 262
Author:   kubo
Date:     2008-04-27 08:49:45 -0400 (Sun, 27 Apr 2008)

Log Message:
-----------
* ext/oci8/stmt.c, lib/oci8/oci8.rb: fix typo.
    (pointed by Liming)
* dist-files: fix added and deleted files.

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/dist-files
    trunk/ruby-oci8/ext/oci8/stmt.c
    trunk/ruby-oci8/lib/oci8/oci8.rb

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2008-04-27 12:14:41 UTC (rev 261)
+++ trunk/ruby-oci8/ChangeLog	2008-04-27 12:49:45 UTC (rev 262)
@@ -1,3 +1,8 @@
+2008-04-27  KUBO Takehiro  <kubo at jiubao.org>
+	* ext/oci8/stmt.c, lib/oci8/oci8.rb: fix typo.
+	    (pointed by Liming)
+	* dist-files: fix added and deleted files.
+
 2008-04-08  KUBO Takehiro  <kubo at jiubao.org>
 	* metaconfig: add '-w' when running test cases.
 	* test/test_metadata.rb: suppress warning: "shadowing outer local variable - i."

Modified: trunk/ruby-oci8/dist-files
===================================================================
--- trunk/ruby-oci8/dist-files	2008-04-27 12:14:41 UTC (rev 261)
+++ trunk/ruby-oci8/dist-files	2008-04-27 12:49:45 UTC (rev 262)
@@ -11,8 +11,13 @@
 doc/api.ja.rd
 doc/manual.css
 ext/oci8/MANIFEST
+ext/oci8/apiwrap.c.tmpl
+ext/oci8/apiwrap.h.tmpl
+ext/oci8/apiwrap.rb
+ext/oci8/apiwrap.yml
 ext/oci8/attr.c
 ext/oci8/bind.c
+ext/oci8/encoding.c
 ext/oci8/env.c
 ext/oci8/error.c
 ext/oci8/extconf.rb
@@ -26,26 +31,29 @@
 ext/oci8/oraconf.rb
 ext/oci8/oradate.c
 ext/oci8/post-config.rb
-ext/oci8/rowid.c
 ext/oci8/stmt.c
-ext/oci8/tdo.c
+ext/oci8/object.c
 ext/oci8/xmldb.c
 lib/oci8.rb.in
 lib/DBD/OCI8/OCI8.rb
 lib/oci8/compat.rb
 lib/oci8/metadata.rb
+lib/oci8/object.rb
 lib/oci8/oci8.rb
 test/README
 test/config.rb
 test/test_all.rb
+test/test_array_dml.rb
 test/test_bind_raw.rb
 test/test_bind_time.rb
 test/test_break.rb
 test/test_clob.rb
 test/test_connstr.rb
+test/test_datetime.rb
 test/test_dbi.rb
 test/test_dbi_clob.rb
+test/test_metadata.rb
 test/test_oci8.rb
 test/test_oradate.rb
 test/test_oranumber.rb
-test/test_datetime.rb
+test/test_rowid.rb

Modified: trunk/ruby-oci8/ext/oci8/stmt.c
===================================================================
--- trunk/ruby-oci8/ext/oci8/stmt.c	2008-04-27 12:14:41 UTC (rev 261)
+++ trunk/ruby-oci8/ext/oci8/stmt.c	2008-04-27 12:49:45 UTC (rev 262)
@@ -792,7 +792,7 @@
     rb_define_method(cOCIStmt, "[]", oci8_stmt_aref, 1);
     rb_define_method(cOCIStmt, "[]=", oci8_stmt_aset, 2);
     rb_define_method(cOCIStmt, "keys", oci8_stmt_keys, 0);
-    rb_define_private_method(cOCIStmt, "__defiend?", oci8_stmt_defined_p, 1);
+    rb_define_private_method(cOCIStmt, "__defined?", oci8_stmt_defined_p, 1);
     rb_define_method(cOCIStmt, "prefetch_rows=", oci8_stmt_set_prefetch_rows, 1);
 
     oci8_define_bind_class("Cursor", &bind_stmt_class);

Modified: trunk/ruby-oci8/lib/oci8/oci8.rb
===================================================================
--- trunk/ruby-oci8/lib/oci8/oci8.rb	2008-04-27 12:14:41 UTC (rev 261)
+++ trunk/ruby-oci8/lib/oci8/oci8.rb	2008-04-27 12:49:45 UTC (rev 262)
@@ -507,7 +507,7 @@
       num_cols = __param_count
       1.upto(num_cols) do |i|
         parm = __paramGet(i)
-        define_a_column(i, parm) unless __defiend?(i)
+        define_a_column(i, parm) unless __defined?(i)
         @column_metadata[i - 1] = parm
       end
       num_cols




More information about the ruby-oci8-commit mailing list