slack-ruby-bot-server-events-app-mentions 0.1.0 → 0.1.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: affc5cd99fdbcf4891338bc5aa17d1235f492cdcb2c8af3f3a67f8267e313f73
|
4
|
+
data.tar.gz: 20dd50373ea240e406c33d27086ff750e81ab653639f1c2a054a64e7dae76dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f54d54eb50c1898ed78fa11f61b76f23ef89a7ff68b28daf40e4ea53c33e2ad5825c4857bba35dc7ecaad4c186bec6c871bee2908aaf015e63b33a8e107379eb
|
7
|
+
data.tar.gz: 48a211d3aad002eee845a15f22a99a2ebc934ed220a98814938b2e576bcc1862479f77d084edd085401102deca4563e159d1511a242356e16ecfce4a88975754
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
### Changelog
|
2
2
|
|
3
|
+
#### 0.1.1 (01/06/2021)
|
4
|
+
|
5
|
+
* [#1](https://github.com/slack-ruby/slack-ruby-bot-server-events-app-mentions/pull/1): Fix: fetch text via hash accessor - [@robholland](https://github.com/robholland).
|
6
|
+
|
3
7
|
#### 0.1.0 (11/30/2020)
|
4
8
|
|
5
9
|
* Initial public release - [@dblock](https://github.com/dblock).
|
@@ -11,7 +11,7 @@ SlackRubyBotServer::Events.configure do |config|
|
|
11
11
|
bot_regexp = Regexp.new("^\<\@#{team.bot_user_id}\>[[:space:]]*")
|
12
12
|
|
13
13
|
data = Slack::Messages::Message.new(data).merge(
|
14
|
-
text: data
|
14
|
+
text: data['text'].gsub(bot_regexp, ''),
|
15
15
|
team: team
|
16
16
|
)
|
17
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-ruby-bot-server-events-app-mentions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slack-ruby-bot-server-events
|