ruboty-slack_events 0.3.1 → 0.3.3

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: cdf0c6b6732081933efdc52213d1a9388e1e0ef809e6057da1adb68ef4032d54
4
- data.tar.gz: 4d23791111c4f38d0811d17ea0adac7a52da52096423155a8baec62d4ce00e66
3
+ metadata.gz: 42f85868e7d5d8e3011f12ee03e1039570c16c7c4f9704dd539a7be5c5c2d831
4
+ data.tar.gz: 1acbe03707f31e1a6c778ce41bbef1e6756ed86c2be19c249d3e56bc949add17
5
5
  SHA512:
6
- metadata.gz: dffe1198d352f9d065f3aff234f78f3f13dfb0627afe4d2120d5e087f4302b32f7ad56aca4af0e3f1f32250bde4f0e0659567d2d0793343f1175be198a773b7e
7
- data.tar.gz: 0bbaf0b61b5a585cf4989ff014be85a5acc12fbcc1839d2dbc37683503531f6a02edf5ccf47cfdc327731ec722c4d2a77e08b2a4ba8212b5c851f835dbd2ba20
6
+ metadata.gz: 8cfb39024f3427977f5a494410b8194b9566ee4868229c527586956b77ea55ab78c2cb8e9a0287e0e5213550cca99f053c55e22c4a064db11b0befe3b90d8f9e
7
+ data.tar.gz: b46678ecbd4ddb4902e69f3df48c016cf79f977de7cbe6a2eeacb6fb77a7773ca43e97ede63b25a5168de02d458d6d43a7e0b92a911c4fb9f0ca2ad65664ad37
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
1
  ## Unreleased
2
+ ## 0.3.3 - 2026-07-06
3
+
4
+ - Fix NoMethodError in user_info_by_name when cache holds nil entry (https://github.com/tomoasleep/ruboty-slack_events/pull/6)
5
+ - Fix redundant regexp escape in rubotify filter (https://github.com/tomoasleep/ruboty-slack_events/pull/7)
6
+
7
+ ## 0.3.2 - 2025-09-16
8
+
9
+ - Ensure that message body is string on SlackEvents#say (https://github.com/tomoasleep/ruboty-slack_events/pull/4)
10
+
2
11
  ## 0.3.1 - 2025-04-07
3
12
 
4
13
  - Let UserResolver#user_info_by_id return nil on user_not_found error (https://github.com/tomoasleep/ruboty-slack_events/pull/2)
@@ -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(
@@ -40,7 +40,7 @@ module Ruboty
40
40
 
41
41
  # @rbs text: String
42
42
  def replace_link(text) #: String
43
- text.gsub(/<(?<url>[^\>|]+)(?:\|(?<text>[^\>]+))?>/) do |link|
43
+ text.gsub(/<(?<url>[^>|]+)(?:\|(?<text>[^>]+))?>/) do |link|
44
44
  url = Regexp.last_match[:url]
45
45
  text = Regexp.last_match[:text]
46
46
 
@@ -47,7 +47,7 @@ module Ruboty
47
47
  ensure_users
48
48
 
49
49
  @user_caches.find do |_, user|
50
- user.name == user_name
50
+ user&.name == user_name
51
51
  end&.last
52
52
  end
53
53
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruboty
4
4
  module SlackEvents
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.3"
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.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomoya Chiba
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-07 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: 4.0.11
102
102
  specification_version: 4
103
103
  summary: Ruboty adapter with Slack Events API
104
104
  test_files: []