[ruby-oci8-commit] [507] trunk/ruby-oci8: delete an unused file.
nobody at rubyforge.org
nobody at rubyforge.org
Sat Apr 21 05:02:53 UTC 2012
Revision: 507
Author: kubo
Date: 2012-04-21 05:02:52 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
delete an unused file.
Modified Paths:
--------------
trunk/ruby-oci8/ChangeLog
Removed Paths:
-------------
trunk/ruby-oci8/custom-rdoc.rb
Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog 2012-04-21 04:59:17 UTC (rev 506)
+++ trunk/ruby-oci8/ChangeLog 2012-04-21 05:02:52 UTC (rev 507)
@@ -1,4 +1,7 @@
2012-04-21 KUBO Takehiro <kubo at jiubao.org>
+ * custom-rdoc.rb: delete an unused file.
+
+2012-04-21 KUBO Takehiro <kubo at jiubao.org>
* test/test_oci8.rb: fix code to test OCI8::CLOB.new(conn, '').
2012-04-17 KUBO Takehiro <kubo at jiubao.org>
Deleted: trunk/ruby-oci8/custom-rdoc.rb
===================================================================
--- trunk/ruby-oci8/custom-rdoc.rb 2012-04-21 04:59:17 UTC (rev 506)
+++ trunk/ruby-oci8/custom-rdoc.rb 2012-04-21 05:02:52 UTC (rev 507)
@@ -1,46 +0,0 @@
-require 'rdoc/rdoc'
-
-if defined? RDoc::Parser::C
- c_parser = RDoc::Parser::C
-elsif defined? RDoc::C_Parser
- c_parser = RDoc::C_Parser
-end
-
-c_parser.module_eval do
- alias :do_classes_orig :do_classes
- def do_classes
- content = (defined? @content) && @content || @body
-
- # oci8_cOCIHandle = rb_define_class("OCIHandle", rb_cObject)
- handle_class_module('oci8_cOCIHandle', 'class', 'OCIHandle', 'rb_cObject', nil)
- # cOCI8 = rb_define_class("OCI8", oci8_cOCIHandle)
- handle_class_module('cOCI8', 'class', 'OCI8', 'oci8_cOCIHandle', nil)
- # mOCI8BindType = rb_define_module_under(cOCI8, "BindType");
- handle_class_module('mOCI8BindType', 'module', 'BindType', nil, 'cOCI8')
- # cOCI8BindTypeBase = rb_define_class_under(mOCI8BindType, "Base", oci8_cOCIHandle);
- handle_class_module('cOCI8BindTypeBase', 'class', 'Base', nil, 'mOCI8BindType')
-
- # var_name = oci8_define_class_under(in_module, "class_name", &xxxx);
- content.scan(/(\w+)\s*=\s*oci8_define_class_under\s*\(\s*(\w+)\s*,\s*"(\w+)",\s*&\w+?\s*\)/) do
- |var_name, in_module, class_name|
- handle_class_module(var_name, "class", class_name, 'oci8_cOCIHandle', in_module)
- end
-
- # var_name = oci8_define_bind_class("class_name", &xxxx);
- content.scan(/(?:(\w+)\s*=\s*)?oci8_define_bind_class\s*\(\s*"(\w+)",\s*&\w+?\s*\)/) do
- |var_name, class_name|
- var_name ||= 'dummy'
- handle_class_module(var_name, "class", class_name, 'cOCI8BindTypeBase', 'mOCI8BindType')
- end
-
- do_classes_orig
- end
-end
-
-begin
- r = RDoc::RDoc.new
- r.document(ARGV)
-rescue RDoc::RDocError => e
- $stderr.puts e.message
- exit(1)
-end
More information about the ruby-oci8-commit
mailing list