dependabot-maven 0.157.2 → 0.159.2

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: f0d26d96378860ea25ff59ff1b2672710fd1bef9d05b1232fbdae2ee113da726
4
- data.tar.gz: 70aa105efb5f835a7f838121e2f77bcf20521e5763ad005b1e034429f8ad2d75
3
+ metadata.gz: 5ae751ab63a958ca01fe7be6e6ffadd1398b37b61b32928e4eb9b8681db2e52d
4
+ data.tar.gz: 11a9a06ebb4e5941f301900369f70c79490bb3ad1aa2f6fb80c9d6e917f7523a
5
5
  SHA512:
6
- metadata.gz: c879b7e2f2316ca6668b116acc316440e9830855b2a62bd82e683a0e65404abc9b69b105db286ff2ce5980f543b79caa658bf7d151e98db3ede553538806466d
7
- data.tar.gz: d9cc47dbb3cac2e3cadb2b41e7b120cfd9e4f53e8b8a9933724aa6f31ac7b5ce3de3f7a4c201fdd6579c790633bd4b5919143f2545193cf294e20e7e604ec512
6
+ metadata.gz: 418f01009e715aa49e1e9e5c579cb38ab3cae850e8c960785b5eafcf2b1b31d5c24f5cfffc95ab83b13b58c1c4fa32a5f1d9059aff622cc1e51584c2bed7d4a9
7
+ data.tar.gz: 5bb77ea6988b620557a37d3050aadf9489225f1cd416a2cf771744a8fe1d84dee23e282e476da09774e472c894d84bc616de707b94076a9067d4bea265a337f5
@@ -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.2
4
+ version: 0.159.2
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-28 00:00:00.000000000 Z
11
+ date: 2021-08-17 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.2
19
+ version: 0.159.2
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.2
26
+ version: 0.159.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement