weel 1.99.108 → 1.99.109

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 +9 -6
  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: 511cda1fdaa0d79582c2a839872cbbadf5770d196cb447ef986b4c1700ca656b
4
- data.tar.gz: 71e38ec4147d9407a93f2b36dfcd2963164f3f6dbc67a1686fbd10d4c5db30f2
3
+ metadata.gz: e376343e3c78f99b2493270370374a4302f89dea8d0a6f2b8458fb72b6ebf688
4
+ data.tar.gz: 5db57f52c74226550c86bf7e1c4dc83d891cf52b139b623a202216457c3d310a
5
5
  SHA512:
6
- metadata.gz: a925eb9537591d6e2f736fb240541106cc709e886058269d3b5037c95deb37b956dd0481b54d5a1940775791d932eab4c4ddd794118b913cae6782df8e681f4f
7
- data.tar.gz: 0ed0009b0a88731e993afe4201e8a7460c529e9abc029548d72acb1f96a891d50dd00d2fba3944cabdf469f64746d47498a9fc15f038622bc1f7608915785a26
6
+ metadata.gz: f0a3bef1073e2b3e253092f1cb46c48cf2153dcf7eaaade3b95c5bb23654ef3cb9d99f402b8eecaf485f5376fc6df0ddddae03f0ec0cf8cef493480c1d4a0afa
7
+ data.tar.gz: 5f1dc555fd6755c6736b500c67630653d7bd6e541a0c17a67471c094dd4c5c78be3a537dd639e4fb798153ad68079bc089a2acb9ada65db82a98a101fa4c030d
data/lib/weel.rb CHANGED
@@ -360,13 +360,13 @@ class WEEL
360
360
  end # }}}
361
361
 
362
362
  class Position # {{{
363
- attr_reader :position, :uuid
364
- attr_accessor :detail, :passthrough
365
- def initialize(position, uuid, detail=:at, passthrough=nil) # :at or :after or :unmark
363
+ attr_reader :position
364
+ attr_accessor :detail, :passthrough, :uuid
365
+ def initialize(position, detail=:at, passthrough=nil) # :at or :after or :unmark
366
366
  @position = position
367
367
  @detail = detail
368
- @uuid = uuid
369
368
  @passthrough = passthrough
369
+ @uuid = 0
370
370
  end
371
371
  def as_json(*)
372
372
  jsn = { 'position' => @position, 'uuid' => @uuid }
@@ -799,10 +799,11 @@ class WEEL
799
799
  end
800
800
  wp = if branch[:branch_search_now] == true
801
801
  branch[:branch_search_now] = false
802
- WEEL::Position.new(position, uuid, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
802
+ WEEL::Position.new(position, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
803
803
  else
804
- WEEL::Position.new(position, uuid, skip ? :after : :at)
804
+ WEEL::Position.new(position, skip ? :after : :at)
805
805
  end
806
+ wp.uuid = uuid
806
807
  ipc[skip ? :after : :at] = [wp]
807
808
 
808
809
  @__weel_search_positions.delete(position)
@@ -914,6 +915,8 @@ class WEEL
914
915
  update
915
916
  elsif waitingresult == WEEL::Signal::Salvage
916
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
917
920
  else
918
921
  finalize
919
922
  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.108"
3
+ s.version = "1.99.109"
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.108
4
+ version: 1.99.109
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-03-04 00:00:00.000000000 Z
12
+ date: 2023-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit