canzea 0.1.139 → 0.1.140
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/commands/push-config.rb +3 -2
- 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: f301abd9b9170e10c6d5538f582203e273281c60
|
4
|
+
data.tar.gz: 23a562ff8439d94d1963ba4253146be19a816c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a0b627bc6c18b4fadd61fb3c5c8c80d09e91f4b7a4fe64d2588e46fd0abe12de030d8fdc4eef79c56709df6460bcb551c617f2b4702192ed4dbc86dbd6b5457
|
7
|
+
data.tar.gz: 59e291e213be8ee21916b5878de6048529e09d489929bf064bd411941ca1dcad4577fc71e1df2ccf3a18bfcaaac46c0b206f64aea8e793c3dba55d0ae87c80dd
|
data/lib/canzea/version.rb
CHANGED
data/lib/commands/push-config.rb
CHANGED
@@ -14,7 +14,8 @@ require 'canzea'
|
|
14
14
|
|
15
15
|
|
16
16
|
class PushConfig
|
17
|
-
def initialize ()
|
17
|
+
def initialize (_relPath = "instances/#{ENV['HOSTNAME']}/config/")
|
18
|
+
@relPath = _relPath
|
18
19
|
@log = Logger.new(Canzea::config[:logging_root] + '/plans.log')
|
19
20
|
end
|
20
21
|
|
@@ -27,7 +28,7 @@ class PushConfig
|
|
27
28
|
end
|
28
29
|
|
29
30
|
def write(filePath, contents)
|
30
|
-
path = "ecosystems/#{ENV['ECOSYSTEM']}
|
31
|
+
path = "ecosystems/#{ENV['ECOSYSTEM']}/#{@relPath}#{filePath}"
|
31
32
|
|
32
33
|
begin
|
33
34
|
folder = "_working"
|