slack-ruby-client 3.2.0 → 3.4.0

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.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +0 -0
  3. data/.github/FUNDING.yml +0 -0
  4. data/.github/dependabot.yml +0 -0
  5. data/.github/prompts/changelog-entries.prompt.yml +32 -0
  6. data/.github/workflows/danger-comment.yml +11 -2
  7. data/.github/workflows/danger.yml +10 -2
  8. data/.github/workflows/lint.yml +21 -6
  9. data/.github/workflows/release.yml +27 -0
  10. data/.github/workflows/test.yml +0 -0
  11. data/.github/workflows/update_api.yml +86 -6
  12. data/.gitignore +1 -0
  13. data/.gitmodules +0 -0
  14. data/.rspec +0 -0
  15. data/.rubocop.yml +94 -1
  16. data/.rubocop_todo.yml +13 -2
  17. data/.ruby-version +0 -0
  18. data/.spellcheck.txt +256 -0
  19. data/AGENTS.md +12 -0
  20. data/CHANGELOG.md +50 -0
  21. data/CONTRIBUTING.md +59 -59
  22. data/Dangerfile +0 -0
  23. data/Gemfile +33 -5
  24. data/LICENSE.md +1 -1
  25. data/README.md +139 -104
  26. data/RELEASING.md +20 -58
  27. data/Rakefile +29 -3
  28. data/SECURITY.md +1 -1
  29. data/UPGRADING.md +48 -40
  30. data/benchmarks/events.rb +26 -0
  31. data/benchmarks/formatting.rb +17 -0
  32. data/benchmarks/support.rb +67 -0
  33. data/benchmarks/web_client.rb +28 -0
  34. data/bin/commands/admin_analytics.rb +0 -0
  35. data/bin/commands/admin_analytics_members.rb +39 -0
  36. data/bin/commands/admin_analytics_messages.rb +4 -4
  37. data/bin/commands/admin_analytics_slackbot.rb +33 -0
  38. data/bin/commands/admin_apps.rb +0 -0
  39. data/bin/commands/admin_apps_activities.rb +0 -0
  40. data/bin/commands/admin_apps_approved.rb +0 -0
  41. data/bin/commands/admin_apps_config.rb +0 -0
  42. data/bin/commands/admin_apps_mcp_servers.rb +21 -0
  43. data/bin/commands/admin_apps_mcp_servers_permissions.rb +33 -0
  44. data/bin/commands/admin_apps_permissions.rb +58 -0
  45. data/bin/commands/admin_apps_requests.rb +0 -0
  46. data/bin/commands/admin_apps_restricted.rb +0 -0
  47. data/bin/commands/admin_audit_anomaly_allow.rb +0 -0
  48. data/bin/commands/admin_auth_policy.rb +0 -0
  49. data/bin/commands/admin_barriers.rb +0 -0
  50. data/bin/commands/admin_conversations.rb +23 -3
  51. data/bin/commands/admin_conversations_ekm.rb +0 -0
  52. data/bin/commands/admin_conversations_restrictAccess.rb +0 -0
  53. data/bin/commands/admin_emoji.rb +0 -0
  54. data/bin/commands/admin_functions.rb +1 -1
  55. data/bin/commands/admin_functions_permissions.rb +0 -0
  56. data/bin/commands/admin_inviteRequests.rb +0 -0
  57. data/bin/commands/admin_inviteRequests_approved.rb +0 -0
  58. data/bin/commands/admin_inviteRequests_denied.rb +0 -0
  59. data/bin/commands/admin_roles.rb +0 -0
  60. data/bin/commands/admin_slackbot_skills.rb +56 -0
  61. data/bin/commands/admin_teams.rb +0 -0
  62. data/bin/commands/admin_teams_admins.rb +0 -0
  63. data/bin/commands/admin_teams_owners.rb +0 -0
  64. data/bin/commands/admin_teams_settings.rb +0 -0
  65. data/bin/commands/admin_usergroups.rb +74 -0
  66. data/bin/commands/admin_users.rb +11 -2
  67. data/bin/commands/admin_users_access.rb +31 -0
  68. data/bin/commands/admin_users_session.rb +0 -1
  69. data/bin/commands/admin_users_unsupportedVersions.rb +0 -0
  70. data/bin/commands/admin_workflows.rb +0 -0
  71. data/bin/commands/admin_workflows_collaborators.rb +0 -0
  72. data/bin/commands/admin_workflows_permissions.rb +0 -0
  73. data/bin/commands/admin_workflows_triggers_types_permissions.rb +0 -0
  74. data/bin/commands/agents_conversations.rb +122 -0
  75. data/bin/commands/agents_sessions.rb +38 -0
  76. data/bin/commands/api.rb +0 -0
  77. data/bin/commands/apps.rb +0 -0
  78. data/bin/commands/apps_activities.rb +0 -0
  79. data/bin/commands/apps_auth_external.rb +0 -0
  80. data/bin/commands/apps_connections.rb +0 -0
  81. data/bin/commands/apps_datastore.rb +0 -0
  82. data/bin/commands/apps_event_authorizations.rb +0 -0
  83. data/bin/commands/apps_icon.rb +0 -0
  84. data/bin/commands/apps_managed_permissions.rb +21 -0
  85. data/bin/commands/apps_manifest.rb +0 -0
  86. data/bin/commands/apps_user_connection.rb +0 -0
  87. data/bin/commands/assistant_search.rb +0 -0
  88. data/bin/commands/assistant_threads.rb +1 -1
  89. data/bin/commands/auth.rb +0 -0
  90. data/bin/commands/auth_teams.rb +0 -0
  91. data/bin/commands/blocks.rb +0 -0
  92. data/bin/commands/bookmarks.rb +0 -0
  93. data/bin/commands/bots.rb +0 -0
  94. data/bin/commands/calls.rb +0 -0
  95. data/bin/commands/calls_participants.rb +0 -0
  96. data/bin/commands/canvases.rb +12 -2
  97. data/bin/commands/canvases_access.rb +0 -0
  98. data/bin/commands/canvases_sections.rb +0 -0
  99. data/bin/commands/chat.rb +10 -7
  100. data/bin/commands/chat_scheduledMessages.rb +0 -0
  101. data/bin/commands/conversations.rb +1 -1
  102. data/bin/commands/conversations_canvases.rb +1 -1
  103. data/bin/commands/conversations_externalInvitePermissions.rb +0 -0
  104. data/bin/commands/conversations_requestSharedInvite.rb +0 -0
  105. data/bin/commands/dialog.rb +0 -0
  106. data/bin/commands/dnd.rb +0 -0
  107. data/bin/commands/emoji.rb +0 -0
  108. data/bin/commands/entity.rb +27 -0
  109. data/bin/commands/files.rb +3 -0
  110. data/bin/commands/files_comments.rb +0 -0
  111. data/bin/commands/files_remote.rb +0 -0
  112. data/bin/commands/functions.rb +0 -0
  113. data/bin/commands/functions_distributions_permissions.rb +0 -0
  114. data/bin/commands/functions_workflows_steps.rb +0 -0
  115. data/bin/commands/functions_workflows_steps_responses.rb +0 -0
  116. data/bin/commands/migration.rb +0 -0
  117. data/bin/commands/oauth.rb +0 -0
  118. data/bin/commands/oauth_v2.rb +21 -0
  119. data/bin/commands/oauth_v2_user.rb +0 -0
  120. data/bin/commands/openid_connect.rb +0 -0
  121. data/bin/commands/pins.rb +1 -1
  122. data/bin/commands/reactions.rb +0 -0
  123. data/bin/commands/reminders.rb +0 -0
  124. data/bin/commands/rtm.rb +0 -0
  125. data/bin/commands/search.rb +0 -0
  126. data/bin/commands/slackLists.rb +0 -0
  127. data/bin/commands/slackLists_access.rb +0 -0
  128. data/bin/commands/slackLists_download.rb +7 -0
  129. data/bin/commands/slackLists_items.rb +2 -1
  130. data/bin/commands/slackbot_skills.rb +71 -0
  131. data/bin/commands/slackbot_skills_library.rb +29 -0
  132. data/bin/commands/stars.rb +0 -0
  133. data/bin/commands/team.rb +1 -0
  134. data/bin/commands/team_billing.rb +0 -0
  135. data/bin/commands/team_externalTeams.rb +1 -1
  136. data/bin/commands/team_preferences.rb +0 -0
  137. data/bin/commands/team_profile.rb +0 -0
  138. data/bin/commands/tooling_tokens.rb +0 -0
  139. data/bin/commands/usergroups.rb +0 -0
  140. data/bin/commands/usergroups_users.rb +0 -0
  141. data/bin/commands/users.rb +1 -0
  142. data/bin/commands/users_admin.rb +0 -0
  143. data/bin/commands/users_discoverableContacts.rb +0 -0
  144. data/bin/commands/users_prefs.rb +0 -0
  145. data/bin/commands/users_profile.rb +0 -0
  146. data/bin/commands/views.rb +0 -0
  147. data/bin/commands/workflows_featured.rb +0 -0
  148. data/bin/commands/workflows_triggers_permissions.rb +0 -0
  149. data/bin/slack +5 -1
  150. data/examples/files_upload_v2/.env.example +0 -0
  151. data/examples/files_upload_v2/Gemfile +0 -0
  152. data/examples/files_upload_v2/README.md +4 -3
  153. data/examples/files_upload_v2/files_upload_v2.rb +1 -1
  154. data/examples/hi_web/Gemfile +0 -0
  155. data/examples/hi_web/hi.gif +0 -0
  156. data/examples/hi_web/hi.rb +1 -1
  157. data/examples/new_ticket/Gemfile +0 -0
  158. data/examples/new_ticket/new_ticket.rb +1 -1
  159. data/examples/oauth_v2/.env.example +0 -0
  160. data/examples/oauth_v2/Gemfile +0 -0
  161. data/examples/oauth_v2/README.md +5 -4
  162. data/examples/oauth_v2/oauth_v2.rb +6 -6
  163. data/lib/slack/config.rb +0 -0
  164. data/lib/slack/events/config.rb +1 -1
  165. data/lib/slack/events/request.rb +2 -2
  166. data/lib/slack/logger.rb +0 -0
  167. data/lib/slack/messages/formatting.rb +29 -20
  168. data/lib/slack/messages/message.rb +0 -0
  169. data/lib/slack/utils/security.rb +0 -0
  170. data/lib/slack/version.rb +1 -1
  171. data/lib/slack/web/api/endpoints/admin_analytics.rb +0 -0
  172. data/lib/slack/web/api/endpoints/admin_analytics_members.rb +66 -0
  173. data/lib/slack/web/api/endpoints/admin_analytics_messages.rb +3 -3
  174. data/lib/slack/web/api/endpoints/admin_analytics_slackbot.rb +54 -0
  175. data/lib/slack/web/api/endpoints/admin_apps.rb +0 -0
  176. data/lib/slack/web/api/endpoints/admin_apps_activities.rb +0 -0
  177. data/lib/slack/web/api/endpoints/admin_apps_approved.rb +0 -0
  178. data/lib/slack/web/api/endpoints/admin_apps_config.rb +0 -0
  179. data/lib/slack/web/api/endpoints/admin_apps_mcp_servers.rb +31 -0
  180. data/lib/slack/web/api/endpoints/admin_apps_mcp_servers_permissions.rb +46 -0
  181. data/lib/slack/web/api/endpoints/admin_apps_permissions.rb +83 -0
  182. data/lib/slack/web/api/endpoints/admin_apps_requests.rb +0 -0
  183. data/lib/slack/web/api/endpoints/admin_apps_restricted.rb +0 -0
  184. data/lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb +0 -0
  185. data/lib/slack/web/api/endpoints/admin_auth_policy.rb +0 -0
  186. data/lib/slack/web/api/endpoints/admin_barriers.rb +0 -0
  187. data/lib/slack/web/api/endpoints/admin_conversations.rb +32 -2
  188. data/lib/slack/web/api/endpoints/admin_conversations_ekm.rb +0 -0
  189. data/lib/slack/web/api/endpoints/admin_conversations_restrictAccess.rb +0 -0
  190. data/lib/slack/web/api/endpoints/admin_emoji.rb +0 -1
  191. data/lib/slack/web/api/endpoints/admin_functions.rb +1 -1
  192. data/lib/slack/web/api/endpoints/admin_functions_permissions.rb +0 -0
  193. data/lib/slack/web/api/endpoints/admin_inviteRequests.rb +0 -0
  194. data/lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb +0 -0
  195. data/lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb +0 -0
  196. data/lib/slack/web/api/endpoints/admin_roles.rb +0 -0
  197. data/lib/slack/web/api/endpoints/admin_slackbot_skills.rb +84 -0
  198. data/lib/slack/web/api/endpoints/admin_teams.rb +0 -0
  199. data/lib/slack/web/api/endpoints/admin_teams_admins.rb +0 -0
  200. data/lib/slack/web/api/endpoints/admin_teams_owners.rb +0 -0
  201. data/lib/slack/web/api/endpoints/admin_teams_settings.rb +0 -0
  202. data/lib/slack/web/api/endpoints/admin_usergroups.rb +111 -0
  203. data/lib/slack/web/api/endpoints/admin_users.rb +14 -1
  204. data/lib/slack/web/api/endpoints/admin_users_access.rb +40 -0
  205. data/lib/slack/web/api/endpoints/admin_users_session.rb +0 -2
  206. data/lib/slack/web/api/endpoints/admin_users_unsupportedVersions.rb +0 -0
  207. data/lib/slack/web/api/endpoints/admin_workflows.rb +0 -0
  208. data/lib/slack/web/api/endpoints/admin_workflows_collaborators.rb +0 -0
  209. data/lib/slack/web/api/endpoints/admin_workflows_permissions.rb +0 -0
  210. data/lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb +0 -0
  211. data/lib/slack/web/api/endpoints/agents_conversations.rb +186 -0
  212. data/lib/slack/web/api/endpoints/agents_sessions.rb +54 -0
  213. data/lib/slack/web/api/endpoints/api.rb +0 -0
  214. data/lib/slack/web/api/endpoints/apps.rb +0 -0
  215. data/lib/slack/web/api/endpoints/apps_activities.rb +0 -0
  216. data/lib/slack/web/api/endpoints/apps_auth_external.rb +0 -0
  217. data/lib/slack/web/api/endpoints/apps_connections.rb +0 -0
  218. data/lib/slack/web/api/endpoints/apps_datastore.rb +0 -0
  219. data/lib/slack/web/api/endpoints/apps_event_authorizations.rb +0 -0
  220. data/lib/slack/web/api/endpoints/apps_icon.rb +0 -0
  221. data/lib/slack/web/api/endpoints/apps_managed_permissions.rb +27 -0
  222. data/lib/slack/web/api/endpoints/apps_manifest.rb +0 -0
  223. data/lib/slack/web/api/endpoints/apps_user_connection.rb +0 -0
  224. data/lib/slack/web/api/endpoints/assistant_search.rb +0 -0
  225. data/lib/slack/web/api/endpoints/assistant_threads.rb +1 -1
  226. data/lib/slack/web/api/endpoints/auth.rb +0 -0
  227. data/lib/slack/web/api/endpoints/auth_teams.rb +0 -0
  228. data/lib/slack/web/api/endpoints/blocks.rb +0 -0
  229. data/lib/slack/web/api/endpoints/bookmarks.rb +0 -0
  230. data/lib/slack/web/api/endpoints/bots.rb +0 -0
  231. data/lib/slack/web/api/endpoints/calls.rb +0 -0
  232. data/lib/slack/web/api/endpoints/calls_participants.rb +0 -0
  233. data/lib/slack/web/api/endpoints/canvases.rb +16 -2
  234. data/lib/slack/web/api/endpoints/canvases_access.rb +0 -0
  235. data/lib/slack/web/api/endpoints/canvases_sections.rb +0 -0
  236. data/lib/slack/web/api/endpoints/chat.rb +14 -10
  237. data/lib/slack/web/api/endpoints/chat_scheduledMessages.rb +0 -0
  238. data/lib/slack/web/api/endpoints/conversations.rb +1 -1
  239. data/lib/slack/web/api/endpoints/conversations_canvases.rb +1 -1
  240. data/lib/slack/web/api/endpoints/conversations_externalInvitePermissions.rb +0 -0
  241. data/lib/slack/web/api/endpoints/conversations_requestSharedInvite.rb +0 -0
  242. data/lib/slack/web/api/endpoints/dialog.rb +0 -0
  243. data/lib/slack/web/api/endpoints/dnd.rb +0 -0
  244. data/lib/slack/web/api/endpoints/emoji.rb +0 -0
  245. data/lib/slack/web/api/endpoints/entity.rb +48 -0
  246. data/lib/slack/web/api/endpoints/files.rb +7 -0
  247. data/lib/slack/web/api/endpoints/files_comments.rb +0 -0
  248. data/lib/slack/web/api/endpoints/files_remote.rb +0 -0
  249. data/lib/slack/web/api/endpoints/functions.rb +0 -0
  250. data/lib/slack/web/api/endpoints/functions_distributions_permissions.rb +0 -0
  251. data/lib/slack/web/api/endpoints/functions_workflows_steps.rb +0 -0
  252. data/lib/slack/web/api/endpoints/functions_workflows_steps_responses.rb +0 -0
  253. data/lib/slack/web/api/endpoints/migration.rb +0 -0
  254. data/lib/slack/web/api/endpoints/oauth.rb +0 -0
  255. data/lib/slack/web/api/endpoints/oauth_v2.rb +33 -0
  256. data/lib/slack/web/api/endpoints/oauth_v2_user.rb +0 -0
  257. data/lib/slack/web/api/endpoints/openid_connect.rb +0 -0
  258. data/lib/slack/web/api/endpoints/pins.rb +1 -1
  259. data/lib/slack/web/api/endpoints/reactions.rb +0 -0
  260. data/lib/slack/web/api/endpoints/reminders.rb +0 -0
  261. data/lib/slack/web/api/endpoints/rtm.rb +0 -0
  262. data/lib/slack/web/api/endpoints/search.rb +0 -0
  263. data/lib/slack/web/api/endpoints/slackLists.rb +0 -0
  264. data/lib/slack/web/api/endpoints/slackLists_access.rb +0 -0
  265. data/lib/slack/web/api/endpoints/slackLists_download.rb +14 -0
  266. data/lib/slack/web/api/endpoints/slackLists_items.rb +3 -1
  267. data/lib/slack/web/api/endpoints/slackbot_skills.rb +107 -0
  268. data/lib/slack/web/api/endpoints/slackbot_skills_library.rb +36 -0
  269. data/lib/slack/web/api/endpoints/stars.rb +0 -0
  270. data/lib/slack/web/api/endpoints/team.rb +2 -0
  271. data/lib/slack/web/api/endpoints/team_billing.rb +0 -0
  272. data/lib/slack/web/api/endpoints/team_externalTeams.rb +1 -1
  273. data/lib/slack/web/api/endpoints/team_preferences.rb +0 -0
  274. data/lib/slack/web/api/endpoints/team_profile.rb +0 -0
  275. data/lib/slack/web/api/endpoints/tooling_tokens.rb +0 -0
  276. data/lib/slack/web/api/endpoints/usergroups.rb +0 -0
  277. data/lib/slack/web/api/endpoints/usergroups_users.rb +0 -0
  278. data/lib/slack/web/api/endpoints/users.rb +2 -1
  279. data/lib/slack/web/api/endpoints/users_admin.rb +0 -0
  280. data/lib/slack/web/api/endpoints/users_discoverableContacts.rb +0 -0
  281. data/lib/slack/web/api/endpoints/users_prefs.rb +0 -0
  282. data/lib/slack/web/api/endpoints/users_profile.rb +0 -0
  283. data/lib/slack/web/api/endpoints/views.rb +0 -0
  284. data/lib/slack/web/api/endpoints/workflows_featured.rb +0 -0
  285. data/lib/slack/web/api/endpoints/workflows_triggers_permissions.rb +0 -0
  286. data/lib/slack/web/api/endpoints.rb +24 -0
  287. data/lib/slack/web/api/error.rb +0 -0
  288. data/lib/slack/web/api/errors/server_error.rb +1 -1
  289. data/lib/slack/web/api/errors/slack_error.rb +1 -1
  290. data/lib/slack/web/api/errors/too_many_requests_error.rb +1 -1
  291. data/lib/slack/web/api/errors.rb +384 -10
  292. data/lib/slack/web/api/helpers/files.rb +2 -2
  293. data/lib/slack/web/api/helpers.rb +0 -0
  294. data/lib/slack/web/api/mixins/conversations.id.rb +2 -1
  295. data/lib/slack/web/api/mixins/ids.id.rb +2 -1
  296. data/lib/slack/web/api/mixins/users.id.json +0 -0
  297. data/lib/slack/web/api/mixins/users.id.rb +2 -1
  298. data/lib/slack/web/api/mixins/users.search.json +0 -0
  299. data/lib/slack/web/api/mixins/users.search.rb +1 -1
  300. data/lib/slack/web/api/mixins.rb +0 -0
  301. data/lib/slack/web/api/options.rb +0 -0
  302. data/lib/slack/web/api/patches/.gitkeep +0 -0
  303. data/lib/slack/web/api/patches/files.default-filename.patch +12 -0
  304. data/lib/slack/web/api/schema/group.json +0 -0
  305. data/lib/slack/web/api/schema/method.json +0 -0
  306. data/lib/slack/web/api/templates/command.erb +0 -0
  307. data/lib/slack/web/api/templates/endpoints.erb +0 -0
  308. data/lib/slack/web/api/templates/errors.erb +0 -0
  309. data/lib/slack/web/api/templates/method.erb +0 -0
  310. data/lib/slack/web/api/templates/method_spec.erb +0 -0
  311. data/lib/slack/web/client.rb +29 -0
  312. data/lib/slack/web/config.rb +0 -0
  313. data/lib/slack/web/faraday/connection.rb +0 -0
  314. data/lib/slack/web/faraday/options.rb +0 -0
  315. data/lib/slack/web/faraday/request.rb +22 -2
  316. data/lib/slack/web/faraday/response/raise_error.rb +0 -0
  317. data/lib/slack/web/faraday/response/wrap_error.rb +0 -0
  318. data/lib/slack/web/pagination/cursor.rb +0 -0
  319. data/lib/slack-ruby-client.rb +0 -0
  320. data/lib/slack.rb +0 -0
  321. data/lib/slack_ruby_client.rb +0 -0
  322. data/lib/tasks/git.rake +0 -0
  323. data/lib/tasks/update.rake +0 -0
  324. data/lib/tasks/web.rake +0 -0
  325. data/script/release.rb +33 -0
  326. data/slack-ruby-client.gemspec +1 -3
  327. data/slack.png +0 -0
  328. metadata +41 -17
data/AGENTS.md ADDED
@@ -0,0 +1,12 @@
1
+ # Contributor Guidance
2
+
3
+ Read [CONTRIBUTING.md](CONTRIBUTING.md) first for setup, tests, lint, changelog, pull request, and API patch instructions. Keep those instructions there rather than duplicating them here.
4
+
5
+ - Preserve the supported-Ruby test matrix when changing lint dependencies.
6
+ - When upgrading lint tooling, review safe corrections and baseline only remaining unrelated offenses.
7
+ - Exception message corrections can change public error strings. Update matching specs, including handwritten specs under `spec/slack/web/api/endpoints/custom/`.
8
+ - Use lowercase exception messages without a trailing period, including messages passed to `super` in error constructors; the exception-message cops may not detect that form. Preserve upstream Slack error codes and dynamically supplied messages.
9
+ - Load RuboCop extensions through `plugins:`. When upgrading an extension, migrate renamed cops and obsolete parameters, review safe corrections, and preserve existing behavior rather than blindly applying unsafe fixes.
10
+ - Do not edit the API-reference submodule or include existing submodule changes unless requested.
11
+ - The API update task pulls the latest reference and can generate unrelated changes. Verify the patch against both the latest and pinned reference; keep unrelated generated updates out of a focused PR. Custom endpoint specs are handwritten despite their location under `endpoints/`.
12
+ - Do not suppress environment warnings in application code or tests. Report local validation limitations explicitly; CLI specs compare subprocess output and can fail when Bundler emits unrelated warnings.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,53 @@
1
+ ### 3.4.0 (2026/11/24)
2
+
3
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Add admin.conversations.kick with required channel_id and user_ids arguments and admin.users.deactivate with a required user_id argument - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
4
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Expose admin.analytics.members and admin.analytics.slackbot endpoint groups - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
5
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Expose admin.slackbot.skills, slackbot.skills, and slackbot.skills.library endpoint groups - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
6
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Expose the admin.users.access endpoint group - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
7
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Expose the agents.conversations endpoint group - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
8
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Add an include_archived argument to slackLists.download.get - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
9
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Add an include_slackbot_availability argument to team.info - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
10
+ * [#609](https://github.com/slack-ruby/slack-ruby-client/pull/609): Remove require_sc_channel_for_sc_dm from the documented team.externalTeams.list slack_connect_pref_filter values - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
11
+ * [#614](https://github.com/slack-ruby/slack-ruby-client/pull/614): Upgrade to danger/danger-pr-comment 0.3.0, pinned by commit, skip empty Danger comments, allow stacked pull request targets, and cancel superseded Danger runs - [@dblock](https://github.com/dblock).
12
+ * [#615](https://github.com/slack-ruby/slack-ruby-client/pull/615): Lint Markdown, YAML, and spelling with rubocop-md, rubocop-prose, rubocop-spellcheck, and rubocop-yaml, and refresh the documentation for `docs.slack.dev` and the removed RealTime client - [@dblock](https://github.com/dblock).
13
+ * [#617](https://github.com/slack-ruby/slack-ruby-client/pull/617): Release with ruby-gem-release through a manually dispatched GitHub Actions workflow and RubyGems Trusted Publishing - [@dblock](https://github.com/dblock).
14
+ * [#618](https://github.com/slack-ruby/slack-ruby-client/pull/618): Add benchmarks for message formatting, Events API signature verification, and Web client requests - [@dblock](https://github.com/dblock).
15
+ * [#619](https://github.com/slack-ruby/slack-ruby-client/pull/619): Speed up `Slack::Messages::Formatting.unescape` and `markdown` by skipping passes that cannot match, and avoid per-entry allocations when looking up channel and user IDs by name - [@dblock](https://github.com/dblock).
16
+
17
+ ### 3.3.0 (2026/10/09)
18
+
19
+ * [#607](https://github.com/slack-ruby/slack-ruby-client/pull/607): Support non-rewindable Rack 3 request bodies when verifying Events API signatures, with WEBrick integration coverage; follows [#515](https://github.com/slack-ruby/slack-ruby-client/pull/515) - [@olleolleolle](https://github.com/olleolleolle), [@dblock](https://github.com/dblock).
20
+ * [#606](https://github.com/slack-ruby/slack-ruby-client/pull/606): Add configured client copies with error callbacks for Slack and transport failures - [@dblock](https://github.com/dblock).
21
+ * [#605](https://github.com/slack-ruby/slack-ruby-client/pull/605): Add configured client copies with request and response callbacks, including pagination - [@dblock](https://github.com/dblock).
22
+ * [#603](https://github.com/slack-ruby/slack-ruby-client/pull/603): Enforce consistent exception messages with rubocop-exception_messages and run lint separately from the test matrix - [@dblock](https://github.com/dblock).
23
+ * [#602](https://github.com/slack-ruby/slack-ruby-client/pull/602): Make gli an optional dependency; only the `slack` command-line client needs it - [@corsonknowles](https://github.com/corsonknowles).
24
+ * [#599](https://github.com/slack-ruby/slack-ruby-client/pull/599): Set a default filename in `files_upload` so Slack displays image previews correctly when none is specified - [@ts-3156](https://github.com/ts-3156), [@dblock](https://github.com/dblock).
25
+ * [#591](https://github.com/slack-ruby/slack-ruby-client/pull/591): Generate AI CHANGELOG entries and PR summaries for automated API update PRs, lock simplecov below 1.1.0 to avoid breaking Coveralls - [@dblock](https://github.com/dblock).
26
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add entity.acknowledgeCommentAction and entity.presentComments methods - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
27
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add admin.apps.mcpServers, admin.apps.mcpServers.permissions, and admin.apps.permissions endpoints - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
28
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add a metadata argument to chat.postEphemeral - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
29
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Remove required :url validation from admin.emoji.add - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
30
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add username, icon_url, and icon_emoji arguments to files.completeUploadExternal - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
31
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add format, include_threads, and include_attachments arguments to slackLists.download.start and slackLists.download.get - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
32
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add exclude_muted argument to users.conversations - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
33
+ * [#590](https://github.com/slack-ruby/slack-ruby-client/pull/590): Add new error codes to errors.rb and update slack-api-ref submodule - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
34
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Add admin.conversations.bulkSetProperties method for bulk-setting channel properties - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
35
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Add admin.usergroups.removeTeams method for removing default workspaces from an organization-wide IDP Group or Admin Group - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
36
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Add unfurl_app_links argument to chat.postMessage - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
37
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Remove required team_id argument from admin.users.session.invalidate - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
38
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Add AgentsSessions and AppsManagedPermissions endpoint modules for agents.sessions and apps.managedPermissions methods - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
39
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Increase conversations.invite users limit from 100 to 1000 - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
40
+ * [#597](https://github.com/slack-ruby/slack-ruby-client/pull/597): Add new Slack API error codes - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
41
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Add channel_ids argument to admin.apps.permissions.add and admin.apps.permissions.remove, and channel_restriction_mode/channel_ids arguments to admin.apps.permissions.set - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
42
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Add oauth.v2.beginShortTokenRotation and oauth.v2.completeShortTokenRotation methods - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
43
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Add session_status argument to chat.stopStream - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
44
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Add include_list argument to slackLists.items.list - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
45
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Update chat.startStream and chat.stopStream chunks argument documentation to mention markdown text, task update, plan update, and blocks chunk objects - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
46
+ * [#600](https://github.com/slack-ruby/slack-ruby-client/pull/600): Add new error codes including AgentPromptDisplayNotAllowed, ChannelRestrictionRequiresAppAccess, ChannelRestrictionsNotAvailable, RotationNotFound, TokenTooLong, TooManyChannels, UserIsExternalGuest, and UserNotAuthenticated - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
47
+ * [#608](https://github.com/slack-ruby/slack-ruby-client/pull/608): Add admin.usergroups.addUsers, admin.usergroups.removeUsers, admin.usergroups.create, admin.usergroups.fetch, admin.usergroups.update, and admin.usergroups.uploadUsers methods - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
48
+ * [#608](https://github.com/slack-ruby/slack-ruby-client/pull/608): Add canvases.getContent method to fetch canvas content as markdown or HTML - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
49
+ * [#608](https://github.com/slack-ruby/slack-ruby-client/pull/608): Add new Slack API error codes to Errors - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
50
+
1
51
  ### 3.2.0 (2026/07/05)
2
52
 
3
53
  * [#581](https://github.com/slack-ruby/slack-ruby-client/pull/581): Migrate Danger to use danger-pr-comment workflow - [@dblock](https://github.com/dblock).
data/CONTRIBUTING.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # Contributing to Slack-Ruby-Client
2
2
 
3
- This project is work of [many contributors](https://github.com/slack-ruby/slack-ruby-client/graphs/contributors).
3
+ This project is the work of [many contributors](https://github.com/slack-ruby/slack-ruby-client/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/slack-ruby/slack-ruby-client/pulls) and to [propose features and discuss issues](https://github.com/slack-ruby/slack-ruby-client/issues).
4
4
 
5
- You're encouraged to submit [pull requests](https://github.com/slack-ruby/slack-ruby-client/pulls), [propose features and discuss issues](https://github.com/slack-ruby/slack-ruby-client/issues).
5
+ In the examples below, substitute your GitHub username for `contributor` in URLs.
6
6
 
7
- In the examples below, substitute your Github username for `contributor` in URLs.
7
+ ## Set Up
8
8
 
9
9
  ### Fork the Project
10
10
 
11
- Fork the [project on Github](https://github.com/slack-ruby/slack-ruby-client) and check out your copy.
11
+ Fork the [project on GitHub](https://github.com/slack-ruby/slack-ruby-client) and check out your copy.
12
12
 
13
- ```
13
+ ```bash
14
14
  git clone https://github.com/contributor/slack-ruby-client.git
15
15
  cd slack-ruby-client
16
16
  git remote add upstream https://github.com/slack-ruby/slack-ruby-client.git
@@ -18,16 +18,16 @@ git remote add upstream https://github.com/slack-ruby/slack-ruby-client.git
18
18
 
19
19
  ### Bundle Install and Test
20
20
 
21
- Ensure that you can build the project and run tests.
21
+ Ensure that you can build the project and run tests. The gem supports Ruby 2.7 and newer.
22
22
 
23
- ```
23
+ ```bash
24
24
  bundle install
25
25
  bundle exec rake
26
26
  ```
27
27
 
28
28
  ### Run Examples in Development
29
29
 
30
- Sign up for Slack, create a private Slack team for yourself, then [generate an API token](https://api.slack.com/tutorials/tracks/getting-a-token) for your app and use it for some interactions. To get a token you will need to install the app in a workspace, and use the "User OAuth Token" from installed app settings.
30
+ Sign up for Slack, create a private Slack workspace for yourself, then [create an app and obtain a token](https://docs.slack.dev/authentication/tokens/). To get a token, install the app in a workspace and use the "User OAuth Token" from the installed app settings.
31
31
 
32
32
  Try running the examples in the [examples](examples) directory.
33
33
 
@@ -41,9 +41,9 @@ SLACK_API_TOKEN=... bundle exec ruby hi.rb
41
41
 
42
42
  ### Create a Topic Branch
43
43
 
44
- Make sure your fork is up-to-date and create a topic branch for your feature or bug fix.
44
+ Make sure your fork is up to date and create a topic branch for your feature or bug fix.
45
45
 
46
- ```
46
+ ```bash
47
47
  git checkout master
48
48
  git pull upstream master
49
49
  git checkout -b my-feature-branch
@@ -59,113 +59,113 @@ We definitely appreciate pull requests that highlight or reproduce a problem, ev
59
59
 
60
60
  Implement your feature or bug fix.
61
61
 
62
- Ruby style is enforced with [Rubocop](https://github.com/bbatsov/rubocop). Run `bundle exec rubocop` and fix any style issues highlighted, auto-correct issues when possible with `bundle exec rubocop -a`. To silence generally ignored issues, including line lengths or code complexity metrics, run `bundle exec rubocop --auto-gen-config`.
62
+ Ruby style, Markdown, YAML, and spelling are enforced with [RuboCop](https://github.com/rubocop/rubocop), including [exception message conventions](https://github.com/dblock/rubocop-exception_messages), [rubocop-md](https://github.com/rubocop/rubocop-md), [rubocop-prose](https://github.com/dblock/rubocop-prose), [rubocop-spellcheck](https://github.com/dblock/rubocop-spellcheck), and [rubocop-yaml](https://github.com/dblock/rubocop-yaml). The main Gemfile includes lint dependencies only on Ruby 3.2 and newer so tests can continue running on older supported Ruby versions.
63
+
64
+ ```bash
65
+ bundle install
66
+ bundle exec rake lint
67
+ ```
68
+
69
+ Fix any style issues highlighted, auto-correcting safe issues with `bundle exec rubocop -a`. Exception message corrections require `-A`; review them and update message expectations in tests. Add reviewed project vocabulary, such as API names and contributor handles, to [.spellcheck.txt](.spellcheck.txt) rather than disabling spelling checks. To regenerate the baseline for generally ignored issues, including line lengths or code complexity metrics, run `bundle exec rubocop --auto-gen-config`.
70
+
71
+ The default `bundle exec rake` runs tests only. CI runs lint separately on Ruby 4.0.
72
+
73
+ ### Run Benchmarks
63
74
 
64
- Make sure that `bundle exec rake` completes without errors.
75
+ Benchmarks in [benchmarks](benchmarks) measure iterations per second and allocations with [benchmark-ips](https://github.com/evanphx/benchmark-ips) and [benchmark-memory](https://github.com/michaelherold/benchmark-memory). Web client benchmarks answer requests in process with canned JSON, so they measure the client stack without network latency. Run them before and after a performance change and include the results in your pull request.
76
+
77
+ ```bash
78
+ bundle exec rake benchmark
79
+ bundle exec ruby benchmarks/formatting.rb
80
+ BENCHMARK_TIME=5 bundle exec ruby benchmarks/web_client.rb
81
+ ```
65
82
 
66
83
  ### Write Documentation
67
84
 
68
- Document any external behavior in the [README](README.md).
85
+ Document any external behavior in the [README](README.md). Keep each Markdown paragraph on a single line.
69
86
 
70
87
  ### Update Changelog
71
88
 
72
- Add a line to [CHANGELOG](CHANGELOG.md) under *Next Release*. Don't remove *Your contribution here*.
89
+ Add a line to [CHANGELOG](CHANGELOG.md) under the `(Next)` release, above `* Your contribution here.`, which must not be removed. Make it look like every other line, including a link to the pull request, your name, and a link to your GitHub account.
73
90
 
74
- Make it look like every other line, including a link to the issue being fixed, your name and link to your Github account.
91
+ ```markdown
92
+ * [#123](https://github.com/slack-ruby/slack-ruby-client/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
93
+ ```
94
+
95
+ If you don't know the pull request number yet, open the pull request first, then amend the entry.
75
96
 
76
97
  ### Commit Changes
77
98
 
78
- Make sure git knows your name and email address:
99
+ Make sure Git knows your name and email address.
79
100
 
80
- ```
101
+ ```bash
81
102
  git config --global user.name "Your Name"
82
103
  git config --global user.email "contributor@example.com"
83
104
  ```
84
105
 
85
106
  Writing good commit logs is important. A commit log should describe what changed and why.
86
107
 
87
- ```
108
+ ```bash
88
109
  git add ...
89
110
  git commit
90
111
  ```
91
112
 
92
113
  ### Push
93
114
 
94
- ```
115
+ ```bash
95
116
  git push origin my-feature-branch
96
117
  ```
97
118
 
98
119
  ### Make a Pull Request
99
120
 
100
- Go to https://github.com/contributor/slack-ruby-client and select your feature branch. Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
101
-
102
- ### Update CHANGELOG Again
103
-
104
- Update the [CHANGELOG](CHANGELOG.md) with the pull request number. A typical entry looks as follows.
105
-
106
- ```
107
- * [#123](https://github.com/slack-ruby/slack-ruby-client/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
108
- ```
109
-
110
- Amend your previous commit and force push the changes.
111
-
112
- ```
113
- git commit --amend
114
- git push origin my-feature-branch -f
115
- ```
121
+ Go to `https://github.com/contributor/slack-ruby-client`, select your feature branch, and click the "Pull Request" button. Pull requests are usually reviewed within a few days.
116
122
 
117
123
  ### Rebase
118
124
 
119
- If you've been working on a change for a while, rebase with upstream/master.
125
+ If you've been working on a change for a while, rebase on `upstream/master` and amend your commit as needed.
120
126
 
121
- ```
127
+ ```bash
122
128
  git fetch upstream
123
129
  git rebase upstream/master
124
- git push origin my-feature-branch -f
130
+ git push origin my-feature-branch --force-with-lease
125
131
  ```
126
132
 
127
133
  ### Check on Your Pull Request
128
134
 
129
- Go back to your pull request after a few minutes and see whether it passed muster with CI. Everything should look green, otherwise fix issues and amend your commit as described above.
135
+ Go back to your pull request after a few minutes and check whether it passed CI. Everything should look green; otherwise, fix the issues and amend your commit as described above. Danger checks the changelog and the README table of contents and comments on the pull request when it finds problems.
130
136
 
131
137
  ### Be Patient
132
138
 
133
- It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang on there!
134
- While you wait you can help with keeping the Slack Web API up to date, see [below](#update-slack-web-api).
139
+ It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there! While you wait, you can help keep the Slack Web API up to date, see [below](#update-slack-web-api).
135
140
 
136
- ### Update Slack Web API
141
+ ## Update Slack Web API
137
142
 
138
143
  Please make sure to [create a separate branch](#create-a-topic-branch) for your changes.
139
144
 
140
- Slack Web API is updated from https://github.com/slack-ruby/slack-api-ref, a maintained, machine-readable version of Slack API Docs, generated by scraping [api.slack.com](https://api.slack.com). To update the Web API from the latest definition run the following Rake task.
145
+ The Slack Web API is generated from [slack-api-ref](https://github.com/slack-ruby/slack-api-ref), a maintained, machine-readable version of the Slack API documentation. The [Update API](.github/workflows/update_api.yml) workflow runs this weekly and opens a pull request. To update the Web API from the latest definition locally, run the following Rake task.
141
146
 
142
- ```
147
+ ```bash
143
148
  bundle exec rake slack:api:update
144
149
  ```
145
150
 
146
- #### Patching Slack Web API
151
+ ### Patching Slack Web API
147
152
 
148
153
  Sometimes it's necessary to patch auto-generated Slack Web API methods. For example, we want to help clients with calling `to_json` on the `attachments` parameter sent to `chat_postMessage`. See [#20](https://github.com/slack-ruby/slack-ruby-client/issues/20).
149
154
 
150
155
  The broad steps are:
151
- 1. Run `rake slack:api:update` to check that existing patches are still valid.
152
- - If you run into a `failed to apply patch` error, the auto-generated methods likely drifted from the last patch. Follow the steps [below](#resolving-patch-errors).
153
- - This may add new methods if the API has updated, please split them up into multiple PRs if so.
156
+
157
+ 1. Run `bundle exec rake slack:api:update` to check that existing patches are still valid. If you run into a `failed to apply patch` error, the auto-generated methods likely drifted from the last patch; follow the steps [below](#resolving-patch-errors). This may add new methods if the API has been updated; if so, please split them into separate pull requests.
154
158
  2. Make a change to a generated file, for example `lib/slack/web/api/endpoints/chat.rb`.
155
- 3. Generate a patch:
156
- ```
157
- git diff --no-color HEAD lib/slack/web/api/endpoints/chat.rb > lib/slack/web/api/patches/chat.added-support.patch
158
- ```
159
- 4. Run `rake slack:api:update` to ensure that the patch is cleanly applied. Implement a test for the added or modified functionality and commit the patch file.
159
+ 3. Generate a patch with `git diff --no-color HEAD lib/slack/web/api/endpoints/chat.rb > lib/slack/web/api/patches/chat.added-support.patch`.
160
+ 4. Run `bundle exec rake slack:api:update` to ensure that the patch is cleanly applied. Implement a test for the added or modified functionality and commit the patch file.
160
161
 
161
- ##### Resolving Patch Errors
162
+ ### Resolving Patch Errors
162
163
 
163
- The auto-generated method files may drift overtime e.g. new arguments may be added or descriptions changed. Since previous patches were based on the older auto-generated files, git may be unable to apply them to the new files. Resolving them requires some good ol' splicing:
164
- 1. Run `rake slack:api:update SKIP_PATCH=true` to create the raw auto-generated files. Commit the files that you are updating, so we can run `git diff` later.
165
- 2. Go through the old patches for the files (e.g. in `lib/slack/web/api/patches/chat.added-support.patch`), copying code into the new files.
166
- - Run `git apply --reject path/to/patch-file.patch` to see hunks that couldn't be applied.
167
- 3. Continue with Step 2 [above](#patching-slack-web-api).
164
+ The auto-generated method files may drift over time, e.g. new arguments may be added or descriptions changed. Since previous patches were based on the older auto-generated files, Git may be unable to apply them to the new files. Resolving them requires some good ol' splicing:
168
165
 
166
+ 1. Run `bundle exec rake slack:api:update SKIP_PATCH=true` to create the raw auto-generated files. Commit the files that you are updating, so you can run `git diff` later.
167
+ 2. Go through the old patches for the files (e.g. `lib/slack/web/api/patches/chat.added-support.patch`), copying code into the new files. Run `git apply --reject path/to/patch-file.patch` to see hunks that couldn't be applied.
168
+ 3. Continue with step 2 [above](#patching-slack-web-api).
169
169
 
170
170
  ## Thank You
171
171
 
data/Dangerfile CHANGED
File without changes
data/Gemfile CHANGED
@@ -12,18 +12,46 @@ group :test do
12
12
  gem 'danger-toc', require: false
13
13
  gem 'erubis'
14
14
  gem 'faraday-typhoeus'
15
+ gem 'gli'
15
16
  gem 'json-schema'
16
17
  gem 'mutex_m'
17
18
  gem 'racc'
19
+ gem 'rackup', '~> 2.1'
18
20
  gem 'rake', '~> 13'
19
21
  gem 'rspec'
20
- gem 'rubocop', '1.26.1' # Lock to specific version to avoid breaking cops/changes
21
- gem 'rubocop-performance'
22
- gem 'rubocop-rake'
23
- gem 'rubocop-rspec'
24
- gem 'simplecov'
22
+ # Lock below 1.1.0, which started writing float timestamps to
23
+ # coverage/.resultset.json, breaking coverallsapp/github-action's parser
24
+ # (coverallsapp/github-action#269, coverallsapp/coverage-reporter#191).
25
+ gem 'simplecov', '< 1.1.0'
25
26
  gem 'simplecov-lcov'
26
27
  gem 'timecop'
27
28
  gem 'vcr'
28
29
  gem 'webmock'
30
+ gem 'webrick', '~> 1.8'
31
+ end
32
+
33
+ group :benchmark do
34
+ gem 'benchmark-ips', '~> 2.15', require: false
35
+ gem 'benchmark-memory', '~> 0.2', require: false
36
+ end
37
+
38
+ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.2')
39
+ group :lint do
40
+ gem 'rubocop', '~> 1.92'
41
+ gem 'rubocop-exception_messages', '~> 0.2.0', require: false
42
+ gem 'rubocop-md', '~> 3.0', require: false
43
+ gem 'rubocop-performance', '~> 1.27', require: false
44
+ gem 'rubocop-prose', '~> 0.2', require: false
45
+ gem 'rubocop-rake', '~> 0.7', require: false
46
+ gem 'rubocop-rspec', '~> 3.10', require: false
47
+ gem 'rubocop-spellcheck', '~> 0.2', require: false
48
+ gem 'rubocop-yaml', '~> 0.1.0', require: false
49
+ end
50
+ end
51
+
52
+ if RUBY_ENGINE == 'ruby' && Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.3')
53
+ group :development do
54
+ gem 'commonmarker', '~> 2.10', require: false
55
+ gem 'ruby-gem-release', '0.9.0', require: false
56
+ end
29
57
  end
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2015-2025 Daniel Doubrovkine, Artsy and Contributors
3
+ Copyright (c) 2015-2026 Daniel Doubrovkine, Artsy and Contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the