botbase 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/botbase.rb +2 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42925559bf87853906139d784dac282989f92e23
|
4
|
+
data.tar.gz: d34b8c7a78104b567e4f0fd854f344d0913c718e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e311320b1ffd1504b15f85af4a002558dbe611fbda3be282e9d053c2fa84d8dd4de4ab0d44cfda62bfb6aa3e6408764227bdf7c016c3d696b761b7881db40c12
|
7
|
+
data.tar.gz: 8a0f1a91dec90e789c9a9676137c6647d5f1df8ccff3de1567edd0a18bbf917bfbef441ddc0b7455e716e7ff67c4f443a8b1fba105cf2e293edeed8546547a3c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/botbase.rb
CHANGED
@@ -26,7 +26,7 @@ class BotBase
|
|
26
26
|
|
27
27
|
end
|
28
28
|
|
29
|
-
def received(sender='user01', msg, mode: :voicechat)
|
29
|
+
def received(sender='user01', msg, mode: :voicechat, echo_node: 'node1')
|
30
30
|
|
31
31
|
msg.rstrip!
|
32
32
|
self.restart if msg == @botname + ' restart'
|
@@ -34,7 +34,7 @@ class BotBase
|
|
34
34
|
r = nil
|
35
35
|
|
36
36
|
msg_recognised = @modules.detect do |m|
|
37
|
-
r = m.query(msg, mode: mode); r and r.length > 0
|
37
|
+
r = m.query(msg, mode: mode, echo_node: echo_node); r and r.length > 0
|
38
38
|
end
|
39
39
|
|
40
40
|
return r if msg_recognised
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: botbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
geqYGl52TQMJdtPalCLoH9OSisufD1RK2ECpfXLgoL0hUX9PWk72/FKyb49bB6j5
|
32
32
|
hrQJg0Cu1Hrz3Q==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-
|
34
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: simple-config
|
metadata.gz.sig
CHANGED
Binary file
|