cpee 2.1.98 → 2.1.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5380db38e15ecc1a9e3d52fa912f498c6a07e071e685370402719257154dc768
4
- data.tar.gz: 228deb7bd244630dfb4dc47618fc628cc23630e95822f7bf6a517824a6c2f9b4
3
+ metadata.gz: 10e4035a81c82d0dbeb5b0880d7d95c8a1624064ad5dc28b97cc0ea20e7abd55
4
+ data.tar.gz: 1bc56bb711d4d736c20a9abb758c717182c912e8a9ba4c03c1018a2292e9831a
5
5
  SHA512:
6
- metadata.gz: 856b90b8753e9984e4c7cbdcea0914873987c6ecf68297afca3309b8dda9e8ca1e72a68be0b85e9147b5378bc2f734b3c0c8b9da08827670a8b853acde7a2681
7
- data.tar.gz: ba100bf2a332013b03c005493cadae226b85407e7e9846f5e24cd694b73095a8a1041c569c4455ceede9dd33cf6e4f6fabb3b97b96aa4ab36397e2930428e560
6
+ metadata.gz: 8add1a6e917a9adfd4e0b00d0c8fd04eb74587eb5b76a52ce3a57501bbd1bd00f48b3bccbe2d004b98b874b9a472bef55e2d6b9a3458d6d0db5dfcccb27f35bf
7
+ data.tar.gz: 333a07148ac4d3be6c551fa0e6eb5ae6e0c5a84ba8fb70be44675964cb6430cfa7ef8e242bd19813c67e75512ffc4fee15fab5feeaddc4280eec4ec1d1692a25
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.98"
3
+ s.version = "2.1.99"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.homepage = 'http://cpee.org/'
23
23
 
24
24
  s.add_runtime_dependency 'riddl', '~> 1.0'
25
- s.add_runtime_dependency 'weel', '~> 1.99', '>= 1.99.126'
25
+ s.add_runtime_dependency 'weel', '~> 1.99', '>= 1.99.146'
26
26
  s.add_runtime_dependency 'highline', '~> 2.0'
27
27
  s.add_runtime_dependency 'redis', '~> 5.0'
28
28
  s.add_runtime_dependency 'rubyzip', '~>2'
@@ -69,8 +69,6 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
69
69
  @handler_continue = continue
70
70
  @handler_position = position
71
71
  @handler_passthrough = nil
72
- @handler_returnValue = nil
73
- @handler_returnOptions = nil
74
72
  @handler_activity_uuid = Digest::MD5.hexdigest(Kernel::rand().to_s)
75
73
  @label = ''
76
74
  @guard_files = []
@@ -236,13 +234,6 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
236
234
  @controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
237
235
  end #}}}
238
236
 
239
- def activity_result_value # {{{
240
- @handler_returnValue
241
- end # }}}
242
- def activity_result_options # {{{
243
- @handler_returnOptions
244
- end # }}}
245
-
246
237
  def activity_stop # {{{
247
238
  unless @handler_passthrough.nil?
248
239
  @controller.cancel_callback(@handler_passthrough)
@@ -307,24 +298,24 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
307
298
  end
308
299
 
309
300
  if options['CPEE_STATUS'] || options['CPEE_EVENT']
310
- @handler_returnValue = nil
311
- @handler_returnOptions = nil
301
+ returnValue = nil
302
+ returnOptions = nil
312
303
  else
313
- @handler_returnValue = recv
314
- @handler_returnOptions = options
304
+ returnValue = recv
305
+ returnOptions = options
315
306
  end
316
307
 
317
308
  if options['CPEE_UPDATE']
318
- @handler_continue.continue WEEL::Signal::UpdateAgain
309
+ @handler_continue.continue WEEL::Signal::UpdateAgain, returnValue, returnOptions
319
310
  else
320
311
  @controller.cancel_callback(@handler_passthrough)
321
312
  @handler_passthrough = nil
322
313
  if options['CPEE_SALVAGE']
323
- @handler_continue.continue WEEL::Signal::Salvage
314
+ @handler_continue.continue WEEL::Signal::Salvage, returnValue, returnOptions
324
315
  elsif options['CPEE_STOP']
325
- @handler_continue.continue WEEL::Signal::Stop
316
+ @handler_continue.continue WEEL::Signal::Stop, returnValue, returnOptions
326
317
  else
327
- @handler_continue.continue
318
+ @handler_continue.continue WEEL::Signal::Proceed, returnValue, returnOptions
328
319
  end
329
320
  end
330
321
  end #}}}
@@ -69,8 +69,6 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
69
69
  @handler_continue = continue
70
70
  @handler_position = position
71
71
  @handler_passthrough = nil
72
- @handler_returnValue = nil
73
- @handler_returnOptions = nil
74
72
  @handler_activity_uuid = Digest::MD5.hexdigest(Kernel::rand().to_s)
75
73
  @label = ''
76
74
  @guard_files = []
@@ -236,13 +234,6 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
236
234
  @controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
237
235
  end #}}}
238
236
 
239
- def activity_result_value # {{{
240
- @handler_returnValue
241
- end # }}}
242
- def activity_result_options # {{{
243
- @handler_returnOptions
244
- end # }}}
245
-
246
237
  def activity_stop # {{{
247
238
  unless @handler_passthrough.nil?
248
239
  @controller.cancel_callback(@handler_passthrough)
@@ -314,24 +305,24 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
314
305
  end
315
306
 
316
307
  if options['CPEE_STATUS'] || options['CPEE_EVENT']
317
- @handler_returnValue = nil
318
- @handler_returnOptions = nil
308
+ returnValue = nil
309
+ returnOptions = nil
319
310
  else
320
- @handler_returnValue = recv
321
- @handler_returnOptions = options
311
+ returnValue = recv
312
+ returnOptions = options
322
313
  end
323
314
 
324
315
  if options['CPEE_UPDATE']
325
- @handler_continue.continue WEEL::Signal::UpdateAgain
316
+ @handler_continue.continue WEEL::Signal::UpdateAgain, returnValue, returnOptions
326
317
  else
327
318
  @controller.cancel_callback(@handler_passthrough)
328
319
  @handler_passthrough = nil
329
320
  if options['CPEE_SALVAGE']
330
- @handler_continue.continue WEEL::Signal::Salvage
321
+ @handler_continue.continue WEEL::Signal::Salvage, returnValue, returnOptions
331
322
  elsif options['CPEE_STOP']
332
- @handler_continue.continue WEEL::Signal::Stop
323
+ @handler_continue.continue WEEL::Signal::Stop, returnValue, returnOptions
333
324
  else
334
- @handler_continue.continue
325
+ @handler_continue.continue WEEL::Signal::Proceed, returnValue, returnOptions
335
326
  end
336
327
  end
337
328
  end #}}}
@@ -1 +1 @@
1
- 2372948
1
+ 1586693
@@ -1 +1 @@
1
- 2372966
1
+ 1586711
@@ -1 +1 @@
1
- 2372972
1
+ 1586718
@@ -1 +1 @@
1
- 2372978
1
+ 1586734
@@ -1 +1 @@
1
- 2372984
1
+ 1586740
@@ -1 +1 @@
1
- 2372990
1
+ 1586746
@@ -1 +1 @@
1
- 2372996
1
+ 1586752
@@ -1 +1 @@
1
- 2373002
1
+ 1586758
@@ -1 +1 @@
1
- 2372960
1
+ 1586705
@@ -1 +1 @@
1
- 2372954
1
+ 1586699
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.98
4
+ version: 2.1.99
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '1.99'
35
35
  - - ">="
36
36
  - !ruby/object:Gem::Version
37
- version: 1.99.126
37
+ version: 1.99.146
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '1.99'
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.99.126
47
+ version: 1.99.146
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: highline
50
50
  requirement: !ruby/object:Gem::Requirement