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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58691205e330ecd92ad69dc7a786ac83520add7dc5bc634e25b8ee372335dc62
4
- data.tar.gz: 927d198941c6c0aa610bf8b82108248b776a24c2c38894faf3fdc7f1e2463889
3
+ metadata.gz: c7cef539cd6bc3ffb80a9ecfb9f7461b7bb2aab8891afe9344910b5ffd9e11aa
4
+ data.tar.gz: ce6a9b5cf81c10ddb63f5d36148744a95a44b4886fd3f4694f0ea2b3a62bfbcb
5
5
  SHA512:
6
- metadata.gz: 785de5a6431c3f6b3fd48e85434fdd2c666a435fbb6de8f2245f49f4f2181465d8e35f5756952e793a582b507cb7ad8987e01438f8fbbe18e6b1cac99b0adca6
7
- data.tar.gz: 981687fd60d5a27d0684ecf9ed572e4485f2a41b6b2ca349e7760a4989eaa76604611ec95042617565443406be2f2c7d28ef4427446f4e29e9f2da9a468ea526
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yaesu (1.0.3.beta)
4
+ yaesu (1.1.1.beta)
5
5
  msgpack
6
6
  ohm
7
7
  ost
data/bin/console CHANGED
@@ -16,7 +16,7 @@ require "yaesu"
16
16
 
17
17
  Yaesu.configure do |config|
18
18
  config.name = "poop"
19
- config.channel ="delane.burke.me.com"
19
+ config.channel ="so.fa.dog"
20
20
  end
21
21
 
22
22
  Yaesu.listen! do |msg|
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yaesu
4
- VERSION = "1.1.1.beta"
4
+ VERSION = "1.1.2.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.1.1.beta
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