apiotics-paho-mqtt 1.0.1 → 1.0.2

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: c6995cad178ceff025e61e4045f03dd6a04c9832
4
- data.tar.gz: 343de787a1a88f1507c069537bf288546cd5ef0a
3
+ metadata.gz: c99af1e26cff5caca665784661e12014ca60ce55
4
+ data.tar.gz: d4f597bc46d0fd26e3317c16dbe557c94f3a82a2
5
5
  SHA512:
6
- metadata.gz: 53c67b595a16ee0916f028e77b7a9d664611139c778b6cd4a6f93ee0960f48a7b21e84db97eaba00f60526d558656d4dc44c826fddd18d864ef86e15edb88f1d
7
- data.tar.gz: 04366b3b0e60f7b0130ef3e6fc5eaed10ec503236c491afd4da74d8c4b7263c7bf59e047113501d38d2786d95cc2f9eaffbc134c0472d31332a512423939e4ad
6
+ metadata.gz: 18d4940dfab55b91896f08c9464edf8018b89df18b6faf1c29cc59b3873e0cfed9c0402292d5843075496b1eadb57e96c925d60f71db464649ac0f86c5e17330
7
+ data.tar.gz: 9977858d1fafe9039309d0bd9b0f225dba374c71257e6a47f17949970828517673d7b8591280bcfa300b59d3ebc125938f81fc3ffb28459b20198eb3297f30f6
@@ -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 = true # persistent
106
- @blocking = false #blocking
105
+ @persistent = persistent
106
+ @blocking = blocking
107
107
  @host = host
108
108
  @port = port.to_i
109
- @keep_alive = true # keep_alive
109
+ @keep_alive = keep_alive
110
110
  @connection_state_mutex.synchronize do
111
111
  @connection_state = MQTT_CS_NEW
112
112
  end
@@ -1,3 +1,3 @@
1
1
  module PahoMqtt
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics-paho-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mac Dougherty