cpee-instantiation 1.0.18 → 1.0.20

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
  SHA256:
3
- metadata.gz: 025e4ba070e685921b00e57887d8f979a3d6434b74b16efbaa6adb310534a7d7
4
- data.tar.gz: 9a84e081c68f000c4519054a116b9caa93ce5f7f1920dd88f993478ef1f86a01
3
+ metadata.gz: 520885171160a30e9ba87160846e940e97da32bb395bbf09ca4daae72b88ccf4
4
+ data.tar.gz: 33880deb6b584c9cba12efe45bc1399ff579350f67fd3f9eb1687b4582eb864e
5
5
  SHA512:
6
- metadata.gz: d1d447f2bbc430412f369f267ff3b1078d299e65f3613b5a1b40e79b8964ec864ccb8690c8db19bf329a970b5fda8951cfb569b91dd9d2caf442d1d8b7ede905
7
- data.tar.gz: '0692514bb3af3b5162d0d7b8d1f97fecc1a1ff04556f5e78cf282f035829e7e307b00636e5b43aeac1a2f6f5d55cf188286144bbabf7b20e37d1093695706648'
6
+ metadata.gz: 3693958d8ac8788ba324f2f52e60427dff7604316bdba46e85ddfcba494c53e061b085d0d5288e2984353fac1de2349ce6c717250c3e835d2a83934fef1875a2
7
+ data.tar.gz: 321bafce9e4dd5f9293bfa3923c7db011f1631b97ac7c4222db8a2f6a740a67d50026f08789172c756585a6500f1200e4b7d7a317fd963a4094e895f098ce5b8
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-instantiation"
3
- s.version = "1.0.18"
3
+ s.version = "1.0.20"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Subprocess instantiation service for the cloud process execution engine (cpee.org)"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.email = 'juergen.mangler@gmail.com'
21
21
  s.homepage = 'http://cpee.org/'
22
22
 
23
- s.add_runtime_dependency 'riddl', '~> 0.99'
23
+ s.add_runtime_dependency 'riddl', '~> 1.0'
24
24
  s.add_runtime_dependency 'json', '~> 2.1'
25
25
  s.add_runtime_dependency 'redis', '~> 5.0'
26
26
  s.add_runtime_dependency 'cpee', '~> 2.1', '>= 2.1.4'
@@ -38,7 +38,12 @@ module CPEE
38
38
  ele.first.text = CPEE::ValueHelper::generate(v)
39
39
  else
40
40
  ele = tdoc.find("/*/prop:#{what}")
41
- ele.first.add(k,CPEE::ValueHelper::generate(v)) if ele.any?
41
+ ele = if ele.any?
42
+ ele.first
43
+ else
44
+ tdoc.root.add("prop:#{what}")
45
+ end
46
+ ele.add(k,CPEE::ValueHelper::generate(v))
42
47
  end
43
48
  end
44
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-instantiation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: tools
11
11
  cert_chain: []
12
- date: 2023-04-21 00:00:00.000000000 Z
12
+ date: 2024-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riddl
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.99'
20
+ version: '1.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.99'
27
+ version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: json
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.3.26
112
+ rubygems_version: 3.5.9
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Subprocess instantiation service for the cloud process execution engine (cpee.org)