dependabot-maven 0.157.1 → 0.159.1
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: d9888e631026126452eb710872183c5898c083d0198a352fe45d0a02133f733f
|
4
|
+
data.tar.gz: 48a93afc395667cdc6723f4f81f0308872f48dd91bdd4daab183afc1833dbedc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e56a690e95a9181be3abf6b4f03c03cd87f7193fd438c77feff166ce01991d14edaf3e9779ca136e8ced43eac2871c7e851075bd561b2473ca3869a4da07438
|
7
|
+
data.tar.gz: e5e217473c70100e0ab26ffe49e106c0abe7b64a3d948d5a615474e0f0b4ac908ab390752f787a0a3bc20c90c2d7a7a41181f852e1207803f1659c2d32bedb36
|
@@ -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.1
|
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-16 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.1
|
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.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|