dependabot-bazel 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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f03bc6141eaac8940bc5e26138b51acfe6126c68962f2b22e2f793a5ece3775
|
|
4
|
+
data.tar.gz: 72526a61d383cf2d6ebee3dc8b3f8e581bb2f2b79fdf6b035acc8d7165b6e252
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa8b48a0dd5e80c33baa913e5b7f4cb1abb0a889fc297aaa9561f53ffb77a9dd466fa6caca34289e723a7b26dd942746e5fef545ea5630290aaef4b7c8e3aafc
|
|
7
|
+
data.tar.gz: 3a6e5443cca72b17f85276e5664e5d18267e992fc1e774741d8a961bcaaf17efa3b4a3142dada72a1401399f311030f5014bd70d07b0d452542ca4ef9d275285
|
|
@@ -26,7 +26,7 @@ module Dependabot
|
|
|
26
26
|
|
|
27
27
|
sig { params(module_name: String).returns(T::Array[String]) }
|
|
28
28
|
def all_module_versions(module_name)
|
|
29
|
-
contents =
|
|
29
|
+
contents = github_client.contents(GITHUB_REPO, path: "modules/#{module_name}")
|
|
30
30
|
return [] unless contents.is_a?(Array)
|
|
31
31
|
|
|
32
32
|
versions = contents.filter_map do |item|
|
|
@@ -66,7 +66,7 @@ module Dependabot
|
|
|
66
66
|
file_path = "modules/#{module_name}/#{version}/source.json"
|
|
67
67
|
|
|
68
68
|
begin
|
|
69
|
-
content = T.unsafe(github_client
|
|
69
|
+
content = T.unsafe(github_client.contents(GITHUB_REPO, path: file_path))
|
|
70
70
|
return nil unless content
|
|
71
71
|
|
|
72
72
|
decoded_content = Base64.decode64(content.content)
|
|
@@ -82,7 +82,7 @@ module Dependabot
|
|
|
82
82
|
file_path = "modules/#{module_name}/#{version}/MODULE.bazel"
|
|
83
83
|
|
|
84
84
|
begin
|
|
85
|
-
content = T.unsafe(github_client
|
|
85
|
+
content = T.unsafe(github_client.contents(GITHUB_REPO, path: file_path))
|
|
86
86
|
return nil unless content
|
|
87
87
|
|
|
88
88
|
Base64.decode64(content.content)
|
|
@@ -109,7 +109,7 @@ module Dependabot
|
|
|
109
109
|
|
|
110
110
|
return nil unless commits&.any?
|
|
111
111
|
|
|
112
|
-
commits.first.commit.committer.date
|
|
112
|
+
T.unsafe(commits).first.commit.committer.date
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-bazel
|
|
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: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -269,7 +269,7 @@ licenses:
|
|
|
269
269
|
- MIT
|
|
270
270
|
metadata:
|
|
271
271
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
272
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
272
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.381.0
|
|
273
273
|
rdoc_options: []
|
|
274
274
|
require_paths:
|
|
275
275
|
- lib
|