yaesu 1.0.2.beta → 1.0.3.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/yaesu +15 -0
- 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: 3ab00e14099e0e558dce2b7a8584cff3f54b93cf03ff69f8dab50e18c51dbb2f
|
4
|
+
data.tar.gz: 207ef0ce0e6ba9ed1017815e6e4d5dcc233fbf087df3164cef33576c723fc64c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d89e616f9fc5f15019956dcb2550623e9af79394201f788fc7a0af1399edb3d2af737d5efcd3a9e1f66bc21d0ddb74d10c32c9a7f7d69994a76c648f601c7e9c
|
7
|
+
data.tar.gz: be12ce66a27ef201107244a99ee81b4a53b481e5f525857caca53405210c5b96896300532c4521d7b7579fd126da51c685f900fb4fb1f8858354057ab362c551
|
data/exe/yaesu
CHANGED
@@ -26,6 +26,21 @@ module Yaesu
|
|
26
26
|
puts ""
|
27
27
|
end
|
28
28
|
end
|
29
|
+
|
30
|
+
desc "channels", "summary of channels"
|
31
|
+
def channels
|
32
|
+
puts ""
|
33
|
+
rows = []
|
34
|
+
columns = ['Name','Total']
|
35
|
+
Ost.redis.call("KEYS","*ost*").each do |key|
|
36
|
+
rows << [key.gsub("ost:",""),Ost[key.gsub("ost:","")].size]
|
37
|
+
end
|
38
|
+
|
39
|
+
table = Terminal::Table.new :headings => columns, :rows => rows
|
40
|
+
puts table
|
41
|
+
puts ""
|
42
|
+
end
|
43
|
+
|
29
44
|
desc "transmit ON EVENT DATA", "Transmit ON EVENT DATA"
|
30
45
|
def transmit(on,event,data)
|
31
46
|
Yaesu.transmit on: on, event: event, data: data
|
data/lib/yaesu/version.rb
CHANGED