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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d6b5c8b44ff632fd2687d25b1319b11b467affcc4d9220a03ce0316adc9e801
4
- data.tar.gz: 87c47fee989731e10a314c3b792917eb11141656d6435e3a8ec1083f2e690e24
3
+ metadata.gz: 76da9d45bca8d1ad5ec798462dbb9514d7e5640fd2d52d2f1a715bd284055f87
4
+ data.tar.gz: 7cd5141081e5603f61aff44df2c33508af60128efa0702d61df1efda131e09c5
5
5
  SHA512:
6
- metadata.gz: dee89bac4527b8d370cf6c27d145d54345f05878d08cab08220135dfeae1515ef4c7f91eb4f75cfe3aa56e29536da47bc675071573e984fc34fdf41b36034af9
7
- data.tar.gz: ae59aaa40c073fcc7229519f3b5b9463610ddd0c0fcff0a8b3f8106d52b85147bf19215a2b7fa864034fb8306550010edf31f21634fbd511eca0a077111fe046
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(name)
80
- name = name.sub(':','').downcase
81
- value = send(name).to_s
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
@@ -1,3 +1,3 @@
1
1
  module Terraspace
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
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: 0.7.0
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: 2021-12-30 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport