cpee 2.1.26 → 2.1.27

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: 4f13d0d499477cb49d9cb850f9dddf8aaef848c326dca500044f19f2ca5c9889
4
- data.tar.gz: a96532269da4927bd5b3f5cb2ab195440ea67115f7906b4f2f30ae63d8fccd01
3
+ metadata.gz: 2e72947d6797d6a34cc0908b21b9d30d9186833a377cd38ff10ebcefe30b8618
4
+ data.tar.gz: 315abe74acc3d2e86555d8292d643df6f03ee4f5e7ef325f1ee05e87c08ccdee
5
5
  SHA512:
6
- metadata.gz: 0efcc7924b603332c15ad3040478e80f34ad747cbe67c0cbd3eb23e41da3cd4914adc5688c3c40cf74dff2bbf92c7e60d02e7cbeaf8017867255554771ea9bbf
7
- data.tar.gz: 61035d40cb0c1c44a85dd9736a0020a74c56a13d4c30e1f5164f060695058a302644a59b63e443529d4e85a4aaba014492e2909bb8e61aea81480ec3eed57d7e
6
+ metadata.gz: fd25a0b08d05b4b0d257364e55883f9257fbd29ba24dd9d08bdb2cad53c12dc3388914e711a5999d6e737d7e20eb8225d01f2efd758bb85b1afeb9d477b4ecb6
7
+ data.tar.gz: 8bd408a48e2868d761e27b0ebec57813b877711c41de16624102faedd4ffb3d2158cc54a0eedca2ff583069b9996547cde3ed2eb1d4b02055396ee6d70e553e2
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.26"
3
+ s.version = "2.1.27"
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."
@@ -417,7 +417,9 @@
417
417
  <xsl:text>:</xsl:text>
418
418
  <xsl:value-of select="name()"/>
419
419
  <xsl:text> =&gt; </xsl:text>
420
- <xsl:apply-templates select="d:*" mode="plainmulti"/>
420
+ <xsl:text>{ </xsl:text>
421
+ <xsl:apply-templates select="d:*" mode="simplemulti"/>
422
+ <xsl:text> }</xsl:text>
421
423
  </xsl:template>
422
424
  <xsl:template match="d:*[not(name()='label')]" mode="parameter">
423
425
  <xsl:if test="count(preceding-sibling::*) &gt; 0">, </xsl:if>
@@ -507,6 +509,34 @@
507
509
  </xsl:choose>
508
510
  <xsl:text> }</xsl:text>
509
511
  </xsl:template>
512
+ <xsl:template match="d:*" mode="simplemulti">
513
+ <xsl:if test="count(preceding-sibling::*) &gt; 0">, </xsl:if>
514
+ <xsl:text>:</xsl:text>
515
+ <xsl:value-of select="name()"/>
516
+ <xsl:text> =&gt; </xsl:text>
517
+ <xsl:choose>
518
+ <xsl:when test="count(*) &gt; 0">
519
+ <xsl:text>{</xsl:text>
520
+ <xsl:apply-templates select="d:*" mode="plain"/>
521
+ <xsl:text>}</xsl:text>
522
+ </xsl:when>
523
+ <xsl:when test="not(node())">
524
+ <xsl:text>nil</xsl:text>
525
+ </xsl:when>
526
+ <xsl:otherwise>
527
+ <xsl:choose>
528
+ <xsl:when test="substring(text(),1,1) = '!'">
529
+ <xsl:value-of select="substring(text(),2)"/>
530
+ </xsl:when>
531
+ <xsl:otherwise>
532
+ <xsl:text>"</xsl:text>
533
+ <xsl:value-of select="str:replace(str:replace(text(),'\','\\'),'&quot;','\&quot;')"/>
534
+ <xsl:text>"</xsl:text>
535
+ </xsl:otherwise>
536
+ </xsl:choose>
537
+ </xsl:otherwise>
538
+ </xsl:choose>
539
+ </xsl:template>
510
540
  <xsl:template name="format-name">
511
541
  <xsl:param name="tname"/>
512
542
  <xsl:choose>
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.26
4
+ version: 2.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler