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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e439c9df6bc7266e9b6bc96044291cd195ca2bc803ceec0ccd908ba1f694349a
4
- data.tar.gz: bd637145592b5e66e26d4d23711baf7e5c2b4f6eb2d5531003bd0a09253184e0
3
+ metadata.gz: 10ab0a100f51e3a8567bc482bb415ef599b240f96855d75b6c73175dffc2360a
4
+ data.tar.gz: 9ef9129b1095492eaf6df6f1112fcc358b4319ddb1e1df29292ec96653cafe09
5
5
  SHA512:
6
- metadata.gz: 89d89feb6e813740c0ad667ce118089dbe147971b683acc256f587ebcd1a6d3bbf67810bfda92226652597d8c284abc9c80eb809e24d27b9acd11fc1beb63bab
7
- data.tar.gz: e3595568199fa5ed01280157b20f2418a5ec35c13d1e1483d872d9120e34ddd52e26c87de7fdb463ac1a31392d406584834f11bc59293e92946bbfcf58620586
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
@@ -26,5 +26,5 @@ require "slack_bot/schema"
26
26
  require "slack_bot/grape_extension"
27
27
 
28
28
  module SlackBot
29
- VERSION = "3.0.0".freeze
29
+ VERSION = "3.0.1".freeze
30
30
  end
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.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.6
379
+ rubygems_version: 4.0.20
380
380
  specification_version: 4
381
381
  summary: Slack bot implementation for ruby-grape
382
382
  test_files: []