dependabot-git_submodules 0.380.0 → 0.382.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: f317057cb8d4d8434464dce20f92e8a9d45f00d1ba8ae01e5f40505f4a6e6da9
|
|
4
|
+
data.tar.gz: 17b7277be333fd4ff311982a07f186382cca3124a668f946912b611a08bc161a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95890d4ae362e22c816ec657741bd9ae988cfc91b3ee233db724a826fad50d50130ba2b58cbd01ddd57a19d31ddbbd18fc9ce3217a0b0b9f0d84602b1b72c190
|
|
7
|
+
data.tar.gz: 42ea54e77f1912330700bfad43ca45645cce64952e9842b65f42e4674b4e6df385f25ee71c6bdf59f2925964da37c1e42949f6140af3d87e07d26a0342238f33
|
|
@@ -75,7 +75,7 @@ module Dependabot
|
|
|
75
75
|
fetch_github_submodule_commit(path)
|
|
76
76
|
when "gitlab"
|
|
77
77
|
tmp_path = path.gsub(%r{^/*}, "")
|
|
78
|
-
T.unsafe(gitlab_client
|
|
78
|
+
T.unsafe(gitlab_client.get_file(repo, tmp_path, T.must(commit))).blob_id
|
|
79
79
|
when "azure"
|
|
80
80
|
azure_client.fetch_file_contents(T.must(commit), path)
|
|
81
81
|
else raise "Unsupported provider '#{source.provider}'."
|
|
@@ -95,14 +95,14 @@ module Dependabot
|
|
|
95
95
|
|
|
96
96
|
sig { params(path: String).returns(String) }
|
|
97
97
|
def fetch_github_submodule_commit(path)
|
|
98
|
-
content =
|
|
98
|
+
content = github_client.contents(
|
|
99
99
|
repo,
|
|
100
100
|
path: path,
|
|
101
101
|
ref: commit
|
|
102
102
|
)
|
|
103
|
-
raise Dependabot::DependencyFileNotFound, path if content.is_a?(Array) || content.type != "submodule"
|
|
103
|
+
raise Dependabot::DependencyFileNotFound, path if content.is_a?(Array) || T.unsafe(content).type != "submodule"
|
|
104
104
|
|
|
105
|
-
content.sha
|
|
105
|
+
T.unsafe(content).sha
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
end
|
|
@@ -37,7 +37,7 @@ module Dependabot
|
|
|
37
37
|
latest_version
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
sig { override.returns(T::Array[
|
|
40
|
+
sig { override.returns(T::Array[Dependabot::DependencyRequirement]) }
|
|
41
41
|
def updated_requirements
|
|
42
42
|
# Submodule requirements are the URL and branch to use for the
|
|
43
43
|
# submodule. We never want to update either.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-git_submodules
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.382.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.382.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.382.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: parseconfig
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -277,7 +277,7 @@ licenses:
|
|
|
277
277
|
- MIT
|
|
278
278
|
metadata:
|
|
279
279
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
280
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
280
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.382.0
|
|
281
281
|
rdoc_options: []
|
|
282
282
|
require_paths:
|
|
283
283
|
- lib
|