dependabot-gradle 0.363.0 → 0.364.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: a5ae0c51757d400002820f7d46a267c7fb8afcab677157a9c59a73214df188db
|
|
4
|
+
data.tar.gz: e6c0511bc9facb3aeb2f4e261e906ba4ef890887a54af08313cf22b7ea6d21bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b302c44e428b51a2fb4332f59d5b03313d0d4516a785f0a40cd847bfd17ab69156882ab4ad1c57b5132904e814278888aa8a9363623529c4636106fb4490de74
|
|
7
|
+
data.tar.gz: f4eb2197eb80ed964a717e23e03b4a23888eb8b24ce5fef28bd378a4132dfdf8ef88bf8b89e9d682444a28c31c40481dcf818216007ec078089f8a3c7c64b7e9
|
|
@@ -164,20 +164,20 @@ module Dependabot
|
|
|
164
164
|
|
|
165
165
|
T.must(captures.fetch("values"))
|
|
166
166
|
.scan(KOTLIN_SINGLE_PROPERTY_SET_REGEX) do
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
167
|
+
declaration_string = Regexp.last_match.to_s.strip
|
|
168
|
+
sub_captures = T.must(Regexp.last_match).named_captures
|
|
169
|
+
name = sub_captures.fetch("name")
|
|
170
|
+
full_name = if namespace == "extra"
|
|
171
|
+
name
|
|
172
|
+
else
|
|
173
|
+
[namespace, name].join(".")
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
properties[full_name] = {
|
|
177
|
+
value: sub_captures.fetch("value"),
|
|
178
|
+
declaration_string: declaration_string,
|
|
179
|
+
file: buildfile.name
|
|
180
|
+
}
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
183
|
|
|
@@ -74,7 +74,7 @@ module Dependabot
|
|
|
74
74
|
.select { |node| version_class.correct?(node.content) }
|
|
75
75
|
.map { |node| version_class.new(node.content) }
|
|
76
76
|
.map do |version|
|
|
77
|
-
|
|
77
|
+
{ version: version, source_url: url }
|
|
78
78
|
end
|
|
79
79
|
end.flatten.compact
|
|
80
80
|
|
|
@@ -247,10 +247,10 @@ module Dependabot
|
|
|
247
247
|
credentials
|
|
248
248
|
.select { |cred| cred["type"] == "maven_repository" }
|
|
249
249
|
.map do |cred|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
250
|
+
{
|
|
251
|
+
"url" => cred.fetch("url").gsub(%r{/+$}, ""),
|
|
252
|
+
"auth_headers" => auth_headers(cred.fetch("url").gsub(%r{/+$}, ""))
|
|
253
|
+
}
|
|
254
254
|
end
|
|
255
255
|
end
|
|
256
256
|
|
|
@@ -268,7 +268,7 @@ module Dependabot
|
|
|
268
268
|
target_dependency_file: target_file
|
|
269
269
|
).repository_urls
|
|
270
270
|
.map do |url|
|
|
271
|
-
|
|
271
|
+
{ "url" => url, "auth_headers" => {} }
|
|
272
272
|
end
|
|
273
273
|
end.uniq
|
|
274
274
|
end
|
|
@@ -297,14 +297,14 @@ module Dependabot
|
|
|
297
297
|
.gsub("native-mt", "native_mt")
|
|
298
298
|
.split(/[.\-]/)
|
|
299
299
|
.find do |type|
|
|
300
|
-
|
|
300
|
+
Dependabot::Gradle::UpdateChecker::VersionFinder::TYPE_SUFFICES.find { |s| type.include?(s) }
|
|
301
301
|
end
|
|
302
302
|
|
|
303
303
|
version_type = comparison_version.to_s
|
|
304
304
|
.gsub("native-mt", "native_mt")
|
|
305
305
|
.split(/[.\-]/)
|
|
306
306
|
.find do |type|
|
|
307
|
-
|
|
307
|
+
Dependabot::Gradle::UpdateChecker::VersionFinder::TYPE_SUFFICES.find { |s| type.include?(s) }
|
|
308
308
|
end
|
|
309
309
|
|
|
310
310
|
current_type == version_type
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-gradle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.364.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.364.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.364.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: dependabot-maven
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.
|
|
32
|
+
version: 0.364.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.
|
|
39
|
+
version: 0.364.0
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: debug
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -285,7 +285,7 @@ licenses:
|
|
|
285
285
|
- MIT
|
|
286
286
|
metadata:
|
|
287
287
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
288
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
288
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.364.0
|
|
289
289
|
rdoc_options: []
|
|
290
290
|
require_paths:
|
|
291
291
|
- lib
|