macaw_framework 1.5.0 → 1.5.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 +3 -0
- data/lib/macaw_framework/core/common/server_base.rb +2 -1
- data/lib/macaw_framework/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: 36ed8915e862db713e130e288cc6ed4ca4e1f86fdf08363629c7b05142a6475a
|
|
4
|
+
data.tar.gz: 82f7d0de7a9f5eb598cba6639fa7af8ead368487a14742699061027d457b1b9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01c5a241d1a33714ea10dcf3685a4cdc8e529f2aeef2c6a2bcf96424fef344f85b2cb637bd65b9cb151b411967f5a6b62eb44bb1d3e5f53fb5ff73a6b3732301
|
|
7
|
+
data.tar.gz: 9bfc9e2780a41232a43233f53f4586982f7e13f65538d22c013b2e993b8877783575e547da532018350a5a6e0f52db7077ac310cb887d01a8ff2ef26e1aff07b
|
data/CHANGELOG.md
CHANGED
|
@@ -208,3 +208,6 @@
|
|
|
208
208
|
- Add `rescue StandardError` guard in `Cache#invalidation_process` to prevent silent background eviction-thread death
|
|
209
209
|
- Fix `ThreadServer#shutdown` poison-pill count: uses actual `@workers.size` instead of `@num_threads`
|
|
210
210
|
- Add C extension scaffold (`ext/macaw_framework_ext/`) as a foundation for future native performance-sensitive routines
|
|
211
|
+
|
|
212
|
+
## [1.5.1]- 2026-06-07
|
|
213
|
+
- Fix an error when running the server on Ruby 4.0.5 on MacOS that default values for status and headers on the response were not being set when these values are implicit on method declaration
|
|
@@ -18,7 +18,7 @@ module ServerBase
|
|
|
18
18
|
private
|
|
19
19
|
|
|
20
20
|
def call_endpoint(name, client_data)
|
|
21
|
-
@macaw.send(
|
|
21
|
+
body, status, headers = @macaw.send(
|
|
22
22
|
name.to_sym,
|
|
23
23
|
{
|
|
24
24
|
headers: client_data[:headers],
|
|
@@ -26,6 +26,7 @@ module ServerBase
|
|
|
26
26
|
params: client_data[:params]
|
|
27
27
|
}
|
|
28
28
|
)
|
|
29
|
+
[body || '', status || 200, headers || {}]
|
|
29
30
|
end
|
|
30
31
|
|
|
31
32
|
def get_client_data(body, headers, parameters)
|