terraspace 0.7.0 → 0.7.1
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/plugin/expander/interface.rb +7 -3
- 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: 76da9d45bca8d1ad5ec798462dbb9514d7e5640fd2d52d2f1a715bd284055f87
|
4
|
+
data.tar.gz: 7cd5141081e5603f61aff44df2c33508af60128efa0702d61df1efda131e09c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c37c0a02187670548173b41b268af969fbf340408589a5eb0b6104742fc9ba96b5a7c00b8e481366059946637e3f5933cfdbb9dac63a222c6069b068c183b8df
|
7
|
+
data.tar.gz: 047c71a46f1cb23eae9756aa9c042197ec697fa08d821ea77fcf701f6aa6faf02915696f380cd7dc0a0ee1700e468dfea549f756fa9f6bd7257a07199feb8aae
|
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
|
+
## [0.7.1] - 2022-01-04
|
7
|
+
- [#185](https://github.com/boltops-tools/terraspace/pull/185) pass value through untouch when expand method not defined
|
8
|
+
|
6
9
|
## [0.7.0] - 2021-12-30
|
7
10
|
Highlights:
|
8
11
|
- Non-cloud provider support
|
@@ -76,9 +76,13 @@ module Terraspace::Plugin::Expander
|
|
76
76
|
.sub('TMP_KEEP_HTTP', '://') # restore :// IE: https:// or http://
|
77
77
|
end
|
78
78
|
|
79
|
-
def var_value(
|
80
|
-
name =
|
81
|
-
|
79
|
+
def var_value(unexpanded)
|
80
|
+
name = unexpanded.sub(':','').downcase
|
81
|
+
if respond_to?(name)
|
82
|
+
value = send(name).to_s
|
83
|
+
else
|
84
|
+
return unexpanded
|
85
|
+
end
|
82
86
|
if name == "namespace" && Terraspace.config.layering.enable_names.expansion
|
83
87
|
value = friendly_name(value)
|
84
88
|
end
|
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: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|