red_cross 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/red_cross/resque/plugins/red_cross_monitor.rb +2 -2
- data/lib/red_cross/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4bd4ff5c67e2ce04293d48820b5658ad8ee088b
|
4
|
+
data.tar.gz: 7d0b429e9f5b4616f9e9891b0c73a1f93f6f895f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9189a34ddf3471820e3bd834195ea5e70ab6dcd53a29ec6df8fd34a02c04adecfb191f90319986535d8d5ca0500fa1b96cf3567f39b9782fd91a6145ebf18119
|
7
|
+
data.tar.gz: 79e25b033a89f2fb4b5c4cba3fb2db0fca72045639cd3eae3d65a5b542281fd55a586ff52c25bce80ea7cc0957ccb54782d25c9ac3b8dd08bb72626ace435276
|
@@ -5,7 +5,7 @@ module Resque
|
|
5
5
|
# Please add count: MY_NUMBER in case your metric value differs 1
|
6
6
|
def job_method(*args)
|
7
7
|
#Add the method that triggered by the job
|
8
|
-
'
|
8
|
+
'no_method_job'
|
9
9
|
end
|
10
10
|
|
11
11
|
def before_schedule_send_monitor_data(*args)
|
@@ -47,7 +47,7 @@ module Resque
|
|
47
47
|
def default_event_properties(*args)
|
48
48
|
@event_properties ||= { fields: { } }
|
49
49
|
@event_properties[:class] ||= self.name
|
50
|
-
event_job_method =
|
50
|
+
event_job_method = job_method(*args)
|
51
51
|
if (!event_job_method.nil? && ([String, Integer, Symbol].include? event_job_method.class))
|
52
52
|
@event_properties[:event_method] = event_job_method
|
53
53
|
else
|
data/lib/red_cross/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red_cross
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronbarab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: analytics-ruby
|