awes_cli 0.0.16 → 0.0.17

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: 976175671147866776438637c2ee06daff8e55aeb7627905d209426a384dc8fd
4
- data.tar.gz: 6924c13fc2614d6a0c7742c6c9e2cc3503bac0a78ae2e1248d77b3b06a61f35c
3
+ metadata.gz: ae356ef2d3af8d4b50abe527873238f1f1f9d605e9c30360593574caf3fb32d7
4
+ data.tar.gz: 83a3518d0a80ecc9c0630c182a9f27fe9ff91484872dab852ac5e9d40d2c5845
5
5
  SHA512:
6
- metadata.gz: 9787637eb5cb323ffc6283803d0548413715b7aa3af315a5f27bb46793a689ce36d9d29bf8e9a9f04afed1d98846f0291c55db25ed99d83662b766b63c44fd48
7
- data.tar.gz: 8dec561e51b237892c635271a667d3819c31c1fe2a44c7bc26b4b0542a39c91a0c0ba0157dfb2c32396d5d2aa11daf88ddffb4f708a1363cb531ae69f41bef70
6
+ metadata.gz: 340b7a3aff0a95b635178a0c2c556227649e471bbd76b7535a01a89570f6788e7cfb83c72f6ad0f011f76a857d23d5c4e82ddc8897089bc5f2368f0390bc164d
7
+ data.tar.gz: 829d803fafe6b122941b97067a78ff5703ecfb3b2508a7f0e14d0a9d0cd6e0c0ab5c2b7773a4ac2e1d329fafc608d0b638e557a2d9c883a59b9320c3469c1dc2
data/lib/deploy_config.rb CHANGED
@@ -166,7 +166,7 @@ class DeployConfig
166
166
  opt_image_url = options[:image_tag] && "#{gcr_url}:#{options[:image_tag]}"
167
167
 
168
168
  image_url = "#{gcr_url}:current"
169
- image_url = spec[:image] if spec[:image] && validate_image_tag_exists?(spec[:image])
169
+ image_url = spec[:image] if spec[:image].empty? && validate_image_tag_exists?(spec[:image])
170
170
  image_url = opt_image_url if validate_image_tag_exists?(opt_image_url)
171
171
 
172
172
  if !validate_image_tag_exists?(image_url)
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.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umar Siddiqui