sps_bot 0.2.2 → 0.2.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
  SHA256:
3
- metadata.gz: 743164478c29fb5ab9478186fc01883827e5d61d8e3d76a9f7cb0a5ea61238de
4
- data.tar.gz: 1c4ab1f191e5db3f9d5cd570af31e13f49ee73c4b6c389cadb8995e058c547bf
3
+ metadata.gz: 1e5d71b11ea2750028c8993a0e9d20be4b38f65ebac0ca7ea075b806c8ff3959
4
+ data.tar.gz: e45044182d15101656f4a8c4a18991900a0e305cdf3d4128c0caf29519ccd131
5
5
  SHA512:
6
- metadata.gz: 1d5a0195faefe597fcc6620282b89cd91f2d7c6143746d8483e46d5a9b3c062a711b36dd4cdcc8cd32f06b3c3bba4b2e1d29dc87d75916b449ad32da9cd80a7e
7
- data.tar.gz: de4d1e1fa1e80987917091f67f2571be18a97de53743d4337c6c14f6d78462ec3083b8e302050594ddd8633fe38212c0d9e67e7b8ebb0d84d88196c82cf84df1
6
+ metadata.gz: 045ee8d209b20236710945c96de26c5e62c2a3df895c39eaa03718144d53b2744d674909613d527fb70f85fc313597a2ca4e48266ff10f24277476a8a35348ff
7
+ data.tar.gz: f5e9ee2c98b5e9e0efd4c86330e3105c65a748a5bc7b849fb34f1175d312f41b0f866e4a1344dbd966c1fb01f44230654f7937488036577d7b2e45bb92ebff20
@@ -1,2 +1 @@
1
- p���ǝHp�_�:TF�;*�t@Ի�j j)�d��ӵl�ԉߙ�@{��B��s��������N���ߪ��np�m�`v��d�DPpRߣf�o�%�pf9� ��X���^��ʈ�7��* ����P�Rlr؀Tl��(,�A�u���S�SA��ɰ)u{���xe�E�I�r�
2
- �y��1ZL��׷!��`�U��­�>1�[�3Ty$I��0/M�.���W0�ߩq�{#y�~#I��c5w�gs��K���#쮕2QO,P�m�AN��b�`��벟���n+���U�������x}̕A�����.�p|=?��0'L�|�#�~�I�� (��y���e�|��0aM�ﶡ���&
1
+ �?;���Ty����;�&�7
data.tar.gz.sig CHANGED
Binary file
@@ -22,11 +22,10 @@ class SpsBot < SPSChat
22
22
  def onincoming(sender, msg, typing_mode=false)
23
23
 
24
24
  if not typing_mode then
25
- #msg = 'tim'
26
25
 
27
26
  response = @bot.received sender, msg, mode: :chat
28
27
 
29
- self.send response
28
+ self.send response unless response.empty?
30
29
  end
31
30
 
32
31
  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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  pTBvrEFoaaTUMU6FdaLwFUoKpWMY7N8r5d3qazrEh4/xH31G89wjG/DOWEKeMNVH
36
36
  bdjl4ulI9s7CFQB9/49NM15+
37
37
  -----END CERTIFICATE-----
38
- date: 2020-06-24 00:00:00.000000000 Z
38
+ date: 2020-06-26 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: sps_chat
@@ -43,40 +43,40 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.1'
46
+ version: '0.2'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.1.2
49
+ version: 0.2.2
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '0.1'
56
+ version: '0.2'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.1.2
59
+ version: 0.2.2
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: botbase
62
62
  requirement: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 0.1.0
66
+ version: 0.2.0
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0.1'
69
+ version: '0.2'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 0.1.0
76
+ version: 0.2.0
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '0.1'
79
+ version: '0.2'
80
80
  description:
81
81
  email: james@jamesrobertson.eu
82
82
  executables: []
metadata.gz.sig CHANGED
Binary file