cpee 2.0.8 → 2.0.9

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: 95c3d4997c835af1ee4d34d11331ffff81cd630da92bd50bfdbb7222d84576a2
4
- data.tar.gz: 1b05ef8c78a4c280496beb8875bc47efaac200a877f42f5a6c3f2c30bdf98976
3
+ metadata.gz: 811f6ba4e6ef11aa5de45fb30c400e05b061413912dfe2395d3e49f54e1bb0e8
4
+ data.tar.gz: 18d970c9e70317eb063d60e35fb9df8714e1692f5b374a3b1ad9fa7ba8750993
5
5
  SHA512:
6
- metadata.gz: eda37aca3ed44140077015b70825b1e3500cae7a5afd972d50ee389051bb281d8dd5e3b3416dcd66cd3b8072aa48c87a8693081b20eebdd6db3f71fc316cedfa
7
- data.tar.gz: e795b2134cb33fb78cd318fae57fd5f42b0bc3ca9efea451b288874479ff6155d10990aefb217ade6f6520954024fb4ec5ca35a8fc9273e5ebf0af7a2a76ac56
6
+ metadata.gz: 151b7914bc3823b202df188d8f444a76bfcd1fa175e6fde33dbb4e0b33cddfe094bf72929f9b9b460523a50195fe573b610a38b1b4e9a87cb8c2e0bb6efb44d1
7
+ data.tar.gz: 8cec770c49dcbdd614bde9d4d5c5aa788d24660d5ca1ed09af87957abd320512313dbe2b0afae14646ebf316695be4094ca902ed0da64385eb78c5aaaf3c9dfb
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.0.8"
3
+ s.version = "2.0.9"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -183,7 +183,7 @@ module CPEE
183
183
  doc = XML::Smart::open_unprotected(opts[:properties_init])
184
184
  doc.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
185
185
  name = @p[0].value
186
- id = redis.zcount('instances','-inf','+inf').to_i + 1
186
+ id = redis.zrevrange('instances', 0, 0).first.to_i + 1
187
187
  uuid = SecureRandom.uuid
188
188
  instance = 'instance:' + id.to_s
189
189
  redis.multi do |multi|
data/tools/cpee CHANGED
@@ -179,7 +179,6 @@ elsif command == 'archive'
179
179
  uuid = xprop.find("string(/p:properties/p:attributes/p:uuid)")
180
180
  id = name.to_s
181
181
  File.write(File.join(p1,uuid + '.xml'),prop.response_body) if prop.headers['Content-Type'] =~ /^(text|application)\/xml/
182
- p File.join(base,name.to_s,'/')
183
182
  Typhoeus.delete(File.join(base,name.to_s,'/'))
184
183
  end
185
184
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  - Ralph Vigne
9
9
  - Gerhard Stuermer
10
- autorequire:
10
+ autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2020-10-13 00:00:00.000000000 Z
13
+ date: 2020-10-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl
@@ -515,7 +515,7 @@ homepage: http://cpee.org/
515
515
  licenses:
516
516
  - LGPL-3.0
517
517
  metadata: {}
518
- post_install_message:
518
+ post_install_message:
519
519
  rdoc_options: []
520
520
  require_paths:
521
521
  - lib
@@ -530,8 +530,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
530
530
  - !ruby/object:Gem::Version
531
531
  version: '0'
532
532
  requirements: []
533
- rubygems_version: 3.1.2
534
- signing_key:
533
+ rubygems_version: 3.1.4
534
+ signing_key:
535
535
  specification_version: 4
536
536
  summary: Preliminary release of cloud process execution engine (cpee.org). If you
537
537
  just need workflow execution, without a rest service exposing it, then use WEEL.