apiotics 0.1.123 → 0.1.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82b8b2b02b65b8994a5e1d38eea9d10da59bb9ee
4
- data.tar.gz: 9dab62a959c38005ef8e513702e7039dd8305047
3
+ metadata.gz: 28ca5eeb12d7d90a5f9e3ef5f0b588ce29991e26
4
+ data.tar.gz: 7a13f50744bb597b69b98baf91fa774564e1a774
5
5
  SHA512:
6
- metadata.gz: 7cd97f52f742c37fb6e74b29fe3346ef6ac807285d769ab11f27d635777f0cc7d350d32a22a6955d56bd7f37393bec6a66e188d8897e167fc68ed9bf67719bf8
7
- data.tar.gz: 8741a22150a6a266669c87a20771fa5d1bb08fd0ef8925c714f31d5846ca98a0457988f3e2497669db93e097420a7e3ebeaadadcc1c7cf94de7c641fe6f68a0b
6
+ metadata.gz: 994c6dac3a83da5d7b24a7ed0ed47bee910aff9911ed9834f40b2e41f53208ce30fcefa3384e29a87ac1b4a7123d74319670504ce8626886912a48b922bc5c5d
7
+ data.tar.gz: cb0ac90a66c72db6463464113b085516e3131e0275f20dcdb20a9e814d06052ac0be0d7e889660c58ff7f5a95377291ef8ca83c15ec1b410dedca0ddbf6f7e21
@@ -65,6 +65,7 @@ module Apiotics
65
65
  i = "#{object.class.parent.name}".underscore.gsub(" ","_").downcase + "_id"
66
66
  msg = {
67
67
  "action" => a,
68
+ "hive_id" => Apiotics.configuration.public_key,
68
69
  "instance_id" => k.find(object.send(i)).apiotics_instance,
69
70
  "driver" => object.class.name.to_s,
70
71
  "interface" => interfaces,
@@ -78,6 +78,7 @@ module Apiotics
78
78
  @heartbeat_state = Hash.new
79
79
  heartbeat = {
80
80
  "action" => "heartbeat",
81
+ "hive_id" => Apiotics.configuration.public_key,
81
82
  "instance_id" => "0000000000000000000000000000000000000000000000000000000000000000",
82
83
  "driver" => "Core::Heartbeat",
83
84
  "interface" => nil
@@ -176,6 +177,7 @@ module Apiotics
176
177
  end
177
178
  connect_msg = {
178
179
  "action" => "connect",
180
+ "hive_id" => Apiotics.configuration.public_key,
179
181
  "instance_id" => gem_id
180
182
  }
181
183
  self.send(connect_msg.to_json)
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.123'
2
+ VERSION = '0.1.124'
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.123
4
+ version: 0.1.124
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-25 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails