dependabot-terraform 0.239.0 → 0.240.0

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: 0fc372ab0339341103308ddb84e56c94d147c1e7c1ff776722ab5b86d41a6a8c
4
- data.tar.gz: 25bbf1dedb8b95cd8c13750da572437ae206e748afdd9cee948aaee6bca7a42a
3
+ metadata.gz: 23e8926ad019332c9648f29fd753e3057ea9d0b4ea8d568e70b70bd66cdbf5b0
4
+ data.tar.gz: 9395c2d2e3778fcb5c900e3da780907e3c4b0878838bf923a77dc38793136ce6
5
5
  SHA512:
6
- metadata.gz: cf73ed34fc35157ec759d747bbdd676250970e45139e751de4f79f23cd61abb982fa78db5bb83ca883dfd0003e918bdb28a75a98ea987cd6fc1bf037dd5098f1
7
- data.tar.gz: 4de0c5e257d190b4fa97fd31ba791732697324b2c076e01009672b3b4dc1048719d6786b5e4937808fdc477c95a13a156a75e5d26f83cc9251b434b31cfc808e
6
+ metadata.gz: 9478606ea3538902c29f10a47406c302135707759844359943d07907f54df49ecbee46f09e764391b27dc8bf2df64673cdb5fa8aaa4e648f3334d7f460cee580
7
+ data.tar.gz: b8552c5f61f02c67a0bd9b7a25a15330089d75060d6fd1639da00910b5fee6ebebaa330725a5a4500e26810224cc8b8820cd034ff75e44e01a1ad21147af1a9b
@@ -32,13 +32,7 @@ module Dependabot
32
32
  fetched_files += terragrunt_files
33
33
  fetched_files += local_path_module_files(terraform_files)
34
34
  fetched_files += [lockfile] if lockfile
35
-
36
- return fetched_files if fetched_files.any?
37
-
38
- raise(
39
- Dependabot::DependencyFileNotFound,
40
- File.join(directory, "<anything>.tf")
41
- )
35
+ fetched_files
42
36
  end
43
37
 
44
38
  private
@@ -28,7 +28,7 @@ module Dependabot
28
28
 
29
29
  return DefaultRequirement if matches[1] == ">=" && matches[2] == "0"
30
30
 
31
- [matches[1] || "=", Terraform::Version.new(matches[2])]
31
+ [matches[1] || "=", Terraform::Version.new(T.must(matches[2]))]
32
32
  end
33
33
 
34
34
  # For consistency with other languages, we define a requirements array.
@@ -14,7 +14,20 @@ module Dependabot
14
14
  class Version < Dependabot::Version
15
15
  extend T::Sig
16
16
 
17
- sig { override.params(version: T.any(String, Gem::Version)).void }
17
+ sig do
18
+ override
19
+ .overridable
20
+ .params(
21
+ version: T.any(
22
+ String,
23
+ Integer,
24
+ Float,
25
+ Gem::Version,
26
+ NilClass
27
+ )
28
+ )
29
+ .void
30
+ end
18
31
  def initialize(version)
19
32
  @version_string = T.let(version.to_s, String)
20
33
  super
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.239.0
4
+ version: 0.240.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-28 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.239.0
19
+ version: 0.240.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.239.0
26
+ version: 0.240.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -206,6 +206,20 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '3.18'
209
+ - !ruby/object:Gem::Dependency
210
+ name: webrick
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '1.7'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '1.7'
209
223
  description: Dependabot-Terraform provides support for bumping Terraform modules via
210
224
  Dependabot. If you want support for multiple package managers, you probably want
211
225
  the meta-gem dependabot-omnibus.
@@ -231,7 +245,7 @@ licenses:
231
245
  - Nonstandard
232
246
  metadata:
233
247
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
234
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.239.0
248
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.240.0
235
249
  post_install_message:
236
250
  rdoc_options: []
237
251
  require_paths: