paho-mqtt 1.0.6 → 1.0.7

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
  SHA256:
3
- metadata.gz: f72a4a93df7ac3c4660b9f0ee7a5c8cb68b188c60782f4fd03c63f39f30321ea
4
- data.tar.gz: a84a45e964b18c73b64b376e263622a84c807266ba8ff6e615cf1a587956de3a
3
+ metadata.gz: af6f895ced3d30a8d24b38852cd3057dbeb25a483ace1d57d5b4ed02b0d0c863
4
+ data.tar.gz: 61e56c02727c3bfac306e23615cc94bdd549e920ab49fd53cea4c06d1815ca67
5
5
  SHA512:
6
- metadata.gz: 73b2d7de679fe898c86e031efe8fe966dc2b3428d6985a9d24a81ff166d235122643fdf74f0c5b2559b362fb47635f0d58eefeba6358c90e18f1634c3b03f547
7
- data.tar.gz: a6a170ebdc2b5bdfa166913b8de5284f1066c1b24cb272a72bc68fe24d2cb8beea7f820ef436ff0651fe24929f521750aea90e68964c299912459771fe256af2
6
+ metadata.gz: ebe282a5693db9866c5397d75b4d1a39b142b61566ac09d61fa1820db33af4bf36489c55d93c9abe11cbd8ee9c79466bfbdba9ab6225e5ed55e21858b7e011b7
7
+ data.tar.gz: '0854c7eec6abf060a0e3334874da9587c28c404d861abe424d7d33fa4cbda8b4cf32908396d0c0c8fa3038bff28cedceb937fa9ed19db8e1539e954c2616cfdd'
@@ -18,7 +18,7 @@ module PahoMqtt
18
18
  attr_reader :registered_callback
19
19
  attr_accessor :last_ping_resp
20
20
  attr_accessor :clean_session
21
-
21
+
22
22
  def initialize
23
23
  @registered_callback = []
24
24
  @last_ping_resp = -1
@@ -46,7 +46,7 @@ module PahoMqtt
46
46
  else
47
47
  handle_packet(packet)
48
48
  @last_ping_resp = Time.now
49
- end
49
+ end
50
50
  end
51
51
  end
52
52
  end
@@ -133,8 +133,7 @@ module PahoMqtt
133
133
  id = packet.id
134
134
  topics = []
135
135
  topics = @subscriber.remove_subscription(id, topics)
136
- unless topcis.empty?
137
- puts "PAHO TOPICS: #{topics}"
136
+ unless topics.empty?
138
137
  @on_unsuback.call(topics) unless @on_unsuback.nil?
139
138
  end
140
139
  end
@@ -157,7 +156,7 @@ module PahoMqtt
157
156
 
158
157
  def handle_pubrec(packet)
159
158
  id = packet.id
160
- if @publisher.do_pubrec(id) == MQTT_ERR_SUCCESS
159
+ if @publisher.do_pubrec(id) == MQTT_ERR_SUCCESS
161
160
  @on_pubrec.call(packet) unless @on_pubrec.nil?
162
161
  end
163
162
  end
@@ -1,3 +1,3 @@
1
1
  module PahoMqtt
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paho-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Goudet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-05 00:00:00.000000000 Z
11
+ date: 2018-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler