slack-smart-bot 1.12.8 → 1.12.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack/smart-bot/commands/on_bot/general/bot_stats.rb +2 -2
- data/whats_new.txt +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 558fa51668313d856b46f1a46c79f033a6b8f65ad2da071e1825327a87770e87
|
4
|
+
data.tar.gz: 568303701c7ab27c8798b542c55b23ee7d8f762fe8e7346506ce05dfd7eb3e2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0ef8868f4f67c5da397f0652920a904d177bedcc78deee6889de146d598cbab6071509b1032294382148f614e69689f7fe7df59a1e40785529319b2200d1633
|
7
|
+
data.tar.gz: 07ec60ba6ee00a0be8065906c2402778f69294b4ebc7f25e4c8085af085fd425f6456640f88ef75b74449b88bf30c278c9f3045efd17b544633c4575f79a18cb
|
@@ -39,7 +39,7 @@ class SlackSmartBot
|
|
39
39
|
# help: _bot stats #sales today_
|
40
40
|
# help: _bot stats #sales from 2020-01-01 monthly_
|
41
41
|
# help: _bot stats exclude routines masters from 2021/01/01 monthly_
|
42
|
-
# help: _bot stats members #development from 2022/01/01 to 2022/01/31_
|
42
|
+
# help: _bot stats members #development from 2022/01/01 to 2022/01/31_
|
43
43
|
# help: _bot stats type_message /(on_pub|on_pg)/_
|
44
44
|
# help: <https://github.com/MarioRuiz/slack-smart-bot#bot-management|more info>
|
45
45
|
# help: command_id: :bot_stats
|
@@ -202,7 +202,7 @@ class SlackSmartBot
|
|
202
202
|
unless header.empty?
|
203
203
|
add = true
|
204
204
|
header.each_with_index do |h, i|
|
205
|
-
if row[h.downcase.to_sym].to_s.match?(
|
205
|
+
if !row[h.downcase.to_sym].to_s.match?(/#{regexp[i]}/i)
|
206
206
|
add = false
|
207
207
|
break
|
208
208
|
end
|
data/whats_new.txt
CHANGED