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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/botbase-module-rsc.rb +5 -3
- 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: 5863daa51f78787f07252bd6af57f446e87e86e8
|
4
|
+
data.tar.gz: 39446f53d53ded445445db47901cf45da38d225b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d0a07b54d34a933d83f1f13e92a12a3bc42aa4d01a2fce200600a745fed5429340186789a5a3c5ea0fd9d480bea9df45ef67201c58cde84b6a1e832a309ea0
|
7
|
+
data.tar.gz: 2adba3d1e778c753949bdf9e3f6515e506f2bfdec5de239d0c35ca19c4bc806b84c598bb3ba336ace941629d7f6f4e9a43fbdfa4668ae35473187656e7251daa
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/botbase-module-rsc.rb
CHANGED
@@ -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),
|
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
|
-
|
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.
|
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-
|
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
|