seanwalbran-rpm_contrib 2.1.6.5 → 2.1.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Version 2.1.6.6
2
+ - Handle agent not being configured to run
3
+
1
4
  * Version 2.1.6.5
2
5
  - Data still not showing up, try alternate method not involving agent shutdown
3
6
 
@@ -28,7 +28,7 @@ module Resque
28
28
  yield(*args)
29
29
  end
30
30
  ensure
31
- worker_loop = NewRelic::Agent.agent.instance_variable_get(:@worker_loop)
31
+ worker_loop = NewRelic::Agent.agent.started? ? NewRelic::Agent.agent.instance_variable_get(:@worker_loop) : nil
32
32
  worker_loop.run_task if worker_loop
33
33
  end
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seanwalbran-rpm_contrib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 117
4
+ hash: 115
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
9
  - 6
10
- - 5
11
- version: 2.1.6.5
10
+ - 6
11
+ version: 2.1.6.6
12
12
  platform: ruby
13
13
  authors:
14
14
  - Bill Kayser