terraspace 2.2.7 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/terraspace/cli/fmt.rb +3 -2
- data/lib/terraspace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5477cf33cd5e864e5b7117cdc129d4aaa96a9f6ff9255093e9499180e67068f8
|
4
|
+
data.tar.gz: 3dc0b9113b44f7e0d10019aeb22898b8045f8de0be3c60a756d9bda588847184
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15da8006c07825c64446444c58e2efa4c22baeeda85da0abcf5d2d54e16e35e9929c6a636885a969fc12a9918ff74df90b34f88147141f0bc53c170061be0964
|
7
|
+
data.tar.gz: 499ebbabe6e904e6d3800c7d18b8b830c1130aee5faf07a317159d63e63eeeb96bf9483416efcf59a9d8753f5b0f09648b1595da56591751ce389d6d7710c3d7
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [2.2.8] - 2023-06-27
|
7
|
+
- Fix exit status for fmt
|
8
|
+
|
6
9
|
## [2.2.7] - 2023-06-07
|
7
10
|
- [#308](https://github.com/boltops-tools/terraspace/pull/308) feat: add support for exit code in terraspace fmt command
|
8
11
|
- [#310](https://github.com/boltops-tools/terraspace/pull/310) improve terraspace seed for map(string) variables
|
data/lib/terraspace/cli/fmt.rb
CHANGED
@@ -8,13 +8,14 @@ class Terraspace::CLI
|
|
8
8
|
@mod_name = options[:mod]
|
9
9
|
end
|
10
10
|
|
11
|
+
@@exit_status = 0
|
11
12
|
def run
|
12
13
|
logger.info "Formating terraform files"
|
13
|
-
exit_status = nil
|
14
14
|
dirs.each do |dir|
|
15
15
|
exit_status = format(dir)
|
16
|
+
@@exit_status = exit_status if exit_status != 0
|
16
17
|
end
|
17
|
-
exit(exit_status)
|
18
|
+
exit(@@exit_status)
|
18
19
|
end
|
19
20
|
|
20
21
|
def format(dir)
|
data/lib/terraspace/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|