canzea 0.1.77 → 0.1.78

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: 53db21fc7e2e067b77e0e0152dd50bac46da31c5
4
- data.tar.gz: 6db64ea2d7728041603679af3f9c6c40f91d06a4
3
+ metadata.gz: a17435e2a0e8bc9ae1979c62c00cc0d97e04f4fe
4
+ data.tar.gz: 32da1d62992017e8b1b6db12e9866e99697b85c2
5
5
  SHA512:
6
- metadata.gz: 418738b2d69bca8b594a76ef893096f01a9831353c3274a483068ffa69a68b21649de3ef112f16fb9a2732c1a7b4522d79c3f139b55744ffda38e37700226192
7
- data.tar.gz: bd2651d09a5ccb177d6a71995df6baf827053b0410734a34754026e23bd6abda4edc28cb1d9ae8e0bc305488703f23859fdb1ae70ff55f4e3f1272e991d9a1dc
6
+ metadata.gz: 583d087f6547b07afcdd3c27a6914a3cca02bd4cf7bc7b1d9c3766a3e76b474eabd471c77fbb87d8af4578e409d64d774194f7e9b49caba9517750201d6c0b17
7
+ data.tar.gz: d7e909b5d8d83026c9a3999cf12909c61550112a85329d23555bbe74fd66691ec5876ec9e666b0c027916f642ceaa1b1ad916330d826b383c5b735e8bef85261
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.77"
2
+ VERSION = "0.1.78"
3
3
  end
@@ -8,21 +8,21 @@ class AddEnv
8
8
  end
9
9
 
10
10
  def add (key, value)
11
- extraConfig = Canzea::config[:catalog_location] + "/env.json"
11
+ extraConfig = Canzea::config[:config_location] + "/env.json"
12
12
  envs = loadFile()
13
13
  envs["vars"][key] = value
14
14
  File.write(extraConfig, JSON.generate(envs))
15
15
  end
16
16
 
17
17
  def addSecret (key, value)
18
- extraConfig = Canzea::config[:catalog_location] + "/env.json"
18
+ extraConfig = Canzea::config[:config_location] + "/env.json"
19
19
  envs = loadFile()
20
20
  envs['secrets'][key] = value
21
21
  File.write(extraConfig, JSON.generate(envs))
22
22
  end
23
23
 
24
24
  def loadFile()
25
- extraConfig = Canzea::config[:catalog_location] + "/env.json"
25
+ extraConfig = Canzea::config[:config_location] + "/env.json"
26
26
  if File.exists?(extraConfig)
27
27
  file = File.read(extraConfig)
28
28
  envs = JSON.parse(file)
@@ -33,7 +33,7 @@ class AddEnv
33
33
  end
34
34
 
35
35
  def injectEnvironmentVariables()
36
- extraConfig = Canzea::config[:catalog_location] + "/env.json"
36
+ extraConfig = Canzea::config[:config_location] + "/env.json"
37
37
  @log.info "Looking at for env vars: #{extraConfig}"
38
38
  if File.exists?(extraConfig)
39
39
  puts "-- Reading #{extraConfig}"
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.77
4
+ version: 0.1.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies