terraspace 2.2.13 → 2.2.14

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: f242387d972b87d0666dad454bdb234aa5fbcca7d86a26e375fc4c299552d62e
4
- data.tar.gz: a6e65f5895a931997557240cb3383079de7d3881606aad105557904985f330b0
3
+ metadata.gz: b6aa27ac1150e1d8a655455563ed6b65ebbcb7393c6f93c70cbb2c6940a06b9a
4
+ data.tar.gz: d314706f83d8376cfed32d2cf1c96c19e4ce1b8196da53c8f69b93af838dc13c
5
5
  SHA512:
6
- metadata.gz: a605f54903b5ec72bb2d6af4c1d5bb2b8cc1b7a2a5581e1cd4c9b8f9af5c803841c827933cc901428d874ab38808f1f0097418f643e9a6da05212fab46f3f7dc
7
- data.tar.gz: ca57e137d5187fc481f9fd46a221aff1f2599c3d69f0f914bd7e701cc9e5a67603d8966f88ac14e78a9fb39913cbe2ab2bb595f9751a3f79ad7ab2a6ee46011a
6
+ metadata.gz: dd0e67073071970c300fffe59988b934a72fcb7755d78e5257034c41d963a39395d8a6a379d8cdd536201aa85c8601abcaadeb261afd91fe56b842e0726520a6
7
+ data.tar.gz: 8d8bb60a136df285e62014e7a8f40c07d7d9dda3ef7c08fa024fca0bd4dbe0c81f8b902b9b50939127bfb70cd39fa841a9c65a84067f2e9286bd241f4b99bd18
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.14] - 2023-09-12
7
+ - [#329](https://github.com/boltops-tools/terraspace/pull/329) fix terraspace check
8
+
6
9
  ## [2.2.13] - 2023-08-23
7
10
  - [#327](https://github.com/boltops-tools/terraspace/pull/327) terraspace check improvements: only show check when fails
8
11
 
@@ -38,9 +38,9 @@ module Terraspace
38
38
  See: https://terraspace.cloud/docs/terraform/license/
39
39
  EOL
40
40
 
41
- puts "ERROR: #{name} requires Terraform between v#{@min_terraform_version}.x and #{@max_terraform_version}".color(:red)
41
+ puts "ERROR: #{name} requires Terraform between #{@min_terraform_version}.x and #{@max_terraform_version}".color(:red)
42
42
  puts <<~EOL
43
- This is because newer versions of Terraform has a BSL license
43
+ This is because newer versions of Terraform have a BSL license
44
44
  If your usage is allowed by the license, you can bypass this check with:
45
45
 
46
46
  export TS_VERSION_CHECK=0
@@ -62,6 +62,7 @@ module Terraspace
62
62
  min_ok = major > min_major ||
63
63
  (major == min_major && minor >= min_minor)
64
64
  max_ok = major < max_major ||
65
+ (major == max_major && minor < max_minor) ||
65
66
  (major == max_major && minor == max_minor && patch <= max_patch)
66
67
 
67
68
  min_ok && max_ok
@@ -1,3 +1,3 @@
1
1
  module Terraspace
2
- VERSION = "2.2.13"
2
+ VERSION = "2.2.14"
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.13
4
+ version: 2.2.14
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-08-23 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport