instagram_connect 0.3.14 → 0.3.15
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 +10 -0
- data/app/jobs/instagram_connect/send_message_job.rb +7 -0
- data/lib/instagram_connect/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edc0d4fd65688f722184b96e4ad2bcceb5566d341075edc1ef4bd4d173eee3ea
|
|
4
|
+
data.tar.gz: d64d05665d7f58193b5794a2acdfd491f5fdf6973005a32d1ec8f131df9263b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cee719b6075599bd6d1806e3e48b9b54b31dcfbe8b034f68e07e6ef4bb55ba2361e2c9ae10b904a2f1251618d65f3d5b6248440400148439d96b0d4c8ee9d1f2
|
|
7
|
+
data.tar.gz: 8bc800300bd705896670f5be6c5e096ac972db3a35d19251d0da9d39ee10a9f575f62b9ca2bbb755533e8e85f8e4d37d6aad769d5e59a43557d114741dd69ad0
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ All notable changes to this project are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.15] - 2026-07-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **A send against an unreadable token fails visibly instead of stranding the bubble.** The send
|
|
14
|
+
job claims the message into "sending" before building a client; the generic token guard then
|
|
15
|
+
logged and stopped, leaving the message spinning forever with no failed state, no retry button
|
|
16
|
+
and no reason on screen. It now fails with `token_unreadable` and the actionable message.
|
|
17
|
+
|
|
18
|
+
|
|
9
19
|
## [0.3.14] - 2026-07-28
|
|
10
20
|
|
|
11
21
|
### Added
|
|
@@ -35,6 +35,13 @@ module InstagramConnect
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
deliver(message, conversation, tag)
|
|
38
|
+
rescue InstagramConnect::TokenUnreadableError => e
|
|
39
|
+
# The generic ApplicationJob rescue logs and stops — right for a sync
|
|
40
|
+
# job, wrong here: this job has already claimed the message into
|
|
41
|
+
# "sending", and swallowing the error leaves that bubble spinning
|
|
42
|
+
# forever with nothing to retry. The operator must see it fail, with
|
|
43
|
+
# the real reason on it.
|
|
44
|
+
fail_message(message, "token_unreadable", e.message)
|
|
38
45
|
end
|
|
39
46
|
|
|
40
47
|
private
|