allow the gem to compile, also ensure it requires our version of mysql.so
This commit is contained in:
parent
b44d124700
commit
482fd82d83
@ -1,8 +1,10 @@
|
|||||||
require 'mysql' # this should load the mysqlplus version of mysql.so, as we assume the user has installed mysql as a gem and have not done any previous "require 'mysql'" to have loaded the other
|
require File.dirname(__FILE__) + '/mysql' # load our version of mysql--note
|
||||||
|
# if someone does a require 'mysql' after a require 'mysqlplus' then their screen will be littered with warnings
|
||||||
|
# and the "old" mysql will override the "new" mysqlplus, so be careful.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Mysqlplus library gives you a [slightly modified] version of the Mysql class
|
# The mysqlplus library is a [slightly updated] fork of the Mysql class, with asynchronous capability added
|
||||||
# See http://www.kitebird.com/articles/ruby-mysql.html for details, as well as the test directory within the library
|
# See http://www.kitebird.com/articles/ruby-mysql.html for details, as well as the test directory within the gem
|
||||||
#
|
#
|
||||||
class Mysql
|
class Mysql
|
||||||
|
|
||||||
|
@ -18,16 +18,7 @@ Gem::Specification.new do |s|
|
|||||||
ext/mysql.c
|
ext/mysql.c
|
||||||
lib/mysqlplus.rb
|
lib/mysqlplus.rb
|
||||||
mysqlplus.gemspec
|
mysqlplus.gemspec
|
||||||
test/c_threaded_test.rb
|
] + Dir.glob('test/*')
|
||||||
test/evented_test.rb
|
|
||||||
test/native_threaded_test.rb
|
|
||||||
test/test_all_hashes.rb
|
|
||||||
test/test_failure.rb
|
|
||||||
test/test_helper.rb
|
|
||||||
test/test_many_requests.rb
|
|
||||||
test/test_parsing_while_response_is_being_read.rb
|
|
||||||
test/test_threaded_sequel.rb
|
|
||||||
]
|
|
||||||
s.rdoc_options = ["--main", "README"]
|
s.rdoc_options = ["--main", "README"]
|
||||||
s.extra_rdoc_files = ["README"]
|
s.extra_rdoc_files = ["README"]
|
||||||
s.extensions << "ext/extconf.rb"
|
s.extensions << "ext/extconf.rb"
|
||||||
|
Loading…
Reference in New Issue
Block a user