ruby-terraform 1.7.0.pre.17 → 1.7.0.pre.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b487668fbdad94d6813812f264019e11c610fc336c67c0075772fca9dff9b80f
4
- data.tar.gz: 7233657bf0c4af8df320c5511abfd6ac1f786a40d49f0c50831211a3cfb8ec86
3
+ metadata.gz: 2e510dfaa9b94507d7e98050310725de10278cf6e410db2fc265ff449d962d2a
4
+ data.tar.gz: beef36552d8592febf24a8c4bc6b1950ff570a6093d40732d2fbadf84365ef00
5
5
  SHA512:
6
- metadata.gz: 9f7b02345d7d1a208a0d210ede17ff2587f28c7a656bee8aba0f4ec4618e89a5c68558c4237044b334ded1dace6f943e4ca6dee7d0bc5230b1ffa8b9596d5d5b
7
- data.tar.gz: 89ca772a2fb939ac68431fc14cc485a26b3a13241028d94c41fe7ea75abdfbdeaa527ece646cadedba09f60d12f36e3f3d1f9e889f9fb1ea506262300885142b
6
+ metadata.gz: f215a1d61c36e3226a9afc48b70c459edb6b9072b0cc25e3d4e25a30bbb1034a3d96c2125aa3e4c3366af9914c24b5bed9674bd43c242cd77b6a5f66864d7f13
7
+ data.tar.gz: ceff56d2b348fe8d6f50f71cab3e3d99241a9f8fdb56e8651a4f883eca33a98ea7fa88a78745d784d7d59b4bb689f59adc73ecd128b012d68d4e330f572d25f0
data/Gemfile.lock CHANGED
@@ -1,33 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-terraform (1.7.0.pre.17)
4
+ ruby-terraform (1.7.0.pre.19)
5
5
  immutable-struct (~> 2.4)
6
6
  lino (~> 3.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.3)
11
+ activesupport (7.0.4)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
- addressable (2.8.0)
17
- public_suffix (>= 2.0.2, < 5.0)
16
+ addressable (2.8.1)
17
+ public_suffix (>= 2.0.2, < 6.0)
18
18
  ast (2.4.2)
19
19
  coderay (1.1.3)
20
20
  colored2 (3.1.2)
21
21
  concurrent-ruby (1.1.10)
22
22
  diff-lcs (1.5.0)
23
23
  docile (1.4.0)
24
- excon (0.92.3)
25
- faker (2.23.0)
24
+ excon (0.95.0)
25
+ faker (3.1.0)
26
26
  i18n (>= 1.8.11, < 2)
27
- faraday (2.3.0)
28
- faraday-net_http (~> 2.0)
27
+ faraday (2.7.2)
28
+ faraday-net_http (>= 2.0, < 3.1)
29
29
  ruby2_keywords (>= 0.0.4)
30
- faraday-net_http (2.0.3)
30
+ faraday-net_http (3.0.2)
31
31
  ffi (1.15.5)
32
32
  formatador (1.1.0)
33
33
  gem-release (2.2.2)
@@ -50,8 +50,8 @@ GEM
50
50
  i18n (1.12.0)
51
51
  concurrent-ruby (~> 1.0)
52
52
  immutable-struct (2.4.1)
53
- json (2.6.2)
54
- lino (3.0.0)
53
+ json (2.6.3)
54
+ lino (3.1.0)
55
55
  hamster (~> 3.0)
56
56
  open4 (~> 1.3)
57
57
  listen (3.7.1)
@@ -59,7 +59,7 @@ GEM
59
59
  rb-inotify (~> 0.9, >= 0.9.10)
60
60
  lumberjack (1.2.8)
61
61
  method_source (1.0.0)
62
- minitest (5.16.2)
62
+ minitest (5.16.3)
63
63
  nenv (0.3.0)
64
64
  notiffany (0.1.3)
65
65
  nenv (~> 0.1)
@@ -69,20 +69,20 @@ GEM
69
69
  sawyer (~> 0.9)
70
70
  open4 (1.3.4)
71
71
  parallel (1.22.1)
72
- parser (3.1.2.1)
72
+ parser (3.1.3.0)
73
73
  ast (~> 2.4.1)
74
74
  pry (0.14.1)
75
75
  coderay (~> 1.1)
76
76
  method_source (~> 1.0)
77
- public_suffix (4.0.7)
77
+ public_suffix (5.0.1)
78
78
  rainbow (3.1.1)
79
79
  rake (13.0.6)
80
- rake_circle_ci (0.9.0)
80
+ rake_circle_ci (0.11.0)
81
81
  colored2 (~> 3.1)
82
82
  excon (~> 0.72)
83
83
  rake_factory (~> 0.23)
84
84
  sshkey (~> 2.0)
85
- rake_factory (0.29.0)
85
+ rake_factory (0.31.0)
86
86
  activesupport (>= 4)
87
87
  rake (~> 13.0)
88
88
  rake_github (0.9.0)
@@ -97,49 +97,49 @@ GEM
97
97
  colored2 (~> 3.1)
98
98
  rake_factory (~> 0.23)
99
99
  sshkey (~> 2.0)
100
- rb-fsevent (0.11.1)
100
+ rb-fsevent (0.11.2)
101
101
  rb-inotify (0.10.1)
102
102
  ffi (~> 1.0)
103
- regexp_parser (2.5.0)
103
+ regexp_parser (2.6.1)
104
104
  rexml (3.2.5)
105
- rspec (3.11.0)
106
- rspec-core (~> 3.11.0)
107
- rspec-expectations (~> 3.11.0)
108
- rspec-mocks (~> 3.11.0)
109
- rspec-core (3.11.0)
110
- rspec-support (~> 3.11.0)
111
- rspec-expectations (3.11.0)
105
+ rspec (3.12.0)
106
+ rspec-core (~> 3.12.0)
107
+ rspec-expectations (~> 3.12.0)
108
+ rspec-mocks (~> 3.12.0)
109
+ rspec-core (3.12.0)
110
+ rspec-support (~> 3.12.0)
111
+ rspec-expectations (3.12.1)
112
112
  diff-lcs (>= 1.2.0, < 2.0)
113
- rspec-support (~> 3.11.0)
114
- rspec-mocks (3.11.1)
113
+ rspec-support (~> 3.12.0)
114
+ rspec-mocks (3.12.1)
115
115
  diff-lcs (>= 1.2.0, < 2.0)
116
- rspec-support (~> 3.11.0)
117
- rspec-support (3.11.0)
118
- rubocop (1.36.0)
116
+ rspec-support (~> 3.12.0)
117
+ rspec-support (3.12.0)
118
+ rubocop (1.41.1)
119
119
  json (~> 2.3)
120
120
  parallel (~> 1.10)
121
121
  parser (>= 3.1.2.1)
122
122
  rainbow (>= 2.2.2, < 4.0)
123
123
  regexp_parser (>= 1.8, < 3.0)
124
124
  rexml (>= 3.2.5, < 4.0)
125
- rubocop-ast (>= 1.20.1, < 2.0)
125
+ rubocop-ast (>= 1.23.0, < 2.0)
126
126
  ruby-progressbar (~> 1.7)
127
127
  unicode-display_width (>= 1.4.0, < 3.0)
128
- rubocop-ast (1.21.0)
128
+ rubocop-ast (1.24.0)
129
129
  parser (>= 3.1.1.0)
130
130
  rubocop-rake (0.6.0)
131
131
  rubocop (~> 1.0)
132
- rubocop-rspec (2.12.1)
133
- rubocop (~> 1.31)
132
+ rubocop-rspec (2.16.0)
133
+ rubocop (~> 1.33)
134
134
  ruby-progressbar (1.11.0)
135
135
  ruby2_keywords (0.0.5)
136
- ruby_gpg2 (0.8.0)
137
- lino (>= 1.5)
136
+ ruby_gpg2 (0.10.0)
137
+ lino (~> 3.0)
138
138
  sawyer (0.9.2)
139
139
  addressable (>= 2.3.5)
140
140
  faraday (>= 0.17.3, < 3)
141
141
  shellany (0.0.1)
142
- simplecov (0.21.2)
142
+ simplecov (0.22.0)
143
143
  docile (~> 1.1)
144
144
  simplecov-html (~> 0.11)
145
145
  simplecov_json_formatter (~> 0.1)
@@ -147,9 +147,9 @@ GEM
147
147
  simplecov_json_formatter (0.1.4)
148
148
  sshkey (2.0.0)
149
149
  thor (1.2.1)
150
- tzinfo (2.0.4)
150
+ tzinfo (2.0.5)
151
151
  concurrent-ruby (~> 1.0)
152
- unicode-display_width (2.2.0)
152
+ unicode-display_width (2.3.0)
153
153
  webrick (1.7.0)
154
154
  yard (0.9.28)
155
155
  webrick (~> 1.7.0)
@@ -180,4 +180,4 @@ DEPENDENCIES
180
180
  yard
181
181
 
182
182
  BUNDLED WITH
183
- 2.3.22
183
+ 2.4.1
@@ -22,7 +22,7 @@ module RubyTerraform
22
22
  end
23
23
 
24
24
  def variables
25
- @content[:variables]
25
+ (@content[:variables] || {})
26
26
  end
27
27
 
28
28
  def variable_values
@@ -30,7 +30,8 @@ module RubyTerraform
30
30
  end
31
31
 
32
32
  def resource_changes
33
- @content[:resource_changes].map do |resource_change|
33
+ (@content[:resource_changes] || [])
34
+ .map do |resource_change|
34
35
  ResourceChange.new(resource_change)
35
36
  end
36
37
  end
@@ -44,7 +45,8 @@ module RubyTerraform
44
45
  end
45
46
 
46
47
  def output_changes
47
- @content[:output_changes].map do |output_name, output_change|
48
+ (@content[:output_changes] || [])
49
+ .map do |output_name, output_change|
48
50
  OutputChange.new(output_name, output_change)
49
51
  end
50
52
  end
@@ -15,7 +15,7 @@ module RubyTerraform
15
15
  end
16
16
 
17
17
  def render
18
- resolve.nil? ? nil : resolve.to_s
18
+ resolve&.to_s
19
19
  end
20
20
 
21
21
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyTerraform
4
- VERSION = '1.7.0.pre.17'
4
+ VERSION = '1.7.0.pre.19'
5
5
  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: 1.7.0.pre.17
4
+ version: 1.7.0.pre.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: immutable-struct