From a7d5c39086fae22bc6ce60045c55d3a21fe642ea Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Fri, 26 Mar 2010 01:04:31 -0700 Subject: [PATCH] rename --- extconf.rb | 2 +- mysql_ext.c => mysql_duce_ext.c | 2 +- mysql_ext.h => mysql_duce_ext.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename mysql_ext.c => mysql_duce_ext.c (99%) rename mysql_ext.h => mysql_duce_ext.h (100%) diff --git a/extconf.rb b/extconf.rb index 63b9a75..f7de848 100644 --- a/extconf.rb +++ b/extconf.rb @@ -13,7 +13,7 @@ if have_library('mysqlclient') $CFLAGS << ' -DRUBY_19_COMPATIBILITY' end - create_makefile('mysql_ext') + create_makefile('mysql_duce_ext') else puts 'libmysql not found, maybe try manually specifying --with-mysql-dir to find it?' end \ No newline at end of file diff --git a/mysql_ext.c b/mysql_duce_ext.c similarity index 99% rename from mysql_ext.c rename to mysql_duce_ext.c index 9438a77..d726301 100644 --- a/mysql_ext.c +++ b/mysql_duce_ext.c @@ -132,7 +132,7 @@ static VALUE rb_mysql_result_fetch_rows(VALUE self) { } /* Ruby Extension initializer */ -void Init_mysql_ext() { +void Init_mysql_duce_ext() { mMySQL = rb_define_module("MySQL"); cMySQLClient = rb_define_class_under(mMySQL, "Client", rb_cObject); diff --git a/mysql_ext.h b/mysql_duce_ext.h similarity index 100% rename from mysql_ext.h rename to mysql_duce_ext.h