apiotics-paho-mqtt 1.0.1 → 1.0.2
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 +4 -4
- data/lib/paho_mqtt/client.rb +3 -3
- data/lib/paho_mqtt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c99af1e26cff5caca665784661e12014ca60ce55
|
4
|
+
data.tar.gz: d4f597bc46d0fd26e3317c16dbe557c94f3a82a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d4940dfab55b91896f08c9464edf8018b89df18b6faf1c29cc59b3873e0cfed9c0402292d5843075496b1eadb57e96c925d60f71db464649ac0f86c5e17330
|
7
|
+
data.tar.gz: 9977858d1fafe9039309d0bd9b0f225dba374c71257e6a47f17949970828517673d7b8591280bcfa300b59d3ebc125938f81fc3ffb28459b20198eb3297f30f6
|
data/lib/paho_mqtt/client.rb
CHANGED
@@ -102,11 +102,11 @@ module PahoMqtt
|
|
102
102
|
end
|
103
103
|
|
104
104
|
def connect(host=@host, port=@port, keep_alive=@keep_alive, persistent=@persistent, blocking=@blocking)
|
105
|
-
@persistent =
|
106
|
-
@blocking =
|
105
|
+
@persistent = persistent
|
106
|
+
@blocking = blocking
|
107
107
|
@host = host
|
108
108
|
@port = port.to_i
|
109
|
-
@keep_alive =
|
109
|
+
@keep_alive = keep_alive
|
110
110
|
@connection_state_mutex.synchronize do
|
111
111
|
@connection_state = MQTT_CS_NEW
|
112
112
|
end
|
data/lib/paho_mqtt/version.rb
CHANGED