dependabot-terraform 0.392.0 → 0.393.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 854707e5aa015235888308e5a99930812a2dc73ad7caea716ed14586b96b016f
|
|
4
|
+
data.tar.gz: 8b98973272cdb6eea95926755a3aae61cf60cae33904b2ba0b1dad7ef43ee763
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a59fe3869313ca23147a148b4f1a840051af65d92f0441acfd4c8656520f2103af784b3fb48405df97285584874193d02863213c5815f2f9254ab6007cd68cc6
|
|
7
|
+
data.tar.gz: 67ef88826158667e0614244f494213520da10fdad7644be64bebf06ef2ac9d4d15e4a20f9aef1231eba67d402e5048916bff7976c00c43237e6253e158280bfe
|
|
@@ -76,10 +76,13 @@ module Dependabot
|
|
|
76
76
|
details = details.first
|
|
77
77
|
|
|
78
78
|
source = source_from(details)
|
|
79
|
-
# Cannot update local path modules,
|
|
80
|
-
|
|
79
|
+
# Cannot update local path modules, and `source_from` returns nil for an
|
|
80
|
+
# interpolated source (Terraform >= 1.15 permits a `const` variable there), which
|
|
81
|
+
# has no version to read. Skip both, as the terragrunt path above does, rather
|
|
82
|
+
# than passing the nil to `T.must` and aborting the parse for the whole repo.
|
|
83
|
+
next if source.nil? || source[:type] == "path"
|
|
81
84
|
|
|
82
|
-
dependency_set << build_terraform_dependency(file, name,
|
|
85
|
+
dependency_set << build_terraform_dependency(file, name, source, details)
|
|
83
86
|
end
|
|
84
87
|
end
|
|
85
88
|
|
|
@@ -174,14 +174,14 @@ module Dependabot
|
|
|
174
174
|
# we want to update that tag. Because we don't have a lockfile, the
|
|
175
175
|
# latest version is the tag itself. Tags within their cooldown window
|
|
176
176
|
# are filtered out by the shared GitCommitChecker.
|
|
177
|
-
latest_tag = git_commit_checker.local_tag_for_pinned_version_ref(update_cooldown)&.
|
|
177
|
+
latest_tag = git_commit_checker.local_tag_for_pinned_version_ref(update_cooldown)&.tag
|
|
178
178
|
return unless latest_tag
|
|
179
179
|
|
|
180
180
|
version_rgx = GitCommitChecker::VERSION_REGEX
|
|
181
181
|
return unless latest_tag.match(version_rgx)
|
|
182
182
|
|
|
183
|
-
version = latest_tag.match(version_rgx)
|
|
184
|
-
|
|
183
|
+
version = T.must(latest_tag.match(version_rgx))
|
|
184
|
+
.named_captures.fetch("version")
|
|
185
185
|
version_class.new(version)
|
|
186
186
|
end
|
|
187
187
|
|
|
@@ -189,8 +189,7 @@ module Dependabot
|
|
|
189
189
|
def tag_for_latest_version
|
|
190
190
|
return unless git_commit_checker.git_dependency?
|
|
191
191
|
|
|
192
|
-
latest_tag = git_commit_checker.local_tag_for_pinned_version_ref(update_cooldown)
|
|
193
|
-
&.fetch(:tag)
|
|
192
|
+
latest_tag = git_commit_checker.local_tag_for_pinned_version_ref(update_cooldown)&.tag
|
|
194
193
|
return unless latest_tag
|
|
195
194
|
|
|
196
195
|
version_rgx = GitCommitChecker::VERSION_REGEX
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-terraform
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.393.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.393.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.393.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -263,7 +263,7 @@ licenses:
|
|
|
263
263
|
- MIT
|
|
264
264
|
metadata:
|
|
265
265
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
266
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
266
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.393.0
|
|
267
267
|
rdoc_options: []
|
|
268
268
|
require_paths:
|
|
269
269
|
- lib
|