lib/keymap/connection_adapters/abstract_adapter.rb in keymap-0.1.0 vs lib/keymap/connection_adapters/abstract_adapter.rb in keymap-0.2.0
- old
+ new
@@ -1,9 +1,8 @@
require 'monitor'
require 'active_support/callbacks'
require 'active_support/dependencies/autoload'
-require 'keymap/connection_adapters/abstract/transaction_management'
module Keymap
module ConnectionAdapters # :nodoc:
@@ -12,15 +11,18 @@
autoload_under 'abstract' do
autoload :ConnectionPool
autoload :ConnectionHandler, 'keymap/connection_adapters/abstract/connection_pool'
autoload :ConnectionManagement, 'keymap/connection_adapters/abstract/connection_pool'
autoload :ConnectionSpecification
+ autoload :TransactionManagement
+ autoload :DataManagement
end
class AbstractAdapter
include ActiveSupport::Callbacks
include TransactionManagement
+ include DataManagement
include MonitorMixin
define_callbacks :checkout, :checkin
attr_accessor :pool
attr_reader :last_use, :in_use, :logger
\ No newline at end of file