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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee5dc242e1055db24d4105a3b2e8be3b7fb68bb283631843633075d8e949fbbd
4
- data.tar.gz: f7639d78fbffeebb654f4e5a0eccd5236e1b2f0e2e10b0b9e1e3914a19b6cd75
3
+ metadata.gz: 5477cf33cd5e864e5b7117cdc129d4aaa96a9f6ff9255093e9499180e67068f8
4
+ data.tar.gz: 3dc0b9113b44f7e0d10019aeb22898b8045f8de0be3c60a756d9bda588847184
5
5
  SHA512:
6
- metadata.gz: 840de5054bc4fb69a5f00031076f9dd65df5c7d7fddbd636b734df53c475490d1121b2d8b71f3f9910d16a7ed6f21cfa2c5d44088aff58bf7aff5195cc4f63a7
7
- data.tar.gz: 911059ad7bb57d41b0c3ec3f83e3b2bf2f5623a2423ac496c35509cbca3be1e3b7bbf61c38b89b252d74bda846691a6e741967c129978a700d1b15d9a1383a29
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
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Terraspace
2
- VERSION = "2.2.7"
2
+ VERSION = "2.2.8"
3
3
  end
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.7
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-07 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport