acidic_job 1.0.0.pre28 → 1.0.0.pre29

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: ec26e6c8087cb17255d82e8f4b1df56d2805ae936836312135552e38c140d4e2
4
- data.tar.gz: ec268b9d40c12aa9fd2c32d7c48bb75fa462ce2bdde4f0a27bacdb2fac853aa9
3
+ metadata.gz: 41d83dcc9ad4d8b835881a8268e43c8d74f7ae87e8e6dd0ad07e79f8f0df1319
4
+ data.tar.gz: 651b7eb29e6f2c3ec006b18151ae80ca5efeaf17093495656dde87420774c8ac
5
5
  SHA512:
6
- metadata.gz: f8fba84289d1d29b00c44fe535d66c5af11e0c1addb0f7d061b760bc6a2bbd0bc79d84b7294d5bfde340990e1a49a723d4910eaa70f2c60f96eb5784b25c5f4e
7
- data.tar.gz: 88fb08f4e42fa0bb99622b32a57c4ca3bbdb657f6d8c6cbf13b9ef64fc52307f27777e88c32102043b0b5e2f4f7f12ed066b46c69ce5cf92f3fae0948faaf648
6
+ metadata.gz: 66289b30eae68ad0742f4f744ee509ddaeba4a9cb769101ca836482e8820c64755b63dd1030da3ea152bae73151121af821cfdb0d6f9f26ed80453ca1e2f1f0f
7
+ data.tar.gz: c1c2522cf165f8a3f693aa9ac5839b3e2f1df9f057fe2f7776f1e42c9eb718847f4b3f81e86ca5230b4532dc909505920671f9539f0ca1f20a5c65f196a86c75
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- acidic_job (1.0.0.pre28)
4
+ acidic_job (1.0.0.pre29)
5
5
  activerecord
6
6
  activesupport
7
7
  database_cleaner
@@ -27,6 +27,10 @@ module AcidicJob
27
27
  # which is what the `after_finish :reenqueue_awaited_by_job` check needs
28
28
  job.instance_variable_set(:@acidic_job_run, run)
29
29
 
30
+ # can't reproduce yet, but saw a bug in production where
31
+ # nested awaits workflows had an unsaved `workflow` attribute
32
+ run.save! if run.has_changes_to_save?
33
+
30
34
  step = Step.new(current_step, run, job, step_result)
31
35
  # TODO: WRITE REGRESSION TESTS FOR PARALLEL JOB FAILING AND RETRYING THE ORIGINAL STEP
32
36
  step.progress
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AcidicJob
4
- VERSION = "1.0.0.pre28"
4
+ VERSION = "1.0.0.pre29"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acidic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre28
4
+ version: 1.0.0.pre29
5
5
  platform: ruby
6
6
  authors:
7
7
  - fractaledmind