dependabot-gradle 0.156.9 → 0.157.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: 261b8c4b5da31de88920c083da29bf0d5b8989f1ac1eb871b7c25e43a30d2173
4
- data.tar.gz: 1c614b36a1261b37476f4abceea2fff5ac22fcf1ca9fba9bb71b178c2f03deb3
3
+ metadata.gz: 638e28520d3f6b170ee411e94f7606cf2156462e3237b0f5fd42513f53e98409
4
+ data.tar.gz: 48c4f3353f890d10c25a05e95a15b94fe7c57ad7d540cebc218a9ffe188cd587
5
5
  SHA512:
6
- metadata.gz: 5a0ad9e47d627b0c0c332859b5dee5e65bff94df6ad5e64fd9257510ad43f666cd98d925856e951457f4cd22835b10f5c06d2d75bc17e59473de050013af91f9
7
- data.tar.gz: c2835c353eff3410beb0c1d21fdaeb2740ec3f81a6591649e8fc01faa67c852880a42b038a0614df8a3d16f334bb100a2b0dc78b6dec437f8bd03a4d8067a6bb
6
+ metadata.gz: 1adc1825bba280ded0c0a6701f66387081e9ff3292da551828f6b1486ad8dd20e08e7c498308cb9a804a20415c4768c5a0c9f0dcb609ae35c4238de8a425e9ce
7
+ data.tar.gz: eddde01f767948f5e0b878ba33ae843c434d1d9b2176d13f1ea11d8b857e5b56e1dd63e453b06aa1a954d50f1ed8ac31cd94b33062c68ab222c366b106b19821
@@ -16,7 +16,7 @@ module Dependabot
16
16
  GOOGLE_MAVEN_REPO = "https://maven.google.com"
17
17
  GRADLE_PLUGINS_REPO = "https://plugins.gradle.org/m2"
18
18
  KOTLIN_PLUGIN_REPO_PREFIX = "org.jetbrains.kotlin"
19
- TYPE_SUFFICES = %w(jre android java).freeze
19
+ TYPE_SUFFICES = %w(jre android java native_mt agp).freeze
20
20
 
21
21
  def initialize(dependency:, dependency_files:, credentials:,
22
22
  ignored_versions:, raise_on_ignored: false,
@@ -258,16 +258,18 @@ module Dependabot
258
258
  def matches_dependency_version_type?(comparison_version)
259
259
  return true unless dependency.version
260
260
 
261
- current_type = dependency.version.split(/[.\-]/).
261
+ current_type = dependency.version.
262
+ gsub("native-mt", "native_mt").
263
+ split(/[.\-]/).
262
264
  find do |type|
263
- TYPE_SUFFICES.
264
- find { |s| type.include?(s) }
265
+ TYPE_SUFFICES.find { |s| type.include?(s) }
265
266
  end
266
267
 
267
- version_type = comparison_version.to_s.split(/[.\-]/).
268
+ version_type = comparison_version.to_s.
269
+ gsub("native-mt", "native_mt").
270
+ split(/[.\-]/).
268
271
  find do |type|
269
- TYPE_SUFFICES.
270
- find { |s| type.include?(s) }
272
+ TYPE_SUFFICES.find { |s| type.include?(s) }
271
273
  end
272
274
 
273
275
  current_type == version_type
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-gradle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.156.9
4
+ version: 0.157.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-20 00:00:00.000000000 Z
11
+ date: 2021-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.156.9
19
+ version: 0.157.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.156.9
26
+ version: 0.157.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dependabot-maven
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.156.9
33
+ version: 0.157.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.156.9
40
+ version: 0.157.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement