botbase-module-rsc 0.3.2 → 0.3.3
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 +2 -1
- data.tar.gz.sig +0 -0
- data/lib/botbase-module-rsc.rb +9 -2
- metadata +18 -18
- 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: 57850f9678c45f5c87369297b9ad7b45b8fa1840
|
4
|
+
data.tar.gz: eb0707d80728a82a2d65e53319a91e1d7d6d5329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943a7797d38fb7d71c1d885fc44aba6c8d17ef5768396463bead3ccf04ca22b4638e0955c108ed6c975d637816b386df8b6ea15f81468a207bd99bbc6e06f435
|
7
|
+
data.tar.gz: ff3f1d4d94a1067a619df436d7748c9400b5364fd52284a087a3e529754f7647416495e69b64080c738bd871807471448f3f00cbeb55816926618714231f723d
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
R:p��e��9~jU��B�����܋�Kໞ�u(H�YY�2Zd�@��K��z����W�j �#-+�J�
|
2
|
+
#��p���U{�k
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/botbase-module-rsc.rb
CHANGED
@@ -10,7 +10,7 @@ require 'rsc'
|
|
10
10
|
class BotBaseModuleRSC
|
11
11
|
|
12
12
|
def initialize(host: nil, package_src: nil, package: :gg,
|
13
|
-
job: :execute_command)
|
13
|
+
job: :execute_command, callback: nil)
|
14
14
|
|
15
15
|
@package, @job = RSC.new(host, package_src).send(package), job
|
16
16
|
|
@@ -19,7 +19,14 @@ class BotBaseModuleRSC
|
|
19
19
|
def query(sender='user01', s, mode: :textchat, echo_node: 'node1')
|
20
20
|
r = @package.method(@job).call String.new(s)
|
21
21
|
#puts 'r: ' + r.inspect
|
22
|
-
|
22
|
+
|
23
|
+
if r == 'job not found' then
|
24
|
+
notice 'botbase/debug: module-conversation queried, found ' + found[0]
|
25
|
+
[]
|
26
|
+
else
|
27
|
+
r
|
28
|
+
end
|
29
|
+
|
23
30
|
end
|
24
31
|
|
25
32
|
end
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE3MTAxNDE2NTAxNVoXDTE4MTAxNDE2NTAxNVowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBANJqq0RYzwW/6v3M/OyWCimPkcUm2EGDqqCpCeAtCAd0GZgJkwgM7Y+pYXZ8
|
19
|
+
Z4r9mbev+l+MntnmICSb/RhX7icKil5tkp5E4J08IEyVybOJK4PTcPVyAcTG27Ug
|
20
|
+
DhU6kj39LziLfAsH4Q80OzBbKa+ahMCQnHhkoB6mewAXzXUA66g1cxjp4WpM1PeO
|
21
|
+
9R/k1VOwsM/fqfoftDIvcrTcdN9ciARxjxSflYXJvYTPpL4ctIiDEmzQXVLfkRAZ
|
22
|
+
zDa927JTT//wO2mOXfM4wx/PO+aI1nlV+tXWsexhOw9KRatBLfE7TK7GbAzJrKTA
|
23
|
+
VguvAP2L8KI6iNpuT3SRRSMFHS0CAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUQ6UkdQazH+hDt1l/+pQyvvTFcMAwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
+
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAPBhsZMqV
|
27
|
+
ezrbphXLncCXKqGo9pMTvc5rwIJJRkAB3prvgzq9+xQDUn0Hx3J/uawBIVP2fZMf
|
28
|
+
+HG4mmd7BVFhAfO0KHrxOk6Pkn7JFTQ9VFcFWQbfbT/wJh6s5nqmZP/cqge2+/bD
|
29
|
+
n0XtGhr1DV1uH+dVLuFKd2TvrqUxf2Jz7waHXHtPYxX/CHmvoibm+UF5jLp8YQK2
|
30
|
+
WC6OOa++SBznwtNB43TBYUw/E0dQ6autzLpa143SM4tDtZFzgCf3prKYRgxObPDX
|
31
|
+
R6iJ8Lyx8MkuaduMD6rauZJPJJ8N1ZCez/7DLUrnFtuHc43HtnSivaG3GMFFuflf
|
32
|
+
nim+bhHZ9gMt0g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-
|
34
|
+
date: 2017-10-14 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rsc
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.6.
|
83
|
+
rubygems_version: 2.6.13
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: A botbase gem service module to run remote RSF jobs using the Rsc gem.
|
metadata.gz.sig
CHANGED
Binary file
|