dji_mqtt_connect 0.1.15.1 → 0.1.15.2

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: 47088befabe8de8f2476d0cae32c0a7d6514bb4bb535a4fa9f9ca77d8487b012
4
- data.tar.gz: 794eaa0083251281365af9ac3eabdaa1d519c97ca306387384af51b8461211d9
3
+ metadata.gz: bb8872af639f12c94d0751642d2ca74a6d809e9530e8e25d0715a7cbbf8c4eeb
4
+ data.tar.gz: 4a58c4539b4b62f6d4e7b64197ecdd62e7847d6f3b328224f969ea60a23d55a0
5
5
  SHA512:
6
- metadata.gz: 54ecb1cfb6c7e1155a52c8cd1543c7b251e9ed573c34a9dcb6b563b15bc0374d685812735e867811ccbc7ab5f81004973ab2917d6f63e6954d10295720a9f9ce
7
- data.tar.gz: 8ebd5fd2616808530e7c7ea23cfbf52ef705314462baf408c886fd91c93afb17f051ae413492db65279ddd934988f90384bdb171aa3a1d4ac17217a257557bdc
6
+ metadata.gz: 332544ae378bacb8646e9e53534b64e6e1b7a0efae99a3b0d6c77e70710bbeae1887b0180337445c4b8f9988ae33ad3c623e0b631c769a1a9c18b9e765fb5a34
7
+ data.tar.gz: f64b0fc4d8aab154481139dd44e4a3ddd336b3ddff738f7878bc247f5aedc7cb7ee29eb2dbd3044d6a1fc0eb0bd92cfe8ca2f5eed175d22814e89ba224c27926
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dji_mqtt_connect (0.1.15.1)
4
+ dji_mqtt_connect (0.1.15.2)
5
5
  activesupport (>= 6.0, <= 8)
6
6
  dry-struct (~> 1.6)
7
7
  dry-transformer (~> 1.0)
@@ -30,6 +30,7 @@ module DjiMqttConnect
30
30
  nest "args", ["component_index", "sensor_index"]
31
31
 
32
32
  map_value "id", ->(id) { "0x#{id}" }
33
+ map_value "level", ->(level) { [level - 1, 0].max }
33
34
  rename_keys "id" => "code"
34
35
 
35
36
  deep_merge({"module" => 3}) # hardcoded to hms module
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.15.1"
4
+ VERSION = "0.1.15.2"
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.15.1
4
+ version: 0.1.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones