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: 5b687a6d737a0bc47acea3149c6f6224c1c5a900596592574b18c3439f17aa9e
4
- data.tar.gz: f239695e2365d0fedbb13626bb3ec29162dbfd593e1388eb876983632b94c9b7
3
+ metadata.gz: affc5cd99fdbcf4891338bc5aa17d1235f492cdcb2c8af3f3a67f8267e313f73
4
+ data.tar.gz: 20dd50373ea240e406c33d27086ff750e81ab653639f1c2a054a64e7dae76dc2
5
5
  SHA512:
6
- metadata.gz: b453ace23714269d26febae161f53a32b99e3f87bf09c9b48b045f0caf455c35db3767e423ae02325b97fcfcb9d30e681ce12960d703d619e92a9e7465d27599
7
- data.tar.gz: 2938a99794e3984b1e56a0a291a164841e8618773695df7fd60478f748ba75b8cfe36a242016b46431002e0fe1bc2224aee773dcc14312721e954823d339ae03
6
+ metadata.gz: f54d54eb50c1898ed78fa11f61b76f23ef89a7ff68b28daf40e4ea53c33e2ad5825c4857bba35dc7ecaad4c186bec6c871bee2908aaf015e63b33a8e107379eb
7
+ data.tar.gz: 48a211d3aad002eee845a15f22a99a2ebc934ed220a98814938b2e576bcc1862479f77d084edd085401102deca4563e159d1511a242356e16ecfce4a88975754
@@ -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.text.gsub(bot_regexp, ''),
14
+ text: data['text'].gsub(bot_regexp, ''),
15
15
  team: team
16
16
  )
17
17
 
@@ -3,7 +3,7 @@
3
3
  module SlackRubyBotServer
4
4
  module Events
5
5
  module AppMentions
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
8
8
  end
9
9
  end
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.0
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: 2020-11-30 00:00:00.000000000 Z
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