apiotics 0.1.112 → 0.1.113
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apiotics/server.rb +3 -3
- data/lib/apiotics/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: 4edf4229d2960565f6a260a4ab28c5081cc484dd
|
4
|
+
data.tar.gz: f596dcbec4f3b44e9c8a105f74f42a5247e42a58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5141908101b4e5230e809be6f2a6ae008dfaeb1efe35f955a901ba4c3d5de064d0e38456e011a7ac1ba6fc6072b4b7c1c700dd3f12ab387f753ff01d20ab5f2e
|
7
|
+
data.tar.gz: d8c5ced07c67d25dad006c07fafff8ca8cb8df7128736464468ca82ae68bc67e3bbe057719a600d323bf68b10c8cef07b68f7950b70970bb85c913d9dbd92046
|
data/lib/apiotics/server.rb
CHANGED
@@ -77,7 +77,7 @@ module Apiotics
|
|
77
77
|
listen_remote
|
78
78
|
@heartbeat_state = Hash.new
|
79
79
|
heartbeat = {
|
80
|
-
"action" => "
|
80
|
+
"action" => "heartbeat",
|
81
81
|
"instance" => "0000000000000000000000000000000000000000000000000000000000000000",
|
82
82
|
"driver" => "Core::Heartbeat",
|
83
83
|
"interface" => nil
|
@@ -188,10 +188,10 @@ module Apiotics
|
|
188
188
|
end
|
189
189
|
|
190
190
|
def monitor_heartbeat(heartbeat)
|
191
|
-
if heartbeat["action"] == "
|
191
|
+
if heartbeat["action"] == "heartbeat"
|
192
192
|
@heartbeat_state[heartbeat["interface"]] = heartbeat
|
193
193
|
#puts @heartbeat_state
|
194
|
-
elsif heartbeat["action"] == "
|
194
|
+
elsif heartbeat["action"] == "heartbeat-ack"
|
195
195
|
@heartbeat_state = Hash.new
|
196
196
|
#puts @heartbeat_state
|
197
197
|
end
|
data/lib/apiotics/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apiotics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.113
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MicroArx Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|