yaesu 1.0.2.beta → 1.0.3.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/yaesu +15 -0
  3. data/lib/yaesu/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce0649625d3ab0cfa7eda5a740067be65bb2de4a8ec04cfb7298e437942d6af8
4
- data.tar.gz: eacd193288e25da3325c25f213cdaf13b8c49f88d974d52e322845066828f3c7
3
+ metadata.gz: 3ab00e14099e0e558dce2b7a8584cff3f54b93cf03ff69f8dab50e18c51dbb2f
4
+ data.tar.gz: 207ef0ce0e6ba9ed1017815e6e4d5dcc233fbf087df3164cef33576c723fc64c
5
5
  SHA512:
6
- metadata.gz: 8f9475c9f2eda96a666a756502589f28e22b343e0c1b52c2523574644c02a97a13c20ce164862d53adc82373b093241c5c253ea9f25538a1aa6cfad2710cbf4d
7
- data.tar.gz: 99173c31d60765e442dde7c0ece34aeb5158bb297a22bfeb9a6695aede114a567b3c01a454a575e7ea27203fca4024852f87427168a9de24998ca64a2c50d5fe
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yaesu
4
- VERSION = "1.0.2.beta"
4
+ VERSION = "1.0.3.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: 1.0.2.beta
4
+ version: 1.0.3.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coco Coder