job-iteration 1.18.0 → 1.18.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 +6 -0
- data/lib/job-iteration/log_subscriber.rb +2 -2
- data/lib/job-iteration/version.rb +1 -1
- metadata +61 -57
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee75f098d2b1a3eed6fb0690cb9f7f28d08c35d2dc214585c1ca915f74677df7
|
|
4
|
+
data.tar.gz: 36ea172bc286dd7133c04094918dd16e2f8b0401ea4c16dbd85b14f0528224b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f570809a416c4c5f99dba36d8b59e99e904ae2c7dfad62216b0f43e0ae9189a4f8fbadba42c996a5d244258a2612bcf5fe5971080dd721ced61a702cce661c8
|
|
7
|
+
data.tar.gz: 0b6699c8c436e527e371a6f416c44ea435c3e3120fa6cabd6f2dc586190578df451b34daf3786026549bc7aebf5ed0e4d70596b2d49f00a71533661779041aeb
|
data/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,12 @@ nil
|
|
|
16
16
|
|
|
17
17
|
nil
|
|
18
18
|
|
|
19
|
+
## v1.18.1 (Nov 20, 2026)
|
|
20
|
+
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
23
|
+
- [763](https://github.com/Shopify/job-iteration/pull/763) - Omit cursor values from the default no-record and interruption log messages to avoid exposing sensitive cursor data.
|
|
24
|
+
|
|
19
25
|
## v1.18.0 (Nov 6, 2026)
|
|
20
26
|
|
|
21
27
|
### Features
|
|
@@ -15,7 +15,7 @@ module JobIteration
|
|
|
15
15
|
def not_found(event)
|
|
16
16
|
info do
|
|
17
17
|
"[JobIteration::Iteration] Enumerator found nothing to iterate! " \
|
|
18
|
-
"times_interrupted=#{event.payload[:times_interrupted]}
|
|
18
|
+
"times_interrupted=#{event.payload[:times_interrupted]}"
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
|
@@ -36,7 +36,7 @@ module JobIteration
|
|
|
36
36
|
def interrupted(event)
|
|
37
37
|
info do
|
|
38
38
|
"[JobIteration::Iteration] Interrupting and re-enqueueing the job " \
|
|
39
|
-
"
|
|
39
|
+
"reason=#{event.payload[:reason] || "nil"}"
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
42
|
|
metadata
CHANGED
|
@@ -1,84 +1,88 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: job-iteration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.18.
|
|
4
|
+
version: 1.18.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Shopify
|
|
7
|
+
- Shopify
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activejob
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "7.1"
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: "7.1"
|
|
26
28
|
description: Makes your background jobs interruptible and resumable.
|
|
27
29
|
email:
|
|
28
|
-
- ops-accounts+shipit@shopify.com
|
|
30
|
+
- ops-accounts+shipit@shopify.com
|
|
29
31
|
executables: []
|
|
30
32
|
extensions: []
|
|
31
33
|
extra_rdoc_files: []
|
|
32
34
|
files:
|
|
33
|
-
- CHANGELOG.md
|
|
34
|
-
- LICENSE.txt
|
|
35
|
-
- README.md
|
|
36
|
-
- job-iteration.gemspec
|
|
37
|
-
- lib/job-iteration.rb
|
|
38
|
-
- lib/job-iteration/active_record_batch_enumerator.rb
|
|
39
|
-
- lib/job-iteration/active_record_batch_enumerator/column_manager.rb
|
|
40
|
-
- lib/job-iteration/active_record_cursor.rb
|
|
41
|
-
- lib/job-iteration/active_record_enumerator.rb
|
|
42
|
-
- lib/job-iteration/csv_enumerator.rb
|
|
43
|
-
- lib/job-iteration/enumerator_builder.rb
|
|
44
|
-
- lib/job-iteration/interruption_adapters.rb
|
|
45
|
-
- lib/job-iteration/interruption_adapters/delayed_job_adapter.rb
|
|
46
|
-
- lib/job-iteration/interruption_adapters/good_job_adapter.rb
|
|
47
|
-
- lib/job-iteration/interruption_adapters/null_adapter.rb
|
|
48
|
-
- lib/job-iteration/interruption_adapters/resque_adapter.rb
|
|
49
|
-
- lib/job-iteration/interruption_adapters/sidekiq_adapter.rb
|
|
50
|
-
- lib/job-iteration/interruption_adapters/solid_queue_adapter.rb
|
|
51
|
-
- lib/job-iteration/interruption_adapters/sqs_adapter.rb
|
|
52
|
-
- lib/job-iteration/iteration.rb
|
|
53
|
-
- lib/job-iteration/log_subscriber.rb
|
|
54
|
-
- lib/job-iteration/nested_enumerator.rb
|
|
55
|
-
- lib/job-iteration/parallel_enumerator.rb
|
|
56
|
-
- lib/job-iteration/railtie.rb
|
|
57
|
-
- lib/job-iteration/test_helper.rb
|
|
58
|
-
- lib/job-iteration/throttle_enumerator.rb
|
|
59
|
-
- lib/job-iteration/version.rb
|
|
60
|
-
- lib/tapioca/dsl/compilers/job_iteration.rb
|
|
61
|
-
homepage: https://github.com/shopify/job-iteration
|
|
35
|
+
- CHANGELOG.md
|
|
36
|
+
- LICENSE.txt
|
|
37
|
+
- README.md
|
|
38
|
+
- job-iteration.gemspec
|
|
39
|
+
- lib/job-iteration.rb
|
|
40
|
+
- lib/job-iteration/active_record_batch_enumerator.rb
|
|
41
|
+
- lib/job-iteration/active_record_batch_enumerator/column_manager.rb
|
|
42
|
+
- lib/job-iteration/active_record_cursor.rb
|
|
43
|
+
- lib/job-iteration/active_record_enumerator.rb
|
|
44
|
+
- lib/job-iteration/csv_enumerator.rb
|
|
45
|
+
- lib/job-iteration/enumerator_builder.rb
|
|
46
|
+
- lib/job-iteration/interruption_adapters.rb
|
|
47
|
+
- lib/job-iteration/interruption_adapters/delayed_job_adapter.rb
|
|
48
|
+
- lib/job-iteration/interruption_adapters/good_job_adapter.rb
|
|
49
|
+
- lib/job-iteration/interruption_adapters/null_adapter.rb
|
|
50
|
+
- lib/job-iteration/interruption_adapters/resque_adapter.rb
|
|
51
|
+
- lib/job-iteration/interruption_adapters/sidekiq_adapter.rb
|
|
52
|
+
- lib/job-iteration/interruption_adapters/solid_queue_adapter.rb
|
|
53
|
+
- lib/job-iteration/interruption_adapters/sqs_adapter.rb
|
|
54
|
+
- lib/job-iteration/iteration.rb
|
|
55
|
+
- lib/job-iteration/log_subscriber.rb
|
|
56
|
+
- lib/job-iteration/nested_enumerator.rb
|
|
57
|
+
- lib/job-iteration/parallel_enumerator.rb
|
|
58
|
+
- lib/job-iteration/railtie.rb
|
|
59
|
+
- lib/job-iteration/test_helper.rb
|
|
60
|
+
- lib/job-iteration/throttle_enumerator.rb
|
|
61
|
+
- lib/job-iteration/version.rb
|
|
62
|
+
- lib/tapioca/dsl/compilers/job_iteration.rb
|
|
63
|
+
homepage: "https://github.com/shopify/job-iteration"
|
|
62
64
|
licenses:
|
|
63
|
-
- MIT
|
|
65
|
+
- MIT
|
|
64
66
|
metadata:
|
|
65
|
-
changelog_uri: https://github.com/Shopify/job-iteration/blob/main/CHANGELOG.md
|
|
66
|
-
allowed_push_host: https://rubygems.org
|
|
67
|
+
changelog_uri: "https://github.com/Shopify/job-iteration/blob/main/CHANGELOG.md"
|
|
68
|
+
allowed_push_host: "https://rubygems.org"
|
|
67
69
|
rdoc_options: []
|
|
68
70
|
require_paths:
|
|
69
|
-
- lib
|
|
71
|
+
- lib
|
|
70
72
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
73
|
requirements:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
-
|
|
75
|
+
- ">="
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: "3.1"
|
|
75
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
79
|
requirements:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
-
|
|
81
|
+
- ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "0"
|
|
80
84
|
requirements: []
|
|
81
|
-
rubygems_version: 4.0
|
|
85
|
+
rubygems_version: 4.1.0
|
|
82
86
|
specification_version: 4
|
|
83
87
|
summary: Makes your background jobs interruptible and resumable.
|
|
84
88
|
test_files: []
|