mux_tf 0.4.4 → 0.4.5

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
  SHA256:
3
- metadata.gz: 325b524385d381a108be4485d79b1a89b7937f5b3c9621fb43fe94fb5c798c68
4
- data.tar.gz: da862b08c5206317b9d4f48fc90d18af4882a586b459cc1ec61f3313ec778c51
3
+ metadata.gz: 4bd3960b0080f99acf0d83a006d8a49fff87e31c93fc4fe2b86524abb3b98357
4
+ data.tar.gz: b03d2cf165991634502a75e624c69f22dd5adce5eb0ad9565368a667248b45a5
5
5
  SHA512:
6
- metadata.gz: f73f7a84da5b961ca5ee391ea7046bcc5d459b699c5f39f2868d51094f99cf1ede6e3fa83cfe54ea8819854f8b019a2f81c1ec592f4f1ddb57d08cbb6c645c5d
7
- data.tar.gz: fab61ad5de6c79a40fe9a23b407d4d8b75cae8241ea56f7164ec43e083650ab7b173e7cf9248378689c213e80d2579f463c6cd380d22de40e51d2228e3262a7a
6
+ metadata.gz: 6d27554cd534c7c75ee592213863989e35a3f6ce1e6bd466103ea35cbe483193d7ab7746b251b3bd085e2242015ae5f2aad3c7d5d06c59eff198f7b917d6cdf2
7
+ data.tar.gz: c1de1a658d5dffb6bf63be73260c90a358d5d8fe8b52669683c73ad72502bb679b72f94e6cd08c6f53b7ddc23beaf5060ed505d33dec82df4b709b6e0c3836dc
@@ -178,7 +178,8 @@ module MuxTf
178
178
  define_cmd("apply", summary: "Apply the current plan") do |_opts, _args, _cmd|
179
179
  status = tf_apply(filename: PLAN_FILENAME)
180
180
  if status.success?
181
- throw :stop, :done
181
+ plan_status = run_plan
182
+ throw :stop, :done if plan_status == :ok
182
183
  else
183
184
  log "Apply Failed!"
184
185
  end
@@ -289,6 +290,7 @@ module MuxTf
289
290
  when :unknown
290
291
  # nothing
291
292
  end
293
+ plan_status
292
294
  end
293
295
 
294
296
  def run_upgrade
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuxTf
4
- VERSION = "0.4.4"
4
+ VERSION = "0.4.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mux_tf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Banasik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-29 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - piotr@jane.app
128
128
  executables:
@@ -155,7 +155,7 @@ licenses:
155
155
  metadata:
156
156
  homepage_uri: https://github.com/piotrb/mux_tf
157
157
  source_code_uri: https://github.com/piotrb/mux_tf
158
- post_install_message:
158
+ post_install_message:
159
159
  rdoc_options: []
160
160
  require_paths:
161
161
  - lib
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubygems_version: 3.0.3
174
- signing_key:
174
+ signing_key:
175
175
  specification_version: 4
176
176
  summary: Terraform Multiplexing Scripts
177
177
  test_files: []