terraspace-bundler 0.4.1 → 0.4.2
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_bundler/exporter/stacks/stack.rb +2 -1
- data/lib/terraspace_bundler/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: d61db038a37cd472b7be9b5f3d15a2388254a4b2a3c0d3af3dabb2e10e8c4fc1
|
4
|
+
data.tar.gz: 83630195dceb5e35dee5be326311806cb8b06a3eedad4ca10f6b98c4962fe0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4cc8ad358e17708a27085a4a523e4fcddfb007c81d507c07a7c736a851c48f5ed93ca4d9f6b5f64561c822a1e813a4850d7076f1c419869e01626f91e12682
|
7
|
+
data.tar.gz: 322b70b512a594212f3530d7d0b99d0f55fa15ecfa496c4aee13f0df0bede32f7628c541179697171a1384e81a07a18871378d348dfe90b2bd131c0592e4008a
|
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.4.2] - 2021-10-02
|
7
|
+
- stack src option: also understand example and name
|
8
|
+
|
6
9
|
## [0.4.1] - 2021-09-30
|
7
10
|
- [#13](https://github.com/boltops-tools/terraspace-bundler/pull/13) fix stacks Array option
|
8
11
|
|
@@ -3,6 +3,7 @@ class TerraspaceBundler::Exporter::Stacks
|
|
3
3
|
attr_reader :mod
|
4
4
|
def initialize(mod, options={})
|
5
5
|
@mod, @options = mod, options
|
6
|
+
@src = @options[:src] || @options[:example] || @options[:name]
|
6
7
|
end
|
7
8
|
|
8
9
|
def export
|
@@ -25,7 +26,7 @@ class TerraspaceBundler::Exporter::Stacks
|
|
25
26
|
end
|
26
27
|
|
27
28
|
def src
|
28
|
-
src = @
|
29
|
+
src = @src
|
29
30
|
without_examples = [mod_path, src].compact.join('/')
|
30
31
|
with_examples = [examples_folder, src].compact.join('/')
|
31
32
|
paths = [with_examples, without_examples]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraspace-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
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-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|