lib/bio-ucsc/orycun2.rb in bio-ucsc-api-0.6.3 vs lib/bio-ucsc/orycun2.rb in bio-ucsc-api-0.6.4
- old
+ new
@@ -1,11 +1,11 @@
#
# = AUTOMATIC Table Definition of the Rabbit Apr. 2009 (Broad/oryCun2) 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
@@ -30,21 +30,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 ||= 'oryCun2'
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