dependabot-gradle 0.154.0 → 0.154.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/gradle/update_checker/version_finder.rb +3 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a51943ee967b61b41a536c53b347f70efb970c6c85f2ecd068334b5939f50401
|
4
|
+
data.tar.gz: 150d47e975e49d66c1b1c55712e572fb76673a6bfc5ab32da2bad519d32d2e3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f43ffec65d7275bf39197a9b6e8a7ec0d4d0f8fd4c43fea0e25981634f4cd630990871c3039d34a4818b24f595c5e69cc454881cf40b8f660c58cfb0c1f9ac
|
7
|
+
data.tar.gz: 750583621270ebc8dcd80a3be4f39faa00346ca83c11f5aa7ed2ce1cf7b59b3a2101e6ec2fe93584a67dfd6da97781687c1dab6a4ef509949b10c632a15f3e5e
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require "nokogiri"
|
4
4
|
require "dependabot/shared_helpers"
|
5
|
+
require "dependabot/update_checkers/version_filters"
|
5
6
|
require "dependabot/gradle/file_parser/repositories_finder"
|
6
7
|
require "dependabot/gradle/update_checker"
|
7
8
|
require "dependabot/gradle/version"
|
@@ -46,7 +47,8 @@ module Dependabot
|
|
46
47
|
possible_versions = filter_prereleases(possible_versions)
|
47
48
|
possible_versions = filter_date_based_versions(possible_versions)
|
48
49
|
possible_versions = filter_version_types(possible_versions)
|
49
|
-
possible_versions = filter_vulnerable_versions(possible_versions
|
50
|
+
possible_versions = Dependabot::UpdateCheckers::VersionFilters.filter_vulnerable_versions(possible_versions,
|
51
|
+
security_advisories)
|
50
52
|
possible_versions = filter_ignored_versions(possible_versions)
|
51
53
|
possible_versions = filter_lower_versions(possible_versions)
|
52
54
|
|
@@ -111,18 +113,6 @@ module Dependabot
|
|
111
113
|
filtered
|
112
114
|
end
|
113
115
|
|
114
|
-
def filter_vulnerable_versions(possible_versions)
|
115
|
-
versions_array = possible_versions
|
116
|
-
|
117
|
-
security_advisories.each do |advisory|
|
118
|
-
versions_array =
|
119
|
-
versions_array.
|
120
|
-
reject { |v| advisory.vulnerable?(v.fetch(:version)) }
|
121
|
-
end
|
122
|
-
|
123
|
-
versions_array
|
124
|
-
end
|
125
|
-
|
126
116
|
def filter_lower_versions(possible_versions)
|
127
117
|
return possible_versions unless dependency.version && version_class.correct?(dependency.version)
|
128
118
|
|
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.154.
|
4
|
+
version: 0.154.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-22 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.154.
|
19
|
+
version: 0.154.5
|
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.154.
|
26
|
+
version: 0.154.5
|
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.154.
|
33
|
+
version: 0.154.5
|
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.154.
|
40
|
+
version: 0.154.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|