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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a044f2a98783e956670aaff79c3a1d2681e83470
4
- data.tar.gz: 6d56d272a31f12289153b617569b73cd5d585882
3
+ metadata.gz: 6e68bc6768abf53b097220fe52ef731fb33c29da
4
+ data.tar.gz: b8bcb39ef3507abb104db596715fea27cbdd829b
5
5
  SHA512:
6
- metadata.gz: e5a4b3672006eda1908329a114d272f8c23870a5a34f9012e8000bad36483b3dbb4127c86dc2bd83c7a3fb5919b746559acdc86885f532acb9927bdb69e0d867
7
- data.tar.gz: 126b606e31ca1662c6891a6c25a1b7602298f4d38d573c81c5b249a8f0ad66d1444cf550daba3cbbb8f92bbe712d5a3c887dca7c748385d9bb046395146af984
6
+ metadata.gz: ec64cbb71de450e8c71544b5c78d48f8344630307a32991a82a1205cded533094f372fa025396229d0961d7bec0ce9a9fdec8f24d011b85d7447d9795069ce0b
7
+ data.tar.gz: b3b4525b042ebeddf8c3e06dddefdfb277e72912e1385e0d3dc7f0205417d450c548327333fe47ad986a8715ec5972dc787fe976e5381c22a6346351d796b5ea
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.33"
2
+ VERSION = "0.1.34"
3
3
  end
@@ -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
- context.keys.each do |key|
26
- params[key] = context[key]
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(params)
36
-
37
- #parameters = JSON.generate(parameters)
35
+ parameters = self.enrich(parameters)
38
36
 
39
37
  envPush = PrepareEnvironment.new
40
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies