dependabot-gradle 0.202.0 → 0.205.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbdfe49206714ac0491a3de50205ee4585f33748ffd7f6589b83b2bcf7d43ce4
|
4
|
+
data.tar.gz: f64cb0121af47e618c2ca6bdabf293802d3338df639d4da599c13078048fc73c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c0a8bb3a417ab8aaa15d0271de6a84a899b3e116b7d0554832a0bb791d624d7167b94c62cff5a5ec28d79bbc956c40b787aa79db62511a68037f722feb19474
|
7
|
+
data.tar.gz: 31265296314e1fc5b72e22e7a0374213483ff5a562f720c7dc606d672fdf0702c2014484c25a2a9af05ded5e10c00f0be236ae37b4a4dab6f40317faeaf8b844
|
@@ -6,6 +6,7 @@ require "dependabot/metadata_finders/base"
|
|
6
6
|
require "dependabot/file_fetchers/base"
|
7
7
|
require "dependabot/gradle/file_parser/repositories_finder"
|
8
8
|
require "dependabot/maven/utils/auth_headers_finder"
|
9
|
+
require "dependabot/registry_client"
|
9
10
|
|
10
11
|
module Dependabot
|
11
12
|
module Gradle
|
@@ -109,12 +110,9 @@ module Dependabot
|
|
109
110
|
dependency.name.split(":").last
|
110
111
|
end
|
111
112
|
|
112
|
-
response =
|
113
|
-
"#{maven_repo_dependency_url}
|
114
|
-
|
115
|
-
"#{artifact_id}-#{dependency.version}.pom",
|
116
|
-
idempotent: true,
|
117
|
-
**SharedHelpers.excon_defaults(headers: auth_headers)
|
113
|
+
response = Dependabot::RegistryClient.get(
|
114
|
+
url: "#{maven_repo_dependency_url}/#{dependency.version}/#{artifact_id}-#{dependency.version}.pom",
|
115
|
+
headers: auth_headers
|
118
116
|
)
|
119
117
|
|
120
118
|
@dependency_pom_file = Nokogiri::XML(response.body)
|
@@ -132,12 +130,9 @@ module Dependabot
|
|
132
130
|
|
133
131
|
return unless artifact_id && group_id && version
|
134
132
|
|
135
|
-
response =
|
136
|
-
"#{maven_repo_url}/#{group_id.tr('.', '/')}/#{artifact_id}
|
137
|
-
|
138
|
-
"#{artifact_id}-#{version}.pom",
|
139
|
-
idempotent: true,
|
140
|
-
**SharedHelpers.excon_defaults(headers: auth_headers)
|
133
|
+
response = Dependabot::RegistryClient.get(
|
134
|
+
url: "#{maven_repo_url}/#{group_id.tr('.', '/')}/#{artifact_id}/#{version}/#{artifact_id}-#{version}.pom",
|
135
|
+
headers: auth_headers
|
141
136
|
)
|
142
137
|
|
143
138
|
Nokogiri::XML(response.body)
|
@@ -143,11 +143,7 @@ module Dependabot
|
|
143
143
|
|
144
144
|
@google_version_details ||=
|
145
145
|
begin
|
146
|
-
response =
|
147
|
-
dependency_metadata_url,
|
148
|
-
idempotent: true,
|
149
|
-
**SharedHelpers.excon_defaults
|
150
|
-
)
|
146
|
+
response = Dependabot::RegistryClient.get(url: dependency_metadata_url)
|
151
147
|
Nokogiri::XML(response.body)
|
152
148
|
end
|
153
149
|
|
@@ -168,10 +164,9 @@ module Dependabot
|
|
168
164
|
@dependency_metadata ||= {}
|
169
165
|
@dependency_metadata[repository_details.hash] ||=
|
170
166
|
begin
|
171
|
-
response =
|
172
|
-
dependency_metadata_url(repository_details.fetch("url")),
|
173
|
-
|
174
|
-
**Dependabot::SharedHelpers.excon_defaults(headers: repository_details.fetch("auth_headers"))
|
167
|
+
response = Dependabot::RegistryClient.get(
|
168
|
+
url: dependency_metadata_url(repository_details.fetch("url")),
|
169
|
+
headers: repository_details.fetch("auth_headers")
|
175
170
|
)
|
176
171
|
check_response(response, repository_details.fetch("url"))
|
177
172
|
Nokogiri::XML(response.body)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-gradle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.205.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.205.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.
|
26
|
+
version: 0.205.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dependabot-maven
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.205.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.205.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: debase
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|