awes_cli 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/deploy_config.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45e8bc63d693bc56a8caec4132ef4247015a8dab5d5700de58ac5bfdcf2f6469
4
- data.tar.gz: f59ff2761788a4cae909c66f90c260d6043ea34aea9d9c84d0f6397a9efe5ac4
3
+ metadata.gz: 5b9a73dc5dbf7745e69146f02c3374ce6a957e43281ae0503c9ad80c53aa17ce
4
+ data.tar.gz: de4640754c3386a108a1d998932d58f79c7314c1d2d10d36d6c45e0e1f22460e
5
5
  SHA512:
6
- metadata.gz: a14dc4135709022157dab1a44e474fc6fe3d0f71c683e7c039dbdcdd433df045fbddcaa6a46b597c1547b3e686c2d21ffbfdc66b7a79a40359addcf50e2af50d
7
- data.tar.gz: d8eec4b98797c893c10703c77138c0f4f3fd6dd8f846821ba5d96eb68d5835d80e123a7e2ae14ac045e32fadf8a1b1a469e909099844669b640bbc3c53a2f977
6
+ metadata.gz: a989510de0b482da03abda2787c0d0a3c4b9b9930bff1b3ed63af0849c205535398beba98789f9d8a43fff67e4af8fd9c28dbfd22b2a315395f1a21f1e842b59
7
+ data.tar.gz: 2125e83e81a46dc3edced849a9a79fab44c786113cdd6a50a66d022b7a90de86045d95cdb25c3aa8b3b6437cd2122bd98f89a75ad467dfc3f36d76735b924115
data/lib/deploy_config.rb CHANGED
@@ -159,7 +159,7 @@ class DeployConfig
159
159
  env_key = env_name[1..-1]
160
160
  env_val = override_envs[env_key] || ENV[env_key] || k8s_deployment_envs[env_key]
161
161
  next if env_val.nil?
162
- yaml_file.gsub!(env_name, "'#{env_val}'")
162
+ yaml_file.gsub!(/\$#{env_key}\s*$/, "'#{env_val}'")
163
163
  end
164
164
 
165
165
  gcr_url = "gcr.io/#{options[:project_id]}/#{options[:image_repo] || options[:app_name]}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awes_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umar Siddiqui