eventhub-processor2 1.27.0 → 1.27.2
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 +9 -0
- data/README.md +2 -0
- data/lib/eventhub/actor_listener_amqp.rb +1 -0
- data/lib/eventhub/actor_publisher.rb +1 -0
- data/lib/eventhub/docs_renderer.rb +4 -4
- data/lib/eventhub/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: 1c00f385100ce56b24b64a527d935dc4820ce5446c41361792d5f00b7345940d
|
|
4
|
+
data.tar.gz: f8d3a05880d7af80858c39b000325ec4e3789551961d941cf0511fd051ec6d58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d20c763b7e403e2946a83af3cba688ebbd2ef92199332ce7aa2e22e6c3bd9bc8c288fea4dcace16c2a1d504fb2c8d643a6d3eb54ea419bc482d75675155c5c70
|
|
7
|
+
data.tar.gz: fb3830c2b68e056d995b8c33742cdd46f216788094cce20f25d5e176a74f86facdc52c9b2da9eeb7b9561d7b16cce8683187e1eccb14c6d29ed1d0b820195a74
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog of EventHub::Processor2
|
|
2
2
|
|
|
3
|
+
# 1.27.2 / 2026-04-08
|
|
4
|
+
|
|
5
|
+
* Fix publish return value leaking Bunny::Exchange object back to callers, causing unintended re-publishing of garbage messages via `handle_payload`
|
|
6
|
+
* Add type guard in `handle_payload` to only re-publish `EventHub::Message` instances
|
|
7
|
+
|
|
8
|
+
# 1.27.1 / 2026-04-08
|
|
9
|
+
|
|
10
|
+
* Read markdown files (README, CHANGELOG) as UTF-8 to correctly render Unicode characters (e.g. umlauts, accented characters, emojis)
|
|
11
|
+
|
|
3
12
|
# 1.27.0 / 2026-04-01
|
|
4
13
|
|
|
5
14
|
* Adapt to Bunny 3.0 publisher confirms: use `confirm_select(tracking: true)` for automatic backpressure, remove manual `wait_for_confirms` calls
|
data/README.md
CHANGED
|
@@ -401,6 +401,8 @@ GET {base_path}/docs
|
|
|
401
401
|
|
|
402
402
|
**Response:** `200 OK` with HTML page
|
|
403
403
|
|
|
404
|
+
Markdown files are read as UTF-8, so Unicode characters (umlauts, accented characters, emojis, etc.) are rendered correctly.
|
|
405
|
+
|
|
404
406
|
By default, looks for `README.md` in the current directory, then `doc/README.md`. You can customize the path via configuration:
|
|
405
407
|
|
|
406
408
|
```json
|
|
@@ -35,7 +35,7 @@ module EventHub
|
|
|
35
35
|
def asset(name)
|
|
36
36
|
path = File.join(ASSETS_PATH, name)
|
|
37
37
|
return nil unless File.exist?(path)
|
|
38
|
-
File.read(path)
|
|
38
|
+
File.read(path, encoding: "utf-8")
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
private
|
|
@@ -63,7 +63,7 @@ module EventHub
|
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
if config_path && File.exist?(config_path)
|
|
66
|
-
return File.read(config_path)
|
|
66
|
+
return File.read(config_path, encoding: "utf-8")
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
locations = case type
|
|
@@ -75,7 +75,7 @@ module EventHub
|
|
|
75
75
|
|
|
76
76
|
locations.each do |location|
|
|
77
77
|
path = File.join(Dir.pwd, location)
|
|
78
|
-
return File.read(path) if File.exist?(path)
|
|
78
|
+
return File.read(path, encoding: "utf-8") if File.exist?(path)
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
"No #{(type == :readme) ? "README" : "CHANGELOG"} available."
|
|
@@ -265,7 +265,7 @@ module EventHub
|
|
|
265
265
|
|
|
266
266
|
def render_layout(title:, content:, content_class: "")
|
|
267
267
|
template_path = File.join(TEMPLATES_PATH, "layout.erb")
|
|
268
|
-
template = File.read(template_path)
|
|
268
|
+
template = File.read(template_path, encoding: "utf-8")
|
|
269
269
|
|
|
270
270
|
processor_name = EventHub::Configuration.name
|
|
271
271
|
version = processor_version
|
data/lib/eventhub/version.rb
CHANGED