dependabot-git_submodules 0.380.0 → 0.381.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 +4 -4
- data/lib/dependabot/git_submodules/file_fetcher.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: affa780e03e4ab31adf75ff8fe1ff91674d52d919ef811b4957955e122510533
|
|
4
|
+
data.tar.gz: 6ed7a5a571e45efd777856d46fd13e220e703aeb1a6fa2cf5bcac326af035417
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e82d36c3d0f24094fb7a98106ed86d5caa6b7ff959ec9a9b93ea50c96269e790fc297898a979a1653f0441ad6e40c59a5544aeb347e5d35352d38082a4933763
|
|
7
|
+
data.tar.gz: 5a97a92d5d0b3532e92ac0a1135596c0a1d378582a29cc554a14af51b87aae3bc1eddad5ec964df0ec49222b0fea3256182339fab3c20dc57f21522bd1de00c6
|
|
@@ -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
|
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.381.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.381.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.381.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.381.0
|
|
281
281
|
rdoc_options: []
|
|
282
282
|
require_paths:
|
|
283
283
|
- lib
|