klomp 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +5 -0
- data/klomp.gemspec +1 -1
- data/lib/klomp.rb +1 -1
- data/lib/klomp/sentinel.rb +5 -1
- metadata +3 -3
data/ChangeLog.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Klomp Changes
|
2
2
|
--------------------------------------------------------------------------------
|
3
3
|
|
4
|
+
1.0.6 (2012/11/19)
|
5
|
+
================================================================================
|
6
|
+
|
7
|
+
- Bugfix: implement missing Klomp::Sentinel#alive?
|
8
|
+
|
4
9
|
1.0.5 (2012/10/17)
|
5
10
|
================================================================================
|
6
11
|
|
data/klomp.gemspec
CHANGED
data/lib/klomp.rb
CHANGED
data/lib/klomp/sentinel.rb
CHANGED
@@ -2,7 +2,11 @@ class Klomp
|
|
2
2
|
class Sentinel
|
3
3
|
def initialize(connection)
|
4
4
|
@connection = connection
|
5
|
-
Thread.new { run } unless @connection.connected?
|
5
|
+
@thread = Thread.new { run } unless @connection.connected?
|
6
|
+
end
|
7
|
+
|
8
|
+
def alive?
|
9
|
+
@thread && @thread.alive?
|
6
10
|
end
|
7
11
|
|
8
12
|
def run
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: klomp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
@@ -258,7 +258,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
258
|
version: '0'
|
259
259
|
segments:
|
260
260
|
- 0
|
261
|
-
hash:
|
261
|
+
hash: 30151873419123398
|
262
262
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
263
|
none: false
|
264
264
|
requirements:
|