botbase-module-conversation 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2873f1fb771a30ad2e89eeb2250ef8a97721a59b
4
- data.tar.gz: b211cc472fff880291df3986aa11cec570745845
3
+ metadata.gz: fad671012ac294ef9372a4f15e6b5859b543de3b
4
+ data.tar.gz: ed2542629135cfeb2873b2fa26adf9315237f22f
5
5
  SHA512:
6
- metadata.gz: 8efda6e171278818f5f385993349def28ed28a179600c3187cab5383b3d5a37c8d117f5506484527947164bc38c54c02bc178f3526b6e3f9ee2540445b2cc226
7
- data.tar.gz: f65fd273d9624db4ccf4ec335909e08453bdf079e73cc05c85441e8964348f56983cf45c9e16cc31dd827b7ff277eafefebbb753b773ae639b53c0f424c0f7b7
6
+ metadata.gz: f64f8390d91cd5bbb19f1623978d17170172925a0d0fd20d4297b8276811161a096fb9a7cd597825ac55d08f63d9b2a9fdd959a568ebba0c0466731348e236a4
7
+ data.tar.gz: '019f83049243cf13feb7509ef13942390700189e7fa1ad665ccd44db9f86d0a4c8f514340489df0836a81aeb4868535ff9cfe5781960430993b88e8a4d95a5cf'
checksums.yaml.gz.sig CHANGED
Binary file
@@ -20,19 +20,20 @@ class BotBaseModuleConversation
20
20
  a = run(default_package, default_job)
21
21
 
22
22
  @doc = Rexle.new("<conversations/>")
23
- puts 'adding phrases : ' + a.inspect
23
+ #puts 'adding phrases : ' + a.inspect
24
24
  add_phrases(a)
25
25
 
26
26
  end
27
27
 
28
- def query(sender='user01', said, mode: :voicechat)
29
- puts 'said: ' + said.inspect
28
+ def query(sender='user01', said, mode: :voicechat, echo_node: 'node')
29
+
30
+ #puts 'said: ' + said.inspect
30
31
 
31
32
  found = @phrases.detect {|pattern, _| said =~ /#{pattern}/i }
32
33
 
33
34
  if found then
34
35
 
35
- puts 'found: ' +found.inspect
36
+ #puts 'found: ' +found.inspect
36
37
 
37
38
  package, job = found.last.split
38
39
 
data.tar.gz.sig CHANGED
Binary file
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
4
+ version: 0.1.5
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-04-29 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: rsc
metadata.gz.sig CHANGED
Binary file