dctl_rb 0.11.0 → 0.11.1

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
  SHA256:
3
- metadata.gz: cb2a3ff3297ec27acacc32e5bfc12698e8d9c8d55f76c394ae4640e36d63aa2a
4
- data.tar.gz: df5ef66c7a27870689c7e98337d7d983252beab2d4bad49ddc1fbb69cb036766
3
+ metadata.gz: 52da5b77913f3c818baf41f160ac030d41141759a502b391799edb361fcfdc04
4
+ data.tar.gz: 5c700055c9734195cf4edda25277a0f30e9066fe89771a0e9a10ad31f6397832
5
5
  SHA512:
6
- metadata.gz: 441b6e8f2d1e8507f2bd15a47de9780c5d97e1ed939832609da888b7cb8eb4da1f4d4f665ce000f3f2c615a44a3ca327c7cd9dcca98f33890f016123b9af893c
7
- data.tar.gz: 494d65de08a6b505c3fab9f1665e5e01a2ffdf8bcef8c52602fbe596d3a5b892059d7ce6fc351273902ab3c9fe508a9ea1058a136849c83228857738140bb579
6
+ metadata.gz: ad8dc9c53dd402e3f7a5b66025029c576e9fa291089659e06d41d938eabe21d555ea6b0ca5c840a873384849155852eea1b77a04f60460e0a77e0faad28055f8
7
+ data.tar.gz: 9b605f44622725516178c6ba3d14f5a9eac2de78226c98c42867b1da6b208179bc44445feb907dce9a30fd0d49df9064e634a8afdd9d43a14f3bab7fddd0bc07
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dctl_rb (0.11.0)
4
+ dctl_rb (0.11.1)
5
5
  config (>= 1, < 2)
6
6
  rainbow (>= 2.2, < 3)
7
7
  rake (~> 12)
@@ -40,7 +40,15 @@ module Dctl::Kubernetes
40
40
  dctl = Dctl::Main.new dctl_opts
41
41
  compose_tag = dctl.image_tag service
42
42
  live_tag = Dctl::Kubernetes.live_image(service, k8s_opts)
43
- exit compose_tag == live_tag ? 1 : 0
43
+
44
+ is_outdated = compose_tag != live_tag
45
+ if is_outdated
46
+ puts "yes"
47
+ exit 0
48
+ else
49
+ puts "no"
50
+ exit 1
51
+ end
44
52
  end
45
53
 
46
54
  no_commands do
data/lib/dctl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dctl
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dctl_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Toniazzo