dependabot-maven 0.156.9 → 0.156.10
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/update_checker/version_finder.rb +14 -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: 6222d8ab5bf49f61470c15b08b74aa84c879b573f9e3eaf7ec543a9cbd309df1
|
4
|
+
data.tar.gz: 49709b0b26a90ca142d4268c87fd69cf5e6a128b88f38a3e507ae296500589c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08c9e573f0baa971085d3ed8fe0afc8faececa44b74b49e89b2fbfa863c9931613828563274f9d2407a66c36d20828c7588db34bee899f5276789c260c99ad10'
|
7
|
+
data.tar.gz: f4429f8f96737e7fd38f06a1a54c5e9f9f7479cea0ade85bac6b72c6b83f93e1daf89cab173a5c82ba695a5ee95905d48daa112554f12078cdcac4d22ca040ee
|
@@ -13,7 +13,7 @@ module Dependabot
|
|
13
13
|
module Maven
|
14
14
|
class UpdateChecker
|
15
15
|
class VersionFinder
|
16
|
-
TYPE_SUFFICES = %w(jre android java).freeze
|
16
|
+
TYPE_SUFFICES = %w(jre android java native_mt agp).freeze
|
17
17
|
|
18
18
|
def initialize(dependency:, dependency_files:, credentials:,
|
19
19
|
ignored_versions:, security_advisories:,
|
@@ -221,13 +221,19 @@ module Dependabot
|
|
221
221
|
def matches_dependency_version_type?(comparison_version)
|
222
222
|
return true unless dependency.version
|
223
223
|
|
224
|
-
current_type =
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
224
|
+
current_type = dependency.version.
|
225
|
+
gsub("native-mt", "native_mt").
|
226
|
+
split(/[.\-]/).
|
227
|
+
find do |type|
|
228
|
+
TYPE_SUFFICES.find { |s| type.include?(s) }
|
229
|
+
end
|
230
|
+
|
231
|
+
version_type = comparison_version.to_s.
|
232
|
+
gsub("native-mt", "native_mt").
|
233
|
+
split(/[.\-]/).
|
234
|
+
find do |type|
|
235
|
+
TYPE_SUFFICES.find { |s| type.include?(s) }
|
236
|
+
end
|
231
237
|
|
232
238
|
current_type == version_type
|
233
239
|
end
|
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.156.
|
4
|
+
version: 0.156.10
|
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-
|
11
|
+
date: 2021-07-27 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.156.
|
19
|
+
version: 0.156.10
|
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.156.
|
26
|
+
version: 0.156.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|