terraspace 0.4.2 → 0.4.3
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.rb +1 -0
- data/lib/terraspace/cli/info.rb +12 -0
- 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: '09ac4834cd477fb90ceb545d7dc08fdbacbb42231d51c6e0b27698c37ddc2946'
|
4
|
+
data.tar.gz: 29a223281b24965c0f33096b180f7a49e5f62e7bd74718e71f16e5fdd072ba1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4436cab7ed69ab13e3bda23349c49b3f9e6d3a2fba04b160aba229593aa764f8a7f411c617c1f8892581f4a453a2dcc7c9eb427a976722f40489f518642c0c4a
|
7
|
+
data.tar.gz: b2f7aded9d6ba98b290d35e02629cb0119eb30a31a22baaa25f44aef94d11fa7a724b534dd9df9d4e918f142d0990743f67e1f49a3412d1df2caf5f08a6819a6
|
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.3]
|
7
|
+
* #49 add info --path option
|
8
|
+
|
6
9
|
## [0.4.2]
|
7
10
|
* #48 add logs pid option
|
8
11
|
* default to input false, encourage set tfvars
|
data/lib/terraspace/cli.rb
CHANGED
data/lib/terraspace/cli/info.rb
CHANGED
@@ -3,6 +3,14 @@ class Terraspace::CLI
|
|
3
3
|
extend Memoist
|
4
4
|
|
5
5
|
def run
|
6
|
+
if @options[:path]
|
7
|
+
show_path
|
8
|
+
else
|
9
|
+
show_all
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def show_all
|
6
14
|
presenter = CliFormat::Presenter.new(@options)
|
7
15
|
presenter.header = %w[Name Value]
|
8
16
|
info.each do |k,v|
|
@@ -11,6 +19,10 @@ class Terraspace::CLI
|
|
11
19
|
presenter.show
|
12
20
|
end
|
13
21
|
|
22
|
+
def show_path
|
23
|
+
puts info[:cache_dir]
|
24
|
+
end
|
25
|
+
|
14
26
|
def info
|
15
27
|
@mod.to_info
|
16
28
|
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.4.
|
4
|
+
version: 0.4.3
|
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-10-
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|