mqtt-sub_handler 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mqtt/sub_handler.rb +5 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aaf64955622e7422caca9dab6565f9ae9c80d11c
4
- data.tar.gz: 804a85d87e0e22ac033342b96490d7e833143986
3
+ metadata.gz: aeda8a3940aba680c0036a48c9dc32d1ccaeeb43
4
+ data.tar.gz: 46e68dda437bada4ed2a64580c626c2a8cff4c02
5
5
  SHA512:
6
- metadata.gz: 6876a2eb48079b48c30e3cdd8d9156c3fb57f11c63f63b1c1eadde490f96b2a9d41aafe9fd76dacd154866789692d8656701c41322decbf1f8b0930747481ff9
7
- data.tar.gz: 3ab96f2b0af4d2f3bc0ce230f9d5f3d9bae4ba90447c4966c3d4b2d9fdf7af21164cb0ac3124805956d3c026f5948e82466fafc688f205c74c44a98554def34d
6
+ metadata.gz: 99f60c62b4cdd8459e1ce224d201ed22ab05c6348a4e8b10a31aa807d773c4de72312a60a428e8e3509287c592a979f6a82f62d8718ba23850faf87cc3860c9f
7
+ data.tar.gz: 394da076be046efaa6baf9d1b326f49b1954a88f4ecceba3f8791440f5767975844843e7b64f408679a9be861fb6934d27aa18629c6462f2830da2dd905488e4
@@ -292,8 +292,11 @@ class SubHandler
292
292
  # Initialize a new MQTT::SubHandler
293
293
  # The handler immediately connects to the server, and begins receciving and sending.
294
294
  # @param mqttClient [String, MQTT::Client] Either a URI to connect to, or a MQTT::Client
295
- # The URI can be of the form "mqtts://Password@User:URL:port"
296
- # The MQTT client instance can be fully configured, as specified by the MQTT Gem. It must **not** already be connected!
295
+ # The URI can be of the form "mqtts://Password@User:URL:port".
296
+ # The MQTT client instance can be fully configured, as specified by the MQTT Gem. It must *not* already be connected!
297
+ # @example Starting the handler
298
+ # mqtt = MQTT::SubHandler.new('iot.eclipse.org');
299
+ # mqtt = MQTT::SubHandler.new(MQTT::Client.new("Your.Client.Opts"))
297
300
  def initialize(mqttClient)
298
301
  @callbackList = Array.new();
299
302
  if mqttClient.is_a? String then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mqtt-sub_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xasin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mqtt