lib/ebisu_connection.rb in ebisu_connection-2.4.2 vs lib/ebisu_connection.rb in ebisu_connection-3.0.0

- old
+ new

@@ -1,18 +1,14 @@ require 'active_support' require "fresh_connection" -require "ebisu_connection/conf_file" +require "ebisu_connection/config" module EbisuConnection class << self attr_writer :env def replica_file=(file) - ConfFile.replica_file = file - end - - def slaves_file=(file) - ConfFile.slaves_file = file + Config.replica_file = file end def env @env ||= defined?(Rails) && Rails.env || ENV["RAILS_ENV"] || ENV["RACK_ENV"] end