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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8fb7fdbff31fa339656b2453392445010ac7d13362ab1e355211a3b4a350ea6
4
- data.tar.gz: 1f8c52a4660661d64eab08da81a2dde6c022d47433e1f3de2fedc09ab8ba0705
3
+ metadata.gz: 22b3a8a19b77f30af9dcbd495fb54035653acd5db61142fdf535159d1eb88757
4
+ data.tar.gz: 0fb00ef18d5e08a47892910393e009ae7fb67393b7716527cd6f884b161a3477
5
5
  SHA512:
6
- metadata.gz: e3f1dfcd12cee1e6cfa4dc166423009e2eda6a52db3033fceceabb22bf621b653089213b601352330f0c7aa0e288a533b92347017030ed9674ded62d4a05fdbf
7
- data.tar.gz: 53fb71d53142274fc83897be48525979f4f857c5cd6bd7fbfbe2c24a6f1fd85291d30a9218e06a488bf9430af2c645bc9bad0b417fa7f54d845b1ceb23c3454c
6
+ metadata.gz: de93848796541ba44f6285b9ffb26289a6237d6418a2f132c87740e33d0621429b27cb98b621d0ce4aa31c8d360f75838048ab9f8ef7d6abbbb2e465fdeb6280
7
+ data.tar.gz: 9f24246adc996d160166160002c03359af65a4307b5351742db7ef70808e4a26e39f3b3272a3b73953dde077bcbe7fc6313141eac9d45bbe6965a8c1c9ff6a1e
@@ -9,7 +9,10 @@ module Sidekiq
9
9
 
10
10
  super(*args)
11
11
 
12
- @record.increment(:current_step).save!
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Sequence
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
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.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-13 00:00:00.000000000 Z
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: