ruby-terraform 1.1.0 → 1.3.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile.lock +18 -14
- data/README.md +9 -6
- data/Rakefile +1 -1
- data/lib/ruby_terraform/version.rb +1 -1
- data/ruby_terraform.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5973c2285d92ef9c51d0f71675ae93f032ff5f1f5ad4685e2d5438ab11f203ad
|
4
|
+
data.tar.gz: 9149aa56519893dafbaca9428f1781c731fee10dcb9030112a825d57d1341f0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b847bc06ef10d695239345d1da14d251d04de04972cc754b1932e8df039742451570eb4c7841de75b95e2712ea453b71ff88f058b0cbe618c1070a65a613a4b
|
7
|
+
data.tar.gz: 890f6f1bf1aabc00cdb5e0fef2f877f084df0e305bd500848d1db471a32ca2a26783e7dd1eea91429ca3f7ef2542130d5ab8774748e9319c3022a7d0da31bd26
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at maintainers@infrablocks.io. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby-terraform (1.
|
4
|
+
ruby-terraform (1.3.0.pre.1)
|
5
5
|
immutable-struct (~> 2.4)
|
6
|
-
lino (~>
|
6
|
+
lino (~> 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -21,23 +21,27 @@ GEM
|
|
21
21
|
colored2 (3.1.2)
|
22
22
|
concurrent-ruby (1.1.8)
|
23
23
|
diff-lcs (1.4.4)
|
24
|
-
docile (1.
|
25
|
-
excon (0.
|
26
|
-
faker (2.
|
24
|
+
docile (1.4.0)
|
25
|
+
excon (0.82.0)
|
26
|
+
faker (2.18.0)
|
27
27
|
i18n (>= 1.6, < 2)
|
28
|
-
faraday (1.4.
|
28
|
+
faraday (1.4.2)
|
29
|
+
faraday-em_http (~> 1.0)
|
30
|
+
faraday-em_synchrony (~> 1.0)
|
29
31
|
faraday-excon (~> 1.1)
|
30
32
|
faraday-net_http (~> 1.0)
|
31
33
|
faraday-net_http_persistent (~> 1.1)
|
32
34
|
multipart-post (>= 1.2, < 3)
|
33
35
|
ruby2_keywords (>= 0.0.4)
|
36
|
+
faraday-em_http (1.0.0)
|
37
|
+
faraday-em_synchrony (1.0.0)
|
34
38
|
faraday-excon (1.1.0)
|
35
39
|
faraday-net_http (1.0.1)
|
36
40
|
faraday-net_http_persistent (1.1.0)
|
37
|
-
ffi (1.15.
|
41
|
+
ffi (1.15.1)
|
38
42
|
formatador (0.2.5)
|
39
43
|
gem-release (2.2.1)
|
40
|
-
guard (2.
|
44
|
+
guard (2.17.0)
|
41
45
|
formatador (>= 0.2.4)
|
42
46
|
listen (>= 2.7, < 4.0)
|
43
47
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -56,7 +60,7 @@ GEM
|
|
56
60
|
i18n (1.8.10)
|
57
61
|
concurrent-ruby (~> 1.0)
|
58
62
|
immutable-struct (2.4.1)
|
59
|
-
lino (
|
63
|
+
lino (3.0.0)
|
60
64
|
hamster (~> 3.0)
|
61
65
|
open4 (~> 1.3)
|
62
66
|
listen (3.5.1)
|
@@ -96,14 +100,14 @@ GEM
|
|
96
100
|
octokit (~> 4.16)
|
97
101
|
rake_factory (~> 0.23)
|
98
102
|
sshkey (~> 2.0)
|
99
|
-
rake_gpg (0.
|
103
|
+
rake_gpg (0.16.0)
|
100
104
|
rake_factory (>= 0.23, < 1)
|
101
105
|
ruby_gpg2 (>= 0.6, < 1)
|
102
106
|
rake_ssh (0.6.0)
|
103
107
|
colored2 (~> 3.1)
|
104
108
|
rake_factory (~> 0.23)
|
105
109
|
sshkey (~> 2.0)
|
106
|
-
rb-fsevent (0.
|
110
|
+
rb-fsevent (0.11.0)
|
107
111
|
rb-inotify (0.10.1)
|
108
112
|
ffi (~> 1.0)
|
109
113
|
regexp_parser (2.1.1)
|
@@ -121,7 +125,7 @@ GEM
|
|
121
125
|
diff-lcs (>= 1.2.0, < 2.0)
|
122
126
|
rspec-support (~> 3.10.0)
|
123
127
|
rspec-support (3.10.2)
|
124
|
-
rubocop (1.
|
128
|
+
rubocop (1.15.0)
|
125
129
|
parallel (~> 1.10)
|
126
130
|
parser (>= 3.0.0.0)
|
127
131
|
rainbow (>= 2.2.2, < 4.0)
|
@@ -130,7 +134,7 @@ GEM
|
|
130
134
|
rubocop-ast (>= 1.5.0, < 2.0)
|
131
135
|
ruby-progressbar (~> 1.7)
|
132
136
|
unicode-display_width (>= 1.4.0, < 3.0)
|
133
|
-
rubocop-ast (1.
|
137
|
+
rubocop-ast (1.7.0)
|
134
138
|
parser (>= 3.0.1.1)
|
135
139
|
rubocop-rake (0.5.1)
|
136
140
|
rubocop
|
@@ -182,4 +186,4 @@ DEPENDENCIES
|
|
182
186
|
yard (~> 0.9)
|
183
187
|
|
184
188
|
BUNDLED WITH
|
185
|
-
2.2.
|
189
|
+
2.2.18
|
data/README.md
CHANGED
@@ -120,7 +120,7 @@ Terraform expects to receive:
|
|
120
120
|
* `String` options, accepting a single string value, such as `:state` or
|
121
121
|
`:target`;
|
122
122
|
* `Array<String>` options, accepting an array of strings, such as `:var_files`
|
123
|
-
`:targets`; and
|
123
|
+
or `:targets`; and
|
124
124
|
* `Hash<String,Object>` options, accepting a hash of key value pairs, where the
|
125
125
|
value might be complex, such as `:vars` and `:backend_config`.
|
126
126
|
|
@@ -198,14 +198,17 @@ for example:
|
|
198
198
|
```ruby
|
199
199
|
require 'logger'
|
200
200
|
|
201
|
-
|
202
|
-
|
201
|
+
file_device = Logger::LogDevice.new('/foo/bar.log')
|
202
|
+
stdout_device = Logger::LogDevice.new(STDOUT)
|
203
|
+
multi_io = RubyTerraform::MultiIO.new(file_device, stdout_device)
|
204
|
+
|
205
|
+
logger = Logger.new(multi_io, level: :debug)
|
203
206
|
|
204
207
|
RubyTerraform.configure do |config|
|
205
208
|
config.binary = '/binary/path/terraform'
|
206
209
|
config.logger = logger
|
207
|
-
config.stdout =
|
208
|
-
config.stderr =
|
210
|
+
config.stdout = multi_io
|
211
|
+
config.stderr = multi_io
|
209
212
|
end
|
210
213
|
```
|
211
214
|
> Creating the Logger with a file this way (using `Logger::LogDevice`),
|
@@ -213,7 +216,7 @@ end
|
|
213
216
|
> **implicit flushing**.
|
214
217
|
|
215
218
|
Configured in this way, any logging performed by `RubyTerraform` will log to
|
216
|
-
both `STDOUT` and the
|
219
|
+
both `STDOUT` and to the specified file.
|
217
220
|
|
218
221
|
To configure the logger on a command by command basis, for example for the
|
219
222
|
`Show` command:
|
data/Rakefile
CHANGED
data/ruby_terraform.gemspec
CHANGED
@@ -19,8 +19,8 @@ files = %w[
|
|
19
19
|
Gem::Specification.new do |spec|
|
20
20
|
spec.name = 'ruby-terraform'
|
21
21
|
spec.version = RubyTerraform::VERSION
|
22
|
-
spec.authors = ['
|
23
|
-
spec.email = ['
|
22
|
+
spec.authors = ['InfraBlocks Maintainers']
|
23
|
+
spec.email = ['maintainers@infrablocks.io']
|
24
24
|
|
25
25
|
spec.summary = 'A simple Ruby wrapper for invoking Terraform commands.'
|
26
26
|
spec.description =
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.required_ruby_version = '>= 2.6'
|
40
40
|
|
41
41
|
spec.add_dependency 'immutable-struct', '~> 2.4'
|
42
|
-
spec.add_dependency 'lino', '~>
|
42
|
+
spec.add_dependency 'lino', '~> 3.0'
|
43
43
|
|
44
44
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
45
45
|
spec.add_development_dependency 'faker', '~> 2.17'
|
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: 1.
|
4
|
+
version: 1.3.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: immutable-struct
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,7 +265,7 @@ dependencies:
|
|
265
265
|
description: Wraps the Terraform CLI so that Terraform can be invoked from a Ruby
|
266
266
|
script or Rakefile.
|
267
267
|
email:
|
268
|
-
-
|
268
|
+
- maintainers@infrablocks.io
|
269
269
|
executables: []
|
270
270
|
extensions: []
|
271
271
|
extra_rdoc_files: []
|
@@ -350,9 +350,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
350
350
|
version: '2.6'
|
351
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
352
352
|
requirements:
|
353
|
-
- - "
|
353
|
+
- - ">"
|
354
354
|
- !ruby/object:Gem::Version
|
355
|
-
version:
|
355
|
+
version: 1.3.1
|
356
356
|
requirements: []
|
357
357
|
rubygems_version: 3.0.1
|
358
358
|
signing_key:
|