grape-slack-bot 3.0.0 → 3.0.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/slack_bot/grape_extension.rb +4 -1
- data/lib/slack_bot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10ab0a100f51e3a8567bc482bb415ef599b240f96855d75b6c73175dffc2360a
|
|
4
|
+
data.tar.gz: 9ef9129b1095492eaf6df6f1112fcc358b4319ddb1e1df29292ec96653cafe09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f358aca3209d9811231508d1ee5d41d48e17fc24435a1cb439f8cd9f539f1906aabd9d5b265c2cb02cbdee4a386f27b210090ad6ebc71eba3a102e80b8ba50b9
|
|
7
|
+
data.tar.gz: 80410c0b845e92ed2394c0a9b4b41d16083e3a510164c6892967fa19f88d5d7d6cd7c7ab4b24fb978c155910ee2dd9681c44e9f2a82930e0757f5c8f5c41763a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 3.0.1 (2026-11-19)
|
|
4
|
+
|
|
5
|
+
- Acknowledge Slack requests with a truly empty HTTP 200 body under Grape JSON format, so slash commands and interactions that open modals no longer show a blank ephemeral message.
|
|
6
|
+
|
|
3
7
|
## 3.0.0 (2026-11-18)
|
|
4
8
|
|
|
5
9
|
- Define modular Slack handlers with `SlackBot::Schema` and register them alongside existing Config handlers (RFC-0002).
|
|
@@ -179,7 +179,6 @@ module SlackBot
|
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
def empty_slack_ack!
|
|
182
|
-
api_format :txt
|
|
183
182
|
blank_slack_response!
|
|
184
183
|
end
|
|
185
184
|
|
|
@@ -194,7 +193,11 @@ module SlackBot
|
|
|
194
193
|
result
|
|
195
194
|
end
|
|
196
195
|
|
|
196
|
+
# Slack acknowledges with HTTP 200 and an empty body. Under `format :json`,
|
|
197
|
+
# Grape's `body false` becomes an empty string that the JSON formatter
|
|
198
|
+
# encodes as `""`, which Slack shows as an empty ephemeral message.
|
|
197
199
|
def blank_slack_response!
|
|
200
|
+
api_format :txt
|
|
198
201
|
body false
|
|
199
202
|
status 200
|
|
200
203
|
end
|
data/lib/slack_bot.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grape-slack-bot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrei Makarov
|
|
@@ -376,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
376
376
|
- !ruby/object:Gem::Version
|
|
377
377
|
version: '0'
|
|
378
378
|
requirements: []
|
|
379
|
-
rubygems_version: 4.0.
|
|
379
|
+
rubygems_version: 4.0.20
|
|
380
380
|
specification_version: 4
|
|
381
381
|
summary: Slack bot implementation for ruby-grape
|
|
382
382
|
test_files: []
|