sidekiq-sequence 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/sequence/perform.rb +4 -1
- data/lib/sidekiq/sequence/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: 22b3a8a19b77f30af9dcbd495fb54035653acd5db61142fdf535159d1eb88757
|
4
|
+
data.tar.gz: 0fb00ef18d5e08a47892910393e009ae7fb67393b7716527cd6f884b161a3477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de93848796541ba44f6285b9ffb26289a6237d6418a2f132c87740e33d0621429b27cb98b621d0ce4aa31c8d360f75838048ab9f8ef7d6abbbb2e465fdeb6280
|
7
|
+
data.tar.gz: 9f24246adc996d160166160002c03359af65a4307b5351742db7ef70808e4a26e39f3b3272a3b73953dde077bcbe7fc6313141eac9d45bbe6965a8c1c9ff6a1e
|
@@ -9,7 +9,10 @@ module Sidekiq
|
|
9
9
|
|
10
10
|
super(*args)
|
11
11
|
|
12
|
-
|
12
|
+
# Increment the step and update data attribute.
|
13
|
+
@record.increment(:current_step)
|
14
|
+
@record.data = @data
|
15
|
+
@record.save!
|
13
16
|
|
14
17
|
# Perform the next in sequence.
|
15
18
|
self.class.parent.perform_step @record.current_step, @record.id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-sequence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create and manage sequential jobs in Sidekiq
|
14
14
|
email:
|