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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c9f75619decb8d892d2bfe8c56424822672b6b6b5f3be85442be1399c38e76a
4
- data.tar.gz: 7fc1e66a10f46d0a6120dd6164b10b0f1b30d2ff91e8d5daed4358f771f2cc49
3
+ metadata.gz: e343050740bfba4fef99a97a9240980ebc712a1bc39bb594fbb9645bbe9a554b
4
+ data.tar.gz: 5e39825912acf1d7b2841e9e8ed9fd2bdcc54346430a9626a076447816f51649
5
5
  SHA512:
6
- metadata.gz: fd5f4141f5a7892f84d5b3894535632fe63ce24320637a5896530b025c4f3dc8f002f75c41f7cbec57258bca857d58cd1d531c0abf3d6f2047e049cc6119ae98
7
- data.tar.gz: c13414d24ee769acb483fe4a9ee1f9aa2073ea6bf8bea81e1ac290499ad45cd85471ffd022a304bb6da9cc56e737f868bc441870a1b084b05a60892c6f3b6366
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
- json = val.to_json
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BugBunny
4
- VERSION = "4.6.0"
4
+ VERSION = "4.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bug_bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gabix