cloudtasker 0.13.1 → 0.13.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 +7 -0
- data/lib/cloudtasker/backend/memory_task.rb +7 -3
- data/lib/cloudtasker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f26efb724bb305aed27041f6e2edbd8ffe82d4b07db39d3e4bf602415a4b7ef
|
4
|
+
data.tar.gz: 117ea1a8772a4a6512b1198a9429122dad98f379b82d49a6daf926323dc31987
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ce293af0e108913d4f7161ed9a714e4a76bdb7b6078982d00e17d543be1acc826566f7af15652ccec17f4ca2a7420af4651ea78e8ee028159d3e39fab2029a3
|
7
|
+
data.tar.gz: 66c6bf2443ac5dcd61939eb0cf22a6e0ee87258a2cb2997b8f3905471bdce99eaf0dfd560968e8ba7f61d2220b62ac42f68e25f97eba808e141c0985f64be6e2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.13.2](https://github.com/keypup-io/cloudtasker/tree/v0.13.2) (2023-07-02)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.13.1...v0.13.2)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
- Fix concurrency issue when draining test jobs in `fake!` mode
|
9
|
+
|
3
10
|
## [v0.13.1](https://github.com/keypup-io/cloudtasker/tree/v0.13.1) (2023-06-19)
|
4
11
|
|
5
12
|
[Full Changelog](https://github.com/keypup-io/cloudtasker/compare/v0.13.0...v0.13.1)
|
@@ -47,9 +47,13 @@ module Cloudtasker
|
|
47
47
|
# @return [Array<Cloudtasker::Backend::MemoryTask>] All the tasks
|
48
48
|
#
|
49
49
|
def self.all(worker_class_name = nil)
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
# Always return a copy of the queue so that tasks can safely be removed
|
51
|
+
# (via #execute) without tampering with the enumerator
|
52
|
+
if worker_class_name
|
53
|
+
queue.select { |e| e.worker_class_name == worker_class_name }
|
54
|
+
else
|
55
|
+
queue.dup
|
56
|
+
end
|
53
57
|
end
|
54
58
|
|
55
59
|
#
|
data/lib/cloudtasker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudtasker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|