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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f96262a7f4a03933e0a51ca2985d5dde01c55f1bc47929a48e42eea77adb718
4
- data.tar.gz: 1602508222adf726f6b800c103a8a008c383aae7748d9a59ad2e12916a6b5a79
3
+ metadata.gz: e48c762490564bcb210645a92dcbe853bd05b200aa43c80e05c9445c89595f56
4
+ data.tar.gz: d9f0ed2cbcae3d899630670a64e2640530b748c3cf3b624596849ce49c74104f
5
5
  SHA512:
6
- metadata.gz: 8f126e36d0028cdb758188e2d550972d0e596954bc455f45fc06a867ba17e1ef9858ef22d962f24ceb903bec709ba9977cad8fc360263282d0528f8230a7ad65
7
- data.tar.gz: 5fa925156baf16b65dd05726be39f98c9b5b7a8b1a5248013853c04c989a3055cac7ffe56c90caf6b69e4272afd5a59245c922047f538f549fda8fe9c4982156
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
- begin
129
- DeclarationFinder.new(
130
- dependency: dependency,
131
- declaring_requirement: requirement,
132
- dependency_files: dependency_files
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
- token = token.to_i if token.match?(/^\d+$/)
179
- other_token = other_token.to_i if other_token.match?(/^\d+$/)
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.138.5
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-03-26 00:00:00.000000000 Z
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.138.5
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.138.5
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.11.0
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.11.0
110
+ version: 1.12.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement