dependabot-gradle 0.156.8 → 0.157.1

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: 804820bb9e657278145bc3e2224109caa4af43d6847d00fb042d4df4d366947c
4
- data.tar.gz: 17c5f18eeb45cef3855f9de1c0b60f05e157fd1d6c38bf901c672a0179d86b80
3
+ metadata.gz: f436a19ac35f12a26636e06f9a41b94ef3168ff163bdc6948922534951b85aef
4
+ data.tar.gz: 19274a88864bcbbf459fb0ce06f072abe5b45d855cf15ad956e267e4ca31028f
5
5
  SHA512:
6
- metadata.gz: 7fa5899067e6ca26393c6ae4e677c5a9138319d30a518640fd5db3addc8d01483b0ee975b415f145fbf623c04079425c2e1211a7afaa125ae01e594ddc071c85
7
- data.tar.gz: 1da2f1af40733b266e6acb5196f1440c71ba6ca1502265a3197cbbcd53d02ae9c7060978334ccec16caf3f5c95a570d3e2b5cce91ac6adae4a96b35f7159ff51
6
+ metadata.gz: a004ba290f17fec0ae70e3e3f537c9e4376bc80f19ad7ab2558e6488853638c9be78eaafdb15284ef4b56764999fef3b58cd912c74695e59cfabb162761ec06b
7
+ data.tar.gz: c02ca82d85476f5eaa2535d9bb7ad13a2b309790830f655e7481630f88dc0acd907f40e75d86788747e8baf4827dda820a7c084edcc3c7905d3746a02a487ef6
@@ -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.8
4
+ version: 0.157.1
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-15 00:00:00.000000000 Z
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,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.156.8
19
+ version: 0.157.1
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.8
26
+ version: 0.157.1
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.8
33
+ version: 0.157.1
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.8
40
+ version: 0.157.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement