apiotics 0.1.123 → 0.1.124
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apiotics/extract.rb +1 -0
- data/lib/apiotics/server.rb +2 -0
- 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: 28ca5eeb12d7d90a5f9e3ef5f0b588ce29991e26
|
4
|
+
data.tar.gz: 7a13f50744bb597b69b98baf91fa774564e1a774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994c6dac3a83da5d7b24a7ed0ed47bee910aff9911ed9834f40b2e41f53208ce30fcefa3384e29a87ac1b4a7123d74319670504ce8626886912a48b922bc5c5d
|
7
|
+
data.tar.gz: cb0ac90a66c72db6463464113b085516e3131e0275f20dcdb20a9e814d06052ac0be0d7e889660c58ff7f5a95377291ef8ca83c15ec1b410dedca0ddbf6f7e21
|
data/lib/apiotics/extract.rb
CHANGED
@@ -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,
|
data/lib/apiotics/server.rb
CHANGED
@@ -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)
|
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.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-
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|