Sha256: 2bda5f28729791b1e3c30ed79f687dddcf093a2af61a5d895d97d4675c3a7e4d

Contents?: true

Size: 480 Bytes

Versions: 6

Compression:

Stored size: 480 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.to_i == 4
    require 'fresh_connection/railtie_for_rails4'
  else
    require 'fresh_connection/railtie'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fresh_connection-2.4.4 lib/fresh_connection.rb
fresh_connection-2.4.3 lib/fresh_connection.rb
fresh_connection-2.4.2 lib/fresh_connection.rb
fresh_connection-2.4.1 lib/fresh_connection.rb
fresh_connection-2.4.0 lib/fresh_connection.rb
fresh_connection-2.4.0.rc4 lib/fresh_connection.rb