maintenance_tasks 2.10.0 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b660fdfcef27420bf9b08ddc50c9cfac5ff0977c4435b54ecd2b468a3e4fde8
|
4
|
+
data.tar.gz: 30bac0da63839406dc623d07c85904b7a727d3af5c177736cbd72ea828ca41c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071dafa23a89bd949e40f10ef199ae892d5ae81ca2ad1e15e6c7de0260dafbd55f735d67c310f5de7ef499991982eb3bad69fce4024f8f8761e4357ac3fdc42b
|
7
|
+
data.tar.gz: 77265626bdeafaa6486a3843846d519168be0712399ebe3cd7a4ecbb42f5888f208f566346d6d628643ee0dcf06ff1c4b914f2ab3ef9ec73f60b9444ef3f05c0
|
@@ -33,6 +33,7 @@ module MaintenanceTasks
|
|
33
33
|
def build_enumerator(_run, cursor:)
|
34
34
|
cursor ||= @run.cursor
|
35
35
|
self.cursor_position = cursor
|
36
|
+
enumerator_builder = self.enumerator_builder
|
36
37
|
@collection_enum = @task.enumerator_builder(cursor: cursor)
|
37
38
|
|
38
39
|
@collection_enum ||= case (collection = @task.collection)
|
@@ -75,6 +76,9 @@ module MaintenanceTasks
|
|
75
76
|
MSG
|
76
77
|
end
|
77
78
|
|
79
|
+
unless @collection_enum.is_a?(JobIteration.enumerator_builder::Wrapper)
|
80
|
+
@collection_enum = enumerator_builder.wrap(enumerator_builder, @collection_enum)
|
81
|
+
end
|
78
82
|
throttle_enumerator(@collection_enum)
|
79
83
|
end
|
80
84
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maintenance_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.1
|
5
5
|
platform: ruby
|
6
|
+
original_platform: ''
|
6
7
|
authors:
|
7
8
|
- Shopify Engineering
|
8
|
-
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -108,7 +108,6 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 2.6.2
|
111
|
-
description:
|
112
111
|
email: gems@shopify.com
|
113
112
|
executables:
|
114
113
|
- maintenance_tasks
|
@@ -185,9 +184,8 @@ homepage: https://github.com/Shopify/maintenance_tasks
|
|
185
184
|
licenses:
|
186
185
|
- MIT
|
187
186
|
metadata:
|
188
|
-
source_code_uri: https://github.com/Shopify/maintenance_tasks/tree/v2.10.
|
187
|
+
source_code_uri: https://github.com/Shopify/maintenance_tasks/tree/v2.10.1
|
189
188
|
allowed_push_host: https://rubygems.org
|
190
|
-
post_install_message:
|
191
189
|
rdoc_options: []
|
192
190
|
require_paths:
|
193
191
|
- lib
|
@@ -202,8 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
200
|
- !ruby/object:Gem::Version
|
203
201
|
version: '0'
|
204
202
|
requirements: []
|
205
|
-
rubygems_version: 3.
|
206
|
-
signing_key:
|
203
|
+
rubygems_version: 3.6.1
|
207
204
|
specification_version: 4
|
208
205
|
summary: A Rails engine for queuing and managing maintenance tasks
|
209
206
|
test_files: []
|