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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c49f48d9068f6671537fbc4b3d918d20000b9db4
4
- data.tar.gz: c06f85abe4019c35066b3306425848e027a9cb9c
3
+ metadata.gz: 42925559bf87853906139d784dac282989f92e23
4
+ data.tar.gz: d34b8c7a78104b567e4f0fd854f344d0913c718e
5
5
  SHA512:
6
- metadata.gz: 1e40e2b91ee40ad574ae5ae08778d6c5df2a068fedfd6ac97c70fa15fc5a346b14836906841d5850dce914825f2451039dc72b37a5804bc2decd80bff3a2ae71
7
- data.tar.gz: 4fc7f28b12980b0a0efc23ab19af8c5f32ce5206dd83ad024c27fcd50fa1eb140d83f3e83af143adbd42ea88b3471b95143b9e6a53624b8cf09eb61296c0eeec
6
+ metadata.gz: e311320b1ffd1504b15f85af4a002558dbe611fbda3be282e9d053c2fa84d8dd4de4ab0d44cfda62bfb6aa3e6408764227bdf7c016c3d696b761b7881db40c12
7
+ data.tar.gz: 8a0f1a91dec90e789c9a9676137c6647d5f1df8ccff3de1567edd0a18bbf917bfbef441ddc0b7455e716e7ff67c4f443a8b1fba105cf2e293edeed8546547a3c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
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-05-08 00:00:00.000000000 Z
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