resque-honey 0.0.5 → 1.0.0

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: 8a3c8e1dda5d1803edd9ddf8c1e6240ad4dff632
4
- data.tar.gz: 3162ff1758030589ee0ecb99b7a1a8779d9b365e
3
+ metadata.gz: 961bdd9f1f1301053497034dfcbaa62ba1ede2e4
4
+ data.tar.gz: 82fee1b708bbb67bf01f29c63d2a2ba2683b2dc7
5
5
  SHA512:
6
- metadata.gz: fa233c2cf0e891290f9afeb0b18bef71da6e00677a120a2d61cb8206caa25ba3a9c3f06735290f4a579641d9f1a8f59e8971b24f71be5f9a2eb3f6f033c42d29
7
- data.tar.gz: fd736715cf4df6175625160b6b9101eaa86482629a867d51da33c517bc9e32df055da69256bae7f3774224cf1c659e66059ecfe6597b5345cd8259b750febdff
6
+ metadata.gz: 0a1cfe1ec6365c4381e6ac4cfcbb49612bf3516b8c9b6707c62c81203af8072732fbe2a9ffb133411a1109388ede3c84c89a64d300bc2106aec2bd0de8084c07
7
+ data.tar.gz: 551fee32431f633538c4d2b7a1ea7bcdfbfdd65f260a7da3b1090f49aa6ca8b3d7509ef28f07d723a11d636c9ac8ae65519e4d03bd43abca9c64a1ad5f1b13cc
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Honey
4
- VERSION = '0.0.5'.freeze
4
+ VERSION = '1.0.0'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -25,6 +25,12 @@ module Resque
25
25
  success: exc.nil?,
26
26
  worker_host: `hostname`.chomp
27
27
  }
28
+ if exc
29
+ data.merge!(
30
+ error_class: exc.class.to_s,
31
+ error_message: exc.message
32
+ )
33
+ end
28
34
  client.send_now(data)
29
35
 
30
36
  client.close(true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-honey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trae Robrock
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-28 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libhoney