cpee 1.3.150 → 1.3.151

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a79f61a7ef8feebf246c204caeb39f34f6849964
4
- data.tar.gz: 30bde6f9d828d38e51b9995bb1f2df761b401acd
3
+ metadata.gz: 5f231da12c19e79d7c1de6886142a77c92019168
4
+ data.tar.gz: 6258d3a752266c3f213a263ddc05f784202685e9
5
5
  SHA512:
6
- metadata.gz: 18909242db2141bc69e7eb27dc5196c28afc2919b205b7ea8fb28281e3a6274c9e093e4d5c0bdae65c8ce1827b2ef51a442ab5f21e6a6f6f7472efa014d03ee3
7
- data.tar.gz: 4e81ea68d3abbd53282504b9c6ba02691d3c5d1aa929cd7a950777fa15d16954343caa6057d17faa2db37245e09261c3479d64306d072e507494744abcfcebb4
6
+ metadata.gz: 0eee3f9145b21b9be240c94577a9e66be4da7f98dc128f45217a41f243c4290aa2205d4ea19efeb9c5953a81583a5b5a8a5483d78e8ad8e320eeeb84b300f10e
7
+ data.tar.gz: 90665298198576923bbffba42530c7c3b5227f96acc1f8687d01a02a1e442490ae189f73dff42a75b19f827a65224e2534998edad7caf48ca5e4ce98e8ad4a80
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.150"
3
+ s.version = "1.3.151"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -3,15 +3,15 @@
3
3
  # This file is part of CPEE.
4
4
  #
5
5
  # Apache License, Version 2.0
6
- #
6
+ #
7
7
  # Copyright (c) 2013 Juergen Mangler
8
- #
8
+ #
9
9
  # Licensed under the Apache License, Version 2.0 (the "License");
10
10
  # you may not use this file except in compliance with the License.
11
11
  # You may obtain a copy of the License at
12
- #
12
+ #
13
13
  # http://www.apache.org/licenses/LICENSE-2.0
14
- #
14
+ #
15
15
  # Unless required by applicable law or agreed to in writing, software
16
16
  # distributed under the License is distributed on an "AS IS" BASIS,
17
17
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -49,6 +49,9 @@ module CPEE
49
49
 
50
50
  def print_InfiniteLoop(node,res)
51
51
  s1 = res.add('loop', 'pre_test' => 'true')
52
+ node.attributes.each do |k,v|
53
+ s1.attributes[k] = v
54
+ end
52
55
  generate_for_list(node,s1)
53
56
  end
54
57
  def print_Loop_default(node,res)
@@ -56,7 +59,7 @@ module CPEE
56
59
  s1.attributes['language'] = node.condition_type unless node.condition_type.nil?
57
60
  node.attributes.each do |k,v|
58
61
  s1.attributes[k] = v
59
- end
62
+ end
60
63
  generate_for_list(node,s1)
61
64
  s1
62
65
  end
@@ -70,7 +73,7 @@ module CPEE
70
73
  n.text = node.script
71
74
  n.attributes['output'] = node.script_var unless node.script_var.nil?
72
75
  n.attributes['language'] = node.script_type unless node.script_type.nil?
73
- else
76
+ else
74
77
  n = res.add('d:call', 'id' => "a#{node.niceid}", 'endpoint' => node.endpoints.join(','))
75
78
  p = n.add('d:parameters')
76
79
  p.add('d:label',node.label)
@@ -111,10 +114,10 @@ module CPEE
111
114
  a
112
115
  else
113
116
  s1.add('d:otherwise')
114
- end
117
+ end
115
118
  branch.attributes.each do |k,v|
116
119
  s2.attributes[k] = v
117
- end
120
+ end
118
121
  generate_for_list(branch,s2)
119
122
  end
120
123
  if (x = s1.find('d:otherwise')).any?
@@ -130,6 +133,6 @@ module CPEE
130
133
 
131
134
  end
132
135
 
133
- end
136
+ end
134
137
 
135
138
  end
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: 1.3.150
4
+ version: 1.3.151
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler