weel 1.99.94 → 1.99.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/weel.rb +6 -2
  3. data/weel.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c6ec72184bb20d41fdef30320134806cf5f450a3a141efe9bde5adf6f24c44d
4
- data.tar.gz: 2732e2b2ad2ec01d554b1b7c94c06a831d5d69ca36404c3c35ad9605cd9f444d
3
+ metadata.gz: 641444781be26b938868f6115466c81870c175948bd664a4b8f4abe2ffd8f4ab
4
+ data.tar.gz: eee050aca5dcb0a5002cbd7b5eb6274d6dc0ed33b50ef89c634b8d4754c2ef43
5
5
  SHA512:
6
- metadata.gz: c77da26f6558eec836f5479a0bee9b9f9a62b11fd68e6ecc2002b52f40eabd999dae7118f6ff6f1979953d94abebb33c7f4ec47650c0d78f1cd5e1b7e1cd34b9
7
- data.tar.gz: 3d8209e7eae538b910c3ac0d0c7a7f401b601aae696e956262dc5605e56832201071fbf0277468f9f8ffa95e51933fb8acc45b1b2d8da04be0c21d5998075bd2
6
+ metadata.gz: '029b33aa91638408cf9994fccb389fda6e0660f02e81fad6bcb2fe2901c6d316e72a3dd2ef9dd6d2ba3ffbff627c8f17820b50db6c27b0a5c16c7860f96ab14e'
7
+ data.tar.gz: a760a8b4665d0587dde85638c680d0277b95de0e0c4a829dab502dcffa0f9f1241d553a942659594b4b825a56c5388679a04ee16f0098ffd82bc490993a07d7b
@@ -1104,8 +1104,12 @@ public
1104
1104
  # Stop the workflow execution
1105
1105
  def stop # {{{
1106
1106
  Thread.new do
1107
- @dslr.__weel_state = :stopping
1108
- @dslr.__weel_main.join if @dslr.__weel_main
1107
+ if @dslr.__weel_state == :running
1108
+ @dslr.__weel_state = :stopping
1109
+ @dslr.__weel_main.join if @dslr.__weel_main
1110
+ elsif @dslr.__weel_state == :ready || dslr.__weel_state == :stopped
1111
+ @dslr.__weel_state = :stopped
1112
+ end
1109
1113
  end
1110
1114
  end # }}}
1111
1115
  # Start the workflow execution
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.94"
3
+ s.version = "1.99.95"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Workflow Execution Engine Library (WEEL)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.94
4
+ version: 1.99.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-29 00:00:00.000000000 Z
12
+ date: 2020-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit