terraspace 0.6.19 → 0.6.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/terraspace/plugin/expander/interface.rb +6 -0
- data/lib/terraspace/seeder/content.rb +1 -1
- data/lib/terraspace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f7c8d0d2152329290209a2cf2d1745499939ed4b5adc56a053a779281a382bf
|
4
|
+
data.tar.gz: eb5d9eb7eb83059cc80751bb16a7a3b8c75f44ea44f5857f433b41c6a48d5283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4884550da0751047f57c4b96df4c7a0689a1beef6ab38fc3d83e9795c1a95186cdaa260de5698ceaf84b11b01509b54893a31f99c22d0e4ab752f7b78160bee9
|
7
|
+
data.tar.gz: b99ca01f18ff9583ef362410c82ae59947a646186a06f07f6b55acfd2d6a3e24a9c010ee9e72907e65e02914c339ebaf920038d2cd68ad204facbde40b8763fd
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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.6.20] - 2021-12-14
|
7
|
+
- [#162](https://github.com/boltops-tools/terraspace/pull/162) expand_string? interface method so plugins can decide whether or not to expand the string
|
8
|
+
- improve seed generator column spacing
|
9
|
+
|
6
10
|
## [0.6.19] - 2021-11-24
|
7
11
|
- [#149](https://github.com/boltops-tools/terraspace/pull/149) change default fallback mod strategy to Mod::Tf instead of Mod::Pass for ERB support
|
8
12
|
- [#152](https://github.com/boltops-tools/terraspace/pull/152) fix naming typo in cli help
|
@@ -34,6 +34,7 @@ module Terraspace::Plugin::Expander
|
|
34
34
|
#
|
35
35
|
def expansion(string)
|
36
36
|
return string unless string.is_a?(String) # in case of nil
|
37
|
+
return string unless expand_string?(string)
|
37
38
|
|
38
39
|
string = string.dup
|
39
40
|
vars = string.scan(/:\w+/) # => [":ENV", ":BUILD_DIR"]
|
@@ -43,6 +44,11 @@ module Terraspace::Plugin::Expander
|
|
43
44
|
strip(string)
|
44
45
|
end
|
45
46
|
|
47
|
+
# interface method
|
48
|
+
def expand_string?(string)
|
49
|
+
true
|
50
|
+
end
|
51
|
+
|
46
52
|
# remove leading and trailing common separators.
|
47
53
|
#
|
48
54
|
# This is useful for when INSTANCE is not set.
|
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.6.
|
4
|
+
version: 0.6.20
|
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-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -852,7 +852,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
852
852
|
- !ruby/object:Gem::Version
|
853
853
|
version: '0'
|
854
854
|
requirements: []
|
855
|
-
rubygems_version: 3.
|
855
|
+
rubygems_version: 3.2.32
|
856
856
|
signing_key:
|
857
857
|
specification_version: 4
|
858
858
|
summary: 'Terraspace: The Terraspace Framework'
|