bug_bunny 4.5.1 → 4.5.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 +5 -0
- data/lib/bug_bunny/controller.rb +0 -13
- 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: a0f764a7f2038bc0f25ae3b15ed137eb54d7061674fa5903833f77b226a2484b
|
|
4
|
+
data.tar.gz: 3f8d05f541e050441f6b9a15d6dce28fd4aa545258001bccbfe31ae8106729c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0647375c55483c1baade8baaf9d9825d0bb02d164ad2fa0b1967bbf42eeef0355c29795c0a7befa2ed154eee7113e299845f2f798770b03a87ad0b2cd73b92c
|
|
7
|
+
data.tar.gz: 52e78f60fcf5aa0ed55e22c210b223ba27b5681939033ee903c604432ba4a4ffd66a0f4d48aa309c9cd03a6d6afbb7c945a3e0f255065bb61b64949e2e497750
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.5.2] - 2026-03-30
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
* **Controller:** Se eliminó el método `headers` introducido en v4.5.0 que pisaba el `attribute :headers` de ActiveModel. Esto causaba que `headers[:action]` fuera `nil` al procesar cualquier mensaje, resultando en `NoMethodError: undefined method 'to_sym' for nil`. Los response headers siguen siendo accesibles via `response_headers`.
|
|
7
|
+
|
|
3
8
|
## [4.5.1] - 2026-03-30
|
|
4
9
|
|
|
5
10
|
### ✨ New Features
|
data/lib/bug_bunny/controller.rb
CHANGED
|
@@ -33,7 +33,6 @@ module BugBunny
|
|
|
33
33
|
attribute :raw_string
|
|
34
34
|
|
|
35
35
|
# @return [Hash] Headers de respuesta que serán enviados de vuelta en RPC.
|
|
36
|
-
# @deprecated Use {#response_headers} instead or the helper {#headers}.
|
|
37
36
|
attr_reader :response_headers
|
|
38
37
|
|
|
39
38
|
# @return [Hash, nil] Respuesta final renderizada.
|
|
@@ -41,18 +40,6 @@ module BugBunny
|
|
|
41
40
|
|
|
42
41
|
# @!endgroup
|
|
43
42
|
|
|
44
|
-
# API de Cabeceras de Respuesta (Estilo Rails)
|
|
45
|
-
# Permite manipular fácilmente los headers AMQP que se enviarán de vuelta al cliente.
|
|
46
|
-
#
|
|
47
|
-
# @example
|
|
48
|
-
# headers['X-Custom-Header'] = 'Value'
|
|
49
|
-
# headers[:content_type] = 'application/pdf'
|
|
50
|
-
#
|
|
51
|
-
# @return [Hash] El Hash de cabeceras de respuesta.
|
|
52
|
-
def headers
|
|
53
|
-
@response_headers
|
|
54
|
-
end
|
|
55
|
-
|
|
56
43
|
|
|
57
44
|
# ==========================================
|
|
58
45
|
# INFRAESTRUCTURA DE FILTROS Y LOGS (HEREDABLES)
|
data/lib/bug_bunny/version.rb
CHANGED