cpee 2.1.96 → 2.1.97

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/contrib/transform.rb +18 -0
  3. data/cpee.gemspec +2 -2
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a097cddb7f745bb78a2e0eafa05dd7177df0fe54fa455d6e5773e7d27767261
4
- data.tar.gz: c055f8852db8dd548e7ba96a492bd15b3ac102923bb3638e4f82f5109ce6df63
3
+ metadata.gz: c4f30296bc3952b8bda45e523075c4338f08681bf60f0a7c813d58fc9e49f60f
4
+ data.tar.gz: 3ab84ab313444f70f193b80dc803d025f6107d2c2fc3b1c2757a7e699af71987
5
5
  SHA512:
6
- metadata.gz: 4380d3deb2ed29747a4b078d119fe5d2824105d3468ce82de6436da40a9381f71af186c8a6de22a3ad9c44ea88571e182cf0301d529ab62bae8890e2a9376f01
7
- data.tar.gz: f4938bedc3aa359bcaf78ac98b75da28355d2e1cf4eb330b09a1a9e136d17b00588470de24788ef0debaeec7d3f2ab119fcd381b629515c9e226325f9b25c1fe
6
+ metadata.gz: 90bc06afa74facb7cf950b715a9730f3f04df795104ff70f6243a8c02fdd48313ba2917c85de9691f5a7dda7e620ab86cd6780000d82dfcf44b1155453a26e7d
7
+ data.tar.gz: 14079e04065b2206ca1e322cf8a399e1392acfc3090c2a008d2058d4ab6384cf678559e9148c6e7005070267d2a77d1a2aed8635e5a9594286af7e49b2f82f43
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/ruby
2
+ require 'xml/smart'
3
+
4
+ Dir.glob('**/*.xml').each do |f|
5
+ if File.file? f
6
+ XML::Smart.modify(f) do |d|
7
+ if d.register_namespace 'd', 'http://cpee.org/ns/description/1.0'
8
+ d.find('//d:manipulate').each do |e|
9
+ if e.find('d:code').length == 0
10
+ t = e.text
11
+ e.text = ''
12
+ e.add('d:code',t)
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
data/cpee.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.96"
3
+ s.version = "2.1.97"
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."
7
7
 
8
8
  s.description = "see http://cpee.org"
9
9
 
10
- s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/templates/.templates.xml,cockpit/templates/.transformations.xml,cockpit/templates/.Signavio.xml,cockpit/templates/.CPEE.xml,cockpit/*.html,cockpit/themes/*/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*}'] - Dir['{server/instances/**/*,server/executionhandlers/rust/**/*,cockpit/js_libs/**/*,server/redis*}'] + %w(COPYING FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
10
+ s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/templates/.templates.xml,cockpit/templates/.transformations.xml,cockpit/templates/.Signavio.xml,cockpit/templates/.CPEE.xml,cockpit/*.html,cockpit/themes/*/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*,contrib/transform.rb}'] - Dir['{server/instances/**/*,server/executionhandlers/rust/**/*,cockpit/js_libs/**/*,server/redis*}'] + %w(COPYING FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
11
11
  s.require_path = 'lib'
12
12
  s.extra_rdoc_files = ['README.md']
13
13
  s.bindir = 'tools'
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.96
4
+ version: 2.1.97
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -980,6 +980,7 @@ files:
980
980
  - contrib/logo2a-favicon.svg
981
981
  - contrib/logo2a.png
982
982
  - contrib/logo2a.svg
983
+ - contrib/transform.rb
983
984
  - cpee.gemspec
984
985
  - lib/callbacks.xml
985
986
  - lib/callbacks/callbacks.rng