lex-tasker 0.3.6 → 0.3.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 655758b4611fd1b18f693e733f31395f5fbe7e936cc38476222f5a7797d43b9b
|
|
4
|
+
data.tar.gz: e6040d7568eebac7c3464c88e496ae16dffcd8ed9a39660ec62c4e436d6510be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca29e06d642a053a81b8ff60ce3c95e09f588a4eb238f5083c71525f951084e1440d1f368fb375f0c3240e4cb091ebfedeb1fedaa3de6e166eb3e246d5666948
|
|
7
|
+
data.tar.gz: ab53a69217e469a6c92803dd58e76a9d31ce69d79020085ad5d2b8e5b620e11aa12a73b8b6ff7b5cbf720c5edbe51881512e217a9c8dd3f3726500c3c0cef3a8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.7] - 2026-03-30
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- guard against `no implicit conversion of Symbol into Integer` in `send_task` — check `opts[:result].is_a?(Hash)` before accessing `[:success]` in both CheckSubtask and FetchDelayed runners
|
|
7
|
+
|
|
3
8
|
## [0.3.6] - 2026-03-30
|
|
4
9
|
|
|
5
10
|
### Fixed
|
|
@@ -78,7 +78,7 @@ module Legion
|
|
|
78
78
|
def send_task(**opts)
|
|
79
79
|
opts[:results] = opts[:result] if opts.key?(:result) && !opts.key?(:results)
|
|
80
80
|
opts[:success] = if opts.key?(:result) && opts.key?(:success)
|
|
81
|
-
opts[:result][:success]
|
|
81
|
+
opts[:result].is_a?(Hash) ? opts[:result][:success] : opts[:success]
|
|
82
82
|
elsif opts.key?(:success)
|
|
83
83
|
opts[:success]
|
|
84
84
|
else
|
|
@@ -64,7 +64,7 @@ module Legion
|
|
|
64
64
|
def send_task(**opts)
|
|
65
65
|
opts[:results] = opts[:result] if opts.key?(:result) && !opts.key?(:results)
|
|
66
66
|
opts[:success] = if opts.key?(:result) && opts.key?(:success)
|
|
67
|
-
opts[:result][:success]
|
|
67
|
+
opts[:result].is_a?(Hash) ? opts[:result][:success] : opts[:success]
|
|
68
68
|
elsif opts.key?(:success)
|
|
69
69
|
opts[:success]
|
|
70
70
|
else
|