ruby-terraform 0.65.0.pre.3 → 0.65.0.pre.4
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.rb +19 -54
- data/lib/ruby_terraform/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: 89f188a94d3b8b59c9a65a87d151a239bc96c3b3c7612718991d84ee482eede4
|
4
|
+
data.tar.gz: dfdb9d0fac5a258cd823a441c8b70fbf05715129c6d4bd32ddeb128d5447f1e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0bd171c22777b63821ba3bab4d2a4d600e2fd3352c92c8c31e7758dd8732a7d89c060459012f4d63361373cce9e1d0ff0ab7092c6d2710fa52287790289c262
|
7
|
+
data.tar.gz: bfbd26e7b628847187de85f8ef2753d2f84ebeaaad739f1c9b129a4db1f201bc09fb7c854d8b338a48df0d7288188a3ea510bb124abe5366cbb311671d538b9a
|
data/Gemfile.lock
CHANGED
data/lib/ruby_terraform.rb
CHANGED
@@ -21,60 +21,25 @@ module RubyTerraform
|
|
21
21
|
end
|
22
22
|
|
23
23
|
module ClassMethods
|
24
|
-
|
25
|
-
Commands::
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
Commands::
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
Commands::
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
Commands::Validate
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
def apply(opts = {})
|
45
|
-
Commands::Apply.new.execute(opts)
|
46
|
-
end
|
47
|
-
|
48
|
-
def destroy(opts = {})
|
49
|
-
Commands::Destroy.new.execute(opts)
|
50
|
-
end
|
51
|
-
|
52
|
-
def remote_config(opts = {})
|
53
|
-
Commands::RemoteConfig.new.execute(opts)
|
54
|
-
end
|
55
|
-
|
56
|
-
def refresh(opts = {})
|
57
|
-
Commands::Refresh.new.execute(opts)
|
58
|
-
end
|
59
|
-
|
60
|
-
def output(opts = {})
|
61
|
-
Commands::Output.new.execute(opts)
|
62
|
-
end
|
63
|
-
|
64
|
-
def show(opts = {})
|
65
|
-
Commands::Show.new.execute(opts)
|
66
|
-
end
|
67
|
-
|
68
|
-
def workspace(opts = {})
|
69
|
-
Commands::Workspace.new.execute(opts)
|
70
|
-
end
|
71
|
-
|
72
|
-
def import(opts = {})
|
73
|
-
Commands::Import.new.execute(opts)
|
74
|
-
end
|
75
|
-
|
76
|
-
def format(opts = {})
|
77
|
-
Commands::Format.new.execute(opts)
|
24
|
+
{
|
25
|
+
apply: RubyTerraform::Commands::Apply,
|
26
|
+
clean: RubyTerraform::Commands::Clean,
|
27
|
+
destroy: RubyTerraform::Commands::Destroy,
|
28
|
+
format: RubyTerraform::Commands::Format,
|
29
|
+
get: RubyTerraform::Commands::Get,
|
30
|
+
import: RubyTerraform::Commands::Import,
|
31
|
+
init: RubyTerraform::Commands::Init,
|
32
|
+
output: RubyTerraform::Commands::Output,
|
33
|
+
plan: RubyTerraform::Commands::Plan,
|
34
|
+
refresh: RubyTerraform::Commands::Refresh,
|
35
|
+
remote_config: RubyTerraform::Commands::RemoteConfig,
|
36
|
+
show: RubyTerraform::Commands::Show,
|
37
|
+
validate: RubyTerraform::Commands::Validate,
|
38
|
+
workspace: RubyTerraform::Commands::Workspace
|
39
|
+
}.each do |method, command_class|
|
40
|
+
define_method(method) do |opts = {}|
|
41
|
+
command_class.new.execute(opts)
|
42
|
+
end
|
78
43
|
end
|
79
44
|
end
|
80
45
|
extend ClassMethods
|
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.65.0.pre.
|
4
|
+
version: 0.65.0.pre.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|