yaesu 0.0.6.alpha → 1.0.0.beta

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: e2cb0655f7feaea07892843932de02f73af23954338accffffc72d778bdae8aa
4
- data.tar.gz: 3a078934931706751bd1266cf53ae8cb60983e1ffe9cbec41bd2e9b828a34d57
3
+ metadata.gz: 52df524d9c78f69cd9a57fb17bb3a3b0b6a6561e3942561b2b14664473ee4527
4
+ data.tar.gz: c42fa530a77167d32465c55d2113c733bef3b0b17a2709376a774a6d5a317b52
5
5
  SHA512:
6
- metadata.gz: 664f22ec3a4926183c4d0d09e38f6398475d34b72dc942afae3570a6cf5f695c5ac738ddc54283407b0231c92bb0f061517e1013087af8c89bcae5e30a527e91
7
- data.tar.gz: 39ddd918444070bce9dce5bd7320205e3ffc12de6f3c620e6e818e257a310b97e9de7c0bb9aa64119b3bd840a5af6f3bdf0ef6301843fdc452448cf248d7d765
6
+ metadata.gz: c8f1fc4e839d9b7a169119f992dee67db198009cb5f7d30d78ff7f5f8287707b6a066722d7b1265c88091b586e7c3c6b1d6a54805a3da80350c2ce863fd9e53d
7
+ data.tar.gz: 270b669a78189a9cd747a216061c5d53a0f4c4f7d50b2d59a322752ac38795f0f1491d107710346f86d5d5fb3ecbbca9cc73ca72f1d717fbe7177b442b1ae506
data/exe/yaesu CHANGED
@@ -22,7 +22,7 @@ module Yaesu
22
22
  end
23
23
  end
24
24
  desc "transmit ON DATA", "Transmit ON DATA"
25
- def transmit(on,data)
25
+ def transmit(on,event,data)
26
26
  Yaesu.transmit on: on, data: data
27
27
  end
28
28
  desc "reset CHANNEL", "reset CHANNEL"
data/lib/yaesu.rb CHANGED
@@ -14,8 +14,8 @@ require_relative "yaesu/version"
14
14
 
15
15
  module Yaesu
16
16
  class Error < StandardError; end
17
- def self.transmit on:, data:
18
- Ost[on] << {uid: UUID.new.generate, payload: data}.to_msgpack
17
+ def self.transmit on:, event:, data:
18
+ Ost[on] << {uid: UUID.new.generate,event:event, data: data}.to_msgpack
19
19
  end
20
20
  def self.listen name:, on:
21
21
 
data/lib/yaesu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yaesu
4
- VERSION = "0.0.6.alpha"
4
+ VERSION = "1.0.0.beta"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaesu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.alpha
4
+ version: 1.0.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coco Coder