botbase-module-conversation 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +3 -1
- data/lib/botbase-module-conversation.rb +4 -6
- 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: 3aeba4187a5f280d4d63fa47f48cdaa7a5fa88ab
|
|
4
|
+
data.tar.gz: f159f665681308c6f21d1c0a9bcf1fb661041a92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2872c84dccde1cade23c49cdd85cc250e86ab9640c57645894af3ab9d652027affa5072ac476bb5278bac986d0358719ee2c8a351e7fa37431edc001f971981b
|
|
7
|
+
data.tar.gz: 13fa51551d4ec34bdc6aff2ac1a30d190f9040566cd119f23ae4ebd18032d79d226ce82d55f396c2db3af61a2e62dbf9482a9a29a829c9dd596677e232254002
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
r�R
|
|
1
|
+
(yD���S�����\4
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
��~%�*�܈�\ɮ��HM1������\�F�z_2
|
|
2
|
+
�f�������&�B�/�Dq?����4�I('?�
|
|
3
|
+
�/�Z��D�ͫ'�R&y�[�"�����M��k�JSb�A�H<�i=��{%3O���4r�!���d�O�ڭؿ�KՎ�w��a���tP/0*Q-��7%Y�}Y�j����m���c�h�5n��<2LR<.d
|
|
@@ -22,7 +22,6 @@ class BotBaseModuleConversation
|
|
|
22
22
|
@doc = Rexle.new("<conversations/>")
|
|
23
23
|
|
|
24
24
|
add_phrases(a)
|
|
25
|
-
|
|
26
25
|
|
|
27
26
|
end
|
|
28
27
|
|
|
@@ -32,7 +31,10 @@ class BotBaseModuleConversation
|
|
|
32
31
|
|
|
33
32
|
if found then
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
if @bot.log then
|
|
35
|
+
@bot.log.info "BotBaseModuleConversation/query:" +
|
|
36
|
+
" found %s in response to %s" % [found[0], said]
|
|
37
|
+
end
|
|
36
38
|
|
|
37
39
|
package, job = found.last.split
|
|
38
40
|
|
|
@@ -83,10 +85,6 @@ class BotBaseModuleConversation
|
|
|
83
85
|
answer
|
|
84
86
|
end
|
|
85
87
|
|
|
86
|
-
def notice(msg)
|
|
87
|
-
@bot.debug msg if @bot
|
|
88
|
-
end
|
|
89
|
-
|
|
90
88
|
def run(package, job, h={})
|
|
91
89
|
@rsc.send(package.to_sym).method(job.to_sym).call(h)
|
|
92
90
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: botbase-module-conversation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
aNO/RQYUa1Pqx9RMIGgZIeQPtuaxxfqQ6uiq/S5GWoIKIDOmES69g981bASbOtYs
|
|
32
32
|
geN7Uzk3bTsKxA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2017-10-
|
|
34
|
+
date: 2017-10-29 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rsc
|
metadata.gz.sig
CHANGED
|
Binary file
|