lib/javlibrary/database.rb in javlibrary-0.1.5 vs lib/javlibrary/database.rb in javlibrary-0.1.6
- old
+ new
@@ -1,12 +1,16 @@
# encoding: utf-8
+require 'mysql2'
+
module Javlibrary
def client
client = Mysql2::Client.new(:host => "127.0.0.1",
:username => "root",
:password => "XuHefeng",
:database => "javlibrary_new")
end
module_function :client
end
+
+