scout_rails 1.0.2.pre → 1.0.2.pre1

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/CHANGELOG.markdown CHANGED
@@ -1,6 +1,7 @@
1
1
  # 1.0.2.pre
2
2
 
3
3
  * Net::HTTP instrumentation
4
+ * ActionController::Metal instrumentation
4
5
 
5
6
  # 1.0.1
6
7
 
@@ -27,6 +27,14 @@ if defined?(ActionController) && defined?(ActionController::Base)
27
27
  end
28
28
  end
29
29
 
30
+ if defined?(ActionController) && defined?(ActionController::Metal)
31
+ ScoutRails::Agent.instance.logger.debug "Instrumenting ActionController::Metal"
32
+ ActionController::Metal.class_eval do
33
+ include ScoutRails::Tracer
34
+ include ::ScoutRails::Instruments::ActionControllerInstruments
35
+ end
36
+ end
37
+
30
38
  if defined?(ActionView) && defined?(ActionView::PartialRenderer)
31
39
  ScoutRails::Agent.instance.logger.debug "Instrumenting ActionView::PartialRenderer"
32
40
  ActionView::PartialRenderer.class_eval do
@@ -1,3 +1,3 @@
1
1
  module ScoutRails
2
- VERSION = "1.0.2.pre"
2
+ VERSION = "1.0.2.pre1"
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.pre
4
+ version: 1.0.2.pre1
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-22 00:00:00.000000000 Z
13
+ date: 2012-07-24 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.