dependabot-maven 0.138.6 → 0.140.0
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: 032f65402bd8c2354d1053333399b130b0752262df47fb6c40af8d0c8603d0f8
|
4
|
+
data.tar.gz: 19fc4b70b4d4d9127c56f0f56527333f03b4dbb26a4de8abbc52f6b04c317f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f5354f423db0616be3e944b5ae16e8f206d85d82b017565ab481007a6e4aea4ec4695d6b91b4791ca6ba71a1ae901757674317e1d3b9674900480a9e8bea673
|
7
|
+
data.tar.gz: 745c225b89beb7016ee2259f82402d1b7b61b5706d5fb6ec50aaadbfb73cb21d00e3ed35b88af843d33613a57909b1a4a3c38b2a152f6d880d59d82869803411
|
@@ -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.140.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-
|
11
|
+
date: 2021-04-07 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.140.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.
|
26
|
+
version: 0.140.0
|
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
|