apiotics 0.1.97 → 0.1.98

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: 0234c2375c840d3e3096e211e3150f6f0e33977c
4
- data.tar.gz: 5fefc17a8ec77a86ef1c337801c4ef78d16431ab
3
+ metadata.gz: 8f9f261ee5c23fdea1b1ac485fa05c9d7167622b
4
+ data.tar.gz: e3c9ab0dc302e8e5aa17fe4078cd8de70a6490ca
5
5
  SHA512:
6
- metadata.gz: 5d594e26c01fdecab62bdbc6d8a37217e9e9418013ce1f3618ae333f40515f7ca40597c0ff673d2c411ee9c0e2fbfa1d40d0f881b550db06d88168797b4de13f
7
- data.tar.gz: e05358f9adc6cb2ecb8a4179919e8e5cf01fb4cf0e974245a1a21df74cd8e8d7e67d868cdec294d5e3de24d5bebe6e12b70c2949a185eabed35760eaecbe100d
6
+ metadata.gz: 8697cdd9b2230ed3988b51017104844f55cce7a76c143d453658288889c3f6ed9c1f48c15766d2937f1400ec2eb57ced10e3e513ec4933c1dde80bf58479ea3f
7
+ data.tar.gz: 6ba4b4a67f51e29f64d82fb6e68b80ab80c5ccb39c475d2cdf36e326c7e5e3c61c0dc423fae658224fe27c332db925f1723cb9da3ca10353634d16d55eebc5ac
@@ -176,12 +176,12 @@ module Apiotics
176
176
  end
177
177
 
178
178
  def monitor_heartbeat(heartbeat)
179
- if heartbeat["action"] = "set-request"
179
+ if heartbeat["action"] == "set-request"
180
180
  @heartbeat_state[heartbeat["interface"]] = heartbeat
181
- puts @heartbeat_state
182
- elsif heartbeat["action"] = "set-request-ack"
181
+ #puts @heartbeat_state
182
+ elsif heartbeat["action"] == "set-request-ack"
183
183
  @heartbeat_state.delete(heartbeat["interface"])
184
- puts @heartbeat_state
184
+ #puts @heartbeat_state
185
185
  end
186
186
  if @heartbeat_state.length > Apiotics.configuration.max_missed_heartbeats
187
187
  begin
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.97'
2
+ VERSION = '0.1.98'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.97
4
+ version: 0.1.98
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation