mux_tf 0.4.5 → 0.4.6

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: 4bd3960b0080f99acf0d83a006d8a49fff87e31c93fc4fe2b86524abb3b98357
4
- data.tar.gz: b03d2cf165991634502a75e624c69f22dd5adce5eb0ad9565368a667248b45a5
3
+ metadata.gz: 72095840d17350f49c8cd49b97dc28db32948d51f17c572b5addaa51e6f01d6f
4
+ data.tar.gz: 51a4a8c094983a7d0c09b4fb61ace1c23a387cd24e4f13cd7b55653ec98fbacb
5
5
  SHA512:
6
- metadata.gz: 6d27554cd534c7c75ee592213863989e35a3f6ce1e6bd466103ea35cbe483193d7ab7746b251b3bd085e2242015ae5f2aad3c7d5d06c59eff198f7b917d6cdf2
7
- data.tar.gz: c1de1a658d5dffb6bf63be73260c90a358d5d8fe8b52669683c73ad72502bb679b72f94e6cd08c6f53b7ddc23beaf5060ed505d33dec82df4b709b6e0c3836dc
6
+ metadata.gz: 7855009e15efa1a70256b9afc2cfa64452feff27a95aad28e2eb6171a70ad69ceee864b92d4e1cd41ee5cc296e68739c6d64fa86c599c8dde996bed4aef44a08
7
+ data.tar.gz: 6a27ffa3d8305525f5e1f7861f448253a3f81d1e5b4c5af82f255abc2232a476e91cd589f747c9a5e8858a9ec880bcf8c4d2911265e81228337fe10f4514a46a
@@ -12,6 +12,7 @@ require "open3"
12
12
  require "piotrb_cli_utils"
13
13
  require "stateful_parser"
14
14
 
15
+ require "active_support/dependencies/autoload"
15
16
  require "active_support/core_ext"
16
17
 
17
18
  require "paint"
@@ -16,8 +16,10 @@ module MuxTf
16
16
  parser = StatefulParser.new(normalizer: pastel.method(:strip))
17
17
  parser.state(:info, /^Acquiring state lock/)
18
18
  parser.state(:error, /Error locking state/, %i[none blank info])
19
+ parser.state(:refreshing, /^.+: Refreshing state... \[id=/, %i[none])
19
20
  parser.state(:refreshing, /Refreshing Terraform state in-memory prior to plan.../, %i[none blank info])
20
21
  parser.state(:refresh_done, /^----------+$/, [:refreshing])
22
+ parser.state(:refresh_done, /^$/, [:refreshing])
21
23
  parser.state(:plan_info, /Terraform will perform the following actions:/, [:refresh_done])
22
24
  parser.state(:plan_summary, /^Plan:/, [:plan_info])
23
25
 
@@ -75,7 +77,7 @@ module MuxTf
75
77
  when :plan_summary
76
78
  log line, depth: 2
77
79
  else
78
- p [state, line]
80
+ p [state, pastel.strip(line)]
79
81
  end
80
82
  end
81
83
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuxTf
4
- VERSION = "0.4.5"
4
+ VERSION = "0.4.6"
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.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Banasik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-20 00:00:00.000000000 Z
11
+ date: 2020-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport