dynflow 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dynflow.gemspec +1 -1
- data/lib/dynflow/action/v2/with_sub_plans.rb +2 -1
- data/lib/dynflow/version.rb +1 -1
- data/web/assets/vendor/jquery/jquery.js +7942 -7033
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3701c362bc17e7586355538e6a469acbb09a6fc88c3f131de41efb6238767ea
|
4
|
+
data.tar.gz: 6dd66b68d8d6a3ce55badad2d898dac52d1dc1d3451e2b0ba93f70e201bf3c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9984e6831e5a1e6a17e6c8b64b09d026d2c7d81c3d75d5a19963d8246ddef47f54358c8f2c824312328af25712e79c582fb6a0511b615f0a20c3e4fdce49e73
|
7
|
+
data.tar.gz: 32eaf38d89b5c9f59ac7ddc464a629cbe8a4e0383fb5582cc2a6bd7ccd184bc76b5d5d493b27cec9b9125dc90e56f3641fce5239167d7c69f6ac0bd9b0574c36
|
data/dynflow.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
|
30
30
|
s.add_development_dependency "rake"
|
31
31
|
s.add_development_dependency "rack-test"
|
32
|
-
s.add_development_dependency "minitest"
|
32
|
+
s.add_development_dependency "minitest", "< 5.19"
|
33
33
|
s.add_development_dependency "minitest-reporters"
|
34
34
|
s.add_development_dependency "minitest-stub-const"
|
35
35
|
s.add_development_dependency "activerecord"
|
@@ -130,7 +130,7 @@ module Dynflow::Action::V2
|
|
130
130
|
|
131
131
|
def recalculate_counts
|
132
132
|
total = total_count
|
133
|
-
failed = sub_plans_count('state' => %w(paused stopped), 'result' =>
|
133
|
+
failed = sub_plans_count('state' => %w(paused stopped), 'result' => %w(error warning))
|
134
134
|
success = sub_plans_count('state' => 'stopped', 'result' => 'success')
|
135
135
|
output.update(:pending_count => total - failed - success,
|
136
136
|
:failed_count => failed - output.fetch(:resumed_count, 0),
|
@@ -173,6 +173,7 @@ module Dynflow::Action::V2
|
|
173
173
|
def cancel!(force = false)
|
174
174
|
# Count the not-yet-planned tasks as cancelled
|
175
175
|
output[:cancelled_count] = total_count - output[:planned_count]
|
176
|
+
on_planning_finished if output[:cancelled_count].positive?
|
176
177
|
# Pass the cancel event to running sub plans if they can be cancelled
|
177
178
|
sub_plans(:state => 'running').each { |sub_plan| sub_plan.cancel(force) if sub_plan.cancellable? }
|
178
179
|
suspend
|
data/lib/dynflow/version.rb
CHANGED