sps_bot 0.2.0 → 0.2.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
2
  SHA1:
3
- metadata.gz: 8d501c4f66fc602f325069c5ecd8aa11c98bd0b3
4
- data.tar.gz: ab872c3cfe23a12aa96da2be554119b7f1c30095
3
+ metadata.gz: f724861ab476a04036957ca69bc779d063877e31
4
+ data.tar.gz: 9254a1a77400603fb019b85ae9fde257a90b129e
5
5
  SHA512:
6
- metadata.gz: ae7aaac46f503695756aa1a36fff24a1ce242d5b6fed75e834c9b4a38e21c325558bce274cba622bacc23247169dfd419396c3aef3dc8d868f11b0708a2ca58a
7
- data.tar.gz: 80b17e7a562c3f8a6b62825961acefb6130010bf64eebd14da8625d55350fd2b48b53bea0921804ef4debe97e2e4a91d5e8978202f65c239239639e6ab2ed5d3
6
+ metadata.gz: 589c46941adb436e9940e6e65eb20473c91f07876561ff3703c0aafe4f7dabad54d64e4c4d825381eee25ba5aeb42946c88797dca40f98c86348d556ece28000
7
+ data.tar.gz: a060973c4985be2805533cfc05caf5fd6325bd7fcabfcf7c0067589875ec05cbff88142696f2169e1c8b573aa26a0ac5d12a5eeb5bb887f3429bf70581cf5da1
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -12,7 +12,8 @@ class SpsBot < SPSChat
12
12
  config: nil, typing_mode: false)
13
13
 
14
14
  super(host: host, port: port, userid: userid, room: room)
15
- @bot = BotBase.new config
15
+ @bot = BotBaseDRbClient.new host: '192.168.4.195', port: '60600'
16
+
16
17
  @typing_mode = typing_mode
17
18
 
18
19
  end
@@ -22,11 +23,11 @@ class SpsBot < SPSChat
22
23
  if not typing_mode then
23
24
  #msg = 'tim'
24
25
 
25
- response = @bot.received sender, msg
26
+ response = @bot.received sender, msg, mode: :chat
26
27
 
27
28
  self.send response
28
29
  end
29
30
 
30
31
  end
31
32
 
32
- end
33
+ 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.0
4
+ version: 0.2.1
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
- 8ixkARkWAmV1MB4XDTE1MTExNjIzNDMwOFoXDTE2MTExNTIzNDMwOFowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE3MDQyOTEwMzkwM1oXDTE4MDQyOTEwMzkwM1owSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAPA+x1JF2k0+ljqvPy17zMbwnCAN07JF9lvdhikeAPyTNDk79r4xBAo45ooL
19
- fj4Yt4Fs7MjSExEWg5PO46H9hos8hU13+GO7TfMMoQ2KGEBUbjec2G9VauplBz3u
20
- VnBLF93ullpAoSRB9onJXiHjgxnmC2q14FygBBy9BP1p5VpSjaBH7owN4vhbWdHz
21
- dBVH6WhdORTlHZmrQO7hCPN8hsq59TTAC6oJD6Lt4yW8v5+rHKmIH9w6NgcQ/8eJ
22
- EI13PjVmVAm6V/3S4emeNwEnBKH3CgetsX9Ke4b0G+zWRMkkkxAssV4z0co1D3A1
23
- EbrlEAK5u69lOn/tjk9BsIZEcXkCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUtbXwIf06Xxv/htbrUohr8BIi1zIwJgYDVR0RBB8w
18
+ ggEBAOHDNyl7Yw/LN7qG5/OBY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xs6hzxpEB6o0
28
+ aKzpo/M/uZ8Gof50YmWri1cYrHA+XDTU8sNqcErjy5lXwhNHjr+HKj7EBMtG78uy
29
+ Op8ySI4Ut/9BeQ47hDF4v6vqpjZYZnnZYw8veVXXWHPkI7UzLhz+gZC/CnwUCQa5
30
+ ml8K8ODZyheTyd3TMgr1to1DrKbjAXxXMXvLTLRzVgSybCOUt+Sof2ldbBseTbOE
31
+ f8Ifl/TqoEJfoXNEigF2xAVD2jtYhNb/UqIVo7JcUehuDtgwK66NkVSKw+CTe7+S
32
+ ZDB9AW6rN72tCA==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-07-27 00:00:00.000000000 Z
34
+ date: 2017-04-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sps_chat
@@ -74,7 +74,7 @@ dependencies:
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.1.0
76
76
  description:
77
- email: james@r0bertson.co.uk
77
+ email: james@jamesrobertson.eu
78
78
  executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 2.5.1
103
+ rubygems_version: 2.6.8
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: The sps_bot gem allows you to chat with your very own bot through the sps_chat
metadata.gz.sig CHANGED
Binary file