apiotics 0.1.99 → 0.1.100

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: 045322f0b6af77c9dce24e122c0b14c751dc6b1a
4
- data.tar.gz: 2d08cbe1b2e44112df4ee623c2914a35b374f437
3
+ metadata.gz: 62d44cf0a6a144746da74eef89c513853b76236f
4
+ data.tar.gz: 2fa86199cfe4fe7392cfc347e007d376846707db
5
5
  SHA512:
6
- metadata.gz: 12f635f44acaecfe84411d5f4a14c97b8177dacd72f8ede90b0147ddab03e7d7708f2d7536cf025fd67fb941f20b6ddea417d281dd0b097a6f5879d8cc186d9a
7
- data.tar.gz: 39907de56f6661fb13b7994a515a5391ca757176dc8bfb2825623d9b8599147c547bf65e4b96207bd6bd3c8f4490fc416fcd1d9244082231fba03ff832c39289
6
+ metadata.gz: 64faba1a078d9677239a0701c95eab30944de1aa7d1fc28981887c58ca431a4bd9ddee19d829fdbc65da56b6c5f29e9bf2afc4d7c13e63e35b902657bb71d4da
7
+ data.tar.gz: 33b4685c362dc35e1fd1ee921ce0871dd95e1bf4be721286c201e861f5c704406e28708e33554c54d70c2822101ccccb5b3209bef0ca665bff1081df42965484
@@ -167,6 +167,8 @@ module Apiotics
167
167
  heartbeat["interface"] = DateTime.now.to_i.to_s
168
168
  unless Apiotics.configuration.create_heartbeat_error == true
169
169
  heartbeat_msg = heartbeat.to_json
170
+ else
171
+ heartbeat_msg = heartbeat
170
172
  end
171
173
  self.send(heartbeat_msg)
172
174
  self.monitor_heartbeat(heartbeat)
@@ -185,12 +187,7 @@ module Apiotics
185
187
  #puts @heartbeat_state
186
188
  end
187
189
  if @heartbeat_state.length > Apiotics.configuration.max_missed_heartbeats
188
- begin
189
- raise Apiotics::ConnectionError
190
- rescue => e
191
- puts e.message
192
- raise Apiotics::ConnectionError
193
- end
190
+ raise Apiotics::ConnectionError
194
191
  end
195
192
  end
196
193
 
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.99'
2
+ VERSION = '0.1.100'
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.99
4
+ version: 0.1.100
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation