botbase-module-rsc 0.3.3 → 0.3.4

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: 57850f9678c45f5c87369297b9ad7b45b8fa1840
4
- data.tar.gz: eb0707d80728a82a2d65e53319a91e1d7d6d5329
3
+ metadata.gz: 5863daa51f78787f07252bd6af57f446e87e86e8
4
+ data.tar.gz: 39446f53d53ded445445db47901cf45da38d225b
5
5
  SHA512:
6
- metadata.gz: 943a7797d38fb7d71c1d885fc44aba6c8d17ef5768396463bead3ccf04ca22b4638e0955c108ed6c975d637816b386df8b6ea15f81468a207bd99bbc6e06f435
7
- data.tar.gz: ff3f1d4d94a1067a619df436d7748c9400b5364fd52284a087a3e529754f7647416495e69b64080c738bd871807471448f3f00cbeb55816926618714231f723d
6
+ metadata.gz: 92d0a07b54d34a933d83f1f13e92a12a3bc42aa4d01a2fce200600a745fed5429340186789a5a3c5ea0fd9d480bea9df45ef67201c58cde84b6a1e832a309ea0
7
+ data.tar.gz: 2adba3d1e778c753949bdf9e3f6515e506f2bfdec5de239d0c35ca19c4bc806b84c598bb3ba336ace941629d7f6f4e9a43fbdfa4668ae35473187656e7251daa
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -12,16 +12,18 @@ class BotBaseModuleRSC
12
12
  def initialize(host: nil, package_src: nil, package: :gg,
13
13
  job: :execute_command, callback: nil)
14
14
 
15
- @package, @job = RSC.new(host, package_src).send(package), job
15
+ @package, @job, @bot = RSC.new(host, package_src).send(package),
16
+ job, callback
16
17
 
17
18
  end
18
19
 
19
20
  def query(sender='user01', s, mode: :textchat, echo_node: 'node1')
20
21
  r = @package.method(@job).call String.new(s)
21
- #puts 'r: ' + r.inspect
22
22
 
23
23
  if r == 'job not found' then
24
- notice 'botbase/debug: module-conversation queried, found ' + found[0]
24
+
25
+ @bot.log.debug 'BotBaseModuleRSC/query: job not found ' + s if @bot.log
26
+
25
27
  []
26
28
  else
27
29
  r
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botbase-module-rsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  R6iJ8Lyx8MkuaduMD6rauZJPJJ8N1ZCez/7DLUrnFtuHc43HtnSivaG3GMFFuflf
32
32
  nim+bhHZ9gMt0g==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-10-14 00:00:00.000000000 Z
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