weel 1.99.123 → 1.99.124

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 +2 -16
  3. data/weel.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3b3b0d940b57bff46c012f46466be8cbd1188de768e10cc8815f597d0ec2045
4
- data.tar.gz: 7cceda505453b4610f79c01d3b38a55d99cf861119d00059b744f2e53ce6be6b
3
+ metadata.gz: de93809f2b1350265c3745e9a31be9ea2c7a6fbd2de4b6c282070e4393138684
4
+ data.tar.gz: 2df4b7700721362353934d54f1a223d4413374b6e6dd54efe5d92ed1fcfac9e8
5
5
  SHA512:
6
- metadata.gz: d9691c2f36e38b8552f6c22cd774c7d7920adb9511f5fd9e9838ba9b5f03f00624dfc461d97a2551a76ea3f5c4732e7d70ae6c7ef84a8b9c0ce95992c617f153
7
- data.tar.gz: 0565f1fd91b28309fe38343332a423aff7d6f123387f671616fc320cb6dae9edd91051a43bbaf0241e791ef3efd6ae2377c254d2fa1ff40069327bd3f517ec4c
6
+ metadata.gz: e5f1e42552289504e1c9bb97c8068948cb0c8b7c839d830da987a442956fb0ecf8103f6a59426c324c805f14cde8fdf6b3424e57cdbda78b33f20312374f269a
7
+ data.tar.gz: a6bc3fccb1595040956763c938f179bd894422c196ce06e24fe5d0dea54bb81eb6f25c892a8c56c299ca0005ec958176de0fa95b76abee5526f57e78f42d1b95
data/lib/weel.rb CHANGED
@@ -66,10 +66,6 @@ class WEEL
66
66
  'data' => @__weel_data,
67
67
  'endpoints' => @__weel_endpoints,
68
68
  'additional' => @additional,
69
- 'status' => {
70
- 'id' => @__weel_status.id,
71
- 'message' => @__weel_status.message
72
- }
73
69
  }.to_json(*a)
74
70
  end
75
71
 
@@ -94,9 +90,6 @@ class WEEL
94
90
  e.each do |k,v|
95
91
  endpoints.send(k+'=',v)
96
92
  end if e
97
- if s
98
- status.update(s['id'],s['message'])
99
- end
100
93
  end
101
94
  def data
102
95
  ReadHash.new(@__weel_data)
@@ -297,7 +290,6 @@ class WEEL
297
290
  end
298
291
  end
299
292
  end # }}}
300
-
301
293
  class ReadOnlyHash # {{{
302
294
  def initialize(values)
303
295
  @__weel_values = values.transform_values do |v|
@@ -376,7 +368,7 @@ class WEEL
376
368
  def callback(result=nil,options={}); end
377
369
  def mem_guard; end
378
370
 
379
- def prepare(readonly, endpoints, parameters); parameters; end
371
+ def prepare(lock,dataelements,endpoints,status,local,additional,code,exec_endpoints,exec_parameters); end
380
372
  def test_condition(dataelements,endpoints,local,additional,code,args={}); ReadStructure.new(dataelements,endpoints,local,additional).instance_eval(code); end
381
373
  def manipulate(readonly,lock,dataelements,endpoints,status,local,additional,code,where,result=nil,options=nil)
382
374
  lock.synchronize do
@@ -881,13 +873,7 @@ class WEEL
881
873
  when :call
882
874
  again = catch Signal::Again do
883
875
  connectionwrapper.mem_guard
884
- struct = if prepare
885
- connectionwrapper.manipulate(true,@__weel_lock,@__weel_data,@__weel_endpoints,@__weel_status,Thread.current[:local],connectionwrapper.additional,prepare,'Activity ' + position.to_s)
886
- else
887
- # just the read structure, no code exec necessary
888
- ReadStructure.new(@__weel_data,@__weel_endpoints,Thread.current[:local],connectionwrapper.additional)
889
- end
890
- params = connectionwrapper.prepare(struct,endpoint,parameters)
876
+ params = connectionwrapper.prepare(@__weel_lock,@__weel_data,@__weel_endpoints,@__weel_status,Thread.current[:local],connectionwrapper.additional,prepare,endpoint,parameters)
891
877
 
892
878
  raise Signal::Stop unless connectionwrapper.vote_sync_before(params)
893
879
  raise Signal::Skip if self.__weel_state == :stopping || self.__weel_state == :finishing
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.123"
3
+ s.version = "1.99.124"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
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.123
4
+ version: 1.99.124
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler