blob: e4cfb91c3779f641f0d9c8c05a8be54c8a33e483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
module Interlock
end
require 'interlock/core_extensions'
require 'interlock/config'
require 'interlock/interlock'
require 'interlock/lock'
require 'interlock/pass_through_store'
require 'interlock/action_controller'
require 'interlock/action_view'
require 'interlock/finders'
require 'interlock/active_record'
begin
if defined?(JRUBY_VERSION)
require 'memcache-client'
else
require 'memcached'
end
rescue LoadError
end
unless ActionController::Base.perform_caching
RAILS_DEFAULT_LOGGER.warn "** interlock warning; config.perform_caching == false"
end
Interlock::Config.run!
|