dji_mqtt_connect 0.1.1 → 0.1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f2fc8a8e791166b6c133bfc3f93aa3b5c062a479537a3420a6e280018c6b3aa
|
4
|
+
data.tar.gz: 7036d2d904b41a59afb8f1453124bc93f0eb5893e8e82772deb14f0e74047b03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9439641d1c203a5d26298e4d87f13a73c80e9b6ad31becab294443d030e13f7e0abb79bd031ead88159e52aabf7123d4fe584dfc86430b6849ee02f34194b436
|
7
|
+
data.tar.gz: c91169f9fc14b1721cf085152e9da0d7b6718323482569bf14a797a850730394165133633673c2add1866dc06d1e62cf6dcce5d0b6a9a74cf9f81d7d42b6066a
|
data/Gemfile.lock
CHANGED
@@ -18,7 +18,7 @@ module DjiMqttConnect
|
|
18
18
|
logger.info("Received #{message} from #{device_identifier}")
|
19
19
|
broadcast(message._method.to_sym, device_identifier, message)
|
20
20
|
rescue ParseError => error
|
21
|
-
broadcast(:parse_error, error, raw_message)
|
21
|
+
broadcast(:parse_error, error, topic, raw_message)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -21,7 +21,7 @@ module DjiMqttConnect
|
|
21
21
|
event_name = message.class.name.demodulize.sub(/Message\z/, "Update").underscore.to_sym
|
22
22
|
broadcast(event_name, device_identifier, message)
|
23
23
|
rescue ParseError => error
|
24
|
-
broadcast(:parse_error, error, raw_message)
|
24
|
+
broadcast(:parse_error, error, topic, raw_message)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -18,7 +18,7 @@ module DjiMqttConnect
|
|
18
18
|
logger.info("Received #{message} from #{gateway_sn}")
|
19
19
|
broadcast(message._method.to_sym, gateway_sn, message)
|
20
20
|
rescue ParseError => error
|
21
|
-
broadcast(:parse_error, error, raw_message)
|
21
|
+
broadcast(:parse_error, error, topic, raw_message)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|