lib/bio-ucsc/cb3.rb in bio-ucsc-api-0.6.3 vs lib/bio-ucsc/cb3.rb in bio-ucsc-api-0.6.4

- old
+ new

@@ -1,11 +1,11 @@ # # = AUTOMATIC Table Definition of the C. briggsae Jan. 2007 (WUGSC 1.0/cb3) assembly -# Copyright:: Copyright (C) 2011 +# Copyright:: Copyright (C) 2011-2017 # MISHIMA, Hiroyuki # <missy at be.to / hmishima at nagasaki-u.ac.jp> -# License:: The Ruby licence (Ryby's / GPLv2 dual) +# License:: The MIT licence # require "#{::File.dirname(__FILE__)}/table_class_detector" module Bio @@ -28,21 +28,21 @@ class DBConnection < ActiveRecord::Base include SafeAttributes self.inheritance_column = 'dummy_not_to_use' - @@db_adapter ||= 'mysql' + @@db_adapter ||= 'mysql2' @@db_host ||= 'genome-mysql.cse.ucsc.edu' @@db_username ||= 'genome' @@db_password ||= '' @@db_name ||= 'cb3' cattr_accessor :db_adapter, :db_host, :db_username, :db_password self.abstract_class = true def self.default - @@db_adapter = 'mysql' + @@db_adapter = 'mysql2' @@db_host = 'genome-mysql.cse.ucsc.edu' @@db_username = 'genome' @@db_password = '' end