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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce7ad9b141fa627afb25ac3a20fcf6e6b9d452105866620681c5430c691023be
4
- data.tar.gz: 40cb7e645794af392d687afa6a4a839d9e7d9f1113a6fc90862cd6da3a0dedce
3
+ metadata.gz: 558fa51668313d856b46f1a46c79f033a6b8f65ad2da071e1825327a87770e87
4
+ data.tar.gz: 568303701c7ab27c8798b542c55b23ee7d8f762fe8e7346506ce05dfd7eb3e2d
5
5
  SHA512:
6
- metadata.gz: af7a0da5cf90b055fe4dc48c781823e1941f0ceb8b2747d60dcd43ef44ceb2e380cd8a15ddc016ee7201b9e26e93ab8991db07bb2bea99bdfb69d751ed8fc7cb
7
- data.tar.gz: 67cf9020b2894fab2fcb8c8082cc94e63d1e5e52eabc91dc8544b1f050fc948127f564687fd339f04f1f98a1fa8a2fdaa246f65e31ac93b06a18a10bef028596
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?(Regexp.new(regexp[i])) == false
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
@@ -1,4 +1,4 @@
1
- *Version 1.12.8* Released 2022-Nov-17
1
+ *Version 1.12.9* Released 2022-Nov-17
2
2
 
3
3
  *For General users*
4
4
  - `run repl` accepts local parameters and precode to be supplied (<https://github.com/MarioRuiz/slack-smart-bot/issues/60|#60>).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-smart-bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.8
4
+ version: 1.12.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Ruiz