dependabot-gradle 0.401.0 → 0.402.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: 5c86b62e9663f82774e2b9c71c9c6adcd6b81283d2b0c80331e9eb5952aff4df
|
|
4
|
+
data.tar.gz: 0713bcd3034a64e93ade1f7598632ba5d3b081a392c631e7b6f0afe71f90de54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56cd5b5d7860377e56469318fa7546991a70214529d6bc53f96ca0d7ce7f7767d30f73473995a213f64a5b50b933f79905e17b1ddfbc66a080e7f9990e70efea
|
|
7
|
+
data.tar.gz: 5e9da8492fc2fb8c540829c1c10ff7a3e1689f5bba13be4dace1f9f5a664b17a358448e98aeb7456fd198e8f482be8c1c07f93596bea2e5dc90b753ded32f682
|
|
@@ -82,8 +82,12 @@ module Dependabot
|
|
|
82
82
|
|
|
83
83
|
private
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
# Builds can include themselves or each other (e.g. `includeBuild(".")` or a child build
|
|
86
|
+
# that includes its parent with `includeBuild("..")`), so each build is only visited once.
|
|
87
|
+
sig { params(root_dir: String, visited: T::Set[String]).returns(T::Array[DependencyFile]) }
|
|
88
|
+
def all_buildfiles_in_build(root_dir, visited = Set.new)
|
|
89
|
+
return [] unless visited.add?(root_dir)
|
|
90
|
+
|
|
87
91
|
files = [buildfile(root_dir), settings_file(root_dir), version_catalog_file(root_dir), lockfile(root_dir),
|
|
88
92
|
properties_file(root_dir)]
|
|
89
93
|
.compact
|
|
@@ -94,7 +98,7 @@ module Dependabot
|
|
|
94
98
|
files += convention_plugin_source_files(files, root_dir)
|
|
95
99
|
|
|
96
100
|
files + included_builds(root_dir)
|
|
97
|
-
.flat_map { |dir| all_buildfiles_in_build(dir) }
|
|
101
|
+
.flat_map { |dir| all_buildfiles_in_build(dir, visited) }
|
|
98
102
|
end
|
|
99
103
|
|
|
100
104
|
# Only fetch source trees for *nested* project directories (e.g. "build-logic/convention"
|
|
@@ -146,13 +146,13 @@ module Dependabot
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
repository_blocks.each do |block|
|
|
149
|
-
repository_urls << GOOGLE_MAVEN_REPO if block.match?(/\sgoogle
|
|
149
|
+
repository_urls << GOOGLE_MAVEN_REPO if block.match?(/\sgoogle(?:\(|\s*\{)/)
|
|
150
150
|
|
|
151
|
-
repository_urls << central_repo_url if block.match?(/\smavenCentral
|
|
151
|
+
repository_urls << central_repo_url if block.match?(/\smavenCentral(?:\(|\s*\{)/)
|
|
152
152
|
|
|
153
|
-
repository_urls << "https://jcenter.bintray.com/" if block.match?(/\sjcenter
|
|
153
|
+
repository_urls << "https://jcenter.bintray.com/" if block.match?(/\sjcenter(?:\(|\s*\{)/)
|
|
154
154
|
|
|
155
|
-
repository_urls << GRADLE_PLUGINS_REPO if block.match?(/\sgradlePluginPortal
|
|
155
|
+
repository_urls << GRADLE_PLUGINS_REPO if block.match?(/\sgradlePluginPortal(?:\(|\s*\{)/)
|
|
156
156
|
|
|
157
157
|
block.scan(MAVEN_REPO_REGEX) do
|
|
158
158
|
repository_urls << T.must(T.must(Regexp.last_match).named_captures.fetch("url"))
|
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.402.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.402.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.402.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.402.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.402.0
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: debug
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -291,7 +291,7 @@ licenses:
|
|
|
291
291
|
- MIT
|
|
292
292
|
metadata:
|
|
293
293
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
294
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
294
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.402.0
|
|
295
295
|
rdoc_options: []
|
|
296
296
|
require_paths:
|
|
297
297
|
- lib
|