terraspace 0.5.7 → 0.5.8
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/cli/build/placeholder.rb +4 -4
- data/lib/terraspace/mod.rb +1 -1
- 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: ff60ae09b5f5278378d1d0343e68e19bd697825e3206a981fc3023d914b7710a
|
4
|
+
data.tar.gz: a036994bf09c8ef78323b64b234dd083d438bb63d552444178a611ac05cc886e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e8f2ff6676201c697480a8c25f50b32a3a84c6fe7ee18d8517bef1ddf177f86cbbfcf3112e116e7ef93a7cf201e73c924306614a4f8061c9b8c75e13b75be7
|
7
|
+
data.tar.gz: 1cc236483836d3453216559c2ce378716b5352ddb482ff6ba03f6a4f2a58251b3e6f44f2f6dc56acac0be49ffed7bb683d572a8df5176ca2557165b2b16778eb
|
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.5.8] - 2020-12-04
|
7
|
+
- [#67](https://github.com/boltops-tools/terraspace/pull/67) fix find placeholder stack so config/terraform only builds for stacks
|
8
|
+
|
6
9
|
## [0.5.7] - 2020-12-02
|
7
10
|
- [#64](https://github.com/boltops-tools/terraspace/pull/64) fix completion_script
|
8
11
|
|
@@ -18,17 +18,17 @@ module Terraspace::CLI::Build
|
|
18
18
|
mod = @options[:mod]
|
19
19
|
if !mod or %w[placeholder].include?(mod)
|
20
20
|
logger.info "Building one of the modules to get backend.tf info"
|
21
|
-
mod =
|
21
|
+
mod = find_stack
|
22
22
|
end
|
23
23
|
Terraspace::Builder.new(@options.merge(mod: mod, init: false)).run # generate and init
|
24
24
|
Terraspace::Mod.new(mod, @options) # mod metadata
|
25
25
|
end
|
26
26
|
|
27
27
|
# Used by: terraspace build placeholder
|
28
|
-
def
|
29
|
-
mod_path = Dir.glob("{app,vendor}/{
|
28
|
+
def find_stack
|
29
|
+
mod_path = Dir.glob("{app,vendor}/{stacks}/*").last
|
30
30
|
unless mod_path
|
31
|
-
logger.info "No
|
31
|
+
logger.info "No stacks found."
|
32
32
|
exit 0
|
33
33
|
end
|
34
34
|
File.basename(mod_path) # mod name
|
data/lib/terraspace/mod.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.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: 2020-12-
|
11
|
+
date: 2020-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|