scout_rails 1.0.2.pre1 → 1.0.2.pre2

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.
@@ -19,14 +19,8 @@ module ScoutRails::Instruments
19
19
  end
20
20
  end
21
21
 
22
- if defined?(ActionController) && defined?(ActionController::Base)
23
- ScoutRails::Agent.instance.logger.debug "Instrumenting ActionController::Base"
24
- ActionController::Base.class_eval do
25
- include ScoutRails::Tracer
26
- include ::ScoutRails::Instruments::ActionControllerInstruments
27
- end
28
- end
29
-
22
+ # ActionController::Base is a subclass of ActionController::Metal, so this instruments both
23
+ # standard Rails requests + Metal.
30
24
  if defined?(ActionController) && defined?(ActionController::Metal)
31
25
  ScoutRails::Agent.instance.logger.debug "Instrumenting ActionController::Metal"
32
26
  ActionController::Metal.class_eval do
@@ -1,3 +1,3 @@
1
1
  module ScoutRails
2
- VERSION = "1.0.2.pre1"
2
+ VERSION = "1.0.2.pre2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2.pre1
4
+ version: 1.0.2.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-24 00:00:00.000000000 Z
13
+ date: 2012-07-26 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Monitors a Ruby on Rails application and reports detailed metrics on
16
16
  performance to Scout, a hosted monitoring service.