statsd-default_instrumentation 0.3.0 → 0.3.1

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/README.md CHANGED
@@ -23,11 +23,11 @@ Instrumentation
23
23
 
24
24
  Supported clients: memcache-client, memcached
25
25
 
26
- * Count of each operation. Example: memcache.set
26
+ * Timing of each operation. Example: memcache.set
27
27
  * Count of hits/misses for get operations as memcache.hit and memcache.miss
28
28
 
29
29
  **Redis**
30
30
 
31
31
  Supported clients: redis-rb
32
32
 
33
- * Count and timing of each operation. Example: redis.get.count, redis.get.time
33
+ * Timing of each operation. Example: redis.get
@@ -1,4 +1,4 @@
1
- ApplicationController.around_filter do |controller, action|
1
+ ActionController::Base.around_filter do |controller, action|
2
2
  action.call
3
3
 
4
4
  # Record requests per response code
@@ -3,7 +3,7 @@ module StatsD
3
3
  module VERSION
4
4
  MAJOR = 0
5
5
  MINOR = 3
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, PATCH].join('.')
@@ -7,7 +7,7 @@ module StatsD
7
7
  self.prefix = "default_instrumentation"
8
8
 
9
9
  def self.detect!
10
- require 'statsd/default_instrumentation/action_controller' if defined?(ApplicationController)
10
+ require 'statsd/default_instrumentation/action_controller' if defined?(ActionController)
11
11
  require 'statsd/default_instrumentation/memcache-client' if defined?(MemCache)
12
12
  require 'statsd/default_instrumentation/memcached' if defined?(Memcached)
13
13
  require 'statsd/default_instrumentation/redis' if defined?(Redis)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsd-default_instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Griffin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-09 00:00:00 -05:00
18
+ date: 2011-11-10 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency