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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5007367f501df0bb05c0612079946658c8e15f56
4
- data.tar.gz: 3a552859fb24d1bd58ebf2d56e73339fc1baae30
3
+ metadata.gz: 4edf4229d2960565f6a260a4ab28c5081cc484dd
4
+ data.tar.gz: f596dcbec4f3b44e9c8a105f74f42a5247e42a58
5
5
  SHA512:
6
- metadata.gz: 8efb4673cde40d770ccb53fe210466f8ae785815fff21dbc4c3d54b724e4b695d35f65e1fed0716c3fd66f53b265a5609f82123dd359df930fe00fcb8ccf2385
7
- data.tar.gz: 84ea913b7060227856366383f42ba82b2f7c2b969a4a5a2c8827bb004e89a3c827a6e73f1d972e7c0d79b13ff7a32cf4b4cc7f7fd52e87be619dffebc86c1506
6
+ metadata.gz: 5141908101b4e5230e809be6f2a6ae008dfaeb1efe35f955a901ba4c3d5de064d0e38456e011a7ac1ba6fc6072b4b7c1c700dd3f12ab387f753ff01d20ab5f2e
7
+ data.tar.gz: d8c5ced07c67d25dad006c07fafff8ca8cb8df7128736464468ca82ae68bc67e3bbe057719a600d323bf68b10c8cef07b68f7950b70970bb85c913d9dbd92046
@@ -77,7 +77,7 @@ module Apiotics
77
77
  listen_remote
78
78
  @heartbeat_state = Hash.new
79
79
  heartbeat = {
80
- "action" => "set-request",
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"] == "set-request"
191
+ if heartbeat["action"] == "heartbeat"
192
192
  @heartbeat_state[heartbeat["interface"]] = heartbeat
193
193
  #puts @heartbeat_state
194
- elsif heartbeat["action"] == "set-request-ack"
194
+ elsif heartbeat["action"] == "heartbeat-ack"
195
195
  @heartbeat_state = Hash.new
196
196
  #puts @heartbeat_state
197
197
  end
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.112'
2
+ VERSION = '0.1.113'
3
3
  end
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.112
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-19 00:00:00.000000000 Z
11
+ date: 2017-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails