Sha256: cc519dfb838f61c5383274a28249325931e371625e3e14338a38ca30a52b9a92

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

require 'fresh_connection/connection_manager'

module FreshConnection
  class << self
    attr_writer :connection_manager

    def connection_manager
      if defined?(@connection_manager)
        @connection_manager
      else
        ConnectionManager
      end
    end
  end
end

require 'fresh_connection/extend'

if defined?(Rails)
  if Rails::VERSION::MAJOR == "4"
    require 'fresh_connection/railtie_for_rails4'
  else
    require 'fresh_connection/railtie'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fresh_connection-2.4.0.rc3 lib/fresh_connection.rb
fresh_connection-2.4.0.rc1 lib/fresh_connection.rb