bug_bunny 4.6.0 → 4.6.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 +5 -0
- data/lib/bug_bunny/observability.rb +1 -2
- data/lib/bug_bunny/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: e343050740bfba4fef99a97a9240980ebc712a1bc39bb594fbb9645bbe9a554b
|
|
4
|
+
data.tar.gz: 5e39825912acf1d7b2841e9e8ed9fd2bdcc54346430a9626a076447816f51649
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c668cb312967bb353a8de9553d955ff392e0187ba619fc96a16fc4d0fe4ab39bbff84c9374a8ccdd39ba2e4037279d2addf6843d212f1bb38c267ac16e7b4be2
|
|
7
|
+
data.tar.gz: 5b7f127e89bfe17939fa4d6aab7a8a3ceb989ec04ce7e748f9711bb6273c63ee562d0f777ab3a09bb04b9588d74e45542b01935e7994d49b584f7580aef90fba
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.6.1] - 2026-03-31
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
* **Observability:** `safe_log` ahora serializa valores `Hash` siempre como JSON compacto (`val.to_json`), sin pasar por `.inspect`. Anteriormente, si el JSON del Hash contenía espacios, se llamaba `.inspect` produciendo strings escapados como `"{\"exclusive\":false}"` en lugar del objeto JSON esperado `{"exclusive":false}`. Afectaba a los eventos `consumer.start` (campo `queue_opts`) y `consumer.bound` (campo `exchange_opts`).
|
|
7
|
+
|
|
3
8
|
## [4.6.0] - 2026-03-31
|
|
4
9
|
|
|
5
10
|
### ✨ New Features
|
|
@@ -24,8 +24,7 @@ module BugBunny
|
|
|
24
24
|
formatted = case val
|
|
25
25
|
when Numeric then val
|
|
26
26
|
when Hash
|
|
27
|
-
|
|
28
|
-
json.include?(" ") ? json.inspect : json
|
|
27
|
+
val.to_json
|
|
29
28
|
when String then val.include?(" ") ? val.inspect : val
|
|
30
29
|
else val.to_s.include?(" ") ? val.to_s.inspect : val
|
|
31
30
|
end
|
data/lib/bug_bunny/version.rb
CHANGED