seamusabshere/upsert — pull request #8 by ihough (2012-11-12 15:03:27+00:00)
Title: Fix case-sensitivity issue when require files

Some classes weren't getting loaded because they were defined in files with lowercase file names:

> Dir[File.expand_path("../upsert/**/#{connection_class_name}.rb", __FILE__)].each{|path| require path}
[
"column_definition/Mysql2_Client.rb",
"connection/Mysql2_Client.rb",
"merge_function/Mysql2_Client.rb"
]

> @connection = Connection.const_get(connection_class_name).new self, raw_connection
NameError Exception: uninitialized constant Upsert::Connection::Mysql2_Client

> require 'connection/Mysql2_Client.rb'
LoadError: no such file to load -- merge_function/Mysql2_Client.rb

> require 'connection/mysql2_client.rb'
true

> @connection = Connection.const_get(connection_class_name).new self, raw_connection
#