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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4ef8509ec9795cffb59a04f51946fb0ce2b7e00
4
- data.tar.gz: 73372e2dd188696ef7b24beb4ab01ee791827104
3
+ metadata.gz: c4bd4ff5c67e2ce04293d48820b5658ad8ee088b
4
+ data.tar.gz: 7d0b429e9f5b4616f9e9891b0c73a1f93f6f895f
5
5
  SHA512:
6
- metadata.gz: 2caf6c18bd0906f99030f8c32948113d5173a14773594887491a299c4e66ea98b5738203dd9d9725083afb00ecffc337f167b9d0ed3925f8900282a65fa7a58f
7
- data.tar.gz: 2d6e8aab563f688228b46a2f995f36aaa7aec7f2b25ca05386c8e8c4466b2debe0cfbbd4dcde2dc9516b4be00c82c3b0f1d5e8d607f54b9980f3b14b2ae0fce0
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
- 'no_job_method'
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 = @event_properties[:event_method].nil? ? job_method(*args) : @event_properties[:event_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
@@ -1,3 +1,3 @@
1
1
  module RedCross
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
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.8
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-03-06 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: analytics-ruby