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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 997fde6fbb396a89fc408bc8b8c385e45f320910
4
- data.tar.gz: edf62ddaa33283491c710ad6ca50dfbc43425505
3
+ metadata.gz: 57850f9678c45f5c87369297b9ad7b45b8fa1840
4
+ data.tar.gz: eb0707d80728a82a2d65e53319a91e1d7d6d5329
5
5
  SHA512:
6
- metadata.gz: 0d4a811f33d08e0b4b0a0cb828447321299b40031898512607f6ca223d6b59326a04043342a84bc15e08009512c81c2fcd593320560058a2a064e12f36a0d83c
7
- data.tar.gz: f9208628c0cb08534f63750206d33262e83a27b49a13e2a7a90c3cf7970367ee75612eef0dd1fd551834dc35f749248a7b2ad4c7eea19d97eced4becc094b4c9
6
+ metadata.gz: 943a7797d38fb7d71c1d885fc44aba6c8d17ef5768396463bead3ccf04ca22b4638e0955c108ed6c975d637816b386df8b6ea15f81468a207bd99bbc6e06f435
7
+ data.tar.gz: ff3f1d4d94a1067a619df436d7748c9400b5364fd52284a087a3e529754f7647416495e69b64080c738bd871807471448f3f00cbeb55816926618714231f723d
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ]-�bo(ϿㄧI��$M�Ł��˵
1
+ R:p��e��9~jU��B�����܋�Kໞ�u(HYY�2Zd�@��K��z����W�j �#-+�J�
2
+ #��p���U{�k
data.tar.gz.sig CHANGED
Binary file
@@ -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
- r == 'job not found' ? [] : r
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.2
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
- 8ixkARkWAmV1MB4XDTE2MDcyNzE4NDczM1oXDTE3MDcyNzE4NDczM1owSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE3MTAxNDE2NTAxNVoXDTE4MTAxNDE2NTAxNVowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBALm7CDcqdSm53w/ZeGTiJvmVBOwg6fx99Kvv8BJu07g5LlP1hbH0blYs2fS3
19
- 72QZpNc0sNkBCcokrTald5xRqcVD2CC64ic3u/25PBJlxo1zBBNhny/1P9kRcxss
20
- PGxrZa0MUTcuBX9XNbuqCXkGF07tLCY+d1xrcbaeMupTG995TYo3MZx3+VHMWyWC
21
- lCWLR3y2zZl4ZcTdB13NYvfpo3TIOADR4UPBr4kIj8C5gOsEpPi6BN/N56XiVLwI
22
- tBdccQwFESS3Gzj5xd1lVba3upKslT0FL3GRv3+3oV7KHvzTkqrGN7zIWE2YlZ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iPvmxJQ6hD6cE3nR4YeJLzQcEijzc1fGKFOBVtVpZY/XAVSZ
32
- +blMfGy51/PeYg==
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-07-17 00:00:00.000000000 Z
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.8
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