dependabot-maven 0.138.5 → 0.139.2
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/file_updater.rb +5 -7
- data/lib/dependabot/maven/version.rb +5 -2
- 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: e48c762490564bcb210645a92dcbe853bd05b200aa43c80e05c9445c89595f56
|
4
|
+
data.tar.gz: d9f0ed2cbcae3d899630670a64e2640530b748c3cf3b624596849ce49c74104f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 367fce9c1696faaa54abf721e8f271fdd31cdd97e9bf1d567caf444122b433484b95ef05911a0d31cca7e9f63cc50e7273e69543d15b61bc2739321b1be496fc
|
7
|
+
data.tar.gz: 88287de392d9ecacc6ba09e19e18160039dcfcbbc627d0b5a41b5652bae103b43fd7671323ec0923f784364c1494bda5619834259babd6b48fc593a6bd2a38c2
|
@@ -125,13 +125,11 @@ module Dependabot
|
|
125
125
|
def declaration_finder(dependency, requirement)
|
126
126
|
@declaration_finders ||= {}
|
127
127
|
@declaration_finders[dependency.hash + requirement.hash] ||=
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
)
|
134
|
-
end
|
128
|
+
DeclarationFinder.new(
|
129
|
+
dependency: dependency,
|
130
|
+
declaring_requirement: requirement,
|
131
|
+
dependency_files: dependency_files
|
132
|
+
)
|
135
133
|
end
|
136
134
|
|
137
135
|
def updated_pom_declaration(old_declaration, previous_req, requirement)
|
@@ -175,8 +175,11 @@ module Dependabot
|
|
175
175
|
|
176
176
|
return 1 if NAMED_QUALIFIERS_HIERARCHY[other_token]
|
177
177
|
|
178
|
-
|
179
|
-
|
178
|
+
if token.match?(/\A\d+\z/) && other_token.match?(/\A\d+\z/)
|
179
|
+
token = token.to_i
|
180
|
+
other_token = other_token.to_i
|
181
|
+
end
|
182
|
+
|
180
183
|
token <=> other_token
|
181
184
|
end
|
182
185
|
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.
|
4
|
+
version: 0.139.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-
|
11
|
+
date: 2021-04-06 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.
|
19
|
+
version: 0.139.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.
|
26
|
+
version: 0.139.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.12.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.12.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|