trackman 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/trackman.rb CHANGED
@@ -11,7 +11,9 @@ autoload :Debugger, 'trackman/debugger'
11
11
 
12
12
  if defined?(Rails)
13
13
  if ::Rails::VERSION::STRING =~ /^2\.[1-9]/
14
- Rails.configuration.middleware.use Trackman::RackMiddleware
14
+ unless Rails.class_variable_get(:@@configuration).nil?
15
+ Rails.configuration.middleware.use Trackman::RackMiddleware
16
+ end
15
17
  elsif ::Rails::VERSION::STRING =~ /^[3-9]\.[1-9]/
16
18
  require "trackman/railtie"
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module Trackman
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: