dji_mqtt_connect 0.1.19 → 0.1.19.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: d79c6acb7c5be4e14a79b1592039fd385c1fb0bdb7886e9c07282bef039b1a66
4
- data.tar.gz: 0f715b3bcc5964fe3c3d6f26378ac833eea6c97d4cce49d6d2ab612586a89af7
3
+ metadata.gz: 7ec559ec41ade3aae5f2cf475b97c0b75b92b5ca39395309130541520c5f80d3
4
+ data.tar.gz: 8a12acbad4c9b24e2eaf57b90b4e22d552744bc789214b21c29f80ada4b3f3be
5
5
  SHA512:
6
- metadata.gz: 8e5f42c56bbf32787b3d50abbb60929bb6ead17d29e7288d0fec9db11473d77e9671354162f8afdf340a07e407c4d3299ae7353b15bda17de8df02cb0ca6d0d1
7
- data.tar.gz: eeae798ff32212fa8bc0af6f6200667cef77d347201da7681dd52db6a97ac76d34a6806a9d377f7ff4b5488bd6cd0f1c2055646d567244731e8299a8b8decc78
6
+ metadata.gz: 7a4ea7ffd4f6be556b33ec294625bac195cfc31d1cb2c7c5e1138c17dd86b9fbf919b74e4f231f669d98780d4fbb22b71af2930f4e609f5dcc337d4907035236
7
+ data.tar.gz: b158d890c65df2206b792bc1715a26f4e7493c9659e56c4d94934999648b0664727a6e7177861acc05ed9c02edd9be4d68b82d64199716ec48487cfc05254f87
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dji_mqtt_connect (0.1.19)
4
+ dji_mqtt_connect (0.1.19.1)
5
5
  activesupport (>= 6.0, <= 8)
6
6
  dry-struct (~> 1.6)
7
7
  dry-transformer (~> 1.0)
@@ -75,6 +75,9 @@ module DjiMqttConnect
75
75
  raise ParseError.new(e, "Unable to parse message as JSON")
76
76
  rescue Dry::Struct::Error => e
77
77
  raise ParseError.new(e, "Unexpected #{message_class} payload")
78
+ rescue TypeError => e
79
+ # FIXME: airsense messages have data as an array, this breaks a lot of code...
80
+ raise ParseError.new(e, "Unable to parse message")
78
81
  end
79
82
 
80
83
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.19"
4
+ VERSION = "0.1.19.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dji_mqtt_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones