ruboty-slack_events 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c779a46edaf630035527d72df0e40a57eb8104421f8151eeb8c3623202ce8537
4
- data.tar.gz: bcbf6cb2c83dc15cea1c270404820dd6f9bdefa570de19478425c77265915626
3
+ metadata.gz: 692d5794e9fc854c9506f52e2bbcba68cce8c666e7d46d70ee111ed5d92bfbfb
4
+ data.tar.gz: 199b896b2069cf103708f8a02d8d5a02ca541e2ad64b51bb4b1515234e6f9916
5
5
  SHA512:
6
- metadata.gz: c3c5e4fd09c22b7c52adcdcc556494d83cf559d88f548c71e2f050c939e004b8d3b793be1f81dbe03e95ce327aab65009d57001a1c2d9b48be7a8c0fa20dfdb1
7
- data.tar.gz: 0f4192b9d52fb4c49ef47cdd7986ea50b86b5af077dfc392a4d62062867b5884094ea79b222e093dd7947bff122838c37b88e7a6146e63fce54fb8b813ba89b2
6
+ metadata.gz: d48cc6ecae3271072ae325a3f5860c000ac6258141a7fb99eec04c7b866237b28123b7c4b627d760529ca9755292f5d549154dcb6009e02ce4b94db28d433e39
7
+ data.tar.gz: 3cc4a4e04e7f4597676ddcb78e3e42202113b3c0c4da888e0618ed63f3b923f93993528e167c1bf70f4418c40b5ff4feaafe973eac1a1dd043046485405b6aa9
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
  ## Unreleased
2
+ ## 0.3.2 - 2025-09-16
3
+
4
+ - Ensure that message body is string on SlackEvents#say (https://github.com/tomoasleep/ruboty-slack_events/pull/4)
5
+
6
+ ## 0.3.1 - 2025-04-07
7
+
8
+ - Let UserResolver#user_info_by_id return nil on user_not_found error (https://github.com/tomoasleep/ruboty-slack_events/pull/2)
9
+
2
10
  ## 0.3.0 - 2025-04-04
3
11
 
4
12
  - Rewrite text filter to parse links and unescape HTML entities
@@ -43,7 +43,7 @@ module Ruboty
43
43
  ```
44
44
  MARKDOWN
45
45
  else
46
- slackify.call(message[:body])
46
+ slackify.call(message[:body].to_s)
47
47
  end
48
48
 
49
49
  slack_client.chat_postMessage(
@@ -34,6 +34,9 @@ module Ruboty
34
34
  Logger.debug { "Slack API: users.info(#{user_id})" }
35
35
  res = slack_client.users_info(user: user_id)
36
36
  res.user
37
+ rescue Slack::Web::Api::Errors::UserNotFound => e
38
+ Logger.debug { "Slack API Error: users.info(#{user_id}) => #{e.message}" }
39
+ nil
37
40
  end
38
41
  end
39
42
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruboty
4
4
  module SlackEvents
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomoya Chiba
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: async-websocket
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.6.3
101
+ rubygems_version: 3.7.1
102
102
  specification_version: 4
103
103
  summary: Ruboty adapter with Slack Events API
104
104
  test_files: []