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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: '089f7aa3b4e52af8f4cd96e9bd955cc4710a6c65'
4
- data.tar.gz: da71cb6c50912703a5342dc822cb5674580b8559
2
+ SHA256:
3
+ metadata.gz: 352c9051d97529ae1927e641b71d2a0e09112fed5eedaa112b179db8c97507f1
4
+ data.tar.gz: c6aba013aa56bc8a94ec1e4d16478903fdb1c0f613dc1419e1ecb2916773db78
5
5
  SHA512:
6
- metadata.gz: b09c2dac7af53a8629c0332d80f065419eadef68ad35241866d1de34e693925548200e016aa46bd9774f03b744ab7b64c3cd9b4a055c4e1c45d59e2d78cc763d
7
- data.tar.gz: ecf74156328b273144c6b35940d149e2a0406e01e02b9f204c9ae0b4aaf68b7af7a5828ede3918e65ce69083d42e5d9adf86f48818f0b232c7ace7883469b4e6
6
+ metadata.gz: 993953e15ed919e9ae6be76e498732e8414e99325701d1cc82e32363635d29f0d89901da8b149e29a2ad124000c626a8eb48e94a8ee18b5592b9e1f0627e7cee
7
+ data.tar.gz: 4d3ae0082ade8454b0a91e12d2c59c7308fdb3dcc7d4c64b29d197ca5c688a093d12916af3d67e8b50e1ffbcb1f12dcbb76cdc40620753ee46a27177a7d647b9
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -9,16 +9,27 @@ require 'rsc'
9
9
 
10
10
  class BotBaseModuleRSC
11
11
 
12
- def initialize(host: nil, package_src: nil, package: :gg,
13
- job: :execute_command)
12
+ def initialize(host: nil, package: :gg, job: :execute_command,
13
+ callback: nil, debug: false)
14
14
 
15
- @package, @job = RSC.new(host, package_src).send(package), job
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
- r == 'job not found' ? nil : r
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.3.1
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE2MDcyNzE4NDczM1oXDTE3MDcyNzE4NDczM1owSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBALm7CDcqdSm53w/ZeGTiJvmVBOwg6fx99Kvv8BJu07g5LlP1hbH0blYs2fS3
19
- 72QZpNc0sNkBCcokrTald5xRqcVD2CC64ic3u/25PBJlxo1zBBNhny/1P9kRcxss
20
- PGxrZa0MUTcuBX9XNbuqCXkGF07tLCY+d1xrcbaeMupTG995TYo3MZx3+VHMWyWC
21
- lCWLR3y2zZl4ZcTdB13NYvfpo3TIOADR4UPBr4kIj8C5gOsEpPi6BN/N56XiVLwI
22
- tBdccQwFESS3Gzj5xd1lVba3upKslT0FL3GRv3+3oV7KHvzTkqrGN7zIWE2YlZ4G
23
- 8xcEDgusZm6WRfhmw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JvnooDuEIXnCojUYaNJ
35
+ fGtUym/v+zXq06ryi6NVubpAzFHb+lEpu3sCVNTOLVd+n8QAZRVEpnKK7djHeRm7
36
+ FRC70Vqa0B2EvISFytlN9SoK
33
37
  -----END CERTIFICATE-----
34
- date: 2017-04-30 00:00:00.000000000 Z
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.2'
46
+ version: '0.4'
43
47
  - - ">="
44
48
  - !ruby/object:Gem::Version
45
- version: 0.2.2
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.2'
56
+ version: '0.4'
53
57
  - - ">="
54
58
  - !ruby/object:Gem::Version
55
- version: 0.2.2
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
- rubyforge_project:
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
- ���8�.�\� ��i.���>�p~��tD3��N)��|V:{%�W��D��c�01�-�N��;����n}��ʱQoK@ %�gA��⇡����/h#z6��L���T�p�?0��J���r���.[Va"��KW��-��"DlkpWή�ӥ�+���(|�<�[���@�mΤ��0�� RzlV;Y���A!�m��l���.E�~�o}6�������a��U|���K�{p��_v��a���zB�<
1
+ ��|f�s����c�C�"�����f�T�}�Bҡ�ƈ�ʂ*� �Ӱ����%J�@�BJ0EX^cZ�#X�vT���E� k�6�t ,�� 1L9g� I�9kpw줥����0��ԕ:"�=��=*�wt����-?`_-�آ�Ws�ܓNN�+�6��b\�.=���T�;�?'�`�] �8���J�Z=Ou�ɻ����l_���P'WPb.4�85�� #��c^AGcNp���bU����-��|�WF3>6z\�ǻ��a�q}fd��7���NM�5H��p��Nv2+��hnѾA���HA����-��T�aH��S�z���GܥI]��Z'�/�j�yٚ��A���m����(ۏ��