yaesu 0.0.2.alpha → 0.0.3.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaesu.rb +3 -1
- data/lib/yaesu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4c5f1308c086b97a5a83dcfb379a28fcf18c19d32b0dde85dc76d4fa3682569
|
4
|
+
data.tar.gz: 2fa4568600549cf5b4795e12a56a6a01fd771dbc34e7623dd893772bc8cce686
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e8d1db910c519983c50e0205689a651527debefc6c5192ded8942e0aebb9c5dcfae965e4192813f1260fb387922b4d6b83d085b5bae0379e10001e0943fe73
|
7
|
+
data.tar.gz: 531cf11cd06e4cf65ac5fb7ea8860b048a8b79eaadc1c9080a86e66853dc35f88a76d73ede598a9ff93d7e5707e13f7042d29f748416ff7ef686278f58b85385
|
data/lib/yaesu.rb
CHANGED
@@ -12,7 +12,9 @@ require_relative "yaesu/version"
|
|
12
12
|
|
13
13
|
module Yaesu
|
14
14
|
class Error < StandardError; end
|
15
|
-
|
15
|
+
def self.transmit on:, data:
|
16
|
+
Ost[on] << {uid: UUID.new.generate, payload: data}.to_msgpack
|
17
|
+
end
|
16
18
|
def self.listen name:, on:
|
17
19
|
|
18
20
|
FileUtils.mkdir_p(".data/#{name}") unless Dir.exists? ".data"
|
data/lib/yaesu/version.rb
CHANGED