harness-action_subscriber 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2b2a51da3fe190bf92c77eb6b2b6fd0706ad912
|
4
|
+
data.tar.gz: 27744d06d62b8af871048a124e14b222080f5dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4f50700f10e6c081288f2b5b1272eda29b8914277a26b17b464a6b695445f693b962a9957df19f38909ae5134b3a5da18ff161e605e19080b5c7e07d69a0cdf
|
7
|
+
data.tar.gz: 071e9cb0806d3518e499e6841793b0fcf09cdd3efcbff70299a1925c39d95d7d42042a7f0f1e0e69f5e2d8fc3091cb594442745f78dfcd1dd8945c8b2d16cb8a
|
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
|
24
24
|
spec.add_runtime_dependency "harness", ">= 2.0.0"
|
25
|
-
spec.add_runtime_dependency "action_subscriber", ">=
|
25
|
+
spec.add_runtime_dependency "action_subscriber", ">= 2.0.0"
|
26
26
|
end
|
@@ -16,6 +16,6 @@ end
|
|
16
16
|
|
17
17
|
::ActiveSupport::Notifications.subscribe "process_event.action_subscriber" do |*args|
|
18
18
|
event = ::ActiveSupport::Notifications::Event.new(*args)
|
19
|
-
event_name = event.payload[:
|
19
|
+
event_name = event.payload[:queue].gsub '.', '-'
|
20
20
|
::Harness.timing "action_subscriber.process_event.#{event_name}", event.duration
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harness-action_subscriber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmmries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.0.0
|
69
69
|
description: ''
|
70
70
|
email:
|
71
71
|
- michael@riesd.com
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.5.1
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Record statsd metrics about ActionSubscriber via Harness
|