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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 331d66c015e07673be7f9485957e51c28a1f326bb5f607b9dbf5be2a811e29b5
4
- data.tar.gz: 5dd4855f9b27d45c5dc7f078d7f1a3c6ad754d163c58c69fcbe16cc67749732c
3
+ metadata.gz: d9888e631026126452eb710872183c5898c083d0198a352fe45d0a02133f733f
4
+ data.tar.gz: 48a93afc395667cdc6723f4f81f0308872f48dd91bdd4daab183afc1833dbedc
5
5
  SHA512:
6
- metadata.gz: 39a006b3fb6587908a69b12d7d503f3d5420c6f5f9455ac6561bdb4372fd947660554737afa438c65bb1126b216957d21fd61310bd9fed68d4cfca0faf6556a5
7
- data.tar.gz: 78690637856d5996b157a3ba2eb9b2d1c934641e402386e69b2dd321e84f3a94d94918618981184ef7e56c9335ab99debcb19d0e78bee6cce5482f3a631b0a3a
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
- name = [
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
- if dependency_node.at_xpath("./classifier")
140
- name += ":#{evaluated_value(
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
- name
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.157.1
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-07-27 00:00:00.000000000 Z
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.157.1
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.157.1
26
+ version: 0.159.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement