Sha256: baa0c82719324c2e78a0faa0663ed45e2baad3bd4de121e957a7e5135430ff21
Contents?: true
Size: 512 Bytes
Versions: 3
Compression:
Stored size: 512 Bytes
Contents
require "fresh_connection" require 'ebisu_connection/conf_file' require 'ebisu_connection/connection_manager' module EbisuConnection class << self attr_writer :env def slaves_file=(file) ConfFile.slaves_file = file end def check_interval=(interval) ConfFile.check_interval = interval end def env @env ||= defined?(Rails) && Rails.env || ENV["RAILS_ENV"] || ENV["RACK_ENV"] end end end FreshConnection.connection_manager = EbisuConnection::ConnectionManager
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ebisu_connection-1.0.0 | lib/ebisu_connection.rb |
ebisu_connection-0.3.1 | lib/ebisu_connection.rb |
ebisu_connection-0.3.0 | lib/ebisu_connection.rb |