apiotics 0.1.114 → 0.1.115
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb9f59252639b3360a9e95c69d5438ede446d624
|
4
|
+
data.tar.gz: 785d4b43999bd4d6bf2b868b8b00f3a1996c0e68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c54605d0ee216be789911e930a9ed70b5c11a7a79927775535a0c0bd37479b567de39445b2fa8b69dcaca79da3cb2c700dca6eb54d300d603d1fb969ce05f54
|
7
|
+
data.tar.gz: 230495f0ac09de6161d49961eb87850039bb83b2c6acaa0e3de504aecdc9eded2cfae35d6253de1fa4171626b7e648d08fd6b24e122c7c777fa8a04538d48c46
|
data/lib/apiotics/server.rb
CHANGED
@@ -107,11 +107,11 @@ module Apiotics
|
|
107
107
|
begin
|
108
108
|
loop do
|
109
109
|
msg = @server.gets
|
110
|
-
puts msg
|
111
110
|
msg_hash = Apiotics::Parse.message(msg)
|
111
|
+
puts "Message received: " + msg_hash
|
112
|
+
puts "Driver: " + msg_hash["driver"]
|
112
113
|
unless msg_hash["driver"] == "Core::Heartbeat"
|
113
114
|
r = Apiotics::Insert.new(msg_hash)
|
114
|
-
puts "Message received": msg_hash
|
115
115
|
if r.valid == true
|
116
116
|
if r.action == "set-request-ack" || r.action == "set-complete" || r.action == "get-ack"
|
117
117
|
r.save
|
data/lib/apiotics/version.rb
CHANGED
@@ -25,6 +25,6 @@ Apiotics.configure do |config|
|
|
25
25
|
# and performance. Turning local logging on can have a significant negative impact on performance. Turning reduced metadata on can have
|
26
26
|
# a small positive impact on performance. These configuration variables should be set *before* running apiotics generators.
|
27
27
|
config.local_logging = false
|
28
|
-
config.reduced_metadata =
|
28
|
+
config.reduced_metadata = true
|
29
29
|
|
30
30
|
end
|