resque-honey 0.0.2 → 0.0.3

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: d651fb909de6d6dc9d7e2e9431717360fb7b780c
4
- data.tar.gz: ab0f195c83ec270ba5b45e1db944597804c5522b
3
+ metadata.gz: c30b776b5e318c99960e9cb28bca1b624fb68941
4
+ data.tar.gz: 4aa2abb6beb132ba9c527f55123a8aca5c2eef67
5
5
  SHA512:
6
- metadata.gz: 555e8e1e3abbad7002c0224d719cb350d01fb1b603f4adad085c4419ea958bf4b7b9a7d93b41eecdecc35cae73bfc2ae4538f520dba71bd1b3cf46876ea60910
7
- data.tar.gz: af070297dfe3ac462fd6d431ff9ee74ba9ba8a349610aca1051eb778d2db68c031b24bdfc744b31cc372862e33a7943e1ed5ab00cd9fe0a35a558a974cfebe76
6
+ metadata.gz: 5cce3b1a8ac51e066e5ca7c64c411e9bc62916c0cff21e95469f9aeb9bbb2efa3f5b2b8958c2907aa7ff053a09ee671ee8aeb4dbe83f03ac7c80cc6136fac090
7
+ data.tar.gz: 7dd1918d6891111f23d1e7efb3c1df3d89fe261c040e90c605099bdf85c683d9926cd021da58e9cf76a7ad9391c82d63a0f7f5cde2f1496ef1813e2bfdbf0f5f
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Honey
4
- VERSION = '0.0.2'.freeze
4
+ VERSION = '0.0.3'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -10,6 +10,8 @@ module Resque
10
10
  end
11
11
 
12
12
  def around_perform_honey(*args)
13
+ return yield unless @write_key && @dataset_name
14
+
13
15
  client = Libhoney::Client.new(writekey: @write_key,
14
16
  dataset: @dataset_name)
15
17
  exc = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-honey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trae Robrock