trackman 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/trackman.rb +1 -1
- data/lib/trackman/version.rb +1 -1
- metadata +1 -1
data/lib/trackman.rb
CHANGED
@@ -11,7 +11,7 @@ autoload :Debugger, 'trackman/debugger'
|
|
11
11
|
|
12
12
|
if defined?(Rails)
|
13
13
|
if ::Rails::VERSION::STRING =~ /^2\.[1-9]/
|
14
|
-
unless Rails.class_variable_get
|
14
|
+
unless Rails.send(:class_variable_get, :@@configuration).nil?
|
15
15
|
Rails.configuration.middleware.use Trackman::RackMiddleware
|
16
16
|
end
|
17
17
|
elsif ::Rails::VERSION::STRING =~ /^[3-9]\.[1-9]/
|
data/lib/trackman/version.rb
CHANGED