sps_bot 0.2.1 → 0.2.2
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/sps_bot.rb +5 -4
- metadata +33 -30
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 743164478c29fb5ab9478186fc01883827e5d61d8e3d76a9f7cb0a5ea61238de
|
4
|
+
data.tar.gz: 1c4ab1f191e5db3f9d5cd570af31e13f49ee73c4b6c389cadb8995e058c547bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d5a0195faefe597fcc6620282b89cd91f2d7c6143746d8483e46d5a9b3c062a711b36dd4cdcc8cd32f06b3c3bba4b2e1d29dc87d75916b449ad32da9cd80a7e
|
7
|
+
data.tar.gz: de4d1e1fa1e80987917091f67f2571be18a97de53743d4337c6c14f6d78462ec3083b8e302050594ddd8633fe38212c0d9e67e7b8ebb0d84d88196c82cf84df1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/sps_bot.rb
CHANGED
@@ -8,11 +8,12 @@ require 'botbase'
|
|
8
8
|
|
9
9
|
class SpsBot < SPSChat
|
10
10
|
|
11
|
-
def initialize(host: '127.0.0.1', port: '8080', userid: 'bot',
|
12
|
-
config: nil, typing_mode: false
|
11
|
+
def initialize(host: '127.0.0.1', port: '8080', userid: 'bot',
|
12
|
+
room: '', config: nil, typing_mode: false,
|
13
|
+
drb: {host: 'bot.home', port: '60600'})
|
13
14
|
|
14
15
|
super(host: host, port: port, userid: userid, room: room)
|
15
|
-
@bot = BotBaseDRbClient.new host:
|
16
|
+
@bot = BotBaseDRbClient.new host: drb[:host], port: drb[:port]
|
16
17
|
|
17
18
|
@typing_mode = typing_mode
|
18
19
|
|
@@ -30,4 +31,4 @@ class SpsBot < SPSChat
|
|
30
31
|
|
31
32
|
end
|
32
33
|
|
33
|
-
end
|
34
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sps_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
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
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjAwNjI0MjIzNDM1WhcN
|
15
|
+
MjEwNjI0MjIzNDM1WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDh3fbF
|
17
|
+
pA7Dqsyrnf7THgRwObtb3NRQ8a6bf/wYbtVgL9whVwk7yhP/WCsqoKscnLCnqN+w
|
18
|
+
gbtrgBm1AXCJdjxdBCSgIRquHp+dwMcO9d71OTlVEm000IYlj4zrisbOVYEomlJN
|
19
|
+
Rev2hz8ovI2BKii3GOCbnEQYtBiqZwiW9AnXk2TK9XUNXT6/BYtbC/iGls7ZmNUd
|
20
|
+
DPaStrxJnwt/jIa41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TBvrEFoaaTUMU6FdaLwFUoKpWMY7N8r5d3qazrEh4/xH31G89wjG/DOWEKeMNVH
|
36
|
+
bdjl4ulI9s7CFQB9/49NM15+
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2020-06-24 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: sps_chat
|
@@ -57,22 +61,22 @@ dependencies:
|
|
57
61
|
name: botbase
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.1'
|
63
64
|
- - ">="
|
64
65
|
- !ruby/object:Gem::Version
|
65
66
|
version: 0.1.0
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.1'
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
|
-
- - "~>"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0.1'
|
73
74
|
- - ">="
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: 0.1.0
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.1'
|
76
80
|
description:
|
77
81
|
email: james@jamesrobertson.eu
|
78
82
|
executables: []
|
@@ -99,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
103
|
- !ruby/object:Gem::Version
|
100
104
|
version: '0'
|
101
105
|
requirements: []
|
102
|
-
|
103
|
-
rubygems_version: 2.6.8
|
106
|
+
rubygems_version: 3.0.3
|
104
107
|
signing_key:
|
105
108
|
specification_version: 4
|
106
109
|
summary: The sps_bot gem allows you to chat with your very own bot through the sps_chat
|
metadata.gz.sig
CHANGED
Binary file
|