dji_mqtt_connect 0.1.13 → 0.1.13.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: bce94ddd2e510ce30f293372def6fbfd54916a2bfcd18968ebd99b5d017b4aed
4
- data.tar.gz: 9377ad974ca8a62082e28e72b1f2b00fe598ddeaa1ad5f16ebbf6371d5546412
3
+ metadata.gz: c144a661c638e1cab414b4798f2fad92e0f39f9fe4f8e433b0140073f92b0735
4
+ data.tar.gz: 21df706b1a4f9dafbd3c8286113dea89cd476d292811cb1d2ba4f59a920d7d83
5
5
  SHA512:
6
- metadata.gz: f0a86b3fe0a3be72cf761c40e23ac869a65a177431699389daf8c2282d9136b443bc19e35650ab701c6b4261ddccbcb2ff53f2bf653b76e07e62dc8a82168495
7
- data.tar.gz: 0a6cd2977635c78779d9be386f82d9fb68e26e9fc30a230a314129589bfeb9342ecb59328a6291c5765ce4ea71a63bc1e68119ed3c0db2257afa54b21c85f480
6
+ metadata.gz: '07308e461f220bb9b2e41210a673a00cbcaac25856c00ba019999db97e978d6c8cc37b0125a4f49784edae8956e6c3759a11c5abbdd07e3cd74381969c9b243e'
7
+ data.tar.gz: 651bfdc62aaacac40908c807d59903bf09a866fccd4a80aa91e2c8d5cd0db0e24e39b5710329591e99263cf834ecfa2b1787fd55ff608727daec0c2c06856f9e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dji_mqtt_connect (0.1.13)
4
+ dji_mqtt_connect (0.1.13.1)
5
5
  activesupport (>= 6.0, <= 8)
6
6
  dry-struct (~> 1.6)
7
7
  dry-transformer (~> 1.0)
@@ -603,6 +603,27 @@ module DjiMqttConnect
603
603
  )
604
604
  end
605
605
 
606
+ def build_thing_product_cover_close_events_message
607
+ message_data = {
608
+ result: 0,
609
+ output: {
610
+ status: "in_progress",
611
+ progress: {
612
+ percent: 50
613
+ }
614
+ }
615
+ }
616
+
617
+ Thing::Product::CoverCloseEventsMessage.new(
618
+ bid: Message.generate_bid,
619
+ tid: Message.generate_tid,
620
+ timestamp: Message.current_timestamp,
621
+ _method: "cover_close",
622
+ data: message_data,
623
+ _data: message_data
624
+ )
625
+ end
626
+
606
627
  def build_thing_product_cover_open_services_reply_message
607
628
  message_data = {
608
629
  result: 0,
@@ -621,6 +642,27 @@ module DjiMqttConnect
621
642
  )
622
643
  end
623
644
 
645
+ def build_thing_product_cover_open_events_message
646
+ message_data = {
647
+ result: 0,
648
+ output: {
649
+ status: "in_progress",
650
+ progress: {
651
+ percent: 60
652
+ }
653
+ }
654
+ }
655
+
656
+ Thing::Product::CoverOpenEventsMessage.new(
657
+ bid: Message.generate_bid,
658
+ tid: Message.generate_tid,
659
+ timestamp: Message.current_timestamp,
660
+ _method: "cover_open",
661
+ data: message_data,
662
+ _data: message_data
663
+ )
664
+ end
665
+
624
666
  def build_thing_product_debug_mode_close_services_reply_message
625
667
  message_data = {
626
668
  result: 0,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DjiMqttConnect
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.13.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dji_mqtt_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sphere Drones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport