logjam_agent 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,10 @@ module LogjamAgent
|
|
16
16
|
@@forwarders.each_value {|f| f.reset}
|
17
17
|
end
|
18
18
|
|
19
|
+
# properly close AMQP connections on program termination
|
20
|
+
# this avoids 'connection_closed_abruptly' in the rabbit logs
|
21
|
+
at_exit { reset }
|
22
|
+
|
19
23
|
def inspect
|
20
24
|
super + ": #{@@forwarders.inspect}"
|
21
25
|
end
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 6
|
10
|
+
version: 0.3.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-27 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rake
|