yaesu 1.1.1.beta → 1.1.2.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.data/poop.dir +0 -0
- data/.data/poop.pag +0 -0
- data/Gemfile.lock +1 -1
- data/bin/console +1 -1
- data/lib/yaesu.rb +4 -2
- data/lib/yaesu/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7cef539cd6bc3ffb80a9ecfb9f7461b7bb2aab8891afe9344910b5ffd9e11aa
|
4
|
+
data.tar.gz: ce6a9b5cf81c10ddb63f5d36148744a95a44b4886fd3f4694f0ea2b3a62bfbcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4de16486dad915b6038a4911a4c9f51a3c8d2af7f1eaa15f73dc7a5aaedf450ea8151114ea3f83625a7e11699acf8988b2e147e6e7aa3ef0e7b6879993ec3994
|
7
|
+
data.tar.gz: 242ea2c98c9f6c1a9c73fd94458dd26f13d2cb1ca50b53e58d786b7967e4ab64e0ca4387149f798c9dbfb55841842a024cb23bb3a5ed6d0d75bdf6576caa01bc
|
data/.data/poop.dir
ADDED
File without changes
|
data/.data/poop.pag
ADDED
File without changes
|
data/Gemfile.lock
CHANGED
data/bin/console
CHANGED
data/lib/yaesu.rb
CHANGED
@@ -34,7 +34,9 @@ module Yaesu
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.listen!
|
37
|
-
self.listen name:Yaesu.configuration.name, on: Yaesu.configuration.channel
|
37
|
+
self.listen name:Yaesu.configuration.name, on: Yaesu.configuration.channel do |msg|
|
38
|
+
yield msg if block_given?
|
39
|
+
end
|
38
40
|
end
|
39
41
|
|
40
42
|
def self.listen name:, on:
|
@@ -51,7 +53,7 @@ module Yaesu
|
|
51
53
|
message =OpenStruct.new(o)
|
52
54
|
next if db.has_key? message.uid
|
53
55
|
begin
|
54
|
-
yield message if block_given?
|
56
|
+
yield message if block_given?
|
55
57
|
db[message.uid] = message.payload
|
56
58
|
rescue => exception
|
57
59
|
p exception
|
data/lib/yaesu/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.2.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coco Coder
|
@@ -116,6 +116,8 @@ executables:
|
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
|
+
- ".data/poop.dir"
|
120
|
+
- ".data/poop.pag"
|
119
121
|
- ".gitignore"
|
120
122
|
- ".ruby-version"
|
121
123
|
- Gemfile
|