leopard 0.2.6 → 0.2.7
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/.release-please-manifest.json +1 -1
- data/.version.txt +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/leopard/message_processor.rb +4 -0
- data/lib/leopard/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: b477f10d51aef7a541a2a08d615c4ab03c12393edee90ef4d46265df76727c3a
|
|
4
|
+
data.tar.gz: 5ad3323e0fd8a1f3f09fc9dd648bc21c05b7b0d21a51bc46cef8fc27c379a745
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44c692417837a8d9e1c6e6ed1fa84e1c7eb096367b7617e729e8068d5e93c7a01d1ac5414a5d01945c37180e2c918c3aba08122af73b9ad2010773656d6a535f
|
|
7
|
+
data.tar.gz: caff9b0df3beb7a16bd8d8c4830257f24ad1dec98fb57d3b5dba6847892f84cda089a7fe85d1368fb64834996ab69cc1831383b6d0c1d7ca3e7b44cb536a99b2
|
data/.version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.7](https://github.com/rubyists/leopard/compare/v0.2.6...v0.2.7) (2026-04-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* surface handler results to middleware chain ([#47](https://github.com/rubyists/leopard/issues/47)) ([eb046f2](https://github.com/rubyists/leopard/commit/eb046f245cfd3c773167e24b5690308ebb67ff87))
|
|
9
|
+
|
|
3
10
|
## [0.2.6](https://github.com/rubyists/leopard/compare/v0.2.5...v0.2.6) (2026-04-21)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -56,9 +56,13 @@ module Rubyists
|
|
|
56
56
|
lambda do |wrapper|
|
|
57
57
|
result = execute_handler.call(wrapper, handler)
|
|
58
58
|
process_result(wrapper, result, callbacks)
|
|
59
|
+
# TODO: document that middleware functions are expected to propagate result
|
|
60
|
+
# https://github.com/rubyists/leopard/issues/48
|
|
61
|
+
result
|
|
59
62
|
rescue StandardError => e
|
|
60
63
|
logger.error 'Error processing message: ', e
|
|
61
64
|
callbacks[:on_error].call(wrapper, e)
|
|
65
|
+
Dry::Monads::Result::Failure.new(e)
|
|
62
66
|
end
|
|
63
67
|
end
|
|
64
68
|
|
data/lib/leopard/version.rb
CHANGED