cpee 1.3.225 → 1.3.226
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/server/resources/transformation_dslx.xsl +17 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29fda55c433e2e644eb7789d9a1d536db13159d1
|
4
|
+
data.tar.gz: eaf8521b70023dd5a0834a328854718f4aee4f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7d33e2623ccb034ddd593aee8a5588042be884c8bef27f40b9229af6b8a938fc1b47eb5b24120b33a8d47ff97f473fccd520717aceb045cd4f7612f3e18d7a
|
7
|
+
data.tar.gz: 4bf2c9318a15958b894ddd574663a33f1cb8c8916b75978bdaa61d4139888506f71ff4df10799a38dd6d6088376aaac5934d2e500d17562163094bdf49bf69e9
|
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "1.3.
|
3
|
+
s.version = "1.3.226"
|
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). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
|
@@ -377,9 +377,9 @@
|
|
377
377
|
<xsl:text>nil</xsl:text>
|
378
378
|
</xsl:when>
|
379
379
|
<xsl:when test="child::node()[not(self::text())]">
|
380
|
-
<xsl:text>"
|
380
|
+
<xsl:text>"[</xsl:text>
|
381
381
|
<xsl:apply-templates select="*" mode="JSON"/>
|
382
|
-
<xsl:text>
|
382
|
+
<xsl:text> ]"</xsl:text>
|
383
383
|
</xsl:when>
|
384
384
|
<xsl:otherwise>
|
385
385
|
<xsl:choose>
|
@@ -486,28 +486,32 @@
|
|
486
486
|
|
487
487
|
<!-- JSON Element -->
|
488
488
|
<xsl:template match="*" mode="JSON">
|
489
|
-
<xsl:text
|
489
|
+
<xsl:text> { \"</xsl:text>
|
490
490
|
<xsl:value-of select="name()"/>
|
491
|
-
<xsl:text>-</xsl:text>
|
492
|
-
<xsl:value-of select="generate-id(.)"/>
|
493
491
|
<xsl:text>\": </xsl:text>
|
494
492
|
<xsl:call-template name="JSONProperties">
|
495
493
|
<xsl:with-param name="parent" select="'Yes'"></xsl:with-param>
|
496
494
|
</xsl:call-template>
|
495
|
+
<xsl:choose>
|
496
|
+
<xsl:when test="following-sibling::*"><xsl:text> </xsl:text></xsl:when>
|
497
|
+
</xsl:choose>
|
498
|
+
<xsl:text>}</xsl:text>
|
499
|
+
<xsl:if test="following-sibling::*">,</xsl:if>
|
497
500
|
</xsl:template>
|
498
501
|
|
499
502
|
<xsl:template match="*" mode="JSONSUB">
|
500
|
-
<xsl:text
|
503
|
+
<xsl:text> \"</xsl:text>
|
501
504
|
<xsl:value-of select="name()"/>
|
502
505
|
<xsl:text>\": </xsl:text>
|
503
506
|
<xsl:call-template name="JSONProperties">
|
504
507
|
<xsl:with-param name="parent" select="'Yes'"></xsl:with-param>
|
505
508
|
</xsl:call-template>
|
509
|
+
<xsl:if test="following-sibling::*">,</xsl:if>
|
506
510
|
</xsl:template>
|
507
511
|
|
508
512
|
<!-- JSON Array Element -->
|
509
513
|
<xsl:template match="*" mode="JSONArrayElement">
|
510
|
-
|
514
|
+
<xsl:call-template name="JSONProperties"/>
|
511
515
|
</xsl:template>
|
512
516
|
|
513
517
|
<!-- JSON Object Properties -->
|
@@ -519,7 +523,7 @@
|
|
519
523
|
<xsl:choose>
|
520
524
|
<xsl:when test="$parent='Yes'">
|
521
525
|
<xsl:choose>
|
522
|
-
<xsl:when test="number(.) = .">
|
526
|
+
<xsl:when test="string(number(.)) = .">
|
523
527
|
<xsl:value-of select="."/>
|
524
528
|
</xsl:when>
|
525
529
|
<xsl:otherwise>
|
@@ -534,7 +538,7 @@
|
|
534
538
|
<xsl:value-of select="name()"/>
|
535
539
|
<xsl:text>\": </xsl:text>
|
536
540
|
<xsl:choose>
|
537
|
-
<xsl:when test="number(.) = .">
|
541
|
+
<xsl:when test="string(number(.)) = .">
|
538
542
|
<xsl:value-of select="."/>
|
539
543
|
</xsl:when>
|
540
544
|
<xsl:otherwise>
|
@@ -568,10 +572,12 @@
|
|
568
572
|
<xsl:text>\"</xsl:text>
|
569
573
|
<xsl:text> ]</xsl:text>
|
570
574
|
</xsl:if>
|
571
|
-
<xsl:
|
575
|
+
<xsl:choose>
|
576
|
+
<xsl:when test="following-sibling::*"></xsl:when>
|
577
|
+
<xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise>
|
578
|
+
</xsl:choose>
|
572
579
|
</xsl:otherwise>
|
573
580
|
</xsl:choose>
|
574
|
-
<xsl:if test="following-sibling::*">, </xsl:if>
|
575
581
|
</xsl:template>
|
576
582
|
|
577
583
|
<!-- JSON Attribute Property -->
|
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.
|
4
|
+
version: 1.3.226
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: tools
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-02-
|
14
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: riddl
|