dji_mqtt_connect 0.1.24 → 0.1.24.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: a5f4a30bcf00c34333f1ba41fe6253a71e79cfcbf0640b5487e5f815ba372aa8
4
- data.tar.gz: 28cd4d757b493def4abb99fa0bdc62d13dbfa93d320b1743737b0618c088091d
3
+ metadata.gz: 8c6c26e87ebcec9d9d15220f9439e057f29b2db40e5ce575be68b0a522279e63
4
+ data.tar.gz: 26c73fc1bdc6e9418565ea4f63823accb76302e3d6e4dbbcd79cee86c153a4dd
5
5
  SHA512:
6
- metadata.gz: 9f2962fedfd1a2b3f6e08b952d0cc4ccf0709d15948e14433fd9d431a14a6b043eb4c198e94a78a0982ef38987dbcdc1904fcf18a91f318df16a2213740bf263
7
- data.tar.gz: 3f83495440f395d39b1e43e210ab5c276b2d0d09b7dd971c1d319c089e32d0d78c91bb2f2fd8e4fc1a70507cbaf2add928e09c05ab04b7a1a287452fab168386
6
+ metadata.gz: 0a4f2122eba26e6cd20808b2a330c16d12638043ad969b496eb6ad047cbb01fc35b28516681fffbdd94e2ee76be069fc94b37f8e6312d391be496b348295c767
7
+ data.tar.gz: 4f35dc606a2105fba52ee577c4a5f78b141ad34c4cc0bec374c93f64825e4e129c0d1845e8f07c0d0ba5360032f42d5184dde50e8368dbd6f9bec7914a87f758
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dji_mqtt_connect (0.1.24)
4
+ dji_mqtt_connect (0.1.24.1)
5
5
  activesupport (>= 6.0, <= 8)
6
6
  dry-struct (~> 1.6)
7
7
  dry-transformer (~> 1.0)
@@ -7,14 +7,14 @@ module DjiMqttConnect
7
7
  attribute :_method, Types::String.enum("return_home_info")
8
8
 
9
9
  attribute :data do
10
- attribute :planned_path_points, Types::Array do
10
+ attribute :planned_path_points, Types::Array.default([].freeze) do
11
11
  attribute :latitude, Types::Latitude
12
12
  attribute :longitude, Types::Longitude
13
13
  attribute :height, Types::JSON::Decimal
14
14
  end
15
15
 
16
16
  # {"0":"Last point of trajectory is located above the return point.","1":"Last point of trajectory is not located above the return point."}
17
- attribute :last_point_type, Types::Integer.enum(0, 1)
17
+ attribute? :last_point_type, Types::Integer.enum(0, 1)
18
18
 
19
19
  attribute :flight_id, Types::String
20
20
  end
@@ -162,8 +162,8 @@ module DjiMqttConnect
162
162
  attribute? :current_commander_flight_mode, Types::Integer
163
163
  attribute? :current_rth_mode, Types::Integer
164
164
  attribute? :flysafe_database_version, Types::String
165
- attribute? :home_latitude, Types::Latitude
166
- attribute? :home_longitude, Types::Longitude
165
+ attribute? :home_latitude, Types::JSON::Decimal # These values are not standard lat/long coordinates
166
+ attribute? :home_longitude, Types::JSON::Decimal # These values are not standard lat/long coordinates
167
167
  attribute? :locked, Types::Bool
168
168
  attribute? :mode_code_reason, Types::Integer
169
169
  attribute? :offline_map_enable, Types::Bool
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.24"
4
+ VERSION = "0.1.24.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.24
4
+ version: 0.1.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones