ruby-terraform 0.21.0.pre.pre.1 → 0.21.0.pre.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ruby_terraform/commands.rb +1 -0
- data/lib/ruby_terraform/commands/show.rb +23 -0
- data/lib/ruby_terraform/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e5ea2fc24da3ad62c9ae227b714b8a81af172cc88c1d5e6bbed432c08e06045
|
4
|
+
data.tar.gz: 5bdc1dd1aa12c5a7c46dee90a6fb2ab2abdac8fcd46d83a88faf470fc8933632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba71ce866ced808693e284d7fbb9f0bac4afd899f4af011d50bc6f2103161ca16e4b4a8f9d8b1c2eba50e4f2991c2b458958053cafaceb73fcf06aa2e873f9a1
|
7
|
+
data.tar.gz: ff6248eb166250ba6cb7d8a887e20d3dceea903684361a1687942238225cbdf9fd3d90ee7057400f32141859a7064d105e97c8e139af7b9d395c7085470b4266
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'lino'
|
4
|
+
require_relative 'base'
|
5
|
+
|
6
|
+
module RubyTerraform
|
7
|
+
module Commands
|
8
|
+
# Supports the `terraform show` directive
|
9
|
+
class Show < Base
|
10
|
+
def configure_command(builder, opts)
|
11
|
+
no_color = opts[:no_color]
|
12
|
+
module_depth = opts[:module_depth]
|
13
|
+
builder
|
14
|
+
.with_subcommand('show') do |sub|
|
15
|
+
sub = sub.with_option('-module-depth', module_depth) if module_depth
|
16
|
+
sub = sub.with_flag('-no-color') if no_color
|
17
|
+
sub
|
18
|
+
end
|
19
|
+
.with_argument(opts[:directory])
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.0.pre.pre.
|
4
|
+
version: 0.21.0.pre.pre.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01
|
11
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|
@@ -128,6 +128,7 @@ files:
|
|
128
128
|
- lib/ruby_terraform/commands/plan.rb
|
129
129
|
- lib/ruby_terraform/commands/refresh.rb
|
130
130
|
- lib/ruby_terraform/commands/remote_config.rb
|
131
|
+
- lib/ruby_terraform/commands/show.rb
|
131
132
|
- lib/ruby_terraform/commands/validate.rb
|
132
133
|
- lib/ruby_terraform/version.rb
|
133
134
|
- ruby_terraform.gemspec
|