dependabot-maven 0.157.0 → 0.159.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/maven/file_parser.rb +11 -8
- 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: 8cfbbef114423b8e14e08b63453e7fd9760897bcb95a29cf350b780b763a718e
|
4
|
+
data.tar.gz: 228cd4cba466b750fad80d725bd189a7a9ffd9ffbd801d93e0f9835cd0904761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e81c133c318ddc135de247cf0ab9e404f6acaececcb64a18b6bf1ad40b7b13d954350b6d0dec6e349ac46e26e5aed585383b26b31a80d13d9d42f547fda0449
|
7
|
+
data.tar.gz: 4185f655363a5eae685d94dc06cf48a6eea53c3d409c86e1cbf994b17646219a9db2ef1b589434436b7e62dbacc0c9641e1a06ac05e9fa4d051d50638f884c35
|
@@ -88,6 +88,9 @@ module Dependabot
|
|
88
88
|
return unless (name = dependency_name(dependency_node, pom))
|
89
89
|
return if internal_dependency_names.include?(name)
|
90
90
|
|
91
|
+
classifier = dependency_classifier(dependency_node, pom)
|
92
|
+
name = classifier ? "#{name}:#{classifier}" : name
|
93
|
+
|
91
94
|
build_dependency(pom, dependency_node, name)
|
92
95
|
end
|
93
96
|
|
@@ -125,7 +128,7 @@ module Dependabot
|
|
125
128
|
return unless dependency_node.at_xpath("./groupId")
|
126
129
|
return unless dependency_node.at_xpath("./artifactId")
|
127
130
|
|
128
|
-
|
131
|
+
[
|
129
132
|
evaluated_value(
|
130
133
|
dependency_node.at_xpath("./groupId").content.strip,
|
131
134
|
pom
|
@@ -135,15 +138,15 @@ module Dependabot
|
|
135
138
|
pom
|
136
139
|
)
|
137
140
|
].join(":")
|
141
|
+
end
|
138
142
|
|
139
|
-
|
140
|
-
|
141
|
-
dependency_node.at_xpath('./classifier').content.strip,
|
142
|
-
pom
|
143
|
-
)}"
|
144
|
-
end
|
143
|
+
def dependency_classifier(dependency_node, pom)
|
144
|
+
return unless dependency_node.at_xpath("./classifier")
|
145
145
|
|
146
|
-
|
146
|
+
evaluated_value(
|
147
|
+
dependency_node.at_xpath("./classifier").content.strip,
|
148
|
+
pom
|
149
|
+
)
|
147
150
|
end
|
148
151
|
|
149
152
|
def plugin_name(dependency_node, pom)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-maven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.159.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.159.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.159.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|