canzea 0.1.33 → 0.1.34
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 +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/helper-run-class.rb +4 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e68bc6768abf53b097220fe52ef731fb33c29da
|
4
|
+
data.tar.gz: b8bcb39ef3507abb104db596715fea27cbdd829b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec64cbb71de450e8c71544b5c78d48f8344630307a32991a82a1205cded533094f372fa025396229d0961d7bec0ce9a9fdec8f24d011b85d7447d9795069ce0b
|
7
|
+
data.tar.gz: b3b4525b042ebeddf8c3e06dddefdfb277e72912e1385e0d3dc7f0205417d450c548327333fe47ad986a8715ec5972dc787fe976e5381c22a6346351d796b5ea
|
data/lib/canzea/version.rb
CHANGED
data/lib/helper-run-class.rb
CHANGED
@@ -22,19 +22,17 @@ class HelperRun
|
|
22
22
|
# If there is context information, then merge them into the parameters before calling the helper
|
23
23
|
if (ENV.has_key?('WORK_DIR') and File.exists?ENV['WORK_DIR'] + "/context.json")
|
24
24
|
context = JSON.parse(File.read(ENV['WORK_DIR'] + "/context.json"))
|
25
|
-
|
26
|
-
|
27
|
-
end
|
25
|
+
result = JSON.parse(params).merge(context)
|
26
|
+
return JSON.generate(result)
|
28
27
|
end
|
28
|
+
return params
|
29
29
|
end
|
30
30
|
|
31
31
|
def run (solution, action, parameters, status = false)
|
32
32
|
|
33
33
|
type = "ruby"
|
34
34
|
|
35
|
-
self.enrich(
|
36
|
-
|
37
|
-
#parameters = JSON.generate(parameters)
|
35
|
+
parameters = self.enrich(parameters)
|
38
36
|
|
39
37
|
envPush = PrepareEnvironment.new
|
40
38
|
|