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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02528cf992ba012df3800f4bdc078db3ab2badbd
4
- data.tar.gz: 3bf0a7641931f00df047ff62bb758935d622c94e
3
+ metadata.gz: f301abd9b9170e10c6d5538f582203e273281c60
4
+ data.tar.gz: 23a562ff8439d94d1963ba4253146be19a816c50
5
5
  SHA512:
6
- metadata.gz: 618e0aa99066030d71cf2730de25c9a8c432ace73447f6867845ce64970add450967249177591e09d708fa1546e534476a7c128f5aab7c80c73bc99ef276749d
7
- data.tar.gz: 0e43a169ba1189b78e355480fe8550e53d3737e57712a2d71111c38ca6ceb8a686614027450a907a2c6908b64100ebd24adf10eb0c7acb08f6cc70e047d24b22
6
+ metadata.gz: 0a0b627bc6c18b4fadd61fb3c5c8c80d09e91f4b7a4fe64d2588e46fd0abe12de030d8fdc4eef79c56709df6460bcb551c617f2b4702192ed4dbc86dbd6b5457
7
+ data.tar.gz: 59e291e213be8ee21916b5878de6048529e09d489929bf064bd411941ca1dcad4577fc71e1df2ccf3a18bfcaaac46c0b206f64aea8e793c3dba55d0ae87c80dd
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.139"
2
+ VERSION = "0.1.140"
3
3
  end
@@ -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']}/instances/#{ENV['HOSTNAME']}/config/#{filePath}"
31
+ path = "ecosystems/#{ENV['ECOSYSTEM']}/#{@relPath}#{filePath}"
31
32
 
32
33
  begin
33
34
  folder = "_working"
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.139
4
+ version: 0.1.140
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies