dependabot-maven 0.156.9 → 0.157.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: ccab3506233732e693fa45d801a7ea73598d40ef9d940a64c1e1e6e4b818e50b
4
- data.tar.gz: e39dc3155e92032f4d0438883a5e1f007e46fcfc2303e4fe3479aa4343110053
3
+ metadata.gz: f0d26d96378860ea25ff59ff1b2672710fd1bef9d05b1232fbdae2ee113da726
4
+ data.tar.gz: 70aa105efb5f835a7f838121e2f77bcf20521e5763ad005b1e034429f8ad2d75
5
5
  SHA512:
6
- metadata.gz: a96c31eb6d8d36102b2d90eda6ad356b23cf453f6130d0b90f0cd4e7b6a0c51adb2d1c577386714dd475de99fe2c4c6c9576c5decd2f870ba07d0ca3ca756ce0
7
- data.tar.gz: 0cfb582bb7e9f3067fcd943b04e99a93841d1b5900508762e324c195170ef28c465cc6cc6073906f4e754b9d4230d0dd0454597b9686f75e76aeab83f83a2483
6
+ metadata.gz: c879b7e2f2316ca6668b116acc316440e9830855b2a62bd82e683a0e65404abc9b69b105db286ff2ce5980f543b79caa658bf7d151e98db3ede553538806466d
7
+ data.tar.gz: d9cc47dbb3cac2e3cadb2b41e7b120cfd9e4f53e8b8a9933724aa6f31ac7b5ce3de3f7a4c201fdd6579c790633bd4b5919143f2545193cf294e20e7e604ec512
@@ -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
- TYPE_SUFFICES.
226
- find { |t| dependency.version.split(/[.\-]/).include?(t) }
227
-
228
- version_type =
229
- TYPE_SUFFICES.
230
- find { |t| comparison_version.to_s.split(/[.\-]/).include?(t) }
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.9
4
+ version: 0.157.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-20 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.9
19
+ version: 0.157.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.156.9
26
+ version: 0.157.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement