villein 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/villein/agent.rb +1 -1
- data/lib/villein/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38c9a67c0adcd3eafe19bf994a262a9b08e979cf
|
4
|
+
data.tar.gz: a73173192b4a03fd78130a0368eaf00530b64646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b24d9254bf8db038f6434c36fd565e452b199bdd20d37968474e499c563ab5d402dc929935df97337f8571c2aa8c122968ced37ac275c139e26cb889ca7d8d70
|
7
|
+
data.tar.gz: 50eb72e17349da8b03c0ab18d81e56cd981d20be91728d190e4927c53350cb5d875877b6fd7f3ef9cfd16c2b2279488c6ebcc7b68cdc12032699497855ed4348
|
data/lib/villein/agent.rb
CHANGED
@@ -110,7 +110,7 @@ module Villein
|
|
110
110
|
# Add +at_exit+ hook to safely stop at exit of current ruby process.
|
111
111
|
# Note that +Kernel#.at_exit+ hook won't run when Ruby has crashed.
|
112
112
|
def auto_stop
|
113
|
-
at_exit { self.stop! }
|
113
|
+
at_exit { self.stop! if self.running? }
|
114
114
|
end
|
115
115
|
|
116
116
|
%w(member_join member_leave member_failed member_update member_reap
|
data/lib/villein/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: villein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|