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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ebfa534653784ae64b951837ea5d4ca9e4c9fcfd7b090121429e53a4232490c
4
- data.tar.gz: 9b9306f41bee81a5a9ab5fe6cc50feb9861ac6df95124ee92ffd44a4c5404367
3
+ metadata.gz: 8cfbbef114423b8e14e08b63453e7fd9760897bcb95a29cf350b780b763a718e
4
+ data.tar.gz: 228cd4cba466b750fad80d725bd189a7a9ffd9ffbd801d93e0f9835cd0904761
5
5
  SHA512:
6
- metadata.gz: 36054076f05f3f6a1d73ed25faf67a84048c217b3e52b935bd954e8d876beed33ea9667745bf8d9622c8b7416cc923efd95c19b9f28aa5b3b51905f62e86deb6
7
- data.tar.gz: 62bd36224e24386cda4f39a27bf2174f9acb640ce4dd8e3e87bfbb65e8d0889e41d3540394323119ff510c3b9fb16e67b0e4692f4283e92aa51d9f0365a45daf
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
- 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.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-07-26 00:00:00.000000000 Z
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.157.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.157.0
26
+ version: 0.159.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement