botbase-module-rsc 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/botbase-module-rsc.rb +17 -6
- metadata +31 -28
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 352c9051d97529ae1927e641b71d2a0e09112fed5eedaa112b179db8c97507f1
|
4
|
+
data.tar.gz: c6aba013aa56bc8a94ec1e4d16478903fdb1c0f613dc1419e1ecb2916773db78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 993953e15ed919e9ae6be76e498732e8414e99325701d1cc82e32363635d29f0d89901da8b149e29a2ad124000c626a8eb48e94a8ee18b5592b9e1f0627e7cee
|
7
|
+
data.tar.gz: 4d3ae0082ade8454b0a91e12d2c59c7308fdb3dcc7d4c64b29d197ca5c688a093d12916af3d67e8b50e1ffbcb1f12dcbb76cdc40620753ee46a27177a7d647b9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/botbase-module-rsc.rb
CHANGED
@@ -9,16 +9,27 @@ require 'rsc'
|
|
9
9
|
|
10
10
|
class BotBaseModuleRSC
|
11
11
|
|
12
|
-
def initialize(host: nil,
|
13
|
-
|
12
|
+
def initialize(host: nil, package: :gg, job: :execute_command,
|
13
|
+
callback: nil, debug: false)
|
14
14
|
|
15
|
-
@package, @job = RSC.new(host,
|
15
|
+
@package, @job, @bot, @debug = RSC.new(host, debug: debug).send(package),
|
16
|
+
job, callback, debug
|
16
17
|
|
17
18
|
end
|
18
19
|
|
19
|
-
def query(sender='user01', s, mode: :textchat)
|
20
|
+
def query(sender='user01', s, mode: :textchat, echo_node: 'node1')
|
21
|
+
|
20
22
|
r = @package.method(@job).call String.new(s)
|
21
|
-
|
23
|
+
|
24
|
+
if r == 'job not found' then
|
25
|
+
|
26
|
+
@bot.log.debug 'BotBaseModuleRSC/query: job not found ' + s if @bot.log
|
27
|
+
|
28
|
+
[]
|
29
|
+
else
|
30
|
+
r
|
31
|
+
end
|
32
|
+
|
22
33
|
end
|
23
34
|
|
24
|
-
end
|
35
|
+
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.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
+
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjAwNzAxMTIwMTM5WhcN
|
15
|
+
MjEwNzAxMTIwMTM5WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDLY5nt
|
17
|
+
PCNutdFeQfLSe/VUsjpWZGKrfT8HZB2nUKPOJ8wrKH2u5TQyz89Oc2lr8GinjqJo
|
18
|
+
bfu5l1YRG0SRykK/jWBnsiQ15USvXjbu2aYAcCL/s5z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5gNarmI/gXu0yFOIqqfXH4Dx85iosuA1CcWernSk2AE30hRl9n9O+C1OFH0Kz
|
34
|
+
9MNSmalHBf+QDQy25eBfaz0bN0vzUbZTyFxz4Rn5ipZEEJvnooDuEIXnCojUYaNJ
|
35
|
+
fGtUym/v+zXq06ryi6NVubpAzFHb+lEpu3sCVNTOLVd+n8QAZRVEpnKK7djHeRm7
|
36
|
+
FRC70Vqa0B2EvISFytlN9SoK
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2020-07-01 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: rsc
|
@@ -39,20 +43,20 @@ dependencies:
|
|
39
43
|
requirements:
|
40
44
|
- - "~>"
|
41
45
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
46
|
+
version: '0.4'
|
43
47
|
- - ">="
|
44
48
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
49
|
+
version: 0.4.4
|
46
50
|
type: :runtime
|
47
51
|
prerelease: false
|
48
52
|
version_requirements: !ruby/object:Gem::Requirement
|
49
53
|
requirements:
|
50
54
|
- - "~>"
|
51
55
|
- !ruby/object:Gem::Version
|
52
|
-
version: '0.
|
56
|
+
version: '0.4'
|
53
57
|
- - ">="
|
54
58
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
59
|
+
version: 0.4.4
|
56
60
|
description:
|
57
61
|
email: james@jamesrobertson.eu
|
58
62
|
executables: []
|
@@ -79,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
83
|
- !ruby/object:Gem::Version
|
80
84
|
version: '0'
|
81
85
|
requirements: []
|
82
|
-
|
83
|
-
rubygems_version: 2.6.8
|
86
|
+
rubygems_version: 3.0.3
|
84
87
|
signing_key:
|
85
88
|
specification_version: 4
|
86
89
|
summary: A botbase gem service module to run remote RSF jobs using the Rsc gem.
|
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
��|f�s����c�C�"�����f�T�}�Bҡ�ƈ�ʂ*��Ӱ����%J�@�BJ0EX^cZ�#X�vT���E� k�6�t,��1L�9g� I�9kpw줥����0��ԕ:"�=��=*�wt����-?`_-�آ�Ws�ܓNN�+�6��b\�.=���T�;�?'�`�]��8���J�Z=Ou�ɻ����l_���P�'W�Pb.4�85�� #��c^AG�cN�p���bU����-��|�W�F3>6z\�ǻ��a�q}fd��7���NM�5H��p��N�v2+��hnѾA���HA����-��T�aH��S�z���GܥI]��Z'�/�j�yٚ��A���m����(ۏ��
|