weel 1.99.109 → 1.99.110

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 +7 -9
  3. data/weel.gemspec +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e376343e3c78f99b2493270370374a4302f89dea8d0a6f2b8458fb72b6ebf688
4
- data.tar.gz: 5db57f52c74226550c86bf7e1c4dc83d891cf52b139b623a202216457c3d310a
3
+ metadata.gz: 3ccaab8c3ceb95f2369efa6d80dc9e3f8a70bcb4d7dc064b90f4af761813c9c4
4
+ data.tar.gz: 63f6d510c1b0603b899269a70ef2224349b2e8a16d8c6ea93032df63d410c34d
5
5
  SHA512:
6
- metadata.gz: f0a3bef1073e2b3e253092f1cb46c48cf2153dcf7eaaade3b95c5bb23654ef3cb9d99f402b8eecaf485f5376fc6df0ddddae03f0ec0cf8cef493480c1d4a0afa
7
- data.tar.gz: 5f1dc555fd6755c6736b500c67630653d7bd6e541a0c17a67471c094dd4c5c78be3a537dd639e4fb798153ad68079bc089a2acb9ada65db82a98a101fa4c030d
6
+ metadata.gz: 86f990fd9e957fc14fc444f9512a78e7501f90f5f9278fb9b71388d76ec361d6acb3d6416c7a3ea609b1a4c5d19bdac9dac49fa3e11118c8c59fa78c036756cb
7
+ data.tar.gz: a27c4abd6080ab0371ba6be2ff0de946169392f59362e83781b239e91ccd112dfd323a9e67304d204ab2b57356a44026165d406e414bda33a1862db7f49b1271
data/lib/weel.rb CHANGED
@@ -360,13 +360,13 @@ class WEEL
360
360
  end # }}}
361
361
 
362
362
  class Position # {{{
363
- attr_reader :position
364
- attr_accessor :detail, :passthrough, :uuid
365
- def initialize(position, detail=:at, passthrough=nil) # :at or :after or :unmark
363
+ attr_reader :position, :uuid
364
+ attr_accessor :detail, :passthrough
365
+ def initialize(position, uuid, detail=:at, passthrough=nil) # :at or :after or :unmark
366
366
  @position = position
367
367
  @detail = detail
368
+ @uuid = uuid
368
369
  @passthrough = passthrough
369
- @uuid = 0
370
370
  end
371
371
  def as_json(*)
372
372
  jsn = { 'position' => @position, 'uuid' => @uuid }
@@ -729,6 +729,7 @@ class WEEL
729
729
  end #}}}
730
730
  def stop(position) #{{{
731
731
  searchmode = __weel_is_in_search_mode(position)
732
+
732
733
  return if searchmode
733
734
  return if self.__weel_state == :stopping || self.__weel_state == :finishing || self.__weel_state == :stopped || Thread.current[:nolongernecessary]
734
735
 
@@ -799,11 +800,10 @@ class WEEL
799
800
  end
800
801
  wp = if branch[:branch_search_now] == true
801
802
  branch[:branch_search_now] = false
802
- WEEL::Position.new(position, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
803
+ WEEL::Position.new(position, uuid, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
803
804
  else
804
- WEEL::Position.new(position, skip ? :after : :at)
805
+ WEEL::Position.new(position, uuid, skip ? :after : :at)
805
806
  end
806
- wp.uuid = uuid
807
807
  ipc[skip ? :after : :at] = [wp]
808
808
 
809
809
  @__weel_search_positions.delete(position)
@@ -915,8 +915,6 @@ class WEEL
915
915
  update
916
916
  elsif waitingresult == WEEL::Signal::Salvage
917
917
  salvage || raise('HTTP Error. The service return status was not between 200 and 300.')
918
- elsif waitingresult == WEEL::Signal::Stop
919
- self.__weel_state = :stopping
920
918
  else
921
919
  finalize
922
920
  end
data/weel.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.109"
3
+ s.version = "1.99.110"
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.109
4
+ version: 1.99.110
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: 2023-06-05 00:00:00.000000000 Z
12
+ date: 2023-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.3.26
104
+ rubygems_version: 3.4.10
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Workflow Execution Engine Library (WEEL)